/* TFS Mortgage & Insurance — taurusfinancial.co.uk */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #17222d;
  --teal: #0e4a55;
  --teal-deep: #0a3841;
  --teal-soft: #cfe1e3;
  --mist: #e8eff0;
  --white: #ffffff;
  --amber: #fa803d;
  --amber-deep: #e2672a;
  --slate: #4b5b67;
  --line: #c6d5d8;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variation-settings: normal;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow > * { max-width: 720px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none;
  border-radius: 6px; border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-deep); }
.btn-line { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-line:hover { background: var(--teal); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; padding: 8px 0; }
.logo img { height: 62px; width: auto; }
.nav-desktop { display: flex; gap: 18px; margin-left: auto; }
.nav-desktop a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-desktop a:hover { border-bottom-color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  font-weight: 800; font-size: .9rem; text-decoration: none; color: var(--teal);
  min-height: 40px; min-width: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--teal); border-radius: 6px; padding: 0 10px;
}
.lang:hover { background: var(--teal); color: var(--white); }
.nav-mobile { display: none; }

@media (max-width: 1400px) {
  .header-wa { display: none; }
}
@media (max-width: 1260px) {
  .nav-desktop { display: none; }
  .header-actions { margin-left: auto; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary {
    list-style: none; cursor: pointer; font-weight: 700; min-height: 40px; display: inline-flex; align-items: center;
    padding: 0 14px; border-radius: 6px; background: var(--mist); color: var(--ink);
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile[open] summary { background: var(--teal); color: var(--white); }
  .nav-mobile nav {
    position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, 86vw);
    background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px;
    box-shadow: 0 18px 40px -18px rgba(23,34,45,.45); display: flex; flex-direction: column;
  }
  .nav-mobile nav a { padding: 12px 12px; text-decoration: none; font-weight: 600; border-radius: 4px; }
  .nav-mobile nav a:hover { background: var(--mist); }
}
@media (max-width: 560px) {
  .header-wa { display: none; }
  .logo img { height: 46px; }
  .header-inner { gap: 12px; }
}

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 104px); background: var(--white); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 13.5ch;
  color: var(--teal-deep);
  text-wrap: balance;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40em; margin-top: 28px; color: var(--ink); line-height: 1.55; }
