/* ==========================================================================
   TruLife Home Health — Florida's Suncoast
   v2 design system: warm & uplifting.
   Brand anchors from the logo (royal blue #1D2CA8, heart red #A8231B)
   supported by terracotta, honey gold, sage and cream for warmth and life.
   Type: Marcellus (inscriptional serif) + Mulish (humanist sans).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand anchors */
  --blue-700: #1D2CA8;
  --blue-600: #2A3BC4;
  --blue-100: #E2E5F7;
  --red-600: #A8231B;

  /* Warm supporting palette */
  --navy-950: #101228;
  --navy-900: #171A3A;
  --navy-800: #20244E;
  --terra-700: #A84A28;
  --terra-600: #C05B33;
  --terra-500: #D2764B;
  --terra-100: #F9E7DC;
  --terra-50:  #FBF0E8;
  --gold-600: #C08A2D;
  --gold-500: #D9A441;
  --gold-100: #F7EBD2;
  --sage-700: #5C7A56;
  --sage-600: #6E8C68;
  --sage-100: #E7EEE3;

  /* Neutrals — warm, never sterile */
  --paper:   #FFFDF8;
  --cream:   #F9F3E9;
  --cream-2: #F4EBDD;
  --ink:     #2B2721;
  --ink-soft:#4A443B;
  --muted:   #746C60;
  --border:  #E9DFCF;

  /* Type */
  --font-display: "Marcellus", "Times New Roman", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;

  /* Effects */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(74, 52, 24, .07);
  --shadow-md: 0 14px 36px -14px rgba(74, 52, 24, .22);
  --shadow-lg: 0 30px 70px -24px rgba(58, 38, 14, .35);
  --grad-cta: linear-gradient(135deg, #C86A3B 0%, #B23A24 100%);
  --grad-header: linear-gradient(104deg, rgba(16, 18, 40, .93) 0%, rgba(23, 26, 58, .82) 38%, rgba(168, 74, 40, .55) 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  --container: 74rem;
  --transition: 240ms cubic-bezier(.33,.7,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }   /* width/height attributes reserve space but never force a fixed height */
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { cursor: pointer; background: none; border: none; }
ul[class], ol[class] { list-style: none; padding: 0; }

::selection { background: var(--gold-100); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.14;
  color: var(--navy-900);
  text-wrap: balance;
  letter-spacing: .01em;
}

:focus-visible {
  outline: 3px solid var(--terra-600);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.text-accent { color: var(--terra-700); }

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 2.75rem);
  margin-inline: auto;
}
.section { padding-block: clamp(3.75rem, 8vw, 6.75rem); position: relative; }
.section--cream { background: var(--cream); }
.section--sage {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(217, 164, 65, .10), transparent 55%),
    var(--sage-100);
}
.section--navy {
  background:
    radial-gradient(110% 150% at 88% 12%, rgba(192, 91, 51, .32), transparent 52%),
    radial-gradient(90% 130% at 8% 100%, rgba(29, 44, 168, .25), transparent 55%),
    linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: #EAE6DC;
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.section--navy h2, .section--navy h3 { color: #FBF7EE; }
.section--navy .container { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 1.05rem;
}
.eyebrow::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--terra-600));
}
.section--navy .eyebrow { color: var(--gold-500); }

.section-title {
  font-size: clamp(1.95rem, 4.2vw, 2.9rem);
  margin-bottom: 1.05rem;
}
.section-lead {
  max-width: 46rem;
  font-size: 1.13rem;
  color: var(--muted);
}
.section--navy .section-lead { color: #CBC4B4; }
.section-head { margin-bottom: clamp(2.1rem, 5vw, 3.6rem); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .99rem;
  letter-spacing: .015em;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: filter var(--transition), background-color var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--grad-cta);
  color: #FFF9F2;
  box-shadow: 0 12px 28px -10px rgba(178, 58, 36, .55), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn--primary:hover { filter: brightness(1.07); color: #fff; }

.btn--outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn--outline:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #FFFDF8;
}

.btn--ghost-light {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--lg { padding: 1.12rem 2.4rem; font-size: 1.05rem; }

/* ---------- Contact strip (above header) ---------- */
.contact-strip {
  background: var(--cream-2);
  font-size: .84rem;
  color: var(--ink-soft);
}
.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  padding-block: .35rem;
}
.contact-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.contact-strip__badge svg { width: 15px; height: 15px; color: var(--sage-700); flex: none; }
.contact-strip__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.6rem;
}
.contact-strip__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}
.contact-strip__item svg { width: 14px; height: 14px; color: var(--terra-600); flex: none; }
a.contact-strip__item:hover { color: var(--terra-700); text-decoration: none; }
.contact-strip__item--phone { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--gold-500) 45%, var(--terra-600) 75%, var(--red-600));
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.25rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  font-weight: 700;
  font-size: .99rem;
  color: var(--ink-soft);
  padding-block: .4rem;
  position: relative;
}
.nav__links a:hover { color: var(--terra-700); text-decoration: none; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--terra-600));
  transition: right var(--transition);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--terra-700); }

