/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --blue: #2E5C9A;
  --blue-deep: #1E3F6E;
  --purple: #5B4B9E;
  --purple-deep: #43356F;

  --bg: #FDFBF6;
  --bg-2: #F2ECE1;
  --paper: #FFFFFF;
  --ink: #16212E;
  --ink-soft: #3C4757;
  --ink-mute: #736D67;
  --line: rgba(22, 33, 46, 0.12);
  --line-strong: rgba(22, 33, 46, 0.22);

  --accent: var(--blue);
  --accent-2: var(--purple);
  --accent-soft: rgba(46, 92, 154, 0.07);
  --success: #3E7A57;

  --shadow-sm: 0 1px 2px rgba(22,33,46,0.05);
  --shadow-md: 0 18px 40px rgba(22,33,46,0.09);
  --shadow-lg: 0 30px 70px rgba(22,33,46,0.14);

  --radius: 2px;
  --radius-md: 3px;
  --radius-pill: 999px;

  --display: "Poppins", "Inter", sans-serif;
  --sans: "Figtree", "Inter", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --container: 1220px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mute);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.14;
  letter-spacing: -0.005em;
  font-weight: 300;
}
h3, h4 { font-weight: 500; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  z-index: 9999; font-weight: 600; font-size: .9rem;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-bg-soft { background: var(--bg-2); }
.section-bg-ink { background: var(--ink); color: rgba(255,255,255,0.72); }
.section-bg-ink h2, .section-bg-ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-bg-ink .eyebrow { color: var(--bg-2); }
.section-bg-ink .eyebrow::before { background: rgba(255,255,255,0.5); }

.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.1rem; text-transform: uppercase; }
.section-head p { font-size: 1.05rem; }
.section-bg-ink .section-head p { color: rgba(255,255,255,0.68); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.bw-photo img { filter: grayscale(1) contrast(1.03); transition: filter .5s var(--ease-out); }
.bw-photo:hover img { filter: grayscale(0.15) contrast(1.03); }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.1rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-on-ink { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-on-ink:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-sm { padding: .72rem 1.4rem; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-text {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
}
.btn-text svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.btn-text:hover svg { transform: translateX(3px); }

.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.stars { color: var(--accent); letter-spacing: 2px; font-size: .85rem; }

/* Photo placeholder — used wherever a real photograph is pending */
.photo-pending {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background:
    repeating-linear-gradient(135deg, rgba(22,33,46,0.035) 0 2px, transparent 2px 14px),
    var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  text-align: center;
  padding: 1.5rem;
}
.photo-pending svg { width: 30px; height: 30px; color: var(--accent); opacity: .55; }
.photo-pending span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 20ch;
}

/* =============================================================
   5. Header / Nav
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(253,251,246,0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(22,33,46,0.05); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 500; font-size: .98rem; color: var(--ink); letter-spacing: .01em; }
.brand-sub { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-top: 2px; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 1.35rem; }
.main-nav a {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-mute);
  position: relative;
  padding-block: .3rem;
  white-space: nowrap;
  transition: color .25s var(--ease-out);
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--accent); }
.main-nav a.nav-assistant { color: var(--accent-2); }

.header-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.header-phone {
  display: none;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

.nav-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
}
.nav-toggle svg { width: 19px; height: 19px; }

.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper);
  z-index: 90;
  padding: 1.5rem clamp(1.25rem,4vw,2.5rem) 2.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .2rem; }
.mobile-nav a {
  display: block;
  padding: 1.05rem .25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a.nav-assistant { color: var(--accent-2); }
.mobile-nav-actions { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }

/* =============================================================
   6. Hero — editorial, centered, no stock photography
   ============================================================= */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 6.5rem) clamp(3rem, 8vw, 5.5rem);
  overflow: clip;
  text-align: center;
}
.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  width: min(900px, 130vw);
  transform: translate(-50%, -50%);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.1rem;
  border: 1px solid var(--line-strong);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-mute);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem 2.6rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.hero-trust-item { display: flex; align-items: center; gap: .6rem; font-size: .84rem; color: var(--ink-mute); font-weight: 500; }
