/* Ezee Loan Solutions: all colours and fonts live in :root. */
:root {
  --ink: #0a1f3d;
  --ink-2: #13305a;
  --blue: #0c4da2;
  --blue-soft: #dbe6f6;
  --red: #c8161e;            /* logo red, deepened so white text passes 4.5:1 */
  --red-hover: #a91219;
  --paper: #f8f6f1;
  --paper-2: #f1eee6;
  --mist: #eef3fa;
  --line: #dfe4ec;
  --text: #1c2a3e;
  --muted: #4d5b6e;
  --white: #fff;

  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(10, 31, 61, .04), 0 8px 24px -8px rgba(10, 31, 61, .10), 0 24px 48px -24px rgba(10, 31, 61, .12);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-weight: 650; letter-spacing: -.025em; }
h3 { font: 600 1.15rem/1.3 var(--sans); }
p { margin: 0; }
em.ezee { font-style: normal; color: var(--blue); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.tag::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.center .tag::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 22, 30, .55); }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 246, 241, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 31, 61, .35); }
.nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 26px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; color: var(--blue); }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-links, .nav-cta .phone-text { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links .mobile-only { display: block; }
  .brand img { width: 132px; }
}
.mobile-only { display: none; }
.nav-links .mobile-only .btn { margin-top: 18px; width: 100%; border-bottom: 0; color: #fff; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin-top: 18px; }
.swoosh-word { position: relative; display: inline-block; white-space: nowrap; }
.swoosh-word svg { position: absolute; left: -2%; right: -4%; bottom: -.12em; width: 106%; height: .32em; overflow: visible; }
.swoosh-word path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.1s .45s cubic-bezier(.65, 0, .35, 1) forwards; }
.swoosh-word .head { fill: var(--blue); stroke: none; opacity: 0; animation: fade .3s 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); margin-top: 24px; max-width: 34ch; }
.intent { margin-top: 36px; }
.intent-q { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s ease, color .2s ease, transform .2s ease;
}
.pills a::after { content: "→"; color: var(--blue); transition: transform .2s ease; }
.pills a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.pills a:hover::after { transform: translateX(3px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); background: var(--mist); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.broker-card {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 28px; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow); max-width: 300px;
}
.avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), var(--ink)); color: #fff; font: 500 22px/1 var(--display);
}
.broker-card strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.broker-card div span { font-size: 13.5px; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .broker-card { left: 16px; bottom: 16px; }
}

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid var(--line); font-size: 15px; color: var(--muted); line-height: 1.45; }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 1px; }
.trust strong { display: block; color: var(--ink); font-size: 15.5px; }
@media (max-width: 900px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { border-left: 0; padding: 20px 0; }
  .trust li:nth-child(even) { padding-left: 18px; }
}
@media (max-width: 520px) {
  .trust ul { grid-template-columns: 1fr; }
  .trust li, .trust li:nth-child(even) { padding: 16px 0; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; }
}

/* Signature: "Your path, made ezee" */
.path-sec { background: var(--white); }
.path-track { position: relative; }
.path-stage { padding-block: clamp(72px, 10vw, 120px); }
.wave { width: 100%; height: auto; overflow: visible; margin-block: 8px 28px; }
.wave .rail { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; }
.wave .line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; }
.wave .arrow { fill: var(--blue); transition: opacity .3s ease; }
.wave .node { fill: var(--white); stroke: var(--blue); stroke-width: 3; transition: fill .35s ease; }
.wave .node.on { fill: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { text-align: center; padding-inline: 8px; transition: opacity .5s ease, transform .5s ease; }
.step .num { font: 700 .95rem/1 var(--display); letter-spacing: .04em; color: var(--blue); }
.step h3 { font: 650 1.6rem/1.15 var(--display); margin: 10px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.js .path-track.scrub .step:not(.on) { opacity: .28; transform: translateY(10px); }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .path-track.scrub { height: 260vh; }
  .path-track.scrub .path-stage { position: sticky; top: var(--header-h); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
}
@media (max-width: 900px) {
  .wave { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; position: relative; }
  .steps::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 2px; background: var(--blue-soft); }
  .step { text-align: left; padding: 0 0 32px 64px; position: relative; }
  .step::before {
    content: counter(step); counter-increment: step; position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: var(--blue); color: #fff; font: 500 18px/1 var(--display);
  }
  .step .num { display: none; }
}

/* Services */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group { background: #fff; border-radius: var(--radius); padding: 30px 28px 18px; box-shadow: var(--shadow); }
.group .tag { margin-bottom: 8px; }
.group h3 { font: 650 1.75rem/1.15 var(--display); margin: 6px 0 18px; }
.group ul { margin: 0; padding: 0; list-style: none; }
.group li + li { border-top: 1px solid var(--line); }
.group a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; text-decoration: none; color: var(--text); }
.group a strong { color: var(--ink); font-weight: 600; }
.group a span { grid-column: 1; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.group a i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--blue); transition: transform .2s ease; }
.group a:hover strong { color: var(--blue); }
.group a:hover i { transform: translateX(4px); }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr; } }