.nav__contact {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-900);
  white-space: nowrap;
}
.nav__phone:hover { color: var(--terra-700); text-decoration: none; }
.nav__phone svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold-100); color: var(--terra-700); }
.nav__cta .btn { padding: .72rem 1.6rem; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--navy-900);
}
.nav-toggle svg { width: 27px; height: 27px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;      /* pinned to the right — text owns the left */
  width: 60%;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 32%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* fade sits over the photo's empty curtain area — it must finish
     before the caregiver (~20% into the panel) so no person is veiled */
  background: linear-gradient(
    90deg,
    rgba(249, 243, 233, 1) 0%,
    rgba(249, 243, 233, .85) 6%,
    rgba(249, 243, 233, .35) 12%,
    rgba(249, 243, 233, 0) 19%
  );
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: var(--grain);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero__inner {
  min-height: min(46rem, calc(100svh - 6.5rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3.5rem, 9vw, 6rem);
  max-width: 37rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 1.5rem;
}
.hero__eyebrow svg { width: 17px; height: 17px; color: var(--red-600); }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  margin-bottom: 1.35rem;
}
.hero h1 .accent {
  color: var(--terra-600);
  /* Gradient underline drawn as a background so it wraps cleanly
     across lines on narrow screens. */
  background-image: linear-gradient(90deg, rgba(217, 164, 65, .45), rgba(210, 118, 75, .45));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 33.5rem;
  margin-bottom: 2.3rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .95rem; margin-bottom: 2.7rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.7rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .94rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--sage-700); flex: none; }

.hero__mobile-img { display: none; }

/* ---------- Interior page headers (photo) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
}
.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero__media img { object-fit: cover; object-position: var(--header-pos, 50% 32%); }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-header);
}
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--grain);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.25rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero h1 {
  color: #FBF7EE;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  margin-bottom: 1rem;
  max-width: 46rem;
}
.page-hero p { color: #E4DECF; font-size: 1.16rem; max-width: 42rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,.66);
}
.breadcrumb a { color: var(--gold-500); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "·"; margin-right: .5rem; opacity: .6; }

.page-hero--plain {
  background:
    radial-gradient(90% 140% at 90% 10%, rgba(168, 74, 40, .38), transparent 55%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
}
.legal-body { max-width: 50rem; }
.legal-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: .8rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; }
.legal-body .updated { font-size: .9rem; color: var(--muted); }

/* ---------- Audience paths ---------- */
.paths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.path-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.3rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, linear-gradient(90deg, var(--gold-500), var(--terra-600)));
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.path-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, var(--terra-100));
  color: var(--icon-fg, var(--terra-700));
}
.path-card__icon svg { width: 26px; height: 26px; }
.path-card h3 { font-size: 1.35rem; }
.path-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
  color: var(--terra-700);
}
.path-card__link svg { width: 17px; height: 17px; transition: transform var(--transition); }
.path-card:hover .path-card__link svg { transform: translateX(4px); }
.path-card__link:hover { color: var(--red-600); text-decoration: none; }
.path-card__link::before { content: ""; position: absolute; inset: 0; }

/* ---------- Services (home overview) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, var(--terra-100));
  color: var(--icon-fg, var(--terra-700));
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: 1rem; }

/* Icon hue rotation */
.hue-terra { --icon-bg: var(--terra-100); --icon-fg: var(--terra-700); --card-accent: linear-gradient(90deg, var(--gold-500), var(--terra-600)); }
.hue-gold  { --icon-bg: var(--gold-100);  --icon-fg: var(--gold-600);  --card-accent: linear-gradient(90deg, var(--gold-500), var(--gold-600)); }
.hue-sage  { --icon-bg: var(--sage-100);  --icon-fg: var(--sage-700);  --card-accent: linear-gradient(90deg, var(--sage-600), var(--gold-500)); }
.hue-blue  { --icon-bg: var(--blue-100);  --icon-fg: var(--blue-700);  --card-accent: linear-gradient(90deg, var(--blue-700), var(--gold-500)); }