.hero-trust-item strong { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.hero-trust-item svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }

/* Consultorio photo band — two columns, tuned for a portrait photo */
.local-photo-section { background: var(--bg-2); overflow: hidden; }
.local-photo-grid { display: grid; grid-template-columns: 1fr; }
.local-photo-text {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.local-photo-text h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 1.2rem; text-transform: uppercase; }
.local-photo-text p { max-width: 42ch; }
.local-photo-visual { position: relative; height: clamp(320px, 90vw, 560px); overflow: hidden; }
.local-photo-visual img {
  position: absolute; left: 0; top: -14%;
  width: 100%; height: 128%;
  object-fit: cover; object-position: center 68%;
}

@media (min-width: 960px) {
  .local-photo-grid { grid-template-columns: 1fr .85fr; }
  .local-photo-visual { height: auto; }
}

/* =============================================================
   7. Services carousel
   ============================================================= */
.carousel-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.carousel-head-row .section-head { margin-bottom: 0; }
.carousel-arrows { display: flex; gap: .6rem; flex-shrink: 0; }
.carousel-arrow {
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), opacity .25s var(--ease-out);
}
.carousel-arrow:hover { border-color: var(--accent); background: var(--accent-soft); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover { border-color: var(--line-strong); background: transparent; }
.carousel-arrow svg { width: 18px; height: 18px; }

.carousel-track-wrap { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-padding-left: clamp(1.25rem, 4vw, 3rem);
  padding: .4rem clamp(1.25rem, 4vw, 3rem) 1.2rem;
  margin: -.4rem 0 -1.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  position: relative;
  flex: 0 0 auto;
  width: min(310px, 78vw);
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}
.carousel-card-media { position: absolute; inset: 0; }
.carousel-card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.carousel-card.is-pending .carousel-card-media {
  background:
    repeating-linear-gradient(135deg, rgba(22,33,46,0.035) 0 2px, transparent 2px 14px),
    var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.carousel-card.is-pending .carousel-card-media svg { width: 34px; height: 34px; color: var(--accent); opacity: .45; }
.carousel-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,33,46,0) 35%, rgba(22,33,46,0.82) 100%);
}
.carousel-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.5rem 1.7rem;
  color: #fff;
}
.carousel-card-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: .6rem;
}
.carousel-card-body h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.1rem; text-transform: uppercase; }
.carousel-card-pending-note {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,0.65);
  margin-top: .8rem;
  letter-spacing: .04em;
}

/* =============================================================
   7b. Service detail pages (servicio-*.html)
   ============================================================= */
.service-hero-photo.photo-pending { aspect-ratio: 21/9; }
.service-hero-photo.has-photo { aspect-ratio: 21/9; overflow: hidden; }
.service-hero-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.service-detail-body { max-width: 720px; margin-inline: auto; }
.service-detail-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.1rem; margin-top: 2.5rem; text-transform: uppercase; }
.service-detail-body h2:first-child { margin-top: 0; }
.service-detail-body p { margin-bottom: 1.2rem; }
.service-detail-body ul.check-list { display: flex; flex-direction: column; gap: .8rem; margin: 1.3rem 0; }
.service-detail-body ul.check-list li { display: flex; gap: .7rem; font-size: .95rem; }
.service-detail-body ul.check-list li svg { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron { transition: transform .3s var(--ease-out); flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 0 1.4rem; font-size: .93rem; }

.service-cta-band {
  margin-top: 3rem;
  padding: 2.2rem;
  background: var(--bg-2);
  text-align: center;
}
.service-cta-band p { max-width: 46ch; margin-inline: auto 1.4rem; }
.service-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2rem; }
.service-back:hover { color: var(--accent); }
.service-back svg { width: 16px; height: 16px; }

/* =============================================================
   8. Reviews
   ============================================================= */
