/* ==========================================================================
   Magnificent Home Care & Referral Services — site styles
   Brand: greens + heart red + coral from the printed brochure.
   Type:  Poppins (headings) · Didact Gothic (body) · Sofia (script accents)
          · Josefin Slab (wordmark)
   ========================================================================== */

:root {
  --g-950: #10280d;
  --g-900: #173a12;
  --g-800: #1f4d18;
  --g-700: #2f7a28;
  --g-600: #3e9a35;
  --g-500: #5dae2e;
  --g-400: #7cb940;
  --g-200: #cfe3b9;
  --g-100: #e8f3dc;
  --g-50:  #f3f8ec;
  --heart: #e0262b;
  --red:   #c4161c;
  --coral: #f4a594;
  --coral-100: #fce6e0;

  --bg:    #f4f3ee;
  --paper: #ffffff;
  --ink:   #1b2118;
  --ink-2: #4e5a4b;
  --line:  #e1e4da;
  --rule:  #d9dcd2;

  --f-head: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-body: "Didact Gothic", "Century Gothic", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-script: "Sofia", "Segoe Script", cursive;
  --f-mark: "Josefin Slab", Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --shadow: 0 20px 50px -24px rgba(23, 58, 18, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; font-weight: 500; }
p { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--g-400); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; color: var(--g-600); font-size: 1.1em; line-height: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--g-700); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--heart); }
.eyebrow.on-dark { color: var(--g-200); }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.14; letter-spacing: -.022em; }
.section-title .script { display: inline-block; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-sub { max-width: 640px; margin-top: 18px; font-size: 16.5px; }

.block { padding: var(--section) 0; }
.block.tint { background: var(--bg); }

/* ---------- buttons (pill + round icon, from reference) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--f-head); text-decoration: none; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.btn-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s ease; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ico { transform: rotate(45deg); }
.btn-light { background: #fff; color: var(--g-900); }
.btn-light .btn-ico { background: var(--g-700); color: #fff; }
.btn-dark { background: var(--g-900); color: #fff; }
.btn-dark .btn-ico { background: var(--coral); color: var(--g-900); }
.btn-dark:hover { background: var(--g-800); }
.btn-sm { font-size: 14px; padding-left: 18px; }
.btn-sm .btn-ico { width: 34px; height: 34px; }

/* underlined text link with a small icon ("Explore our services ↓") */
.text-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 400 15px/1 var(--f-head); border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.text-link:hover svg { transform: translateY(2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; max-width: 1400px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 58px; height: auto; }
.brand-name { font: 600 15.5px/1.12 var(--f-mark); color: #fff; letter-spacing: .01em; transition: color .3s ease; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font: 400 14.5px/1 var(--f-head); color: #fff; text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; transition: color .3s ease; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-nav ul a:hover::after,
.main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: none; }

.phone-pill {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  background: #fff; color: var(--g-900); text-decoration: none;
  padding: 5px 5px 5px 20px; border-radius: 999px; font: 500 14.5px/1 var(--f-head);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.phone-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--g-700); display: grid; place-items: center; }
.phone-ico svg { width: 16px; height: 16px; fill: #fff; }

.menu-toggle { display: none; }

.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .main-nav a { color: var(--ink); }
.site-header.is-scrolled .main-nav a[aria-current="page"] { color: var(--g-700); }
.site-header.is-scrolled .phone-pill { background: var(--g-900); color: #fff; }
.site-header.is-scrolled .phone-ico { background: var(--g-600); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; min-height: max(640px, min(94vh, 900px)); display: flex; color: #fff; overflow: hidden; background: var(--g-900); }
/* photo is wider than the viewport so the couple sits right of the headline, as in the reference */
.hero-img { position: absolute; top: 0; left: 0; width: 132%; max-width: none; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 30, 9, .8) 0%, rgba(12, 30, 9, .55) 40%, rgba(12, 30, 9, 0) 70%),
    linear-gradient(0deg, rgba(12, 30, 9, .45) 0%, rgba(12, 30, 9, 0) 30%),
    linear-gradient(180deg, rgba(12, 30, 9, .45) 0%, rgba(12, 30, 9, 0) 22%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 72px; }
.hero .eyebrow { color: #dff2c9; margin-bottom: 26px; }
.hero h1 {
  color: #fff; max-width: 640px;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.028em;
  margin-bottom: 26px;
}
.hero h1 .script { color: #dff2c9; font-size: 1.12em; display: inline-block; margin-top: 6px; }
.hero-lead { max-width: 500px; font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.6; color: rgba(255,255,255,.88); margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.hero .text-link { color: #fff; border-color: rgba(255,255,255,.6); }

/* ==========================================================================
   Sub-page hero
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; background: var(--g-900); color: rgba(255,255,255,.82);
  padding: clamp(150px, 15vw, 196px) 0 clamp(64px, 8vw, 108px);
}
.page-hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; border-radius: 50%;
  right: -300px; top: -380px; border: 56px solid rgba(124, 185, 64, .08); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 880px; font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.07; letter-spacing: -.026em; margin-bottom: 24px; }
.page-hero h1 .script { color: #bfe39c; font-size: 1.12em; display: inline-block; }
.page-lead { max-width: 660px; font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.6; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 36px; padding-top: 26px; padding-bottom: 26px; }
.trust-title { font: 500 15px/1.3 var(--f-head); color: var(--ink); flex: none; padding-right: 36px; border-right: 1px solid var(--line); }
.marquee { flex: 1; overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 44px; padding: 0 22px; margin: 0; list-style: none; animation: marquee 38s linear infinite; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 500 15px/1 var(--f-head); color: #8a9585; }
.marquee-track li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--g-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20C4 10 10 4 20 4c0 10-6 16-16 16z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20C4 10 10 4 20 4c0 10-6 16-16 16z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Home — services introduction (three rows)
   ========================================================================== */
.offers { background: var(--bg); padding: var(--section) 0; }
.lead { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.28; letter-spacing: -.018em; color: var(--ink); font-weight: 500; max-width: 900px; }
.offer-list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.offer {
  display: grid; grid-template-columns: 48px 220px minmax(0, 1fr) 48px; gap: 32px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: padding .35s ease, background-color .35s ease;
}
.offer::after {
  content: ""; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfd5c7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2118' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.offer-num { font: 400 13px/1 var(--f-head); color: #8a9585; }
.offer-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.offer h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; transition: color .3s ease; }
.offer p { font-size: 15.5px; line-height: 1.6; max-width: 540px; }
.offer-more { display: inline-block; margin-top: 14px; font: 500 14px/1 var(--f-head); color: var(--g-700); }
.offer:hover { padding-left: 14px; padding-right: 14px; background: rgba(255,255,255,.6); }
.offer:hover h3 { color: var(--g-700); }
.offer:hover::after { background-color: var(--g-600); border-color: var(--g-600); transform: rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Home — our approach (dark brand section)
   ========================================================================== */
.approach { background: var(--g-900); color: rgba(255,255,255,.8); padding: var(--section) 0; position: relative; overflow: hidden; }
.approach::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  right: -380px; top: -420px; border: 60px solid rgba(124, 185, 64, .08); pointer-events: none;
}
.approach-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.approach h2 { color: #fff; margin-bottom: 20px; }
.approach h2 .script { color: #bfe39c; font-size: 1.2em; }
.approach-head > p { max-width: 460px; }
.approach-photo { margin-top: 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.approach-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.approach-card {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 22px; align-items: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px 30px 30px;
  transition: background-color .3s ease, transform .3s ease;
}
.approach-card:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.approach-num {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(124, 185, 64, .45);
  display: grid; place-items: center; font: 500 13px/1 var(--f-head); color: var(--g-400);
}
.approach-card h3 { color: #fff; font-size: 20px; line-height: 1.3; padding-top: 2px; }
.approach-card p { font-size: 15.5px; line-height: 1.6; }

/* ==========================================================================
   Home — personal promise
   ========================================================================== */
.promise { padding: var(--section) 0 clamp(56px, 7vw, 96px); text-align: center; }
.promise-heart { width: 46px; height: auto; margin: 0 auto 28px; }
.promise h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.12; letter-spacing: -.026em; max-width: 920px; margin: 0 auto 22px; }
.promise h2 .script { display: inline-block; font-size: 1.14em; }
.promise p { max-width: 600px; margin: 0 auto; font-size: 17.5px; }

/* ==========================================================================
   Call-to-action band (red panel from the brochure)
   ========================================================================== */
.cta-band { padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.promise + .cta-band { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; background: var(--red); color: rgba(255,255,255,.88);
  border-radius: 28px; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center;
}
.cta-panel::before {
  content: ""; position: absolute; left: -120px; bottom: -240px; width: 520px; height: 520px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.07); pointer-events: none;
}
.cta-copy { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 12px; }
.cta-panel p { max-width: 560px; font-size: 16.5px; }
.cta-actions { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-actions .text-link { color: #fff; border-color: rgba(255,255,255,.55); font-weight: 500; font-size: 15.5px; }
.cta-actions .text-link svg { fill: #fff; stroke: none; }
.cta-actions .text-link:hover svg { transform: none; }

/* ==========================================================================
   Split layout (photo + copy) — About, Referral services
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy .statement { font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.38 var(--f-head); color: var(--ink); letter-spacing: -.012em; margin-bottom: 20px; }
.split-copy .statement em { font-style: normal; color: var(--g-600); }
.split-copy .btn { margin-top: 32px; }
.prose p + p { margin-top: 16px; }
.sub-h { font-size: 15px; font-weight: 600; letter-spacing: .02em; margin: 36px 0 0; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font: 400 16px/1.45 var(--f-head); color: var(--ink); }
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; flex: none; margin-top: -2px; background: var(--g-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e9a35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat;
}
.fine { font-size: 15px; }
.fine a { color: var(--g-700); font-weight: 600; }

/* ==========================================================================
   About — meet our team
   ========================================================================== */
.team-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.team-head p { margin-top: 18px; font-size: 17px; }
.team-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.member {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--rule);
}
.member-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--g-100); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-photo.is-mono { display: grid; place-items: center; background: linear-gradient(160deg, var(--g-100), var(--g-200)); }
.member-photo.is-mono span { font: 500 56px/1 var(--f-head); color: var(--g-700); letter-spacing: -.02em; }
.member h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.015em; line-height: 1.2; }
.member-role { display: block; margin-top: 6px; font: 600 12.5px/1.4 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--g-700); }
.member-bio { margin-top: 22px; max-width: 640px; }
.member-bio p + p { margin-top: 14px; }
.member-why {
  margin-top: 22px !important; padding: 4px 0 4px 20px; border-left: 3px solid var(--heart);
  font: 500 17px/1.55 var(--f-head); color: var(--ink);
}

/* ==========================================================================
   Home care services — the four services
   ========================================================================== */
.care-grid { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.care-card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: 20px 28px 20px 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.care-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.care-card img { width: 150px; height: 150px; object-fit: cover; border-radius: var(--radius); }
.care-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.care-card p { font-size: 15.5px; line-height: 1.6; }
.care-note { margin-top: clamp(28px, 4vw, 40px); max-width: 640px; }

/* ==========================================================================
   Care home referral services
   ========================================================================== */
.ref-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); }
.panel h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; letter-spacing: -.015em; }
.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--g-900); color: #fff; font: 500 13px/1 var(--f-head);
}
.steps strong { display: block; font: 500 16.5px/1.35 var(--f-head); color: var(--ink); margin: 2px 0 4px; }
.steps p { font-size: 15.5px; line-height: 1.6; }
.ref-note {
  margin-top: 20px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--g-50); border: 1px solid var(--g-200); border-radius: var(--radius); padding: 20px 24px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink);
}
.ref-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--g-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Areas we serve
   ========================================================================== */
.areas-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.regions { margin: 30px 0 0; border-top: 1px solid var(--rule); }
.region { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.region h3 { font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.region li { display: inline-flex; align-items: center; gap: 8px; font: 400 15.5px/1.5 var(--f-head); color: var(--ink); }
.region li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-600); }
.areas-help { margin-top: 30px; display: flex; gap: 16px; align-items: center; }
.areas-help .c-ico { background: #fff; }
.areas-help strong { display: block; font: 500 16.5px/1.35 var(--f-head); color: var(--ink); margin-bottom: 2px; }
.areas-help p { font-size: 15.5px; }
.areas-help a { color: var(--g-700); font-weight: 600; }
.areas-map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #e4f0ec; }
.areas-map img { width: 100%; height: auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-visual { position: sticky; top: 110px; }
.contact-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--radius-lg); }
.contact-badge { position: absolute; right: -34px; bottom: -34px; width: 150px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.contact-list li { display: flex; gap: 14px; }
.c-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--g-100); display: grid; place-items: center; }
.c-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--g-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-ico.is-phone svg { fill: var(--g-700); stroke: none; }
.contact-list small { display: block; font: 600 11.5px/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #8a9585; margin: 4px 0 7px; }
.contact-list a, .contact-list span { display: block; font: 400 15.5px/1.45 var(--f-head); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--g-700); }

.contact-form { background: var(--bg); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.form-title { grid-column: 1 / -1; font-size: 20px; letter-spacing: -.01em; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full, .form-foot.full, .choice-set { grid-column: 1 / -1; }
.field label { font: 500 13.5px/1 var(--f-head); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d6dacd; background: #fff; border-radius: 12px; padding: 13px 14px; font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgba(124, 185, 64, .22); }
.field.invalid input { border-color: var(--red); }
.choice-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-set legend { font: 500 13.5px/1 var(--f-head); color: var(--ink); padding: 0; margin-bottom: 11px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 18px 11px 13px; border: 1px solid #d6dacd; background: #fff; border-radius: 999px;
  font: 400 15px/1.2 var(--f-head); color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.choice span::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #b6bfaa; background: #fff;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.choice span:hover { border-color: var(--g-400); }
.choice input:checked + span { border-color: var(--g-600); background: var(--g-50); }
.choice input:checked + span::before { border-color: var(--g-600); background: var(--g-600); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--g-400); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 14.5px; color: var(--g-700); }
.form-status.err { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--g-950); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-brand img { width: 290px; height: auto; margin-bottom: 18px; }
.footer-brand .script { color: #bfe39c; font-size: 22px; line-height: 1.35; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 15px; margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; }
.footer-bottom p { margin: 0; font-size: 13.5px; }

.mobile-bar { display: none; }

/* ==========================================================================
   Reveal on scroll (only when JS is running)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* six nav items: the phone number collapses to its icon, then the nav moves into the menu */
@media (max-width: 1360px) {
  .main-nav ul { gap: 22px; }
  .phone-pill span:first-child { display: none; }
  .phone-pill { padding-left: 5px; }
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: #fff; margin-left: 4px;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--g-900); border-radius: 2px; position: relative; transition: transform .3s ease, background-color .3s ease; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-header.is-scrolled .menu-toggle { background: var(--g-100); }

  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--g-900); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 110px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a, .site-header.is-scrolled .main-nav a { color: #fff; font-size: clamp(22px, 4.4vw, 30px); font-weight: 500; letter-spacing: -.02em; white-space: normal; }
  .site-header.is-scrolled .main-nav a[aria-current="page"], .main-nav a[aria-current="page"] { color: #bfe39c; }
  .main-nav ul a::after { display: none; }
  .nav-cta { display: inline-block; margin-top: 36px; background: #fff; color: var(--g-900) !important; font-size: 16px !important; padding: 16px 24px !important; border-radius: 999px; }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .menu-open .brand-name { color: #fff !important; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .phone-pill span:first-child { display: inline; }
  .phone-pill { padding-left: 20px; }
}

@media (max-width: 900px) {
  .phone-pill span:first-child { display: none; }
  .phone-pill { padding-left: 5px; }
  .approach-grid, .split, .areas-grid, .contact-grid, .ref-cols, .care-grid { grid-template-columns: 1fr; }
  .approach-photo { aspect-ratio: 16 / 10; }
  .offer { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
  .offer-num, .offer::after { display: none; }
  .offer-more::after { content: " →"; }
  .offer:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .cta-panel { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3; }
  .member { grid-template-columns: 180px minmax(0, 1fr); }
  .contact-visual { position: relative; top: 0; max-width: 520px; }
  .contact-photo { aspect-ratio: 4 / 3.4; }
  .contact-badge { right: 12px; bottom: -40px; width: 120px; }
  .contact-main { margin-top: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .phone-pill { display: none; }
  .brand-mark { width: 48px; }
  .brand-name { font-size: 13px; }
  .hero { min-height: 640px; }
  .hero-img { width: 100%; object-position: 62% 40%; }
  .hero-shade { background: linear-gradient(0deg, rgba(12, 30, 9, .88) 0%, rgba(12, 30, 9, .6) 55%, rgba(12, 30, 9, .4) 100%); }
  .hero-inner { justify-content: flex-end; padding-bottom: 48px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-title { border-right: 0; padding-right: 0; }
  .marquee { width: 100%; }
  .offer { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 0; }
  .offer-img { aspect-ratio: 1; }
  .approach-card { grid-template-columns: 1fr; padding: 24px; }
  .approach-num { grid-row: auto; margin-bottom: 10px; }
  .member { grid-template-columns: 1fr; }
  .member-photo { max-width: 220px; }
  .care-card { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 18px 16px 16px; align-items: start; }
  .care-card img { width: 96px; height: 96px; }
  .region { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand img { width: 240px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar a { text-align: center; text-decoration: none; padding: 13px 10px; border-radius: 999px; font: 500 15px/1 var(--f-head); background: var(--g-100); color: var(--g-900); }
  .mobile-bar a:last-child { background: var(--g-900); color: #fff; }
}

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