/* ---------- Services page: alternating rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.6rem, 5vw, 4.25rem);
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row h3 { font-size: clamp(1.55rem, 2.7vw, 2rem); margin-bottom: .95rem; }
.feature-row p { color: var(--ink-soft); margin-bottom: 1.15rem; }
.check-list { display: grid; gap: .68rem; }
.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-list svg { width: 19px; height: 19px; color: var(--sage-700); flex: none; margin-top: .25rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  border-radius: 160px 160px var(--radius) var(--radius);  /* soft arch */
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.6;
}
.split__media--landscape img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.split__media--square img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-position: 55% 40%;
}
.split__badge {
  position: absolute;
  right: -.7rem;
  bottom: -1.15rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .95rem 1.35rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--border);
}
.split__badge svg { width: 30px; height: 30px; color: var(--red-600); flex: none; }
.split__badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1rem; color: var(--navy-900); line-height: 1.3; }
.split__badge span { font-size: .82rem; color: var(--muted); }

.why-list { display: grid; gap: 1.2rem; margin-top: 1.9rem; }
.why-list li { display: flex; gap: 1.05rem; align-items: flex-start; }
.why-list__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, var(--terra-100));
  color: var(--icon-fg, var(--terra-700));
}
.why-list__icon svg { width: 21px; height: 21px; }
.why-list strong { display: block; color: var(--navy-900); font-size: 1.06rem; font-weight: 800; }
.why-list p { color: var(--muted); font-size: .97rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.step {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  backdrop-filter: blur(2px);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.7rem;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.step p { color: #CBC4B4; font-size: 1rem; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quote-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: .4rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: .55;
}
.quote-card__stars { display: flex; gap: .22rem; color: var(--gold-500); margin-left: 3.2rem; }
.quote-card__stars svg { width: 16px; height: 16px; }
.quote-card blockquote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}
.quote-card figcaption {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-size: 1rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
}
.quote-card figcaption span { display: block; font-family: var(--font-body); color: var(--muted); font-size: .84rem; }

/* ---------- Insurance strip ---------- */
.insurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem 1rem;
}
.insurance li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.insurance svg { width: 16px; height: 16px; color: var(--sage-700); }

/* ---------- Service area ---------- */
.area {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.area__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .72rem;
  margin-top: 1.6rem;
}
.area__cities li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.area__cities svg { width: 17px; height: 17px; color: var(--terra-600); flex: none; }
.area__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 170% at 88% 15%, rgba(192, 91, 51, .5), transparent 55%),
    radial-gradient(80% 120% at 10% 100%, rgba(217, 164, 65, .22), transparent 55%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 {
  color: #FBF7EE;
  font-size: clamp(1.95rem, 4.1vw, 2.9rem);
  margin-bottom: .95rem;
}
.cta-band p {
  color: #CFC8B8;
  font-size: 1.16rem;
  max-width: 40rem;
  margin: 0 auto 2.3rem;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1.05rem; justify-content: center; align-items: center; }
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
}
.cta-band__phone:hover { color: var(--gold-500); text-decoration: none; }
.cta-band__phone svg { width: 24px; height: 24px; color: var(--gold-500); }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, var(--terra-100));
  color: var(--icon-fg, var(--terra-700));
  margin-bottom: 1.05rem;
}
.value-card__icon svg { width: 23px; height: 23px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.value-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Careers ---------- */
.roles { display: grid; gap: 1.05rem; }
.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.55rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.role-card h3 { font-size: 1.26rem; margin-bottom: .25rem; }
.role-card p { color: var(--muted); font-size: .96rem; }
.role-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.role-card__meta span {
  font-size: .8rem;
  font-weight: 800;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: 999px;
  padding: .28rem .85rem;
}
.role-card .btn { flex: none; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact-cards { display: grid; gap: 1.15rem; }
.contact-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.55rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, var(--terra-100));
  color: var(--icon-fg, var(--terra-700));
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.contact-card a { font-weight: 800; color: var(--terra-700); }
.contact-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.9rem, 4vw, 2.9rem);
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--gold-500) 45%, var(--terra-600) 75%, var(--red-600));
}
.form-panel h2 { font-size: 1.75rem; margin-bottom: .45rem; }
.form-panel > p { color: var(--muted); margin-bottom: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: .42rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: .93rem; color: var(--navy-900); }
.form-field label .req { color: var(--red-600); }
.form-field .hint { font-size: .82rem; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .82rem 1rem;
  min-height: 48px;
  background: var(--paper);
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input[type="file"] { padding: .55rem .6rem; cursor: pointer; }
.form-field input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-800);
  background: var(--gold-100);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  margin-right: .9rem;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.form-field input[type="file"]::file-selector-button:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #FFFDF8;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terra-600);
  background: #fff;
  box-shadow: 0 0 0 3px var(--terra-100);
}
.form-field .error-msg {
  display: none;
  font-size: .85rem;
  font-weight: 700;
  color: var(--red-600);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--red-600); }