.reviews-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 2.5rem;
}
.review-card { background: var(--paper); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.review-top { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  width: 44px; height: 44px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; color: var(--ink); font-size: .93rem; }
.review-meta { font-size: .76rem; color: var(--ink-mute); }
.review-text { font-size: .92rem; }
.reviews-cta { text-align: center; }

/* =============================================================
   9. Before / After — dark hero teaser + gallery carousel
   ============================================================= */
.ba-hero-section { background: var(--ink); color: rgba(255,255,255,0.75); overflow: hidden; }
.ba-hero-grid { display: grid; grid-template-columns: 1fr; }
.ba-hero-text {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.ba-hero-badge {
  display: inline-block; align-self: flex-start;
  background: var(--bg); color: var(--ink);
  padding: .5rem 1rem; margin-bottom: 1.6rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ba-hero-text h2 {
  color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-style: italic; font-weight: 400; text-transform: none;
  margin-bottom: 1.3rem;
}
.ba-hero-text p { color: rgba(255,255,255,0.68); max-width: 42ch; margin-bottom: 2rem; }

.ba-hero-visual { position: relative; height: clamp(300px, 78vw, 460px); }
.ba-slider {
  position: absolute; inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.ba-layer {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  pointer-events: none;
}
.ba-after { z-index: 1; background-position: 100% center; }
.ba-before {
  z-index: 2;
  background-position: 0% center;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}
.ba-tag {
  position: absolute; top: 1rem; z-index: 3;
  padding: .4rem .9rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(22,33,46,0.72); color: #fff;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }
.ba-illustrative-note {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 3;
  padding: .3rem .7rem;
  font-size: .64rem; letter-spacing: .04em;
  background: rgba(22,33,46,0.55); color: rgba(255,255,255,0.85);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  z-index: 4;
  transform: translateX(-50%);
  width: 0;
}
.ba-handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(22,33,46,0.15);
  transform: translateX(-50%);
}
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  gap: 2px;
  touch-action: none;
  pointer-events: auto;
  cursor: ew-resize;
}
.ba-handle-btn svg { width: 15px; height: 15px; color: var(--accent); }

@media (min-width: 960px) {
  .ba-hero-grid { grid-template-columns: 1fr 1.15fr; }
  .ba-hero-visual { height: auto; }
}

/* Carousel dot pagination (used by the services carousel component when needed) */
.carousel-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 2rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background .25s var(--ease-out), transform .25s var(--ease-out); }
.carousel-dot.is-active { background: var(--accent); transform: scale(1.35); }

/* =============================================================
   10. Contact
   ============================================================= */
.contact-grid { display: grid; gap: 3rem; }
.contact-form-card { padding: 0; }
.form-row { display: grid; gap: 1.3rem; margin-bottom: 1.3rem; }
.form-row.two-col { grid-template-columns: 1fr; }
.field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: .55rem; }
.field .hint { display: block; font-size: .76rem; color: var(--ink-mute); font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: .4rem; }
.field input, .field textarea {
  width: 100%;
  padding: .9rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: .95rem;
  border-radius: 0;
  transition: border-color .25s var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-hours-note {
  display: flex; gap: .7rem;
  padding: 1rem 1.1rem;
  background: var(--bg-2);
  font-size: .84rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.form-hours-note svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); }
.form-disclaimer { font-size: .78rem; color: var(--ink-mute); text-align: center; margin-top: 1rem; }

.contact-photo-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}
.contact-photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.contact-photo-tag {
  position: absolute; bottom: .9rem; left: .9rem; z-index: 1;
  padding: .35rem .8rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(22,33,46,0.68); color: #fff;
}
.contact-info { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); }
.contact-info-card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; border-bottom: 1px solid var(--line); }
.contact-info-card:last-of-type { border-bottom: 0; }
.contact-info-card svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: .1rem; }
.contact-info-card h4 { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.contact-info-card p, .contact-info-card a { font-size: .89rem; color: var(--ink-mute); }
.contact-info-card a:hover { color: var(--accent); }

.map-band-section { padding: 0; }
.map-band { width: 100%; height: clamp(320px, 42vw, 560px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-band iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =============================================================
   11. Team / Doctor
   ============================================================= */
.team-wrap {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-watermark {
  position: absolute;
  top: 50%; left: 50%;
  width: min(520px, 90vw);
  transform: translate(-50%, -50%);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.team-info { position: relative; z-index: 1; }
.team-info .eyebrow { justify-content: center; }
.team-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .6rem; text-transform: uppercase; }
.team-credential { color: var(--accent); font-weight: 500; font-size: 1rem; margin-bottom: .4rem; font-family: var(--display); }
.team-license { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.8rem; }
.team-info p.team-bio { margin-bottom: 1.8rem; max-width: 58ch; margin-inline: auto; }
.team-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* =============================================================
   12. Footer
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.62);
  padding-block: clamp(3.5rem, 6vw, 5rem) 0;
}
.footer-top {
  display: grid;
  gap: 2.7rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.45); }
.footer-brand p { margin-top: 1.1rem; font-size: .89rem; max-width: 32ch; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--accent); background: rgba(46,92,154,0.18); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h5 {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a, .footer-col p { font-size: .87rem; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: #fff; }
.footer-hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-hours-row span:first-child { color: rgba(255,255,255,0.8); }

.footer-bottom {
  padding-block: 1.6rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,0.4);
}
.footer-credit { text-align: center; padding: 1.2rem 1rem 1.7rem; font-size: .76rem; color: rgba(255,255,255,0.38); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-credit a { color: rgba(255,255,255,0.68); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* =============================================================
   13. WhatsApp floating shortcut
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; color: #fff; }

/* =============================================================
   14. Assistant page
   ============================================================= */
.assistant-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); text-align: center; }
.assistant-hero .eyebrow { justify-content: center; }
.assistant-hero h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); max-width: 24ch; margin-inline: auto; margin-bottom: 1.1rem; text-transform: uppercase; }
.assistant-hero p { max-width: 52ch; margin-inline: auto; font-size: 1.05rem; }

