/* =============================================================
   Whole Foot Care — Design System
   Brand: violet + natural green + soft pink (from the logo)
   Fonts: Fraunces (display) + Plus Jakarta Sans (UI/body)
   ============================================================= */

/* ----------  Tokens  ---------- */
:root {
  /* Violet (primary — the "Whole" lettering) */
  --violet-900: #34176b;
  --violet-800: #45228a;
  --violet-700: #5a2da8;
  --violet-600: #7340c4;   /* primary */
  --violet-500: #8b5bd6;
  --violet-400: #a982e4;
  --violet-300: #c9a3ef;
  --violet-200: #e2c9f8;
  --violet-100: #edd5ff;
  --violet-50:  #f7eeff;

  /* Green (the leaves + "FOOT CARE") */
  --green-800: #2f5a2a;
  --green-700: #3f7a38;
  --green-600: #549a48;
  --green-500: #6bb35b;
  --green-300: #a9d79e;
  --green-100: #e2f2dd;
  --olive:     #6b7160;

  /* Pink (the footprints) */
  --pink-600: #d65ba1;
  --pink-500: #e87cb9;
  --pink-300: #f4b6da;
  --pink-100: #fde4f1;

  /* Ink / neutrals */
  --ink-900: #1c2433;
  --ink-800: #283142;
  --ink-700: #3a4456;
  --ink-600: #55607a;
  --ink-500: #7a849b;
  --ink-300: #c5ccd9;
  --line:    #e7e9f0;
  --bg:      #f8f7fc;
  --bg-soft: #f3effb;
  --surface: #ffffff;

  /* Semantic */
  --primary: var(--violet-600);
  --primary-ink: #ffffff;
  --accent: var(--green-600);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--violet-600) 0%, var(--pink-500) 100%);
  --grad-brand-deep: linear-gradient(125deg, var(--violet-800) 0%, var(--violet-600) 45%, var(--pink-500) 100%);
  --grad-fresh: linear-gradient(120deg, var(--violet-600) 0%, var(--green-600) 100%);
  --grad-soft: linear-gradient(160deg, #ffffff 0%, var(--violet-50) 100%);

  /* Shape & depth */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(52, 23, 107, .06);
  --shadow: 0 14px 40px -18px rgba(52, 23, 107, .28);
  --shadow-lg: 0 30px 70px -28px rgba(52, 23, 107, .38);
  --shadow-glow: 0 18px 50px -16px rgba(115, 64, 196, .45);
  --ring: 0 0 0 4px rgba(115, 64, 196, .16);

  --container: 1200px;
  --nav-h: 80px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 14px); }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* default inline-icon sizing — explicit .x svg rules below override dimensions */
svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.15em; flex: none; }
a { color: var(--violet-700); text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--violet-400); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--ink-900);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ----------  Layout  ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--bg { background: var(--bg-soft); }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

/* ----------  Eyebrow + headings  ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-700);
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  padding: 7px 16px; border-radius: var(--r-pill);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 18px 0 14px; }
.section-title .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.section-sub { font-size: 1.1rem; color: var(--ink-600); max-width: 620px; }
.center .section-sub { margin-inline: auto; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 56px -16px rgba(115,64,196,.6); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--violet-800); border: 1.5px solid var(--violet-200); backdrop-filter: blur(6px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--violet-400); background: #fff; }
.btn--white { background: #fff; color: var(--violet-800); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-3px); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--violet-700); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =============================================================
   Navbar
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(248, 247, 252, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity .3s;
}
.nav.scrolled { --nav-h: 66px; }
.nav.scrolled::before { opacity: 1; border-bottom-color: var(--line); box-shadow: 0 6px 24px -16px rgba(52,23,107,.4); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.nav.scrolled .brand img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 15px; border-radius: var(--r-pill);
  color: var(--ink-700); font-weight: 600; font-size: .96rem; transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--violet-800); background: var(--violet-50); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--violet-800); }
.nav-phone svg { width: 18px; height: 18px; color: var(--pink-500); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--violet-50); border: 1px solid var(--violet-200); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--violet-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 20px) 28px 40px;
  background: var(--grad-brand-deep);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .3s, visibility .3s;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { color: #fff; font-family: "Fraunces", serif; font-size: 1.7rem; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu .mm-contact { margin-top: auto; color: rgba(255,255,255,.85); font-weight: 600; }
.mobile-menu .mm-contact a { font-family: inherit; font-size: 1rem; border: 0; padding: 4px 0; display: inline; }

/* =============================================================
   Hero
   ============================================================= */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--grad-soft); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: float 14s ease-in-out infinite; }