.form-field.has-error .error-msg { display: block; }
.form-note { font-size: .875rem; color: var(--muted); margin-top: 1rem; }
.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.form-status.is-success { display: block; background: var(--sage-100); color: #2F5429; border: 1px solid #BFD3B8; }
.form-status.is-error { display: block; background: var(--terra-50); color: var(--red-600); border: 1px solid #EBC9BB; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: .95rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--terra-600); transition: transform var(--transition); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 1.7rem 1.45rem; color: var(--ink-soft); }

/* ---------- Map ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-embed iframe { display: block; width: 100%; height: 24rem; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(100% 140% at 92% 0%, rgba(192, 91, 51, .16), transparent 50%),
    var(--navy-950);
  color: #B9B2A2;
  font-size: .95rem;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--gold-500) 45%, var(--terra-600) 75%, var(--red-600));
}
.site-footer a { color: #E4DECF; }
.site-footer a:hover { color: var(--gold-500); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 3.6rem 2.5rem;
}
.footer-brand img {
  height: 52px;
  width: auto;
  background: #FFFDF8;
  border-radius: 12px;
  padding: .45rem .7rem;
  margin-bottom: 1.15rem;
}
.footer-brand p { max-width: 20rem; }
.footer-col h3 {
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.footer-col ul { display: grid; gap: .62rem; }
.footer-col li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-col li svg { width: 16px; height: 16px; flex: none; margin-top: .32rem; opacity: .7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: #8A8474;
}

/* ---------- Scroll reveal (JS-gated) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.33,.7,.3,1), transform .65s cubic-bezier(.33,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.in-view { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1160px) {
  .nav__phone span { display: none; }  /* keep icon only */
}

@media (max-width: 1140px) {
  .hero__media { width: 56%; }
  .hero__inner { max-width: 31rem; }
}

@media (max-width: 1024px) {
  .paths__grid, .services-grid, .quotes, .steps { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 1.2rem; }
}

@media (max-width: 920px) {
  .contact-strip__item--phone { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem 1.4rem 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a {
    padding: .9rem .4rem;
    border-bottom: 1px solid var(--cream-2);
    font-size: 1.06rem;
  }
  .nav__links a::after { display: none; }
  .nav__contact { flex-direction: column; align-items: stretch; margin-top: 1.15rem; gap: .8rem; }
  .nav__phone { justify-content: center; }
  .nav__phone span { display: inline; }
  .nav__cta .btn { width: 100%; }

  .hero__media { display: none; }
  .hero__inner { min-height: 0; max-width: none; padding-block: 3rem 2.5rem; }
  .hero__mobile-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 68% 30%;
  }

  .page-hero { border-radius: 0 0 18px 18px; }

  .split, .area, .contact-layout, .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .split__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; }
  .split__badge { right: .9rem; bottom: -1.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .role-card { flex-direction: column; align-items: flex-start; }
  .role-card .btn { width: 100%; }
}

@media (max-width: 620px) {
  .contact-strip__badge { display: none; }
  .contact-strip .container { justify-content: center; }
  .contact-strip__links { justify-content: center; gap: .4rem 1.1rem; font-size: .8rem; }
  body { font-size: 1rem; }
  .paths__grid, .services-grid, .quotes, .steps, .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .area__cities { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .hero__actions .btn { width: 100%; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; }
}
