/*
Theme Name: Dental Facial Excellence
Text Domain: dental-facial-excellence
Description: Premium one-page website for Dental Facial Excellence, Vapi.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* =========================================================
   DENTAL FACIAL EXCELLENCE — main stylesheet
   Edit colours, fonts and spacing in :root below.
   ========================================================= */

:root {
  /* Colour system */
  --bg: #FFFFFF;
  --bg-alt: #F4F8F8;
  --brand: #123C43;
  --brand-600: #0E3036;
  --brand-400: #2A5A61;
  --text: #1F2D30;
  --muted: #657477;
  --gold: #C6A66B;
  --gold-soft: #E9DCC0;
  --border: #E1E9E9;
  --teal-soft: #E7F2F1;
  --error: #A3352B;
  --success: #1F6B4F;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 76px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(18, 60, 67, .06), 0 2px 8px rgba(18, 60, 67, .04);
  --shadow-md: 0 10px 30px -12px rgba(18, 60, 67, .18);
  --shadow-lg: 0 30px 60px -25px rgba(18, 60, 67, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--brand); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--brand); color: #fff; padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }
.placeholder-text { color: var(--muted); font-style: italic; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-soft); }

.section-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); letter-spacing: -.01em; margin-bottom: 1.2rem; }
.section-title em, .hero__title em { font-style: italic; font-weight: 500; color: var(--brand-400); }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; box-shadow: 0 10px 24px -12px rgba(18,60,67,.6); }
.btn--primary:hover { --btn-bg: var(--brand-600); box-shadow: 0 16px 30px -14px rgba(18,60,67,.7); }
.btn--ghost { --btn-bd: var(--border); --btn-bg: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bd: var(--brand); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #1b1a15; }
.btn--gold:hover { --btn-bg: #d3b67f; }
.btn--outline-light { --btn-bd: rgba(255,255,255,.35); --btn-fg: #fff; }
.btn--outline-light:hover { --btn-bd: var(--gold); --btn-fg: var(--gold-soft); }
.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .btn__icon:not(.btn__icon--left) { transform: translateX(3px); }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--brand); padding-block: .25rem;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: calc(100% - 1.3rem);
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(1); }
.link-arrow:hover::after { transform: translateX(4px); }

.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.stars--lg { font-size: 1.6rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  background: var(--bg); transition: opacity .5s var(--ease), visibility .5s;
}
.loader__mark { position: relative; width: 74px; height: 74px; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.loader__text { font-family: var(--font-display); font-size: 1.1rem; color: var(--brand); letter-spacing: .08em; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px -20px rgba(18,60,67,.25);
  --header-h: 66px;
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--brand); }
.logo__mark { width: 38px; height: 38px; color: var(--brand); flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .01em; }
.logo__sub { font-size: .62rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.logo--light { color: #fff; }

.nav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a {
  position: relative; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500; padding-block: .4rem;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--brand); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }
.nav__actions { display: flex; align-items: center; gap: .75rem; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.8); cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--brand); border-radius: 2px;
  transition: transform .35s var(--ease-out), 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; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility .4s;
    overflow-y: auto;
  }
  .nav-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-out); }
  .nav-open .nav__links li { opacity: 1; transform: none; }
  .nav-open .nav__links li:nth-child(2) { transition-delay: .04s; }
  .nav-open .nav__links li:nth-child(3) { transition-delay: .08s; }
  .nav-open .nav__links li:nth-child(4) { transition-delay: .12s; }
  .nav-open .nav__links li:nth-child(5) { transition-delay: .16s; }
  .nav-open .nav__links li:nth-child(6) { transition-delay: .2s; }
  .nav__links a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--brand); }
  .nav__links a::after { display: none; }
  .nav__mobile-extra { display: grid; gap: .75rem; margin-top: 2rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }
.section-head__note { max-width: 380px; color: var(--muted); font-size: .95rem; margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 40%, var(--teal-soft) 0%, rgba(231,242,241,.5) 40%, var(--bg) 75%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; will-change: transform; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: 6%; background: radial-gradient(circle, #d4ebe8 0%, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.blob--2 { width: 380px; height: 380px; left: -140px; bottom: -80px; background: radial-gradient(circle, rgba(198,166,107,.22) 0%, transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .35;
  mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 1.5rem; }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 33rem; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }

