/* ==========================================================
   Panoor Dental Clinic — stylesheet
   Calm teal + warm ivory, serif display headings, system body
   ========================================================== */

:root {
  --teal-900: #0B3B37;
  --teal-800: #0D4F4A;
  --teal-700: #0F766E;
  --teal-600: #0D8A80;
  --teal-100: #D7ECE8;
  --teal-50:  #EEF6F4;

  --ivory:    #FBFAF7;
  --sand:     #F4F1EA;
  --white:    #FFFFFF;

  --ink:      #0E1B1A;
  --text:     #3B4847;
  --muted:    #677574;
  --line:     #E4E8E6;
  --line-soft:#EEF1EF;

  --gold:     #D9A441;
  --whatsapp: #1FAF5A;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 26, .05);
  --shadow:    0 10px 30px -12px rgba(14, 27, 26, .14);
  --shadow-lg: 0 30px 60px -24px rgba(11, 59, 55, .28);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: normal; color: var(--teal-700); }
p a, dd a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15,118,110,.35); }
p a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 1rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); box-shadow: 0 0 0 4px rgba(13,138,128,.15); }

.section-header { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-header h2, .faq-intro h2, .about-content h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.075rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px -10px rgba(15,118,110,.7); }
.btn-primary:hover { background: var(--teal-800); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #179149; }
.btn-white { background: #fff; color: var(--teal-800); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; }
.logo-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.logo-text span { color: var(--teal-700); font-weight: 500; }

.nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: .25rem; }
.nav-links a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--text);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--teal-50); }
.nav-links a.active { color: var(--teal-700); }
.nav-mobile-header, .nav-mobile-footer { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.btn-header { padding: .65rem 1.1rem; font-size: .9rem; }

.mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--white); border: 1px solid var(--line); }
.mobile-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(14,27,26,.35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(215,236,232,.75) 0%, rgba(215,236,232,0) 70%),
    linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero-content { padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.35rem); line-height: 1.04; margin-bottom: 1.35rem; max-width: 12ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--text); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; max-width: 34rem; }
.hero-facts li { flex: 1 1 0; min-width: 120px; padding-right: 1.25rem; }
.hero-facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; width: 100%; max-width: 500px; margin-left: auto; aspect-ratio: 880 / 1140; }
.hero-arch {
  position: absolute; left: 6%; right: 6%; top: 11%; bottom: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #E4F2EF 0%, #CFE6E1 100%);
}
.hero-arch::after { /* fine inner ring for a crafted feel */
  content: ""; position: absolute; inset: 14px 14px 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.75); border-bottom: 0;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
}
.hero-card, .hero-badge {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { left: -6%; bottom: 12%; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .9rem 1.3rem .9rem 1.55rem; }
.hero-card::before { content: ""; position: absolute; left: .7rem; top: 1rem; bottom: 1rem; width: 3px; border-radius: 3px; background: var(--teal-600); }
.hero-card-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.25; }
.hero-card-role { font-size: .8rem; color: var(--muted); }
.hero-badge { right: -4%; top: 52%; padding: .65rem .95rem; font-size: .85rem; color: var(--text); }
.hero-badge .icon { color: var(--teal-700); width: 1.35em; height: 1.35em; }
.hero-badge strong { color: var(--ink); }

/* ---------- Trust bar ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.25rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.trust-item .trust-title { font-size: .98rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.trust-item p { font-size: .85rem; color: var(--muted); }

/* ---------- Treatments ---------- */
.treatments { background: var(--ivory); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.treatment-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.treatment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.treatment-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.treatment-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); }
.treatment-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.treatment-tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sand); padding: .3rem .65rem; border-radius: 999px; }
.treatment-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: .6rem; }
.treatment-excerpt { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }
.learn-more-btn { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; font-size: .9rem; font-weight: 600; color: var(--teal-700); padding: .25rem 0; }
.learn-more-btn .chevron-icon { transition: transform .3s var(--ease); }
.treatment-card.is-expanded .chevron-icon { transform: rotate(180deg); }
.treatment-details { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); animation: fadeIn .35s var(--ease); }
.treatment-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.treatment-meta span { font-size: .78rem; font-weight: 600; color: var(--teal-800); background: var(--teal-50); padding: .3rem .7rem; border-radius: 999px; }
.treatment-details h4 { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 1rem 0 .4rem; }
.treatment-details p { font-size: .92rem; }
.treatment-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }

.check-list li { position: relative; padding-left: 1.65rem; font-size: .93rem; margin-bottom: .45rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.profile-card {
  position: relative; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg);
}
.profile-card::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border-radius: var(--radius-xl); background: var(--teal-50); z-index: -1;
}
.profile-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); }
.profile-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--teal-100); }
.profile-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
.profile-role { font-size: .88rem; color: var(--teal-700); font-weight: 600; }
.credentials { display: grid; gap: 1.1rem; }
.credentials li { display: flex; gap: .9rem; align-items: flex-start; }
.cred-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sand); color: var(--teal-800); flex: none; }
.credentials strong { display: block; font-size: .94rem; color: var(--ink); line-height: 1.35; }
.credentials span { font-size: .85rem; color: var(--muted); }
.profile-stat { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--teal-800); color: #E6F2F0; }
.profile-stat strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; color: #fff; line-height: 1; }
.profile-stat span { font-size: .85rem; line-height: 1.35; }

.about-lead { font-size: 1.12rem; color: var(--ink); margin-bottom: 1rem; }
.about-content > p { margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.chips li { font-size: .85rem; font-weight: 500; color: var(--teal-800); background: var(--teal-50); border: 1px solid var(--teal-100); padding: .4rem .85rem; border-radius: 999px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin-bottom: 1.5rem; }
.about-team { font-size: .92rem; color: var(--muted); padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.about-team strong { color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ivory); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card blockquote { flex: 1; font-size: 1rem; color: var(--text); margin-bottom: 1.5rem; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .75rem; font-size: .85rem; color: var(--muted); }
.testimonial-card figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); font-weight: 700; flex: none; }
.google-rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 2.25rem auto 0; font-size: .95rem; color: var(--muted); }
.google-rating strong { color: var(--ink); font-size: 1.05rem; }
.google-rating a { display: inline-flex; align-items: center; gap: .3rem; color: var(--teal-700); font-weight: 600; margin-left: .5rem; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--teal-700); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--teal-700); }
.faq-item p { padding: 0 2.5rem 1.4rem 0; color: var(--text); animation: fadeIn .3s var(--ease); }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(4rem, 8vw, 6rem); }
.cta-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2.25rem, 5vw, 3.5rem); border-radius: var(--radius-xl);
  background: radial-gradient(80% 140% at 100% 0%, #13766D 0%, var(--teal-900) 70%);
  color: #D5E8E4;
}
.cta-panel::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.cta-panel h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .5rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: stretch; }
.contact-info { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--white); }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.contact-card h3 { font-size: .98rem; font-family: var(--font-body); margin-bottom: .25rem; }
.contact-card p { font-size: .95rem; }
.contact-card p a { color: var(--ink); text-decoration: none; font-weight: 500; }
.text-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; font-size: .88rem; font-weight: 600; color: var(--teal-700); }
.text-link:hover .icon { transform: translateX(2px); }
.text-link .icon { transition: transform .2s; }
.hours dl { display: grid; grid-template-columns: auto auto; gap: .25rem 1.5rem; font-size: .95rem; }
.hours dt { color: var(--text); }
.hours dd { color: var(--ink); font-weight: 500; }
.hours .closed { color: #B4533C; }
.contact-map { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: var(--teal-50); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: #A9C4C0; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: #8FD3C9; }
.footer-brand p { margin: 1rem 0 1.25rem; font-size: .92rem; max-width: 22rem; }
.footer-brand .footer-ml { margin: .6rem 0 0; font-size: .95rem; color: #8FD3C9; }
.footer-social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s; }
.footer-social:hover { background: var(--whatsapp); }
.footer-column h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-column li { margin-bottom: .55rem; font-size: .92rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .82rem; color: #7FA19C; }

/* ---------- Floating actions ---------- */
.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.15rem; border-radius: 999px; background: var(--whatsapp); color: #fff;
  font-weight: 600; font-size: .9rem; box-shadow: 0 12px 28px -10px rgba(31,175,90,.65);
  transition: transform .2s var(--ease);
}
.floating-whatsapp:hover { transform: translateY(-2px); }
.floating-whatsapp .icon { width: 1.35em; height: 1.35em; }
.mobile-bottom-bar { display: none; }

/* ---------- Motion ---------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.js .reveal, .js .reveal-left, .js .reveal-right { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-left  { transform: translateX(-18px); }
.js .reveal-right { transform: translateX(18px); }
.js .reveal.active, .js .reveal-left.active, .js .reveal-right.active { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav-links a { padding: .5rem .6rem; }
  .btn-header-label { display: none; }
  .btn-header { width: 44px; height: 44px; padding: 0; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { left: 0; }
  .hero-badge { right: 0; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .mobile-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
    width: min(340px, 86vw); flex-direction: column; align-items: stretch;
    background: var(--white); padding: 1.25rem 1.25rem 1.5rem;
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 50px -20px rgba(14,27,26,.25);
  }
  .nav.active { transform: none; }
  .nav-mobile-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line-soft); }
  .nav-close-btn { width: 40px; height: 40px; font-size: 1.75rem; line-height: 1; border-radius: 10px; color: var(--muted); }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav-mobile-footer { display: block; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
  .nav-mobile-hours { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 0; text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-facts { margin-inline: auto; }
  .hero-visual { margin-inline: auto; max-width: 420px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }

  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .profile-card { max-width: 520px; margin-inline: auto; width: 100%; }
  .faq-intro { position: static; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .contact-map { min-height: 340px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .logo-text { font-size: 1.05rem; }
  .logo-mark { width: 36px; height: 36px; }
  .btn-header { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts li { min-width: 0; padding-right: .75rem; }
  .hero-facts li + li { padding-left: .75rem; }
  .hero-facts strong { font-size: 1.3rem; }
  .hero-facts span { font-size: .74rem; white-space: nowrap; }
  .hero-card { left: 50%; transform: translateX(-50%); bottom: 4%; width: max-content; max-width: 94%; }
  .hero-badge { display: none; }
  .trust-item { flex-direction: column; text-align: center; padding: 1.25rem .5rem; gap: .6rem; }
  .treatments-grid { grid-template-columns: 1fr; }
  .treatment-card { padding: 1.4rem; }
  .check-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 1.5rem; }
  .profile-head img { width: 64px; height: 64px; }
  .profile-name { font-size: 1.22rem; }
  .profile-role { font-size: .8rem; }
  .profile-card::before { display: none; }
  .cta-panel { text-align: center; justify-content: center; }
  .cta-buttons { width: 100%; }
  .cta-buttons .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-whatsapp { display: none; }
  .mobile-bottom-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset: auto 0 0; z-index: 120;
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .65rem 0 .6rem; font-size: .75rem; font-weight: 600; color: var(--ink); }
  .mobile-bottom-bar .icon { width: 1.3rem; height: 1.3rem; color: var(--teal-700); }
  .mobile-bottom-bar #mobile-bar-whatsapp .icon { color: var(--whatsapp); }
}

/* ==========================================================
   Inner pages: treatments, dentist profile, 404
   ========================================================== */
.page-hero {
  padding: calc(var(--header-h) + clamp(1.75rem, 4vw, 3rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(55% 80% at 90% 10%, rgba(215,236,232,.7) 0%, rgba(215,236,232,0) 70%),
    linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.07; margin-bottom: 1.1rem; max-width: 20ch; }
.page-lead { font-size: clamp(1.05rem, 1.5vw, 1.15rem); max-width: 40rem; margin-bottom: 1.9rem; }
.page-hero .hero-cta { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: end; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: #B8C2C0; }
.breadcrumb a { color: var(--teal-700); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.glance-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.glance-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.glance-head .treatment-icon { width: 44px; height: 44px; border-radius: 12px; }
.glance-head .treatment-icon svg { width: 22px; height: 22px; }
.glance-card h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.glance-card dl { display: grid; grid-template-columns: auto 1fr; font-size: .92rem; }
.glance-card dt, .glance-card dd { padding: .6rem 0; border-top: 1px solid var(--line-soft); }
.glance-card dt { color: var(--muted); padding-right: 1rem; }
.glance-card dd { color: var(--ink); font-weight: 600; text-align: right; }
.glance-doctor { margin-top: .4rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); font-size: .85rem; color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { max-width: 46rem; }
.prose > h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 3rem 0 1rem; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { font-size: 1.04rem; margin-bottom: 1rem; }
.prose .check-list li { font-size: 1rem; margin-bottom: .6rem; }
.prose .faq-list { margin-top: .5rem; }
.steps { counter-reset: step; display: grid; gap: .75rem; margin-top: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding: 1.1rem 1.25rem 1.1rem 4rem; background: var(--ivory); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.05rem;
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--teal-700); color: #fff; font-weight: 600; font-size: .88rem;
}
.steps strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.note { margin-top: 2.75rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--sand); font-size: .88rem; color: var(--muted); }

.booking-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  padding: 1.75rem; border-radius: var(--radius-lg); color: #D5E8E4;
  background: radial-gradient(90% 120% at 100% 0%, #13766D 0%, var(--teal-900) 75%);
  box-shadow: var(--shadow-lg);
}
.booking-card h2 { color: #fff; font-size: 1.55rem; margin-bottom: .4rem; }
.booking-card > p { font-size: .93rem; margin-bottom: 1rem; }
.booking-card .btn { width: 100%; margin-top: .6rem; }
.booking-card ul { display: grid; gap: .55rem; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; }
.booking-card li { display: flex; align-items: center; gap: .55rem; }
.booking-card li .icon { color: #8FD3C9; }

.related { background: var(--ivory); }
.related-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1.75rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.related-card {
  display: flex; flex-direction: column; padding: 1.6rem; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.related-card h2, .related-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; margin: 1rem 0 .45rem; letter-spacing: 0; }
.related-card p { flex: 1; font-size: .93rem; color: var(--muted); }
.related-card .more { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--teal-700); }

/* Dentist profile */
.profile-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #E4F2EF 0%, #CFE6E1 100%);
}
.portrait img { position: absolute; inset: 4% 0 0; width: 100%; height: 96%; object-fit: contain; object-position: bottom center; }
.profile-sub { font-size: 1rem; font-weight: 600; color: var(--teal-700); margin: -.4rem 0 1.1rem; }
.profile-facts { display: flex; flex-wrap: wrap; max-width: 34rem; margin: 0 0 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.profile-facts li { flex: 1 1 0; min-width: 110px; padding-right: 1rem; }
.profile-facts li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.profile-facts strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--ink); line-height: 1.15; }
.profile-facts span { font-size: .82rem; color: var(--muted); }
.prose .credentials { margin-top: 1.25rem; }
.timeline { position: relative; display: grid; gap: 1.5rem; margin-top: 1.25rem; padding-left: 1.75rem; border-left: 2px solid var(--teal-100); }
.timeline li { position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.75rem - 7px); top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal-600); }
.tl-date { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
.timeline strong { color: var(--ink); font-size: 1.05rem; line-height: 1.35; margin: .15rem 0; }
.timeline li > span:last-child { font-size: .93rem; color: var(--muted); }
.expertise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.expertise li { padding: 1.15rem 1.25rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--ivory); }
.expertise strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.expertise span { font-size: .92rem; }
.chips-links a { display: block; }
.chips-links li:hover { background: var(--teal-100); }

/* Homepage additions */
.treatment-card h3 a:hover { color: var(--teal-700); }
.treatments-all { display: flex; justify-content: center; margin-top: 2.25rem; }
.about-profile-link { margin-top: 1.25rem; }
.footer-brand p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.footer-grid-inner { grid-template-columns: 1.3fr 1fr 1.1fr; }
.footer-treatments ul { columns: 2; column-gap: 1.5rem; }
.footer-treatments li { break-inside: avoid; }
.inner-page .mobile-bottom-bar .bar-whatsapp .icon { color: var(--whatsapp); }

@media (max-width: 1080px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid-inner .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .page-hero-grid, .article-layout, .profile-hero-grid { grid-template-columns: 1fr; }
  .glance-card { max-width: 520px; }
  .booking-card { position: static; max-width: 520px; }
  .portrait { max-width: 380px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .page-hero .hero-cta .btn { flex: 1 1 100%; }
  .related-grid, .expertise { grid-template-columns: 1fr; }
  .footer-grid-inner { grid-template-columns: 1fr; }
  .footer-treatments ul { columns: 1; }
  .steps li { padding-left: 3.5rem; }
  .steps li::before { left: .9rem; }
  .profile-facts li { min-width: 0; }
  .profile-facts strong { font-size: 1.3rem; }
}
.nav-links a[aria-current="page"] { color: var(--teal-700); }