/* Broker vs bank */
.compare { background: var(--paper-2); }
.cmp { display: grid; grid-template-columns: .8fr 1fr 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cmp > div { padding: 20px 26px; border-top: 1px solid var(--line); font-size: 15.5px; }
.cmp .h { border-top: 0; font: 600 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 24px; }
.cmp .h.us { color: var(--blue); }
.cmp .k { font-weight: 600; color: var(--ink); }
.cmp .them { color: var(--muted); }
.cmp .us { background: var(--mist); color: var(--ink); }
.cmp .us:not(.h)::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.cmp-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .cmp { grid-template-columns: 1fr 1fr; }
  .cmp .k { grid-column: 1 / -1; background: var(--paper-2); padding-block: 12px; }
  .cmp .h.k-head { display: none; }
}

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-in { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.field label, .field .lab { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.field output { color: var(--blue); font-variant-numeric: tabular-nums; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; }
.seg { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 500; cursor: pointer; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(10, 31, 61, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.calc-out { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.calc-out .lab { color: #b9c7dc; font-size: 15px; }
.calc-out .big { font: 700 clamp(2.8rem, 6vw, 4.4rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 10px; }
.calc-out .sub { color: #d6dfec; font-size: 15px; }
.calc-out .sub + .sub { margin-top: 6px; }
.calc-out .big small { font: 400 1.1rem/1 var(--sans); color: #b9c7dc; letter-spacing: 0; margin-left: 6px; }
.calc-out .sub strong { color: #fff; }
.calc-out .btn { margin-top: 22px; align-self: flex-start; }
.calc-out .fine { color: #93a5bf; font-size: 12.5px; line-height: 1.5; margin-top: 22px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* Meet the broker */
.meet-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 90% at 30% 20%, #1d5bb0 0%, var(--ink) 70%); color: #fff; box-shadow: var(--shadow);
}
.portrait { overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.meet h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 14px 0 22px; }
.meet p + p { margin-top: 16px; }
.meet .quote { font: italic 500 clamp(1.25rem, 1.9vw, 1.5rem)/1.45 var(--display); color: var(--ink); border-left: 3px solid var(--blue); padding-left: 22px; margin: 26px 0; }
.meet p { color: var(--muted); }
@media (max-width: 860px) { .meet-grid { grid-template-columns: 1fr; } .portrait { aspect-ratio: 16 / 10; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue); font-weight: 500; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing panel + form */
.close { padding-bottom: clamp(56px, 8vw, 96px); }
.panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr; position: relative; }
.panel-copy { padding: clamp(32px, 5vw, 64px); position: relative; z-index: 1; display: flex; flex-direction: column; }
.panel-copy::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 61, .78), rgba(10, 31, 61, .94)), url("../img/keys.webp") center / cover; opacity: .9; }
.panel h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin: 14px 0 18px; }
.panel .tag { color: #9fc0ef; }
.panel-copy p { color: #d6dfec; max-width: 38ch; }
.panel-contact { margin-top: auto; padding-top: 36px; display: grid; gap: 12px; }
.panel-contact a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: 12px; align-items: center; font-size: 1.1rem; }
.panel-contact svg { width: 20px; height: 20px; color: #9fc0ef; }
.panel-contact span { color: #b9c7dc; font-size: 15px; display: inline-flex; gap: 12px; align-items: center; }
.form { background: #fff; color: var(--text); margin: 14px; border-radius: calc(var(--radius-lg) - 10px); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; }
.form h3 { grid-column: 1 / -1; font: 650 1.6rem/1.2 var(--display); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  font: 400 16px/1.4 var(--sans); color: var(--text); transition: border-color .2s ease, background-color .2s ease;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form .btn { width: 100%; }
.form .reassure { text-align: center; font-size: 13.5px; color: var(--muted); }
.form .error { color: var(--red); font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.done { grid-column: 1 / -1; text-align: center; padding: 40px 10px; }
.done .tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.done h3 { font: 650 1.9rem/1.2 var(--display); margin-bottom: 10px; }
.done p { color: var(--muted); max-width: 36ch; margin: 0 auto; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; margin: 8px; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9c7dc; padding-block: 64px 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer img { width: 160px; height: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 16px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #d6dfec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: #93a5bf; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Service page */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 16px; }
.page-hero .lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); margin-top: 22px; max-width: 44ch; }
.page-hero .hero-photo { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card ul { margin: 10px 0 0; padding-left: 18px; }
.cards.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.numbered { counter-reset: n; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; max-width: 820px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.numbered li::before { content: counter(n); grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 500 18px/1 var(--display); }
.numbered strong { color: var(--ink); }
.numbered span { color: var(--muted); font-size: 15.5px; }
.note { font-size: 14px; color: var(--muted); margin-top: 22px; max-width: 75ch; }

/* Reveal (CSS-only once JS adds .in) */
.js .reveal { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* Phones: a thumb-reach action bar, so calling is always one tap away */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 246, 241, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); transition: transform .3s ease;
  }
  .mobile-bar .btn { min-height: 50px; padding: 0 12px; font-size: 15.5px; }
  .mobile-bar .btn-ghost { background: #fff; }
  .mobile-bar.away { transform: translateY(110%); }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { aspect-ratio: 4 / 3.2; }
  .pills a { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .section { padding-block: 64px; }
  .calc-in, .calc-out { padding: 24px 20px; }
  .faq details p { padding-right: 0; }
  .site-footer { padding-bottom: 24px; }
}