.trust-chip {
  display: inline-flex; align-items: center; gap: 1rem; padding: .85rem 1.2rem .85rem .9rem;
  background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 18px;
  backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.trust-chip__score { display: flex; flex-direction: column; align-items: center; padding-right: 1rem; border-right: 1px solid var(--border); }
.trust-chip__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--brand); line-height: 1; }
.trust-chip__score .stars { font-size: .72rem; margin-top: .25rem; }
.trust-chip__meta { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.35; }
.trust-chip__meta strong { color: var(--brand); }
.trust-chip__meta span { color: var(--muted); font-size: .76rem; }

/* Hero entrance */
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.is-loaded [data-anim] { opacity: 1; transform: none; }
.is-loaded [data-anim="2"] { transition-delay: .08s; }
.is-loaded [data-anim="3"] { transition-delay: .16s; }
.is-loaded [data-anim="4"] { transition-delay: .24s; }
.is-loaded [data-anim="5"] { transition-delay: .32s; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__stage {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.05; margin-inline: auto;
  opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease-out) .2s, transform 1.4s var(--ease-out) .2s;
}
.is-loaded .hero__stage { opacity: 1; transform: none; }
.hero__stage::before {
  content: ""; position: absolute; inset: 8% 6% 12%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, rgba(231,242,241,.9) 45%, rgba(231,242,241,0) 70%);
}
.hero__fallback, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: contain; padding: 6% 10% 12%; animation: float 7s ease-in-out infinite; transition: opacity .8s var(--ease); }
.hero__canvas { opacity: 0; transition: opacity 1s var(--ease); }
.has-3d .hero__canvas { opacity: 1; }
.has-3d .hero__fallback { opacity: 0; }
.hero__shadow {
  position: absolute; left: 30%; right: 30%; bottom: 8%; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18,60,67,.22), transparent); animation: shadow 7s ease-in-out infinite;
}
.has-3d .hero__shadow, .has-3d .glass, .has-3d .ring { opacity: 0; transition: opacity .8s; }

.ring { position: absolute; border-radius: 50%; border: 1px solid var(--gold); opacity: .55; pointer-events: none; }
.ring--1 { inset: 12% 8% 16%; transform: rotateX(70deg); animation: ring-spin 26s linear infinite; }
.ring--2 { inset: 22% 16% 26%; border-color: rgba(18,60,67,.18); border-style: dashed; animation: ring-spin 40s linear infinite reverse; }
@keyframes ring-spin { to { rotate: 360deg; } }

.glass {
  position: absolute; border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,255,255,.85), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 12px 30px -12px rgba(18,60,67,.3), inset 0 1px 6px rgba(255,255,255,.9);
  backdrop-filter: blur(6px); animation: float 9s ease-in-out infinite;
}
.glass--1 { width: 64px; height: 64px; left: 4%; top: 22%; }
.glass--2 { width: 34px; height: 34px; right: 8%; top: 14%; animation-delay: -3s; }
.glass--3 { width: 48px; height: 48px; right: 4%; bottom: 22%; animation-delay: -5s; border-color: rgba(198,166,107,.7); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.85); opacity: .7; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0; width: 26px; height: 42px;
  border: 1px solid rgba(18,60,67,.3); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__inner { grid-template-columns: 1fr; gap: 1rem; }
  .hero__visual { order: -1; }
  .hero__stage { max-width: 360px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero__stage { max-width: 290px; }
  .hero__ctas .btn { width: 100%; }
  .trust-chip { width: 100%; }
  .glass--1 { width: 44px; height: 44px; }
}

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro__media { position: relative; }
.arch {
  margin: 0; border-radius: 300px 300px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--teal-soft); box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.intro__media:hover .arch img { transform: scale(1.03); }
.intro__badge {
  position: absolute; right: -1rem; bottom: 2.5rem; display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: 1rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 600; color: var(--brand); line-height: 1.35;
}
.intro__badge-line { width: 3px; align-self: stretch; background: var(--gold); border-radius: 2px; }
.pillars { display: grid; gap: 1.1rem; margin: 2rem 0; }
.pillars li { display: flex; gap: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.pillars__num { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; padding-top: .1rem; }
.pillars h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }
.intro__rating { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.intro__rating-score { display: flex; flex-direction: column; align-items: center; }
.intro__rating-score > span:first-child { font-family: var(--font-display); font-size: 2rem; color: var(--brand); line-height: 1; }
.intro__rating p { margin: 0; font-size: .92rem; line-height: 1.45; }
.intro__rating .muted { font-size: .8rem; }

@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .intro__badge { right: .5rem; }
}