.blob--1 { width: 460px; height: 460px; background: var(--violet-300); top: -120px; right: -80px; }
.blob--2 { width: 380px; height: 380px; background: var(--pink-300); bottom: -120px; left: -60px; animation-delay: -4s; }
.blob--3 { width: 300px; height: 300px; background: var(--green-300); top: 40%; left: 45%; opacity: .4; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-26px) scale(1.06); } 66% { transform: translate(-22px,18px) scale(.96); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 600; letter-spacing: -.02em; margin: 22px 0 20px; }
.hero h1 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.hero-lead { font-size: 1.18rem; color: var(--ink-600); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--pink-500); font-size: 1.1rem; letter-spacing: 2px; }
.hero-trust small { color: var(--ink-500); font-weight: 600; }
.hero-trust .divider { width: 1px; height: 30px; background: var(--line); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 32px 32px 32px 80px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1.04; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(52,23,107,.32)); }
.float-card {
  position: absolute; background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.float-card .fc-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card .fc-num { font-family: "Fraunces", serif; font-size: 1.4rem; font-weight: 700; color: var(--ink-900); line-height: 1; }
.float-card .fc-label { font-size: .78rem; color: var(--ink-500); font-weight: 600; }
.float-card--tl { top: 26px; left: -28px; }
.float-card--br { bottom: 30px; right: -26px; animation-delay: -2.5s; }
.hero-badge {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; border-radius: var(--r-pill);
  padding: 12px 26px; font-weight: 700; box-shadow: var(--shadow-glow); white-space: nowrap;
  display: flex; align-items: center; gap: 9px;
}

/* Marquee of trust words */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center; align-items: center; padding-block: 22px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink-600); font-size: .95rem; }
.trust-strip svg { width: 19px; height: 19px; color: var(--green-600); }

/* =============================================================
   Cards / grids
   ============================================================= */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--violet-200); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; box-shadow: var(--shadow-glow); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.card p { color: var(--ink-600); font-size: .98rem; }

/* icon color variants */
.i-violet { background: var(--grad-brand); }
.i-green { background: linear-gradient(135deg, var(--green-600), var(--green-500)); box-shadow: 0 18px 50px -16px rgba(84,154,72,.5); }
.i-pink { background: linear-gradient(135deg, var(--pink-600), var(--pink-500)); box-shadow: 0 18px 50px -16px rgba(214,91,161,.5); }
.i-deep { background: linear-gradient(135deg, var(--violet-800), var(--violet-600)); }

/* Service tile (compact) */
.svc-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; color: var(--ink-800); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-200); }
.svc-tile .dot { width: 40px; height: 40px; border-radius: 11px; background: var(--violet-50); color: var(--violet-700); display: grid; place-items: center; flex-shrink: 0; }
.svc-tile .dot svg { width: 21px; height: 21px; }

/* =============================================================
   Stats band
   ============================================================= */
.stats { background: var(--grad-brand-deep); color: #fff; border-radius: var(--r-xl); padding: clamp(36px,5vw,56px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px); background-size: 26px 26px; opacity:.4; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; position: relative; }
.stat { text-align: center; }
.stat .num { font-family: "Fraunces", serif; font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 700; line-height: 1; background: linear-gradient(120deg,#fff, var(--violet-100)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 8px; font-weight: 600; color: rgba(255,255,255,.82); font-size: .98rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }

/* =============================================================
   Doctor feature
   ============================================================= */
.doc { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.doc-photo { position: relative; }
.doc-photo img { border-radius: 28px 28px 90px 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1/1.08; object-fit: cover; object-position: top; }
.doc-photo .ring { position: absolute; inset: -16px -16px auto auto; width: 120px; height: 120px; border: 2px dashed var(--violet-300); border-radius: 50%; z-index: -1; }
.doc-creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cred-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--violet-50); border: 1px solid var(--violet-200); color: var(--violet-800); font-weight: 700; font-size: .85rem; padding: 8px 15px; border-radius: var(--r-pill); }
.cred-pill svg { width: 15px; height: 15px; color: var(--green-600); }

/* =============================================================
   MLS Laser band
   ============================================================= */
.mls { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); }
.mls-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch; }
.mls-copy { padding: clamp(34px,4.5vw,60px); position: relative; z-index: 2; background: var(--grad-fresh); }
.mls-copy h2 { color: #fff; font-size: clamp(1.9rem,3.6vw,2.7rem); }
.mls-copy p { color: rgba(255,255,255,.9); margin-top: 14px; }
.mls-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.mls-pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color:#fff; font-weight: 700; font-size: .86rem; padding: 9px 16px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.mls-photo { position: relative; min-height: 320px; }
.mls-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   Testimonials
   ============================================================= */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); position: relative; height: 100%; display: flex; flex-direction: column; }
