/* Umbrella Aesthetics – dental landing page. Mobile-first, no frameworks.
   Palette comes from the clinic logo: umbrella green + gold lettering on warm ivory. */
:root {
  --green: #1f7a52;
  --green-2: #27905f;
  --green-dark: #0f3d2b;
  --green-deep: #0a2c1f;
  --mint: #e8f4ed;
  --gold: #b98a45;
  --gold-light: #e6c283;
  --gold-dark: #8a6224;
  --cream: #fbf8f2;
  --cream-2: #f3ebda;
  --ink: #14211b;
  --muted: #5a6962;
  --line: #e8e1d1;
  --white: #fff;
  --danger: #b3261e;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 43, .06), 0 4px 14px rgba(15, 61, 43, .06);
  --shadow: 0 2px 4px rgba(15, 61, 43, .05), 0 18px 40px -12px rgba(15, 61, 43, .18);
  --shadow-lg: 0 2px 6px rgba(15, 61, 43, .06), 0 36px 70px -24px rgba(15, 61, 43, .35);
  --grad-green: linear-gradient(135deg, #2a9566 0%, #17593f 100%);
  --grad-gold: linear-gradient(135deg, #b98a45 0%, #8a6224 100%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--ink); background: var(--white); padding-bottom: 68px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; margin: 0 0 .6em; color: var(--green-dark); letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 5.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
::selection { background: var(--gold-light); color: var(--green-deep); }

.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2rem); }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.17em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 22px -8px rgba(23, 89, 63, .65); }
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(23, 89, 63, .75); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; margin-top: auto; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-wa { background: #1ea952; color: #fff; box-shadow: 0 10px 22px -10px rgba(30, 169, 82, .8); }
.btn-wa:hover { background: #178a42; }
.btn-ghost { background: rgba(255, 255, 255, .75); border-color: var(--line); color: var(--green-dark); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--green); }
.btn-ghost-wa .ico { color: #1ea952; }
.btn-block { width: 100%; padding: .95em 1em; font-size: 1.05rem; }
.btn-block .ico { transition: transform .2s; }
.btn-block:hover .ico { transform: translateX(4px); }
.btn[disabled] { opacity: .8; cursor: wait; transform: none; }
.btn.is-loading .ico { display: none; }
.btn.is-loading::after { content: ""; width: 1.05em; height: 1.05em; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header: logo + click-to-call only (per the spec). Shrinks a little once the page scrolls. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(232, 225, 209, .7); transition: box-shadow .25s, background .25s; }
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-light) 25%, var(--gold) 50%, var(--gold-light) 75%, transparent); opacity: .55; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -14px rgba(15, 61, 43, .28); }
.header-row { display: flex; align-items: center; gap: .8rem; min-height: 72px; transition: min-height .25s; }
.is-scrolled .header-row { min-height: 62px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; min-width: 0; }
.brand-mark { width: auto; height: 50px; flex: none; transition: height .25s, transform .3s; }
.is-scrolled .brand-mark { height: 42px; }
.brand:hover .brand-mark { transform: rotate(-4deg); }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; white-space: nowrap; }
.brand-name { font: 700 1.28rem/1 var(--serif); letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.brand-sub { font: 600 .6rem/1 var(--sans); letter-spacing: .43em; text-transform: uppercase; color: var(--gold-dark); margin-top: .32rem; padding-left: .08em; }
.brand-tag { display: none; border-left: 1.5px solid var(--line); padding-left: .85rem; margin-left: .35rem; font: 600 .7rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.call-btn { display: inline-flex; align-items: center; gap: .6rem; flex: none; margin-left: auto; padding: .38rem 1.05rem .38rem .38rem; border-radius: 999px; background: var(--grad-gold); color: #fff; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(138, 98, 36, .85); transition: transform .2s, box-shadow .2s; }
.call-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(138, 98, 36, .95); }
.call-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.call-ico { position: relative; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.call-ico .ico { width: 1.05rem; height: 1.05rem; }
.call-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.call-text { display: flex; flex-direction: column; line-height: 1.1; }
.call-text small { font: 600 .66rem/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.call-text strong { font: 700 1rem/1.15 var(--sans); white-space: nowrap; letter-spacing: .01em; }
/* Section links: below 960px a dropdown card under the header, opened by the ☰ button (main.js);
   from 960px inline between the logo and the call button (see the desktop media query). */
.nav { position: absolute; top: calc(100% + .5rem); right: 1rem; width: min(300px, 100% - 2rem); display: grid; gap: .15rem; padding: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
.nav a { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); font: 600 1rem/1.2 var(--sans); transition: background .15s, color .15s; }
.nav a::after { content: "→"; color: var(--gold); font-weight: 400; }
.nav a:hover, .nav a.is-active { background: var(--mint); color: var(--green-dark); }
.nav-toggle { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--green-dark); cursor: pointer; transition: border-color .2s, background .2s; }
.nav-toggle:hover, .nav-open .nav-toggle { border-color: var(--green); background: var(--mint); }
.nav-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav-toggle[hidden] { display: none; }
.nav-toggle span { grid-area: 1 / 1; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }
@media (max-width: 599px) { .call-text small { display: none; } }
@media (max-width: 479px) {
  /* Phones: round call icon + ☰. Labelled Call buttons stay in the hero, bottom bar and thank-you card. */
  .call-text { display: none; }
  .call-btn { padding: .3rem; }
}
@media (max-width: 400px) {
  .brand-mark { height: 42px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: .52rem; letter-spacing: .38em; }
}

/* Google Business Profile Top Strip */
.gmb-top-strip { background: #ffffff; border-bottom: 1px solid var(--line); font-size: .88rem; padding: .55rem 0; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.gmb-top-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.gmb-top-left { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--ink); }
.gmb-mini-badge { display: inline-flex; align-items: center; gap: .35rem; background: #f8f9fa; border: 1px solid #dadce0; border-radius: 999px; padding: .2rem .6rem; font-size: .78rem; font-weight: 600; color: #3c4043; }
.google-svg { width: 1.05rem; height: 1.05rem; flex: none; vertical-align: middle; }
.gmb-stars-gold { color: #fbbc04; letter-spacing: .08em; font-size: 1rem; }
.gmb-pipe { color: var(--line); opacity: .8; }
.gmb-desc { color: var(--muted); }
.gmb-top-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--green); font-weight: 600; text-decoration: none; font-size: .84rem; padding: .25rem .6rem; border-radius: 999px; background: var(--mint); transition: all .2s; }
.gmb-top-link:hover { background: var(--green); color: #fff; transform: translateX(2px); }
.gmb-top-link .ico { width: .9rem; height: .9rem; }
@media (max-width: 680px) {
  .gmb-desc, .gmb-pipe { display: none; }
  .gmb-top-inner { justify-content: center; }
}

/* Hero */
/* Banner: the clinic's real treatment room under a deep green wash. On phones the photo covers the
   top of the section and fades out, so the tall stacked layout doesn't stretch it. */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 2rem 0 3rem; background: var(--green-deep); color: #fff; }
.hero-bg { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: min(100%, 640px); object-fit: cover; object-position: 66% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(620px 340px at 100% 0, rgba(185, 138, 69, .28), transparent 70%), linear-gradient(180deg, rgba(10, 44, 31, .74) 0, rgba(10, 44, 31, .84) 420px, var(--green-deep) 640px); }
.hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
.hero .hl { background: linear-gradient(180deg, #f8e2b4, var(--gold-light) 60%, #d9ab62); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hero .lead { color: rgba(255, 255, 255, .9); }
.hero .eyebrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #f8e2b4; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .trust { margin: .9rem 0 1.15rem; }
.hero .trust span { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); color: #fff; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .trust .ico { color: var(--gold-light); }
.hero .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38); color: #fff; }
.hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--green-dark); }
.hero .btn-ghost-wa .ico { color: #5be59a; }
.hero .btn-ghost-wa:hover .ico { color: #1ea952; }
.hero .form-card { color: var(--ink); }
/* Google profile style rating card */
.gbp { display: inline-flex; align-items: center; gap: .8rem; margin-top: .3rem; padding: .6rem 1.15rem .6rem .8rem; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); transition: transform .2s, box-shadow .2s; }
.gbp:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(0, 0, 0, .7); }
.gbp-g { width: 2.1rem; height: 2.1rem; flex: none; }
.gbp-text { display: grid; gap: .12rem; }
.gbp-rate { display: flex; align-items: center; gap: .45rem; }
.gbp-rate strong { font: 700 1.3rem/1 var(--serif); color: var(--green-dark); }
.gbp-meta { font-size: .82rem; font-weight: 600; line-height: 1.2; color: var(--muted); }
.hero-grid { display: grid; gap: 2rem; align-items: start; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .4em; padding: .35em .9em; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--gold-dark); font: 700 .78rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.eyebrow-ok { background: var(--mint); border-color: #cfe6d8; color: var(--green); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.hero-banner-card { margin: 1.4rem 0 1rem; }
.hero-banner-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(255,255,255,.9); background: #f0eae1; aspect-ratio: 16 / 9; max-height: 290px; }
.hero-banner-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-banner-card:hover .hero-banner-photo { transform: scale(1.03); }
.hero-banner-glass { position: absolute; inset: auto 0 0 0; padding: .8rem 1rem; background: linear-gradient(180deg, transparent 0%, rgba(15, 41, 30, .78) 100%); display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.gmb-live-chip { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); padding: .35rem .75rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.gmb-live-text { display: flex; flex-direction: column; line-height: 1.15; }
.gmb-live-text strong { font-size: .85rem; color: var(--green-dark); }
.gmb-live-text span { font-size: .72rem; color: #5f6368; font-weight: 500; }
.hero-banner-status { display: inline-flex; align-items: center; gap: .45rem; background: rgba(15, 61, 43, .88); backdrop-filter: blur(8px); color: #fff; padding: .4rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; border: 1px solid rgba(255,255,255,.2); }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulseGreen 2s infinite; }
@keyframes pulseGreen {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (max-width: 480px) {
  .hero-banner-status { display: none; }
}
.trust { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0; padding: 0; font-weight: 600; font-size: .9rem; }
.trust span { display: inline-flex; align-items: center; gap: .45em; background: #fff; border: 1px solid var(--line); padding: .45em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.trust .ico { color: var(--gold); }
.alt-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.alt-links .btn { padding: .65em 1.15em; }

/* Forms */
.form-card { position: relative; overflow: hidden; background: var(--white); border-radius: 26px; padding: 1.5rem 1.35rem 1.4rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 61, 43, .06); }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--green-2), var(--gold) 70%, var(--gold-light)); }
.form-card h2 { font-size: 1.35rem; margin-top: .2rem; }
.form-card h2::after { display: none; }
.form-card-plain { margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .4em; background: var(--mint); color: var(--green); font: 700 .75rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: .5em .85em; border-radius: 999px; margin: .4rem 0 .7rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--green-dark); }
.input-wrap { position: relative; }
.input-wrap > .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--gold); pointer-events: none; transition: color .2s; }
.input-wrap:focus-within > .ico { color: var(--green); }
.field input, .field select { width: 100%; padding: .9em 1em .9em 2.8em; font: inherit; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fcfbf8; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: #9aa59f; }
.field input:hover, .field select:hover { border-color: #d4c9ae; }
.field input:focus, .field select:focus, .field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 82, .15); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231f7a52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }
.form-note .ico { color: var(--green); margin-top: .15em; }
.form-msg { margin: .9rem 0 0; font-weight: 600; font-size: .93rem; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--danger); background: #fdecea; border: 1px solid #f5c6c2; padding: .7rem .95rem; border-radius: 12px; }
.form-alert { margin-bottom: 0; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: linear-gradient(180deg, var(--cream) 0%, #f6f0e2 100%); }
.section h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: .65rem; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.intro { max-width: 760px; color: var(--muted); font-size: 1.04rem; }
.about-grid { display: grid; gap: 1.75rem; align-items: center; }
.photo { margin: 0; }
.photo img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; }

/* Stat strip */
.stats { background: radial-gradient(600px 220px at 85% 0, rgba(185, 138, 69, .3), transparent 70%), linear-gradient(135deg, var(--green-dark), var(--green-deep)); color: #fff; margin: 3rem 0; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding: 2rem 0; text-align: center; }
.stats strong { display: block; font: 700 2.2rem/1.1 var(--serif); background: linear-gradient(180deg, #f5dba6, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .9rem; opacity: .9; }

/* Steps */
.steps-grid { display: grid; gap: 1.75rem; align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; position: relative; padding: .2rem 0 .2rem 3.6rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--grad-green); color: #fff; font: 700 1.1rem/2.6rem var(--serif); text-align: center; box-shadow: 0 8px 16px -6px rgba(23, 89, 63, .6); }
.photo-wide { max-width: 480px; }

/* Cards */
.cards { display: grid; gap: 1.1rem; margin-top: 1.8rem; grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .35rem; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #d9cfb4; }
.card p { color: var(--muted); font-size: .95rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.card-icon-wrap { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: linear-gradient(135deg, #eef7f1, #e3f1e8); border: 1px solid rgba(31, 122, 82, .18); color: var(--green); transition: all .25s ease; box-shadow: 0 2px 6px rgba(31, 122, 82, .06); }
.card:hover .card-icon-wrap { background: var(--grad-green); color: #fff; border-color: transparent; transform: scale(1.08) rotate(-3deg); box-shadow: 0 8px 18px rgba(23, 89, 63, .28); }
.svc-ico { width: 1.6rem; height: 1.6rem; stroke: currentColor; transition: stroke .25s; }
.card-num { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: #faf8f3; border: 1px solid var(--line); font: 700 .82rem var(--sans); color: var(--muted); letter-spacing: .04em; margin-bottom: 0; transition: background .25s, color .25s; }
.card:hover .card-num { background: var(--mint); color: var(--green); border-color: rgba(31, 122, 82, .2); }

/* Reviews */
.rating-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; margin-top: .4rem; transition: box-shadow .2s, transform .2s; }
.rating-badge:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rating-badge strong { font: 700 1.5rem var(--serif); color: var(--green-dark); }
.stars { color: #e5a91f; white-space: nowrap; display: inline-flex; }
.review { margin: 0; position: relative; overflow: hidden; }
.review::after { content: "”"; position: absolute; right: 1rem; top: -.4rem; font: 700 6rem/1 var(--serif); color: var(--mint); pointer-events: none; }
.review p { font-size: 1rem; color: var(--ink); flex: 1; position: relative; z-index: 1; }
.review .stars, .review footer { position: relative; z-index: 1; }
.review footer span { display: block; font-size: .82rem; color: var(--muted); }

/* Doctors */
.doctor .avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: .6rem; box-shadow: 0 0 0 4px var(--mint); }
.avatar-initials { display: grid; place-items: center; background: var(--grad-green); color: #fff; font: 700 1.6rem var(--serif); }
.doctor .role { color: var(--gold-dark); font-weight: 600; margin-bottom: .6rem; }
.facts { list-style: none; padding: 0; margin: 0 0 .8rem; font-size: .93rem; display: grid; gap: .3rem; }
.link { margin-top: auto; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .75rem; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.faq details:hover { border-color: #d9cfb4; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfe6d8; }
.faq summary { cursor: pointer; padding: 1.05rem 3.4rem 1.05rem 1.2rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--mint); font: 500 1.3rem/1 var(--sans); color: var(--green); transition: background .2s, color .2s, transform .25s; }
.faq details[open] summary::after { content: "–"; background: var(--green); color: #fff; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

/* Booking + contact */
.book-grid { display: grid; gap: 2rem; }
.closing { margin-top: 1rem; color: var(--muted); }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1.4rem; box-shadow: var(--shadow); align-self: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ico { width: 2.7rem; height: 2.7rem; padding: .7rem; border-radius: 14px; background: var(--mint); color: var(--green); }
.contact-list strong { display: block; color: var(--green-dark); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1.1rem; }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* Footer + mobile bar */
.site-footer { background: var(--green-deep); color: #cfdcd4; padding: 1.8rem 0; font-size: .88rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }
.mobile-bar { position: fixed; inset: auto .6rem .6rem .6rem; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1fr; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 34px rgba(15, 61, 43, .25); overflow: hidden; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem .5rem; font-weight: 700; text-decoration: none; color: var(--green-dark); }
.mobile-bar a.primary { background: var(--grad-green); color: #fff; }

/* Thank-you page: one compact card, centred in the space under the header (72px). The page has
   no mobile bar (footer.php $show_bar = false). Taller content simply starts at the top. */
.page-thanks { padding-bottom: 0; }
.ty { position: relative; overflow: hidden; display: flex; align-items: center; padding: 1.25rem 0;
  min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
  background:
    radial-gradient(700px 420px at 90% -6%, rgba(185, 138, 69, .26), transparent 62%),
    radial-gradient(600px 440px at -8% 30%, rgba(31, 122, 82, .16), transparent 62%),
    linear-gradient(180deg, #fdfbf6, var(--cream-2)); }
.ty-wrap { width: min(820px, 100% - 2rem); margin-inline: auto; }
.ty-card { background: #fff; border-radius: 28px; padding: 1.7rem 1.25rem 1.3rem; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 61, 43, .06); position: relative; overflow: hidden; }
.ty-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--green-2), var(--gold) 70%, var(--gold-light)); }
.ty-check { width: 74px; height: 74px; margin: 0 auto .85rem; border-radius: 50%; background: var(--mint); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(31, 122, 82, .08); animation: ty-pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.ty-check svg { width: 46px; height: 46px; }
.ty-check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: ty-draw .7s .15s ease forwards; }
.ty-check path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: ty-draw .4s .7s ease forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-card .eyebrow { margin-bottom: .7rem; }
.ty-card h1 { font-size: clamp(1.5rem, 4.2vw, 2.05rem); margin-bottom: .45em; }
.ty-card .lead { margin: 0 auto; font-size: 1rem; }
.ty-meta { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.ty-meta li { display: inline-flex; align-items: center; gap: .5em; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .42em .95em; font-size: .88rem; }
.ty-meta .ico { color: var(--gold); }
.ty-label { display: flex; align-items: center; gap: .8rem; margin: 1.35rem 0 .8rem; font: 700 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ty-label::before, .ty-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ty-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ty-actions .btn { flex-direction: column; gap: .3rem; padding: .7em .3em; border-radius: 16px; font-size: .84rem; } /* phone tiles */
.ty-actions .btn .ico { width: 1.3rem; height: 1.3rem; }
.ty-actions .btn-outline { margin-top: 0; }
.ty-more { display: none; }
.ty-foot { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 1.15rem; padding-top: 1.05rem; border-top: 1px dashed var(--line); }
.ty-find { display: flex; gap: .65rem; align-items: center; text-align: left; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.ty-find .ico { width: 2.1rem; height: 2.1rem; padding: .5rem; border-radius: 10px; background: var(--mint); color: var(--green); }
.ty-find strong { color: var(--green-dark); }
.ty-back { flex: none; font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.ty-back:hover { text-decoration: underline; }

/* Scroll reveal (classes are added by main.js, so no-JS visitors never get hidden content) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Tablet / desktop */
@media (min-width: 700px) {
  .brand-tag { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .steps-grid, .about-grid { grid-template-columns: 1.3fr 1fr; gap: 2.5rem; }
  .form-card { padding: 1.9rem 1.8rem 1.7rem; }
  .ty-card { padding: 2rem 2.5rem 1.5rem; }
  .ty-actions { gap: .6rem; }
  .ty-actions .btn { flex-direction: row; gap: .55em; padding: .75em .8em; border-radius: 999px; font-size: .93rem; }
  .ty-actions .btn .ico { width: 1.1em; height: 1.1em; }
  .ty-more { display: inline; }
  .ty-foot { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-bg { height: 100%; object-position: 70% 45%; }
  .hero::before { background: radial-gradient(640px 360px at 100% 0, rgba(185, 138, 69, .3), transparent 70%), linear-gradient(95deg, rgba(10, 44, 31, .93) 0%, rgba(10, 44, 31, .82) 42%, rgba(10, 44, 31, .42) 70%, rgba(10, 44, 31, .3) 100%); }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-doctors { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .section { padding: 5rem 0; }
  .contact { position: sticky; top: 92px; padding: 1.7rem; }
  /* Logo left, links in the true centre of the header, call button right (equal 1fr side columns). */
  .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: start; min-width: auto; }
  .nav { position: static; display: flex; align-items: center; gap: .15rem; width: auto; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav a { padding: .5rem .85rem; border-radius: 999px; font-size: .93rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: none; }
  .call-btn { justify-self: end; margin-left: 0; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .brand-tag { display: none; } /* small laptops: keep clear space between the logo and the centred links */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .ty-check circle, .ty-check path { stroke-dashoffset: 0; }
}