/* ---------- Treatment cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; perspective: 1200px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  --rx: 0deg; --ry: 0deg;
}
.card.is-visible { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card.is-visible:hover { transform: translateY(-6px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--teal-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-display); color: var(--gold); font-size: .95rem; margin-bottom: .5rem; }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card--wide { grid-column: span 3; flex-direction: row; }
.card--wide .card__media { flex: 0 0 45%; aspect-ratio: auto; min-height: 260px; }
.card--wide .card__body { justify-content: center; padding: 2.2rem 2.6rem; }
.card--wide p { flex: 0; max-width: 34rem; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card--wide .card__media { aspect-ratio: 16 / 11; min-height: 0; }
  .card--wide .card__body { padding: 1.6rem; }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.feature::before {
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%; transform: scaleX(.3); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature:hover::before { transform: scaleX(1); opacity: 1; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.feature__icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1.4rem;
  background: var(--teal-soft); color: var(--brand); border: 1px solid #d4e6e4;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--teal-soft);
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,60,67,.42) 100%);
  opacity: .85; transition: opacity .4s;
}
.gallery__btn:hover img { transform: scale(1.06); }
.gallery__btn:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1; color: #fff; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.gallery__cap::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
}

.lightbox {
  width: min(92vw, 1000px); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: #fff; overflow: visible; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.lightbox::backdrop { background: rgba(14, 32, 36, .78); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--teal-soft); }
.lightbox figcaption { padding: .9rem 1.3rem; font-size: .9rem; color: var(--muted); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--brand); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md);
}
.lightbox__close { top: -14px; right: -14px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: -18px; }
.lightbox__nav--next { right: -18px; }
@media (max-width: 640px) {
  .lightbox__close { top: 8px; right: 8px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- Appointment ---------- */