.quote .mark { font-family: "Fraunces", serif; font-size: 4rem; line-height: .6; color: var(--violet-200); margin-bottom: 8px; }
.quote .stars { color: var(--pink-500); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { color: var(--ink-700); font-size: 1.02rem; flex: 1; }
.quote .who { margin-top: 18px; font-weight: 800; color: var(--violet-800); display: flex; align-items: center; gap: 10px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color:#fff; display: grid; place-items: center; font-family:"Fraunces",serif; }

/* =============================================================
   Accordion (FAQ + conditions)
   ============================================================= */
.accordion { display: grid; gap: 14px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.acc[open], .acc.open { box-shadow: var(--shadow); border-color: var(--violet-200); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: "Fraunces", serif; font-size: 1.12rem; font-weight: 600; color: var(--ink-900); }
.acc-head .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--violet-50); color: var(--violet-700); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--ease), background .3s, color .3s; }
.acc-head .chev svg { width: 17px; height: 17px; }
.acc.open .acc-head .chev { transform: rotate(180deg); background: var(--grad-brand); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 24px 22px; color: var(--ink-600); }
.acc-body-inner p + p { margin-top: 10px; }
.acc-body-inner ol, .acc-body-inner ul { padding-left: 20px; margin-top: 8px; }
.acc-body-inner ol { list-style: decimal; }
.acc-body-inner ul { list-style: disc; }
.acc-body-inner li { margin-bottom: 5px; }

/* conditions search */
.cond-search { position: relative; max-width: 460px; margin: 0 auto 34px; }
.cond-search input { width: 100%; padding: 16px 20px 16px 50px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--ink-800); transition: border-color .25s, box-shadow .25s; }
.cond-search input:focus { outline: none; border-color: var(--violet-400); box-shadow: var(--ring); }
.cond-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--violet-500); }
.cond-empty { text-align: center; color: var(--ink-500); padding: 30px; display: none; }

/* =============================================================
   Contact
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--violet-50); color: var(--violet-700); display: grid; place-items: center; flex-shrink: 0; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4 { font-family: "Plus Jakarta Sans", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); margin-bottom: 3px; }
.info-row .v { font-weight: 700; color: var(--ink-900); }
.info-row .v a { color: var(--violet-800); }

.hours-list { display: grid; gap: 2px; }
.hours-list .hr { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.hours-list .hr.closed { color: var(--ink-500); }
.hours-list .hr span:first-child { font-weight: 700; color: var(--ink-800); }

/* Form */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.phi-note { display: flex; gap: 12px; background: var(--violet-50); border: 1px solid var(--violet-200); border-radius: var(--r); padding: 14px 16px; margin-bottom: 22px; font-size: .88rem; color: var(--violet-900); }
.phi-note svg { width: 22px; height: 22px; color: var(--violet-600); flex-shrink: 0; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink-800); margin-bottom: 7px; }
.field label .req { color: var(--pink-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink-800); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-400); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { display: none; padding: 16px; border-radius: var(--r); background: var(--green-100); border: 1px solid var(--green-300); color: var(--green-800); font-weight: 600; margin-top: 6px; }
.form-msg.show { display: block; }

/* map */
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* directions */
.dir-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--violet-400); border-radius: var(--r); padding: 20px 24px; }
.dir-card h4 { font-family: "Plus Jakarta Sans", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--violet-700); margin-bottom: 7px; }
.dir-card p { color: var(--ink-600); font-size: .95rem; }

/* insurance chips */
.ins-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ins-chip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 700; color: var(--ink-800); font-size: .92rem; transition: transform .25s var(--ease), border-color .25s; }
.ins-chip:hover { transform: translateY(-3px); border-color: var(--violet-300); }

/* =============================================================
   CTA band
   ============================================================= */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-brand-deep); color: #fff; text-align: center; padding: clamp(48px,6vw,84px) 28px; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px); background-size: 30px 30px; opacity:.5; }
.cta-band h2 { color:#fff; font-size: clamp(2rem,4.6vw,3rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 14px auto 30px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================================
   Footer
   ============================================================= */
.footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer h5 { font-family: "Plus Jakarta Sans", sans-serif; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer a:hover { color: var(--violet-300); }
.footer-links { display: grid; gap: 11px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-contact div { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--violet-300); flex-shrink: 0; margin-top: 3px; }
.foot-creds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.foot-creds span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 5px 11px; font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .built { color: rgba(255,255,255,.5); }

/* =============================================================
   Page hero (interior pages)
   ============================================================= */
.page-hero { padding: calc(var(--nav-h) + 60px) 0 60px; background: var(--grad-soft); position: relative; overflow: hidden; }
.page-hero .blob { opacity: .4; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink-500); font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: var(--violet-700); }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.4rem); }
.page-hero p { color: var(--ink-600); font-size: 1.12rem; max-width: 640px; margin-top: 14px; }

/* prose (legal pages) */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-600); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }

/* =============================================================
   Scroll reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .doc { grid-template-columns: 1fr; gap: 36px; }
  .doc-photo { max-width: 420px; }
  .mls-inner { grid-template-columns: 1fr; }
  .mls-photo { min-height: 260px; order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn, .nav-phone span { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 760px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card--tl { left: 10px; }
  .float-card--br { right: 8px; }
  .section { padding: 64px 0; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
  .hero-actions .btn { width: 100%; }
}

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