.hero-services { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-services a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none;
  font-weight: 650; font-size: .95rem; color: var(--teal-deep);
}
.hero-services a::before { content: ""; width: 10px; height: 9px; background: var(--amber); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.hero-services a:hover { border-color: var(--teal); background: var(--mist); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { font-size: .9rem; color: var(--slate); margin-top: 22px; max-width: 52em; }
.street { margin-top: clamp(36px, 6vw, 72px); line-height: 0; }
.street svg { width: 100%; height: clamp(120px, 17vw, 230px); }

/* Terraces illustration */
.t-win { fill: var(--teal-soft); }
.t-win.lit { animation: lightup .5s ease-out forwards; }
.t-win.d1 { animation-delay: .35s; } .t-win.d2 { animation-delay: .6s; } .t-win.d3 { animation-delay: .85s; }
.t-win.d4 { animation-delay: 1.1s; } .t-win.d5 { animation-delay: 1.35s; } .t-win.d6 { animation-delay: 1.6s; }
@keyframes lightup { to { fill: #ffb27a; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .t-win.lit { animation: none; fill: #ffb27a; }
}

/* Sections */
.block { padding: clamp(64px, 9vw, 120px) 0; }
.block-mist { background: var(--mist); }
.block-teal { background: var(--teal); color: var(--white); }
.block > .wrap > h2 { max-width: 20ch; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head p { color: var(--slate); max-width: 34em; }
.warning { font-weight: 700; color: var(--ink) !important; border-left: 4px solid var(--amber); padding-left: 14px; margin-top: 24px; font-size: .98rem; }

.service-list { margin: 0; border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service dt { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.012em; line-height: 1.3; }
.service dd { margin: 0; color: var(--slate); }
.approach { margin-top: 28px; padding: 22px 24px; background: var(--white); border-left: 4px solid var(--teal); font-size: 1.02rem; }

/* Investors */
.investors { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.investors h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 12ch; letter-spacing: -0.03em; }
.inv-p { font-size: 1.15rem; max-width: 34em; color: #e4eef0; margin-top: 8px; }
.roof-list { list-style: none; margin: 0; padding: 0; }
.roof-list li {
  position: relative; padding: 16px 0 16px 40px; font-weight: 700; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.roof-list li::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 22px; height: 20px; background: var(--amber);
  clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
}
.inv-note { margin-top: 22px; font-size: .93rem; color: #bcd3d6; }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 64px 28px 0 0; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 56px; right: 12px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--teal); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px;
}
.portrait::before {
  content: ""; position: absolute; inset: auto -10% -2% -10%; height: 46%;
  background: var(--teal-deep);
  clip-path: polygon(0 40%, 18% 40%, 18% 0, 36% 0, 50% 22%, 64% 0, 82% 0, 82% 40%, 100% 40%, 100% 100%, 0 100%);
}
.portrait.has-photo { padding: 0; }
.portrait.has-photo::before { display: none; }
.portrait span { position: relative; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--amber); letter-spacing: -0.05em; line-height: 1; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about-text h2 { margin-bottom: 4px; }
.role { font-weight: 700; color: var(--teal); margin-bottom: 22px; }
.about-text p { max-width: 38em; }
.facts { margin: 28px 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); max-width: 560px; }
.facts div { padding: 14px 16px 0 0; }
.facts dt { font-size: .88rem; color: var(--slate); }
.facts dd { margin: 2px 0 0; font-weight: 800; }
.text-link { font-weight: 700; color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.text-link:hover { color: var(--teal-deep); text-decoration-color: var(--amber); }

/* Fees */
#oplaty p, #fees p { max-width: 40em; }

/* Contact */
.block-contact { background: var(--teal-deep); color: var(--white); }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
.contact > div > p { color: #d6e5e7; max-width: 30em; font-size: 1.1rem; }
.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); align-items: baseline; }
.contact-list div:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.contact-list dt { color: #a9c4c8; font-size: .95rem; }
.contact-list dd { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-list a:hover { color: var(--amber); }

/* Subpages */
.page { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.page h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.03em; color: var(--teal-deep); margin-bottom: 20px; }
.page h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.page-intro { font-size: 1.2rem; }
.updated { color: var(--slate); font-size: .95rem; }
.contact-list.compact { margin: 16px 0 8px; }
.contact-list.compact div { border-color: var(--line); grid-template-columns: 110px minmax(0, 1fr); padding: 12px 0; }
.contact-list.compact div:first-child { border-top-color: var(--line); }
.contact-list.compact dt { color: var(--slate); }
.contact-list.compact dd { font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c7d2d8; font-size: .9rem; padding: 56px 0 64px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.footer-logo img { height: 52px; width: auto; }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--amber); }
.footer-links { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.footer-legal p { max-width: 62em; line-height: 1.55; }

.small-note { font-size: .9rem; color: var(--slate); }
.service-list + .small-note { margin-top: 14px; }

/* HMO tiers */
.hmo { grid-column: 1 / -1; margin-top: 0; padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(255,255,255,.22); }
.hmo h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.hmo > p { color: #d6e5e7; max-width: 40em; }
.hmo-tiers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.tier { display: flex; flex-direction: column; gap: 4px; padding: 0 0 18px; border-bottom: 2px solid var(--amber); }
.tier strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; }
.hmo-note { margin: 22px 0 0; max-width: 46em; font-size: .93rem; color: #bcd3d6; }
.tier span:last-child { color: #d6e5e7; font-size: .98rem; }
.tier-icon { display: block; background: var(--amber); margin-bottom: 14px; clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }
.tier-s .tier-icon { width: 34px; height: 34px; }
.tier-m .tier-icon { width: 48px; height: 46px; }
.tier-l .tier-icon { width: 66px; height: 60px; }
.tier-b .tier-icon { width: 52px; height: 72px; clip-path: none;
  background: repeating-linear-gradient(to bottom, var(--amber) 0 14px, transparent 14px 18px); }

/* Solicitors + wills */
.lead-dark { color: var(--ink) !important; font-size: 1.12rem; }
.wills-card { background: var(--white); padding: clamp(24px, 3.5vw, 40px); border-top: 4px solid var(--amber); }
.wills-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.wills-card p { max-width: 40em; }
.will-cta {
  display: inline-flex; flex-direction: column; gap: 2px; margin: 10px 0 18px; padding: 16px 24px;
  background: var(--teal); color: var(--white); text-decoration: none; border-radius: 6px;
  transition: background-color .15s ease;
}
.will-cta:hover { background: var(--teal-deep); }
.will-cta-main { font-weight: 800; font-size: 1.08rem; }
.will-cta-sub { font-size: .85rem; color: #bcd3d6; }

/* Responsive */
@media (max-width: 900px) {
  .split, .investors, .about, .contact, .footer-inner { grid-template-columns: 1fr; }
  .hmo-tiers { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .split-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .portrait { max-width: 300px; }
  .portrait:not(.has-photo) { aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .service { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 64px; min-height: 44px; }
  .steps li::after { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 12px 0 0; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { width: 100%; }
}
@media print {
  .site-header, .street, .hero-actions { display: none; }
  .block-teal, .block-contact, .site-footer { background: none; color: #000; }
}

/* ===================================================================
   Added Nov 2026: rates tracker, calculators, journey map, team,
   Dealmakers Club, profile page
   =================================================================== */
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }

/* Hero rate pill */
.rate-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px;
  padding: 8px 16px; border-radius: 999px; background: var(--mist); color: var(--teal-deep);
  text-decoration: none; font-size: .95rem; font-weight: 600; border: 1.5px solid transparent;
}
.rate-pill:hover { border-color: var(--teal); }
.rate-pill strong { font-weight: 850; }
.rate-pill-next { color: var(--slate); font-weight: 500; }
.rate-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(250,128,61,.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(250,128,61,.55); } 70% { box-shadow: 0 0 0 9px rgba(250,128,61,0); } 100% { box-shadow: 0 0 0 0 rgba(250,128,61,0); } }
@media (prefers-reduced-motion: reduce) { .rate-pill-dot { animation: none; } }

/* Dark sections */
.block-deep { background: var(--teal-deep); color: var(--white); }
.block-ink { background: var(--ink); color: var(--white); }

/* Cards */
.card { background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }

/* Rates */
.rates-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 44px); }
.rates-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; }
.rates-head p:last-child { color: #d6e5e7; font-size: 1.08rem; }
.rates-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.rate-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rate-label { font-size: .88rem; font-weight: 700; color: var(--slate); margin: 0 0 4px; }
.rate-big { font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 850; letter-spacing: -0.04em; line-height: 1; margin: 0 0 8px; color: var(--teal-deep); }
.rate-sub { margin: 0; color: var(--slate); font-size: .95rem; }
.rate-next { text-align: right; }
.rate-next-date { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.rate-stale { margin: 16px 0 0; padding: 12px 14px; background: #fff3ea; border-left: 4px solid var(--amber); font-size: .95rem; }
.rate-stale a, .rate-source a { color: var(--teal); font-weight: 700; }
.rate-chart { margin: 22px 0 0; }
.chart-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.chart-box { position: relative; touch-action: pan-y; cursor: crosshair; }
.chart-box svg { width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: #e3eaec; stroke-width: 1; }
.ch-xtick { stroke: #b9c8cc; stroke-width: 1; }
.ch-ytick, .ch-xlabel { fill: var(--slate); font-size: 13px; font-family: var(--font); }
.ch-note { fill: var(--slate); font-size: 13px; font-weight: 700; font-family: var(--font); }
.ch-area { fill: var(--teal); opacity: .1; }
.ch-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-end { fill: var(--amber); stroke: var(--white); stroke-width: 2; }
.ch-endlabel { fill: var(--ink); font-size: 15px; font-weight: 800; font-family: var(--font); }
.ch-cross { stroke: var(--ink); stroke-width: 1; opacity: .35; }
.ch-hover { fill: var(--teal); stroke: var(--white); stroke-width: 2; }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--ink); color: var(--white); border-radius: 6px;
  padding: 6px 10px; font-size: .85rem; line-height: 1.3; display: flex; flex-direction: column; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(23,34,45,.6);
}
.chart-tip strong { font-size: 1rem; }
.tip-date { color: #c7d2d8; }
.chart-hint { font-size: .85rem; color: var(--slate); margin: 6px 0 0; }
.rate-table { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.rate-table summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.rate-table table { width: 100%; max-width: 360px; border-collapse: collapse; margin-top: 10px; font-size: .95rem; }
.rate-table th, .rate-table td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
.rate-table th { color: var(--slate); font-weight: 700; font-size: .85rem; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; }
.rate-source { font-size: .85rem; color: var(--slate); margin: 14px 0 0; }

/* Calculators */
.calc h3 { font-size: 1.4rem; margin-bottom: 8px; }
.calc-intro { color: var(--slate); font-size: .98rem; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 18px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field input, .field select {
  font: inherit; font-size: 1.08rem; font-weight: 600; color: var(--ink); background: var(--white);
  min-height: 50px; padding: 0 14px; border: 1.5px solid #9fb4b9; border-radius: 6px; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:hover, .field select:hover { border-color: var(--teal); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--teal); }
.field-hint { font-size: .82rem; color: var(--slate); margin: 0; line-height: 1.4; }
.seg { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 6px; padding: 0; width: 100%; }
.seg label { position: relative; flex: 1 1 140px; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border: 1.5px solid #9fb4b9; border-radius: 6px; font-weight: 700; font-size: .95rem; text-align: center; }
.seg input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.calc-out { margin: 0 0 14px; border-top: 2px solid var(--ink); }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calc-out dt { color: var(--slate); font-size: .95rem; }
.calc-out dd { margin: 0; font-weight: 800; font-size: 1.08rem; text-align: right; white-space: nowrap; }
.calc-out .out-main { padding: 14px 0; }
.calc-out .out-main dt { color: var(--ink); font-weight: 700; font-size: 1rem; }
.calc-out .out-main dd { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.02em; color: var(--teal-deep); white-space: normal; }
.per { font-size: .9rem; font-weight: 600; color: var(--slate); margin-left: 2px; letter-spacing: 0; }
.diff { font-weight: 600; font-size: .88rem; color: var(--slate); margin-left: 6px; }

/* Fixed-rate check */
.fix-banner {
  margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  padding: clamp(22px, 3vw, 34px); border: 2px solid var(--amber); border-radius: 10px;
}
.fix-banner h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.fix-banner p { color: #d6e5e7; max-width: 46em; }
.fix-banner .fix-why { font-size: .92rem; color: #a9c4c8; margin-bottom: 0; }

/* Journey map */
.journey-head { max-width: 44em; }
.journey-head p { color: var(--slate); }
.who-legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.who { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.who-tfs { background: var(--teal); color: var(--white); }
.who-partner { background: var(--amber); color: var(--ink); }
.who-you { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.who-lender { background: var(--teal-soft); color: var(--teal-deep); }
.journey { margin-top: clamp(26px, 4vw, 40px); }
.journey-steps { list-style: none; margin: 0; padding: 0; counter-reset: jp; }
.jp { counter-increment: jp; }
.jp h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin: 10px 0 10px; }
.jp p { max-width: 40em; }
.jp-meta { display: flex; align-items: center; gap: 12px; margin: 0; }
.jp-count { font-size: .88rem; color: var(--slate); font-weight: 600; }
/* without JS: a plain vertical timeline */
.journey:not(.is-on) .journey-track, .journey:not(.is-on) .journey-nav, .journey:not(.is-on) .jp-count { display: none; }
.journey:not(.is-on) .jp { position: relative; padding: 0 0 26px 58px; }
.journey:not(.is-on) .jp::before {
  content: counter(jp); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.journey:not(.is-on) .jp::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.journey:not(.is-on) .jp h3 { font-size: 1.2rem; margin-top: 6px; }
/* with JS: a track of steps + one card */
.journey-track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; margin: 0 -2px 18px;
  scrollbar-width: thin;
}
.jt {
  flex: 1 0 88px; min-width: 88px; scroll-snap-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px;
  background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: center;
}
.jt::before { content: ""; position: absolute; top: 21px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.jt:first-child::before { display: none; }
.jt-n {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); transition: background-color .15s ease, box-shadow .15s ease;
}
.jt-t { font-size: .82rem; font-weight: 650; line-height: 1.25; color: var(--slate); }
.jt:hover .jt-n { background: var(--mist); }
.journey .jt.is-done .jt-n { background: var(--teal); color: var(--white); box-shadow: none; }
.jt.is-done::before, .jt[aria-selected="true"]::before { background: var(--teal); }
.journey .jt[aria-selected="true"] .jt-n { background: var(--amber); color: var(--ink); box-shadow: 0 0 0 4px rgba(250,128,61,.25); }
.jt[aria-selected="true"] .jt-t { color: var(--ink); font-weight: 800; }
.journey.is-on .jp { background: var(--white); border-radius: 10px; padding: clamp(22px, 3vw, 36px); min-height: 220px; border-top: 4px solid var(--teal); }
.journey.is-on .jp.by-partner { border-top-color: var(--amber); }
.journey.is-on .jp.by-you { border-top-color: var(--ink); }
.journey.is-on .jp.by-lender { border-top-color: #9fc2c7; }
.jt.by-tfs .jt-n { box-shadow: inset 0 0 0 2px var(--teal); }
.jt.by-partner .jt-n { box-shadow: inset 0 0 0 2px var(--amber); }
.jt.by-you .jt-n { box-shadow: inset 0 0 0 2px var(--ink); }
.jt.by-lender .jt-n { box-shadow: inset 0 0 0 2px #9fc2c7; }
.journey.is-on .jp:focus-visible { outline-offset: 4px; }
.journey-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.journey-nav .btn:disabled { opacity: .4; cursor: default; }
.journey-note { margin-top: 18px; max-width: 46em; }

/* SPV calculator inside the teal investors band */
.spv { grid-column: 1 / -1; }
.spv-head { max-width: 46em; }
.spv-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; align-items: start; }
.spv .calc-out { margin-top: 18px; }
.spv-limit { font-weight: 700; font-size: .95rem; padding-left: 12px; border-left: 4px solid var(--amber); }
.spv-only { background: var(--mist); padding: 14px 16px; border-radius: 6px; font-size: .95rem; margin-top: 6px; }

/* Client stories */
.section-intro { color: var(--slate); max-width: 44em; }
.cases { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.case { background: var(--mist); border-radius: 10px; padding: 26px; border-top: 4px solid var(--amber); }
.case-tag { font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.case h3 { font-size: 1.25rem; margin-bottom: 14px; }
.case dl { margin: 0; }
.case dt { font-weight: 800; font-size: .88rem; margin-top: 10px; }
.case dd { margin: 2px 0 0; color: var(--slate); }

/* Team */
.team-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
.team-head p { color: var(--slate); }
.member-name { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.025em; margin-bottom: 4px; }
.member-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.team-more { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.member-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--white); border-radius: 10px; padding: 24px; }
.member-card .member-name { font-size: 1.35rem; }
.member-card .role { margin-bottom: 10px; }
.member-card p:last-child { margin-bottom: 0; }
.portrait-small { aspect-ratio: 1 / 1; padding: 0; align-items: center; justify-content: center; border-radius: 8px; max-width: none; }
.portrait-small::before { display: none; }
.portrait-small img { object-position: 50% 30%; }
.portrait-small span { font-size: 2rem; }

/* Dealmakers Club */
.dmc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dmc h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
.dmc-p { color: #d5dde2; font-size: 1.1rem; max-width: 34em; }
.dmc-note { color: #9fb0bb; font-size: .9rem; }
.dmc-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(22px, 3vw, 34px); border-top: 4px solid var(--amber); }
.dmc-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.dmc-facts { list-style: none; padding: 0; margin: 0 0 18px; }
.dmc-facts li { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.dmc-facts li:first-child { font-weight: 800; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--mist); border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; }
.code-label { font-size: .85rem; color: var(--slate); font-weight: 700; margin: 0 0 2px; }
.code { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.code-value { font-size: 1.7rem; font-weight: 900; letter-spacing: .06em; color: var(--teal-deep); }
.code-desc { font-weight: 700; }
.dmc-after { font-weight: 600; }
.dmc-cta { width: 100%; }

/* Profile page */
.profile .wrap > section, .profile .stats, .profile .profile-cols { margin-top: clamp(40px, 6vw, 72px); }
.profile-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile-top .portrait { max-width: 420px; }
.profile-intro h1 { margin-bottom: 6px; }
.profile-intro p { max-width: 38em; }
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.stats li { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1; color: var(--teal-deep); }
.stats span { color: var(--slate); max-width: 22em; }
.profile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.profile h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 16px; }
.roof-list-light li { border-bottom-color: var(--line); color: var(--ink); }
.path { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.path li { position: relative; padding: 0 0 20px 24px; display: flex; flex-direction: column; }
.path li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.path-when { font-weight: 800; color: var(--teal); font-size: .95rem; }
.path-what { color: var(--ink); }
.facts-wide { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-cta { margin-top: clamp(48px, 7vw, 88px); background: var(--teal-deep); color: var(--white); border-radius: 10px; padding: clamp(26px, 4vw, 48px); }
.profile-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.btn-line-light { border-color: var(--white); color: var(--white); }
.btn-line-light:hover { background: var(--white); color: var(--teal-deep); }

@media (max-width: 980px) {
  .rates-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .dmc, .profile-top, .profile-cols { grid-template-columns: 1fr; }
  .spv-body { grid-template-columns: 1fr; }
  .facts-wide { grid-template-columns: 1fr 1fr; }
  .profile-top .portrait { max-width: 300px; }
}
@media (max-width: 640px) {
  .fix-banner { grid-template-columns: 1fr; }
  .fix-banner .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 18px 0 0; }
  .rate-next { text-align: left; }
  .rate-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .calc-fields { grid-template-columns: 1fr; }
  .member-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .member-card .portrait-small { width: 140px; }
  .facts-wide { grid-template-columns: 1fr; }
  .journey-nav .btn { flex: 1; }
}
@media print {
  .rate-pill, .calc, .journey-track, .journey-nav, .fix-banner .btn, .code-box button { display: none; }
  .block-deep, .block-ink { background: none; color: #000; }
}

/* Chart legibility on small screens: the SVG scales down, so its text scales up */
.ch-line, .ch-grid, .ch-xtick, .ch-cross { vector-effect: non-scaling-stroke; }
.dmc-cta { padding: 12px 20px; text-align: center; line-height: 1.3; }
@media (max-width: 560px) {
  .ch-ytick, .ch-xlabel, .ch-note { font-size: 21px; }
  .ch-endlabel { font-size: 24px; }
  .ch-end, .ch-hover { r: 8px; stroke-width: 3; }
  .ch-line { stroke-width: 2.5; }
}

/* Team: identical cards, same photo format and the same space for every person */
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: stretch; }
.team-card { display: flex; flex-direction: column; background: var(--white); border-radius: 10px; overflow: hidden; }
.team-photo { aspect-ratio: 4 / 3; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo span { font-size: clamp(3rem, 7vw, 5rem); font-weight: 900; color: var(--amber); letter-spacing: -0.05em; }
.team-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.team-body .member-name { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.team-body .role { margin-bottom: 14px; }
.team-body p { max-width: 40em; }
.team-body .member-links { margin-top: auto; padding-top: 10px; margin-bottom: 0; }

/* Book a consultation (mortgages, insurance) */
.consult {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px 18px; align-items: start;
  margin-top: 28px; padding: 22px 24px; background: var(--mist); border-radius: 10px; border-left: 4px solid var(--amber);
}
.block-mist .consult { background: var(--white); }
.consult-icon { width: 44px; height: 44px; color: var(--teal); }
.consult-h { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; margin: 2px 0 4px; }
.consult-p { color: var(--slate); margin: 0; font-size: .97rem; }
.consult-action { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.consult-note { margin: 0; font-size: .85rem; color: var(--slate); }
.consult-note a { color: var(--teal); font-weight: 700; }

/* Quote forms (solicitors, surveys) */
.quote-box { margin-top: 24px; }
.quote-box > summary { list-style: none; cursor: pointer; }
.quote-box > summary::-webkit-details-marker { display: none; }
.quote-box > summary::after { content: ""; width: 8px; height: 8px; margin-left: 12px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.quote-box[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.quote-form { margin-top: 16px; background: var(--mist); border-radius: 10px; padding: clamp(20px, 3vw, 30px); }
.block-mist .quote-form { background: var(--white); }
.quote-intro { margin-bottom: 4px; }
.quote-fields { margin-top: 14px; }
.field-wide { grid-column: 1 / -1; }
.field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); padding: 12px 14px;
  border: 1.5px solid #9fb4b9; border-radius: 6px; width: 100%; resize: vertical; min-height: 88px;
}
.field textarea:hover { border-color: var(--teal); }
.field .opt { font-weight: 500; color: var(--slate); }
.field [aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.quote-error { color: #a5281b; font-weight: 700; background: #fdecea; border-radius: 6px; padding: 10px 12px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 6px; }
.quote-privacy { margin-top: 10px; }

@media (max-width: 560px) {
  .consult { grid-template-columns: 40px minmax(0, 1fr); padding: 20px; }
  .consult-icon { width: 38px; height: 38px; }
  .consult-action { grid-column: 1 / -1; }
  .consult-action .btn { width: 100%; }
}
@media (max-width: 560px) {
  .quote-box > summary { width: 100%; }
  .quote-actions .btn { width: 100%; }
}

.quote-box + .small-note { margin-top: 18px; }

/* ===================================================================
   Compliance additions (Nov 2026): hours, regulatory box, glossary,
   consent, exit warning
   =================================================================== */
.hero-hours { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; font-size: .97rem; }
.hero-hours svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--teal); margin-top: 2px; }
.hours-notice { color: #a5281b; font-weight: 700; }
.reg-box { margin-top: 16px; padding: 14px 16px; background: var(--mist); border-left: 4px solid var(--teal); border-radius: 6px; max-width: 52em; }
.reg-box p { margin: 0 0 6px; font-size: .88rem; line-height: 1.5; color: var(--ink); }
.reg-box p:last-child { margin-bottom: 0; }
.reg-box a { color: var(--teal); font-weight: 700; }
.contact-complaints { font-size: .95rem; }
.contact-complaints a { font-weight: 700; }
.footer-hours { font-size: .9rem; }
.footer-help a { font-weight: 700; }

.glossary { margin-top: 22px; background: var(--white); border-radius: 10px; padding: 0 clamp(18px, 3vw, 28px); }
.glossary > summary { cursor: pointer; font-weight: 800; font-size: 1.1rem; padding: 18px 0; color: var(--teal-deep); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glossary > summary::-webkit-details-marker { display: none; }
.glossary > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; flex: 0 0 auto; }
.glossary[open] > summary::after { transform: rotate(-135deg); }
.glossary dl { margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.glossary dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 800; }
.glossary dd { margin: 2px 0 0; color: var(--slate); font-size: .95rem; }

.consent { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.consent-intro { font-size: .92rem; margin-bottom: 8px; }
.consent-intro a { color: var(--teal); font-weight: 700; }
.consent-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .95rem; font-weight: 600; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.consent-check input[aria-invalid="true"] { outline: 3px solid #c0392b; outline-offset: 2px; }
.consent-note { font-size: .85rem; color: var(--slate); margin: 8px 0 0; }

.leave-dialog { border: 0; border-radius: 12px; padding: clamp(22px, 4vw, 32px); max-width: min(520px, calc(100vw - 32px)); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(23,34,45,.45); }
.leave-dialog::backdrop { background: rgba(23,34,45,.55); }
.leave-dialog h2 { font-size: 1.35rem; margin: 0 0 10px; }
.leave-dialog p { color: var(--slate); }
.leave-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 760px) {
  .glossary dl { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .leave-actions .btn { width: 100%; }
}

.glossary-link { font-size: .95rem; }
.glossary-link a { color: var(--teal); font-weight: 700; }
.glossary { scroll-margin-top: 96px; }

/* Stamp duty calculator (inside the white mortgages section) */
.sdlt { margin-top: clamp(32px, 5vw, 56px); background: var(--mist); scroll-margin-top: 96px; }
.sdlt .field input, .sdlt .seg span { background: var(--white); }
.seg-stack { flex-direction: column; }
.seg-stack label { flex: 1 1 auto; }
.seg-stack span { justify-content: flex-start; text-align: left; padding: 10px 14px; min-height: 46px; font-weight: 600; }
.sdlt-fields .consent-check { margin-top: 2px; }
.sdlt-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: .92rem; }
.sdlt-table th, .sdlt-table td { text-align: left; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); }
.sdlt-table th { color: var(--slate); font-weight: 700; font-size: .82rem; }
.sdlt-table td:nth-child(2), .sdlt-table td:nth-child(3), .sdlt-table th:nth-child(2), .sdlt-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.sdlt-notes { margin: 12px 0 0; padding-left: 18px; font-size: .9rem; }
.sdlt-notes li { margin-bottom: 6px; }
.sdlt-notes:empty { display: none; }
.sdlt .small-note a { color: var(--teal); font-weight: 700; }
.spv .small-note a { color: var(--teal); font-weight: 700; }

/* ===================================================================
   Ebooks (Dec 2026): library, landing pages with forms, thank-you pages,
   fixed rate review form, homepage teaser
   =================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nav-desktop a[aria-current="page"] { border-bottom-color: var(--amber); }

.eb-kicker {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: #fde6d8; color: #9a3d0c; font-weight: 750; font-size: .85rem; letter-spacing: .01em; line-height: 1.3;
}
.eb-head { max-width: 760px; }
.eb-index h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: clamp(40px, 6vw, 64px) 0 18px; color: var(--teal-deep); }
.eb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.eb-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.eb-card:hover { box-shadow: 0 18px 36px -22px rgba(23,34,45,.45); transform: translateY(-2px); }
.eb-cover { display: block; background: #f7f3ee; padding: 22px 22px 0; }
.eb-cover img { width: 100%; max-width: 210px; height: auto; margin: 0 auto; border-radius: 4px 4px 0 0; box-shadow: 0 10px 26px -12px rgba(23,34,45,.45); }
.eb-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.eb-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.eb-body h3 a { text-decoration: none; color: var(--ink); }
.eb-body h3 a:hover { color: var(--teal); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.eb-body p { font-size: .94rem; color: var(--slate); margin-bottom: 10px; }
.eb-body .eb-meta { font-size: .82rem; margin-bottom: 14px; }
.eb-body .btn { margin-top: auto; align-self: flex-start; }
.eb-meta { color: var(--slate); font-size: .88rem; font-weight: 600; }
.eb-grid-feature { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.eb-grid-feature .eb-card { border-color: #f6c4a5; }
.eb-grid-feature .eb-cover { background: #fde6d8; }
.eb-grid-feature .eb-cover img { max-width: 230px; }
.eb-index-note { margin-top: 40px; }

/* Landing page */
.eb-crumb { margin: 0 0 18px; font-size: .92rem; font-weight: 700; }
.eb-crumb a { color: var(--teal); text-decoration: none; }
.eb-crumb a::before { content: "\2190\00a0"; }
.eb-crumb a:hover { text-decoration: underline; }
.eb-land { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.eb-landing h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); text-wrap: balance; }
.eb-lang { font-weight: 700; color: var(--teal-deep); }
.eb-inside { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; padding: 22px; background: #f7f3ee; border-radius: 12px; }
.eb-land-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 30px -14px rgba(23,34,45,.5); }
.eb-landing .eb-inside h2 { font-size: 1.2rem; margin: 0 0 10px; }
.eb-bullets { list-style: none; margin: 0 0 12px; padding: 0; }
.eb-bullets li { position: relative; padding-left: 30px; margin-bottom: 10px; line-height: 1.45; }
.eb-bullets li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); }
.eb-bullets li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 7px; height: 4px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.eb-author { margin-top: 18px; font-size: .9rem; color: var(--slate); }
.eb-form { background: var(--mist); border-radius: 12px; padding: clamp(22px, 3vw, 30px); border-top: 5px solid var(--amber); scroll-margin-top: 110px; position: relative; }
.eb-landing .eb-form { position: sticky; top: 104px; }
.eb-form h2, .eb-landing .eb-form h2 { font-size: 1.45rem; margin: 0 0 6px; }
.eb-form > p { font-size: .95rem; }
.eb-fields { margin: 14px 0 16px; }
.eb-form .field input, .eb-form .field select { background-color: var(--white); }
.eb-optin { font-weight: 500; font-size: .9rem; line-height: 1.45; }
.eb-form .consent-note { margin: 10px 0 16px; }
.eb-form .consent-note a { color: var(--teal); font-weight: 700; }
.eb-submit { width: 100%; }
.eb-form .small-note { margin: 10px 0 0; font-size: .82rem; }
.eb-risk { margin: 16px 0 0; padding: 10px 12px; background: var(--white); border-left: 4px solid var(--teal); border-radius: 6px; font-size: .85rem; font-weight: 700; line-height: 1.45; }
.eb-fix { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 36px; padding: 22px 26px; border: 2px solid var(--teal-soft); border-radius: 12px; }
.eb-fix h2, .page .eb-fix h2 { font-size: 1.25rem; margin: 0 0 4px; }
.eb-fix p { margin: 0; color: var(--slate); }
.eb-info { margin-top: 28px; }

/* Thank-you page */
.eb-thanks-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 920px; }
.eb-thanks-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 36px -16px rgba(23,34,45,.5); transform: rotate(-2deg); }
.eb-thanks h1 { font-size: clamp(2rem, 4vw, 3rem); }
.eb-dl { min-height: 58px; padding: 0 30px; font-size: 1.1rem; }
.eb-dl::before { content: ""; width: 16px; height: 18px; margin-right: 12px; background: currentColor; clip-path: polygon(36% 0, 64% 0, 64% 42%, 88% 42%, 50% 80%, 12% 42%, 36% 42%); box-shadow: none; border-bottom: 3px solid currentColor; }
.eb-thanks-next { max-width: 920px; margin-top: 36px; }
.eb-thanks-next .consult { margin-top: 0; }
.eb-thanks .eb-group h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 56px 0 18px; }
.eb-thanks .eb-group .text-link { display: inline-block; margin-top: 22px; }

/* Fixed rate review */
.fx-form { margin-top: 24px; }
.fx-form .calc-fields { margin-top: 4px; }
.fx-date { border: 0; padding: 0; margin: 0; }
.fx-date legend { padding: 0; margin-bottom: 6px; }
.fx-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fx-form .consent-check { font-weight: 500; font-size: .92rem; line-height: 1.45; }
.fx-sms { margin-top: 18px; }
.eb-mini { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: center; margin: 28px 0; padding: 18px; background: #f7f3ee; border-radius: 12px; }
.eb-mini img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 10px 22px -12px rgba(23,34,45,.5); }
.eb-mini p { margin-bottom: 10px; font-weight: 600; }

/* Homepage teaser */
.eb-home { background: #f7f3ee; }
.eb-home-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eb-home-text h2 { max-width: 16ch; }
.eb-home-text p:not(.eb-kicker) { color: var(--slate); max-width: 34em; margin-bottom: 24px; }
.eb-home-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.eb-home-covers a { display: block; border-radius: 4px; transition: transform .2s ease; }
.eb-home-covers li:nth-child(odd) a { transform: translateY(14px) rotate(-1.5deg); }
.eb-home-covers li:nth-child(even) a { transform: rotate(1.5deg); }
.eb-home-covers a:hover { transform: translateY(-6px) rotate(0); }
.eb-home-covers img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 30px -16px rgba(23,34,45,.55); }

/* Fix banner: second, quieter option next to WhatsApp */
.fix-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fix-alt { color: #d6e5e7; font-weight: 700; font-size: .92rem; text-underline-offset: 3px; }
.fix-alt:hover { color: var(--white); text-decoration-color: var(--amber); }

@media (max-width: 980px) {
  .eb-land { grid-template-columns: 1fr; }
  .eb-landing .eb-form { position: static; }
  .eb-home-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fix-actions { align-items: stretch; }
  .fix-alt { text-align: center; }
}
@media (max-width: 560px) {
  .eb-inside { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .eb-thanks-top { grid-template-columns: 1fr; gap: 22px; }
  .eb-thanks-cover { width: 120px; }
  .eb-dl { width: 100%; }
  .eb-home-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .eb-fix .btn { width: 100%; }
  .eb-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .eb-cover { padding: 14px 14px 0; }
  .eb-body { padding: 14px; }
  .eb-body p:not(.eb-meta) { display: none; }
  .eb-body h3 { font-size: .95rem; overflow-wrap: anywhere; hyphens: auto; }
  .eb-body .btn { width: 100%; padding: 0 6px; font-size: .84rem; white-space: nowrap; min-height: 44px; }
}
@media print {
  .eb-form, .eb-home, .eb-fix { display: none; }
}

/* Wide screens: the header gets a little more room than the content, so the WhatsApp button fits next to the menu */
@media (min-width: 1401px) {
  .site-header .wrap { max-width: 1340px; }
}

/* ===================================================================
   AI assistant (chat window, bottom right)
   =================================================================== */
.ai-open {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px;
  font: inherit; font-weight: 750; font-size: .98rem; color: var(--white); background: var(--teal-deep);
  border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(10,56,65,.65);
  transition: transform .15s ease, background-color .15s ease;
}
.ai-open:hover { background: var(--teal); transform: translateY(-2px); }
.ai-open svg { width: 26px; height: 26px; flex: 0 0 26px; }
.ai-open-short { display: none; }
.ai.is-open .ai-open { display: none; }
.ai-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 61; width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(23,34,45,.55), 0 0 0 1px rgba(23,34,45,.06);
}
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--teal-deep); color: var(--white); }
.ai-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: -0.01em; }
.ai-head p { margin: 2px 0 0; font-size: .8rem; color: #b9d3d7; line-height: 1.3; }
.ai-head > div { flex: 1; }
.ai-avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 850; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.ai-icon-btn { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ai-icon-btn:hover { background: rgba(255,255,255,.12); }
.ai-icon-btn svg { width: 20px; height: 20px; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f9f9; overscroll-behavior: contain; }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.ai-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-user { align-self: flex-end; background: #fde6d8; border-bottom-right-radius: 4px; }
.ai-msg a { color: var(--teal); font-weight: 700; }
.ai-typing { color: var(--slate); font-style: italic; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: #f6f9f9; }
.ai-chips[hidden] { display: none; }
.ai-chip { font: inherit; font-size: .84rem; font-weight: 600; color: var(--teal-deep); background: var(--white); border: 1.5px solid var(--teal-soft); border-radius: 999px; padding: 7px 12px; cursor: pointer; text-align: left; }
.ai-chip:hover { border-color: var(--teal); }
.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.ai-form textarea { flex: 1; font: inherit; font-size: 1rem; line-height: 1.4; resize: none; min-height: 44px; max-height: 120px; padding: 10px 12px; border: 1.5px solid #9fb4b9; border-radius: 10px; color: var(--ink); }
.ai-form textarea:focus-visible { border-color: var(--teal); }
.ai-send { width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 50%; background: var(--amber); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ai-send:hover { background: var(--amber-deep); }
.ai-send svg { width: 22px; height: 22px; }
.ai-form.is-busy .ai-send { opacity: .5; }
.ai-foot { margin: 0; padding: 8px 14px 12px; font-size: .72rem; line-height: 1.4; color: var(--slate); background: var(--white); }
.ai-foot a { color: var(--teal); font-weight: 700; }
@media (max-width: 560px) {
  .ai-open { right: 14px; bottom: 14px; min-height: 50px; padding: 0 16px 0 13px; }
  .ai-open-long { display: none; }
  .ai-open-short { display: inline; }
  .ai-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; }
}
@media print { .ai { display: none; } }

/* ===================================================================
   Multi-page version: home hero, service tiles, service pages
   =================================================================== */
.home-multi .mh-hero { padding-top: clamp(28px, 4vw, 52px); background: linear-gradient(180deg, #ffffff 0%, #f3f7f7 100%); }
.mh-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.mh-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.9rem); font-weight: 850; letter-spacing: -0.035em; line-height: 0.98; color: var(--teal-deep); text-wrap: balance; max-width: 16ch; margin-top: 18px; }
.mh-hero .hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 36em; margin-top: 16px; }
.mh-hero .hero-actions { margin-top: 22px; }
.mh-trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mh-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--teal-deep); }
.mh-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; flex: 0 0 18px; }
.mh-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 340px); isolation: isolate; }
.mh-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(10,56,65,.6); }
.mh-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 20px; background: var(--amber); z-index: -1; }
.mh-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 10px 24px -14px rgba(23,34,45,.5); }
.mh-photo figcaption strong { display: block; font-size: 1.05rem; }
.mh-photo figcaption span { display: block; font-size: .86rem; color: var(--slate); }
.mh-badge { position: absolute; top: 22px; left: -26px; margin: 0; padding: 10px 14px; max-width: 200px; border-radius: 12px; background: var(--teal-deep); color: var(--white); font-weight: 750; font-size: .88rem; line-height: 1.3; box-shadow: 0 14px 30px -14px rgba(10,56,65,.7); }
.home-multi .street { margin-top: clamp(20px, 3vw, 36px); }
.home-multi .street svg { height: clamp(110px, 13vw, 190px); }

.mh-tiles { background: var(--mist); padding: clamp(48px, 7vw, 88px) 0; }
.mh-tiles-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 32px; margin-bottom: 28px; }
.mh-tiles-head h2 { margin: 0; }
.mh-tiles-head p { margin: 0; color: var(--slate); max-width: 34em; }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1.5px solid transparent; border-radius: 14px; box-shadow: 0 1px 0 rgba(23,34,45,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 22px 40px -26px rgba(10,56,65,.55); }
.tile-icon { width: 58px; height: 58px; border-radius: 16px; background: #e3eff0; color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.svc-icon { width: 36px; height: 36px; }
.tile-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.tile-desc { color: var(--slate); font-size: .93rem; line-height: 1.45; }
.tile-more { margin-top: auto; padding-top: 8px; font-weight: 750; font-size: .92rem; color: var(--amber-deep); }
.tile-more::after { content: " \2192"; transition: margin .15s ease; }
.tile:hover .tile-more::after { margin-left: 4px; }
.mh-reg { margin-top: 28px; max-width: none; background: var(--white); }
.mh-reg p { font-size: .82rem; }

.mh-rates { background: var(--teal-deep); color: var(--white); padding: 30px 0; }
.mh-rates-inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; }
.mh-rates .rate-label { color: #b9d3d7; margin: 0; }
.mh-rate-big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1; margin: 4px 0 0; color: var(--amber); }
.mh-rate-date { font-size: 1.25rem; font-weight: 800; margin: 6px 0 0; }
.mh-rate-text p { margin: 0; color: #d6e5e7; font-size: .95rem; }
.mh-rate-text strong { color: var(--white); display: block; margin-bottom: 2px; }
.mh-rate-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mh-why h2 { max-width: 22ch; }
.why-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-grid li { padding: 22px 20px; border-top: 4px solid var(--amber); background: #f7f3ee; border-radius: 0 0 12px 12px; }
.why-grid strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 850; letter-spacing: -0.03em; color: var(--teal-deep); line-height: 1.05; }
.why-grid span { display: block; margin-top: 6px; color: var(--slate); font-size: .95rem; }
.mh-steps { margin-top: clamp(40px, 6vw, 64px); }
.mh-steps h3 { font-size: 1.4rem; margin-bottom: 18px; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 0 0 0 0; }
.steps li strong { display: block; margin: 10px 0 4px; font-size: 1.05rem; }
.steps li span:last-child { color: var(--slate); font-size: .94rem; }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-deep); color: var(--white); font-weight: 850; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-soft) 0 8px, transparent 8px 14px); }

.mh-team-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.mh-team-head h2 { margin: 0; }
.mh-team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mh-team-grid li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--white); border-radius: 14px; padding: 16px; }
.mh-team-grid img { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; }
.mh-team-grid .member-name { font-weight: 800; font-size: 1.2rem; margin: 4px 0 0; }
.mh-team-grid .role { color: var(--teal); font-weight: 700; font-size: .92rem; margin: 2px 0 8px; }
.mh-team-grid p:last-child { font-size: .93rem; color: var(--slate); margin: 0; }

/* Service pages */
.svc-hero { background: linear-gradient(180deg, #f3f7f7 0%, #e8eff0 100%); padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.svc-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.svc-crumb { margin: 0 0 14px; font-size: .9rem; color: var(--slate); }
.svc-crumb a { color: var(--teal); font-weight: 700; text-decoration: none; }
.svc-crumb a:hover { text-decoration: underline; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1.02; color: var(--teal-deep); max-width: 18ch; text-wrap: balance; }
.svc-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 40em; margin-top: 18px; }
.svc-hero-art { width: clamp(140px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--teal-deep); box-shadow: inset 0 0 0 10px #f7f3ee, 0 24px 50px -30px rgba(10,56,65,.6); }
.svc-hero-icon { width: 52%; height: 52%; stroke-width: 2.2; }
.hide-first-h2 .svc-hero + section h2:first-of-type { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svc-related { background: #f7f3ee; }
.svc-related h2 { margin-bottom: 22px; }
.tile-grid-small .tile { padding: 18px; }
.tile-grid-small .tile-icon { width: 48px; height: 48px; border-radius: 12px; }
.tile-grid-small .svc-icon { width: 30px; height: 30px; }
.tile-grid-small .tile-title { font-size: 1.05rem; }
.svc-cta { background: var(--teal-deep); color: var(--white); padding: clamp(40px, 6vw, 64px) 0; }
.svc-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.svc-cta h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-cta p { margin: 0; color: #d6e5e7; max-width: 40em; }
.svc-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.svc-cta-mail { color: var(--white); font-weight: 700; }

/* Footer service links */
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 6px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 0 0 6px; }
.footer-h { color: var(--white); font-weight: 800; margin: 0 0 8px; }

@media (max-width: 1080px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .mh-rates-inner { grid-template-columns: auto auto minmax(0, 1fr); }
  .mh-rate-actions { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .mh-hero-inner { grid-template-columns: 1fr; }
  .mh-photo { width: min(100%, 340px); margin-top: 10px; }
  .mh-badge { left: -10px; }
  .mh-team-grid { grid-template-columns: 1fr; }
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-art { display: none; }
  .mh-rates-inner { grid-template-columns: 1fr 1fr; }
  .mh-rate-text { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px 14px; }
  .tile-icon { width: 46px; height: 46px; border-radius: 12px; }
  .svc-icon { width: 28px; height: 28px; }
  .tile-title { font-size: 1rem; }
  .tile-desc { font-size: .85rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-grid li { padding: 16px 14px; }
  .steps { grid-template-columns: 1fr; }
  .mh-team-grid li { grid-template-columns: 96px minmax(0, 1fr); }
  .mh-team-grid img { width: 96px; height: 96px; }
  .mh-rate-actions .btn, .svc-cta-actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
}