.appointment__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.appointment__info {
  position: relative; padding: clamp(2rem, 4vw, 3.5rem); color: rgba(255,255,255,.82);
  background: radial-gradient(120% 80% at 0% 0%, #1d555e 0%, var(--brand) 55%, #0c2c31 100%); overflow: hidden;
}
.appointment__info::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -170px; bottom: -170px; border-radius: 50%;
  border: 1px solid rgba(198,166,107,.4); box-shadow: 0 0 0 40px rgba(198,166,107,.05), 0 0 0 80px rgba(198,166,107,.03);
}
.steps { display: grid; gap: .9rem; margin: 2rem 0; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: #fff; }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(198,166,107,.6); color: var(--gold); font-size: .85rem; flex: none; }
.appointment__actions { position: relative; z-index: 1; display: grid; gap: .75rem; margin-bottom: 1rem; }
.appointment__fine { font-size: .82rem; color: rgba(255,255,255,.65); margin: 0; }

.form { padding: clamp(1.75rem, 4vw, 3.5rem); background: #fff; display: grid; gap: 1.1rem; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field label span[aria-hidden] { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-alt); transition: border-color .25s, background-color .25s, box-shadow .25s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23123C43' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c8d8d8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(18,60,67,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff8f7; }
.field__error { margin: 0; font-size: .8rem; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .5rem .8rem; }
.field--check input {
  width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: .15rem; border-radius: 6px; cursor: pointer; position: relative;
}
.field--check input:checked { background: var(--brand); border-color: var(--brand); }
.field--check input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.field--check label { font-weight: 400; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.form__status { border-radius: 12px; font-size: .92rem; }
.form__status:not(:empty) { padding: 1rem 1.15rem; }
.form__status.is-error { background: #fbeeec; color: var(--error); border: 1px solid #efcfca; }
.form__status.is-info { background: var(--teal-soft); color: var(--brand); border: 1px solid #cfe3e1; }
.form__status a { font-weight: 600; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .appointment__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews {
  background: radial-gradient(80% 120% at 50% 0%, #1d555e 0%, var(--brand) 50%, #0c2c31 100%);
  color: rgba(255,255,255,.85); text-align: center; overflow: hidden;
}
.reviews::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(closest-side, rgba(198,166,107,.16), transparent);
  animation: glow 10s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translateY(-8%) scale(1.05); } }
.reviews__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.reviews__score { display: flex; align-items: center; gap: 1.5rem; margin: 1.5rem 0; text-align: left; }
.reviews__big { font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 7rem); color: #fff; line-height: 1; }
.reviews__count { margin: .3rem 0 0; color: rgba(255,255,255,.8); }
.reviews__count strong { color: #fff; }
.reviews__notice { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(198,166,107,.45); color: var(--gold-soft); font-size: .85rem; margin-bottom: 2rem; }
.reviews__notice svg { width: 18px; height: 18px; flex: none; }
.reviews__pending { margin: 0; font-size: .9rem; color: rgba(255,255,255,.65); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:first-child { border-top: 1px solid var(--border); }
.accordion__item h3 { font-size: inherit; }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left;
  padding: 1.4rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 500; color: var(--brand);
}
.accordion__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--brand); transition: transform .4s var(--ease-out), background-color .3s; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__btn:hover .accordion__icon { border-color: var(--gold); }
.accordion__btn[aria-expanded="true"] .accordion__icon { background: var(--brand); border-color: var(--brand); transform: rotate(180deg); }
.accordion__btn[aria-expanded="true"] .accordion__icon::before { background: #fff; }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); background: #fff; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; max-width: 40rem; }
.accordion__panel.is-open { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: stretch; }
.contact__card { padding: clamp(1.75rem, 4vw, 3rem); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contact__list { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.contact__row { display: flex; gap: 1rem; align-items: flex-start; }
.contact__row p { margin: 0; color: var(--text); }
.contact__row a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-soft); color: var(--brand); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }

.social { display: flex; gap: .6rem; }
.social__link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--brand); transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.social__link svg { width: 20px; height: 20px; }
.social__link:hover { transform: translateY(-3px); background: var(--brand); color: #fff; border-color: var(--brand); }
.social__link[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.social__link[aria-disabled="true"]:hover { transform: none; background: transparent; color: var(--brand); border-color: var(--border); }
.social--light .social__link { border-color: rgba(255,255,255,.2); color: #fff; }
.social--light .social__link:hover { background: var(--gold); border-color: var(--gold); color: #1b1a15; }
.social--light .social__link[aria-disabled="true"]:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }

.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 420px; background: var(--teal-soft); }
.map-shell { position: relative; width: 100%; height: 100%; min-height: 420px; }
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-shell__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 2rem;
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--teal-soft);
}
.map-shell__placeholder svg { width: 54px; height: 54px; color: var(--brand); animation: float 4s ease-in-out infinite; }
.map-shell__placeholder p { margin: 0; max-width: 22rem; font-size: .92rem; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__map, .map-shell { min-height: 340px; } }

/* ---------- Footer ---------- */
.footer { background: #0c2c31; color: rgba(255,255,255,.72); padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem; font-size: .93rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { margin: 1.2rem 0 1.4rem; max-width: 22rem; }
.footer__col h3 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: .65rem; }
.footer__bottom { padding-top: 1.5rem; }
.footer__disclaimer { font-size: .8rem; color: rgba(255,255,255,.55); max-width: 52rem; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer__legal p { margin: 0; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating call button ---------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: #fff; box-shadow: 0 14px 30px -10px rgba(18,60,67,.7);
  transform: translateY(120px); transition: transform .5s var(--ease-out);
}
.fab svg { width: 24px; height: 24px; }
.fab.is-shown { transform: none; }
@media (max-width: 960px) { .fab { display: grid; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js [data-anim], .no-js .hero__stage { opacity: 1; transform: none; }
.no-js .loader { display: none; }

/* ---------- Simple pages (privacy) ---------- */
.page { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.page .container { max-width: 760px; }
.page h1 { font-family: var(--font-display); font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.page h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2rem 0 .8rem; }
.page p, .page li { color: var(--text); }
.page ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.notice-box { padding: 1rem 1.2rem; border-radius: 12px; background: var(--teal-soft); border: 1px solid #cfe3e1; font-size: .92rem; margin-bottom: 2rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, [data-anim], .hero__stage { opacity: 1 !important; transform: none !important; }
  .loader { display: none; }
}

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.page .entry-content > * + * { margin-top: 1rem; }
