/*
Theme Name: Vidal & Caraballo Health Services
Theme URI: https://example.com/
Author: Vidal & Caraballo Health Services LLC
Description: Bilingual (ES/EN), conversion-focused theme for Vidal & Caraballo Health Services, a general practice in Utuado, Puerto Rico. Click-to-call, online appointment requests, directions, live open/closed status and local SEO structured data.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: vidal-caraballo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Brand tokens: adjust these to match the logo colors. */
:root {
  /* Palette: Utuado pine, sand and clay. Swap these to match the logo. */
  --primary: #1f3d37;
  --primary-deep: #152b27;
  --jade: #3d7466;
  --accent: #b65a34;
  --accent-hover: #9b4a29;
  --accent-soft: #f2e2d6;
  --sand: #ece5d9;
  --sage-soft: #e3e8df;
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --ink: #1c2622;
  --muted: #59635e;
  --line: rgba(31, 61, 55, 0.12);
  --line-strong: rgba(31, 61, 55, 0.22);
  --ok: #3f8a5c;
  --star: #c9962b;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 24px 60px -18px rgba(31, 45, 38, 0.28);
  --shadow-sm: 0 6px 18px -8px rgba(31, 45, 38, 0.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* z-index scale */
  --z-header: 60; --z-menu: 55; --z-bar: 70; --z-grain: 80; --z-toast: 200; --z-skip: 300;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; background-image: var(--grain); opacity: .045; }
body.no-scroll { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; color: var(--primary); }
h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
::selection { background: var(--accent-soft); color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: var(--z-skip); padding: 10px 16px; background: var(--surface); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.button-accent { color: #fff; background: var(--accent); box-shadow: 0 12px 26px -10px rgba(155, 74, 41, .55); }
.button-accent:hover { background: var(--accent-hover); box-shadow: 0 16px 32px -10px rgba(155, 74, 41, .6); }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { background: var(--primary-deep); }
.button-outline { color: var(--primary); background: transparent; border-color: var(--line-strong); }
.button-outline:hover { border-color: var(--primary); background: var(--surface); }
.button-light { color: var(--primary); background: var(--surface); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--jade); font-family: var(--serif); font-size: 18px; font-style: italic; font-weight: 500; letter-spacing: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .7; }
.eyebrow.light { color: #a9cbbf; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; transition: gap .25s var(--ease); }
.arrow-link:hover { gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-deep); color: #cddcd5; font-size: 14px; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: 9px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar a { transition: color .2s; }
.topbar-address { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar-address:hover { color: #fff; }
.topbar-address svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topbar-new { font-weight: 500; color: #fff; }
.topbar-new::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: #7cc79a; }
.topbar-portal { color: #fff; font-weight: 500; text-decoration: none; }
.topbar-portal:hover { color: var(--accent-soft); }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #fff; }
.open-status[hidden] { display: none; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7cc79a; box-shadow: 0 0 0 4px rgba(124, 199, 154, .2); animation: pulse 2.6s infinite; }
.open-status.is-closed .status-dot { background: #e0a36e; box-shadow: 0 0 0 4px rgba(224, 163, 110, .2); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(124, 199, 154, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; padding: 0 clamp(16px, 3vw, 48px); background: rgba(247, 244, 238, .88); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: height .3s var(--ease), border-color .3s, box-shadow .3s; }
.site-header.scrolled { height: 70px; border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(31, 45, 38, .4); }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: auto; max-height: 56px; max-width: 220px; object-fit: contain; }
.brand-monogram { flex: none; width: 66px; height: auto; color: var(--primary); transition: transform .4s var(--ease); }
.brand:hover .brand-monogram { transform: rotate(-3deg) scale(1.03); }
.brand-text { white-space: nowrap; display: flex; flex-direction: column; gap: 5px; padding-left: 14px; border-left: 1px solid var(--line-strong); line-height: 1; }
.brand-text strong { color: var(--primary); font-size: 14.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.brand-text small { color: var(--jade); font-family: var(--serif); font-size: 14px; font-style: italic; font-weight: 500; letter-spacing: 0; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.desktop-nav a { position: relative; white-space: nowrap; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0; transform: translateX(-50%) scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }
.desktop-nav a.is-active { color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: border-color .2s, background-color .2s; }
.lang-toggle:hover { border-color: var(--primary); background: var(--surface); }
.header-portal { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.header-portal:hover { border-color: var(--primary); background: var(--surface); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); text-decoration: none; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.header-phone > svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.header-phone:hover > svg { transform: rotate(-12deg); }
.header-phone span { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.15; }
.header-phone small { color: var(--muted); font-size: 12px; font-weight: 500; }
.menu-button { display: none; width: 44px; height: 44px; padding: 12px 11px; border: 0; border-radius: 14px; background: var(--sand); }
.menu-button span { display: block; height: 1.5px; margin: 4px 0; border-radius: 2px; background: var(--primary); transition: transform .3s var(--ease), opacity .25s; }
.menu-button.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-button.active span:nth-child(2) { opacity: 0; }
.menu-button.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(64px, 7vw, 104px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(760px, 70vw); aspect-ratio: 1; right: -12%; top: -8%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(61, 116, 102, .16), rgba(236, 229, 217, .5) 45%, transparent 70%); pointer-events: none; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--jade); }
.hero-lede { max-width: 33em; margin: 24px 0 34px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-micro { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.trust-chips .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; background: var(--jade); stroke-width: 2.6; }
.chip-rating .icon { color: var(--star); background: none; fill: var(--star); padding: 0; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -5% -5% 10%; border-radius: 240px 240px var(--r-lg) var(--r-lg); background: var(--sand); transform: rotate(3deg); }
.hero-image { position: relative; aspect-ratio: 4 / 4.7; border-radius: 240px 240px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sage-soft); box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(21, 43, 39, .28)); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-md); background: rgba(255, 253, 249, .9); backdrop-filter: blur(12px); box-shadow: var(--shadow); color: var(--ink); text-align: left; text-decoration: none; transition: transform .3s var(--ease); }
.float-card:hover { transform: translateY(-3px); }
.float-card span:not(.float-icon):not(.status-dot):not(.float-arrow) { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-size: 15px; font-weight: 600; }
.float-card small { color: var(--muted); font-size: 13px; }
.card-location { top: 9%; left: -7%; }
.card-book { right: -5%; bottom: 10%; padding-left: 16px; }
.float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--jade); }
.float-arrow { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 6px; border-radius: 50%; color: #fff; background: var(--accent); transition: transform .3s var(--ease); }
.card-book:hover .float-arrow { transform: translateX(3px); }

/* ---------- Quick actions: one calm panel ---------- */
.quick-actions { position: relative; z-index: 1; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 1240px) { .quick-actions { margin-left: var(--gutter); margin-right: var(--gutter); } }
.quick-actions.has-portal { grid-template-columns: repeat(4, 1fr); }
.quick { display: flex; align-items: center; gap: 16px; padding: 26px 26px; border: 0; background: transparent; text-align: left; text-decoration: none; transition: background-color .25s; }
.quick + .quick { box-shadow: inset 1px 0 0 var(--line); }
.quick:hover { background: var(--paper); }
.quick > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quick strong { font-size: 17px; font-weight: 600; color: var(--primary); }
.quick small { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.quick-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; color: var(--accent); background: var(--accent-soft); font-size: 22px; transition: transform .3s var(--ease); }
.quick:hover .quick-icon { transform: scale(1.06) rotate(-4deg); }
.quick-portal .quick-icon { color: var(--jade); background: var(--sage-soft); }

/* ---------- Section heading ---------- */
section { position: relative; }
.section-heading { max-width: 700px; margin: 0 0 52px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 36em; margin: 18px 0 0; color: var(--muted); font-size: 18px; }

/* ---------- Services: editorial two-column list ---------- */
.services { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 10vw, 136px) var(--gutter) clamp(72px, 8vw, 112px); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line-strong); }
.service-card { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; padding: 30px 8px 30px 0; border-bottom: 1px solid var(--line); }
.service-card::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: var(--r-md); background: var(--surface); opacity: 0; transition: opacity .3s; }
.service-card:hover::before { opacity: 1; }
.service-icon { grid-row: span 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: var(--jade); background: var(--sage-soft); font-size: 24px; transition: background-color .3s, color .3s; }
.service-card:hover .service-icon { color: #fff; background: var(--jade); }
.service-card h3 { color: var(--primary); }
.service-card p { max-width: 34em; margin: 6px 0 14px; color: var(--muted); font-size: 16px; }
.service-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 15px; }
.service-link .icon { transition: transform .3s var(--ease); }
.service-link:hover .icon, .service-card:hover .service-link .icon { transform: translateX(4px); }
.services-note { margin: 36px 0 0; color: var(--muted); }
.services-note a { color: var(--accent); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- Why us: inset panel, same motif as the final CTA ---------- */
.why { margin: 0 clamp(12px, 2vw, 32px); border-radius: calc(var(--r-lg) + 8px); background: var(--primary); color: #d5e2dc; overflow: hidden; isolation: isolate; }
.why::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -240px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 116, 102, .55), transparent 68%); }
.why::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.why-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 9vw, 128px) var(--gutter) clamp(88px, 10vw, 136px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.why h2 { color: #fbf7f0; }
.why-copy > p:not(.eyebrow):not(.why-stat) { max-width: 32em; margin: 22px 0 30px; font-size: 18px; color: #bfd2ca; }
.why-stat { display: flex; align-items: baseline; gap: 14px; margin: 0 0 30px; color: #bfd2ca; font-size: 16px; }
.why-stat strong { color: #fbf7f0; font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.why-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-list li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-list li > span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; color: #e9b597; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 20px; }
.why-list h3 { color: #fbf7f0; }
.why-list p { margin: 4px 0 0; color: #a9bfb6; font-size: 16px; }

/* ---------- Reviews ---------- */
.reviews { max-width: calc(var(--max) - 2 * var(--gutter)); margin: clamp(72px, 8vw, 112px) auto 0; padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: var(--r-lg); background: var(--sand); }
@media (max-width: 1240px) { .reviews { margin-left: var(--gutter); margin-right: var(--gutter); } }
.reviews h2 { font-size: clamp(26px, 3vw, 38px); }
.reviews-copy { flex: 1; }
.reviews-copy p { max-width: 34em; margin: 10px 0 0; color: var(--muted); }
.reviews-copy .arrow-link { margin-top: 14px; }
.reviews-score { display: flex; flex-direction: column; align-items: center; min-width: 170px; padding-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--line-strong); }
.reviews-score strong { color: var(--primary); font-family: var(--serif); font-size: 68px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.reviews-score .stars { display: flex; gap: 3px; margin: 8px 0 4px; color: var(--star); }
.reviews-score .stars .icon { fill: currentColor; stroke-width: 1; }
.reviews-score small { color: var(--muted); font-size: 14px; }
.reviews > .button { background: var(--surface); border-color: transparent; }
.reviews > .button .icon { color: var(--star); fill: var(--star); }

/* ---------- Visit: connected timeline ---------- */
.visit { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 10vw, 136px) var(--gutter) clamp(64px, 7vw, 96px); }
.visit-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 1.5px; background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 12px); }
.steps li { position: relative; display: flex; gap: 24px; padding: 6px 0 34px; }
.steps li:last-child { padding-bottom: 0; }
.steps li > span { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; color: var(--primary); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--primary); font-family: var(--serif); font-size: 21px; font-weight: 600; transition: background-color .3s, color .3s; }
.steps li:hover > span { color: #fff; background: var(--primary); }
.steps h3 { padding-top: 10px; color: var(--primary); font-size: 21px; }
.steps p { max-width: 30em; margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.bring { position: relative; padding: clamp(28px, 3vw, 38px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.bring h3 { color: var(--primary); font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.bring ul { display: grid; gap: 0; margin: 18px 0 26px; padding: 0; list-style: none; }
.bring li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.bring li .icon { color: var(--jade); font-size: 20px; }
.bring .button { width: 100%; }

/* ---------- FAQ: hairline list ---------- */
.faq { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 5vw, 80px) var(--gutter) clamp(88px, 10vw, 136px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq .section-heading { margin: 0; position: sticky; top: 120px; }
.faq-list { display: grid; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; color: var(--primary); font-weight: 600; font-size: 18.5px; list-style: none; cursor: pointer; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .25s, box-shadow .25s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 2px; background: var(--primary); transition: transform .3s var(--ease), background-color .25s; }
.faq-plus::after { transform: rotate(90deg); }
.faq details[open] .faq-plus { background: var(--accent); box-shadow: none; }
.faq details[open] .faq-plus::before, .faq details[open] .faq-plus::after { background: #fff; }
.faq details[open] .faq-plus::after { transform: rotate(0); }
.faq details p { max-width: 38em; margin: 0; padding: 0 56px 26px 4px; color: var(--muted); }

/* ---------- Location ---------- */
.location { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(96px, 10vw, 144px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.location-map { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-soft); box-shadow: var(--shadow); }
.location-map::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.location-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.08); }
.location dl { display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--line-strong); }
.location dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.location dt { display: flex; align-items: center; gap: 8px; color: var(--jade); font-size: 15px; font-weight: 600; }
.location dd { margin: 0; font-size: 17px; font-weight: 500; }
.location dd a { color: var(--accent); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hours { border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours th { padding: 2px 20px 2px 0; text-align: left; font-weight: 500; }
.hours td { padding: 2px 0; color: var(--muted); }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Final CTA ---------- */
.cta { margin: 0 clamp(12px, 2vw, 32px) clamp(24px, 3vw, 32px); border-radius: calc(var(--r-lg) + 8px); background: radial-gradient(120% 140% at 85% 0%, #3d7466 0%, var(--primary) 52%, var(--primary-deep) 100%); overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -160px; bottom: -260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.cta::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(72px, 8vw, 112px) 24px clamp(80px, 9vw, 120px); text-align: center; }
.cta h2 { color: #fbf7f0; font-size: clamp(36px, 5vw, 60px); }
.cta p { margin: 18px auto 34px; max-width: 30em; color: #c6d8d0; font-size: 19px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.wp-page-content, .content-shell { max-width: 820px; margin: 0 auto; padding: 72px var(--gutter); }
.content-shell h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 32px; color: #b4c6be; background: var(--primary-deep); font-size: 15px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; }
.footer-name { display: flex; align-items: center; gap: 16px; margin: 0; color: #fbf7f0; font-size: 15px; font-weight: 500; letter-spacing: .26em; line-height: 1; text-transform: uppercase; }
.footer-name > span { display: flex; flex-direction: column; gap: 7px; }
.footer-name small { color: #e9b597; font-family: var(--serif); font-size: 15px; font-style: italic; letter-spacing: 0; text-transform: none; }
.footer-monogram { flex: none; width: 76px; height: auto; color: #fbf7f0; }
.footer-brand > p:not(.footer-name) { max-width: 300px; margin: 16px 0 24px; }
.site-footer h3 { margin: 0 0 18px; color: #e9b597; font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 500; }
.footer-main > div:not(.footer-brand) a, .footer-main > div:not(.footer-brand) button { display: block; margin: 0 0 10px; padding: 0; border: 0; background: none; color: #b4c6be; text-align: left; text-decoration: none; transition: color .2s; }
.footer-main a:hover, .footer-main button:hover { color: #fff; }
.footer-main p { margin: 0 0 12px; }
.footer-dim { color: #8da89d; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: #7f978d; font-size: 13px; }
.footer-legal a, .footer-menu a { margin-left: 18px; color: inherit; text-decoration: none; }
.footer-legal a:hover, .footer-menu a:hover { color: #fff; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Modal ---------- */
.modal { width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(24px, 4vw, 40px); border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(21, 43, 39, .5); overflow-y: auto; }
.modal::backdrop { background: rgba(21, 43, 39, .55); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sand); color: var(--primary); font-size: 24px; line-height: 1; transition: background-color .2s; }
.modal-close:hover { background: var(--accent-soft); }
.modal h2 { font-size: clamp(26px, 3.4vw, 34px); padding-right: 36px; }
.modal-intro { margin: 10px 0 22px; color: var(--muted); }
#appointment-form { display: grid; gap: 14px; }
#appointment-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary); }
#appointment-form input:not([type="radio"]), #appointment-form select { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s, box-shadow .2s; font-size: 16px; font-weight: 500; color: var(--ink); }
#appointment-form input:focus, #appointment-form select:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 4px rgba(61, 116, 102, .16); }
#appointment-form [aria-invalid="true"] { border-color: #b4472f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 5px; border: 0; border-radius: 14px; background: var(--sand); }
.segmented label { display: block !important; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--muted); text-align: center; cursor: pointer; transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); }
.honeypot { position: absolute !important; left: -9999px; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: .7; transform: none; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #f6e1da; color: #8f3420; font-size: 15px; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-note { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-note .icon { margin-top: 2px; color: var(--jade); }
.form-note a { color: var(--accent); font-weight: 700; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 24px; display: flex; align-items: center; gap: 14px; width: min(420px, calc(100% - 32px)); padding: 16px 18px; border-radius: 16px; background: var(--primary-deep); color: #fbf7f0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: .3s; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ok); font-weight: 700; }
.toast.is-error .toast-icon { background: #b4472f; }
.toast p { display: flex; flex-direction: column; margin: 0; }
.toast small { color: #b4c6be; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1600px) and (min-width: 1341px) {
  .header-phone span { display: none; }
  .desktop-nav { gap: 20px; }
}
@media (max-width: 1100px) {
  .quick-actions.has-portal { grid-template-columns: 1fr 1fr; }
  .quick-actions.has-portal .quick:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .quick-actions.has-portal .quick:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
}

@media (max-width: 1340px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav { position: fixed; z-index: var(--z-menu); top: 0; left: 0; right: 0; display: flex; flex-direction: column; gap: 4px; padding: 120px var(--gutter) 28px; background: var(--paper); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow); transform: translateY(-105%); transition: transform .45s var(--ease); }
  .mobile-nav.open { transform: none; }
  .mobile-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--primary); font-family: var(--serif); font-size: 24px; font-weight: 500; text-decoration: none; }
  .mobile-nav .button { margin-top: 10px; }
}

@media (max-width: 900px) {
  .topbar-address { display: none; }
  .header-phone span { display: none; }
  .desktop-only { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .card-location { left: 0; }
  .card-book { right: 0; }
  .quick-actions, .quick-actions.has-portal { grid-template-columns: 1fr; }
  .quick-actions .quick + .quick, .quick-actions.has-portal .quick:nth-child(n) { box-shadow: inset 0 1px 0 var(--line); }
  .quick-actions .quick:first-child { box-shadow: none; }
  .quick { padding: 20px 22px; }
  .header-portal { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .why-inner, .visit-grid, .faq, .location { grid-template-columns: 1fr; }
  .faq .section-heading { position: static; }
  .reviews { flex-direction: column; align-items: flex-start; }
  .reviews-score { flex-direction: row; gap: 14px; align-items: center; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line-strong); width: 100%; }
  .reviews-score strong { font-size: 52px; }
  .why-inner { padding-left: clamp(20px, 5vw, 40px); padding-right: clamp(20px, 5vw, 40px); }
  .hero-visual::before { inset: 6% -2% -3% 6%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .action-bar { position: fixed; z-index: var(--z-bar); left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(21, 43, 39, .95); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -10px rgba(21, 43, 39, .55); transform: translateY(140%); transition: transform .3s ease; }
  body.show-action-bar .action-bar { transform: none; }
  .action-bar a, .action-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border: 0; border-radius: 14px; background: transparent; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
  .action-bar .icon { font-size: 20px; }
  .action-bar .action-call { background: var(--accent); }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar-inner { justify-content: center; font-size: 13px; }
  .open-status:not([hidden]) ~ .topbar-new { display: none; }
  .site-header { height: 70px; gap: 10px; }
  .brand-monogram { width: 54px; }
  .brand { gap: 10px; }
  .brand-text { padding-left: 10px; gap: 4px; }
  .brand-text strong { font-size: 11.5px; letter-spacing: .2em; }
  .brand-text small { font-size: 12.5px; }
  .brand-logo { max-height: 44px; max-width: 160px; }
  .header-actions { gap: 8px; }
  .lang-toggle { width: 40px; height: 40px; }
  .header-phone > svg { width: 40px; height: 40px; }
  .hero-actions .button { width: 100%; }
  .trust-chips li { font-size: 13px; }
  .float-card { padding: 10px 12px; }
  .float-card strong { font-size: 14px; }
  .card-location { top: 4%; }
  .location dl > div { grid-template-columns: 1fr; gap: 6px; }
  .faq details p { padding-right: 4px; }
  .service-card { column-gap: 16px; }
  .service-icon { width: 46px; height: 46px; border-radius: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .cta, .why { margin-left: 10px; margin-right: 10px; }
  .cta-actions .button { width: 100%; }
}

/* ---------- 404 ---------- */
.not-found { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(80px, 12vw, 160px); }
.not-found-monogram { width: 120px; height: auto; margin-bottom: 28px; color: var(--jade); opacity: .9; }
.not-found h1 { max-width: 14em; }
.not-found > p:not(.eyebrow) { margin: 18px 0 30px; color: var(--muted); font-size: 18px; }

@media (max-width: 400px) {
  .site-header { padding: 0 12px; gap: 6px; }
  .brand { gap: 8px; }
  .brand-monogram { width: 44px; }
  .brand-text { padding-left: 8px; }
  .brand-text strong { font-size: 10.5px; letter-spacing: .14em; }
  .brand-text small { font-size: 12px; }
  .header-actions { gap: 6px; }
  .lang-toggle, .menu-button { width: 38px; height: 38px; }
  .header-phone > svg { width: 38px; height: 38px; padding: 9px; }
}

@media (max-width: 340px) {
  .brand-text { display: none; }
}

/* ---------- Legal pages (/privacy, /sms-terms) ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px); }
.legal-head { padding-bottom: 32px; margin-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.legal h1 { font-size: clamp(34px, 5vw, 54px); }
.legal h1 span, .legal h2 span { display: block; margin-top: 6px; color: var(--jade); font-style: italic; font-weight: 500; font-size: .55em; letter-spacing: 0; }
.legal-date { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.legal-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 16px; }
.legal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 14px; }
.legal-pair p { margin: 0; }
.legal-pair p[lang="en"] { color: var(--muted); }
.legal a { color: var(--accent); font-weight: 600; }
.legal-contact { margin-top: 40px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--sand); }
.legal-contact h2 { margin-bottom: 10px; }
.legal-contact p { margin: 10px 0 0; }
@media (max-width: 700px) { .legal-pair { grid-template-columns: 1fr; gap: 8px; } .legal-pair p[lang="en"] { padding-left: 14px; border-left: 2px solid var(--line-strong); } }