.chat-shell {
  max-width: 720px;
  margin-inline: auto;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  height: min(640px, 72vh);
}
.chat-header { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.4rem; background: var(--ink); color: #fff; }
.chat-header-avatar { width: 40px; height: 40px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.chat-header-avatar svg { width: 20px; height: 20px; }
.chat-header strong { display: block; font-family: var(--display); font-weight: 500; font-size: .95rem; }
.chat-header span { display: block; font-size: .76rem; opacity: .75; }
.chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; margin-right: .4em; }

.chat-body { flex: 1; overflow-y: auto; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; background: var(--bg); }
.chat-msg { display: flex; gap: .6rem; max-width: 86%; }
.chat-msg.from-bot { align-self: flex-start; }
.chat-msg.from-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 600; background: var(--ink); color: #fff; }
.chat-msg.from-user .chat-msg-avatar { background: var(--accent); }
.chat-bubble { padding: .8rem 1.05rem; font-size: .89rem; line-height: 1.6; box-shadow: var(--shadow-sm); }
.chat-msg.from-bot .chat-bubble { background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.chat-msg.from-user .chat-bubble { background: var(--ink); color: #fff; }
.chat-bubble a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.chat-msg.from-user .chat-bubble a { color: #fff; }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.4rem 1.1rem; background: var(--bg); }
.chat-suggestion {
  padding: .55rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.chat-suggestion:hover { border-color: var(--accent); color: var(--accent); }

.chat-input-row { display: flex; gap: .7rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input-row input {
  flex: 1;
  padding: .85rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: .92rem;
}
.chat-input-row input:focus { outline: none; border-color: var(--accent); }
.chat-send { width: 46px; height: 46px; flex-shrink: 0; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.chat-send svg { width: 18px; height: 18px; }
.chat-send:hover { background: var(--accent-2); }

.chat-disclaimer { max-width: 720px; margin: 1.3rem auto 0; text-align: center; font-size: .78rem; color: var(--ink-mute); }
.assistant-back { max-width: 720px; margin: 0 auto 1.5rem; }

.typing-dots { display: inline-flex; gap: 3px; align-items: center; padding: .3rem 0; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); animation: typingBounce 1.2s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* =============================================================
   15. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .ba-wrap { grid-template-columns: 1fr .8fr; }
  .contact-grid { grid-template-columns: 1fr .8fr; }
}

@media (min-width: 1180px) {
  .main-nav { display: block; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
}

@media (min-width: 1280px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* =============================================================
   16. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}
