/* ==========================================================
   Dentissimo — brand tokens
   ========================================================== */
:root {
  --navy: #1E2053;
  --navy-deep: #15163D;
  --navy-ink: #0F1030;
  --aqua: #6DCDDD;
  --aqua-dark: #3FAFC2;
  --aqua-tint: #EAF7FA;
  --white: #FFFFFF;
  --text: #2B2D55;
  --muted: #6B6E8F;
  --line: rgba(255, 255, 255, 0.12);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 84px;
  --shadow: 0 20px 50px -20px rgba(15, 16, 48, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(900px, 100% - 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Placeholder content — dotted underline so it's easy to spot what to replace */
[data-ph] { text-decoration: underline dotted rgba(109, 205, 221, 0.7); text-underline-offset: 4px; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--aqua); color: var(--navy-ink); }
.btn-accent:hover { background: #8ad9e6; box-shadow: 0 10px 30px -10px rgba(109, 205, 221, .7); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--aqua-tint); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-ink); }
.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ==========================================================
   Header + menu
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, height .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(21, 22, 61, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 70px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 38px; width: auto; }
.brand-word { height: 24px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; }
.header-phone svg { width: 16px; height: 16px; fill: var(--aqua); }

.menu-toggle {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.menu-open .site-menu { opacity: 1; visibility: visible; }
.site-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.site-menu li a {
  display: block; padding: 8px 0;
  font-size: clamp(28px, 5vw, 44px); font-weight: 300; color: var(--white); text-decoration: none;
  transition: color .2s;
}
.site-menu li a:hover { color: var(--aqua); }
.menu-open { overflow: hidden; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(109, 205, 221, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-ink) 100%);
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 100px;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; right: -120px; top: 50%; translate: 0 -50%;
  background: radial-gradient(circle, rgba(109, 205, 221, 0.22), transparent 65%);
  filter: blur(20px);
  animation: pulse 8s ease-in-out infinite;
}
.hero-mark {
  position: absolute; right: 6%; top: 50%; translate: 0 -50%;
  width: min(36vw, 520px); opacity: .95;
  animation: float 9s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner > * { max-width: 60%; }
.hero-kicker { font-size: clamp(22px, 2.6vw, 32px); font-weight: 300; margin: 0 0 4px; color: rgba(255, 255, 255, .85); }
.hero-title { font-size: clamp(60px, 9vw, 140px); font-weight: 700; letter-spacing: -0.03em; line-height: .95; }
.hero-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 500; max-width: 560px; margin: 22px 0 36px; color: rgba(255, 255, 255, .9); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-buttons.center { justify-content: center; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0; z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--aqua); border-radius: 2px; animation: scroll 2s infinite;
}

@keyframes float { 0%, 100% { transform: translateY(-12px); } 50% { transform: translateY(12px); } }
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   Sections + titles
   ========================================================== */
.section { padding: 110px 0; }
.section-tight { padding-top: 20px; }
.section-dark { background: var(--navy-deep); color: rgba(255, 255, 255, .85); }
.section-light { background: var(--aqua-tint); }
.section-white { background: var(--white); }

.title { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; font-size: clamp(32px, 4vw, 50px); color: var(--white); }
.title strong { font-weight: 700; }
.title span { font-weight: 300; }
.title.center { align-items: center; text-align: center; }
.dark-text { color: var(--navy); }
.title strong[data-ph] { text-decoration-thickness: 2px; }

.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section-head.split .title { margin-bottom: 0; }
.section-head .muted { margin: 10px 0 0; }

.lead { font-size: 19px; margin-bottom: 28px; }
.feature-text a { color: var(--aqua); text-decoration: none; }

/* ==========================================================
   Photo placeholders (swap for real photos later)
   ========================================================== */
.photo-ph {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(109, 205, 221, .18), transparent 55%),
    linear-gradient(160deg, #262961, var(--navy-ink));
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, .55);
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.photo-ph img { width: 30%; max-width: 120px; opacity: .35; }
.photo-ph.portrait { aspect-ratio: 4 / 5; }
.photo-ph.wide { aspect-ratio: 21 / 9; }
.photo-ph.wide img { width: 12%; }

/* ==========================================================
   Sliders
   ========================================================== */
.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 6px;
}
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.slider-btn:hover { background: var(--aqua); border-color: var(--aqua); color: var(--navy-ink); }
.slider-btn.dark { border-color: rgba(30, 32, 83, .25); color: var(--navy); }

/* Doctors */
.doctor-card h3 { margin-top: 18px; font-size: 20px; font-weight: 600; color: var(--white); }
.doctor-card p { margin: 4px 0 0; color: var(--aqua); font-size: 15px; }

/* ==========================================================
   Why — checklist
   ========================================================== */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding: 18px 22px 18px 62px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 6px 20px -12px rgba(30, 32, 83, .3);
  font-weight: 500; color: var(--navy);
}
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 50%; translate: 0 -50%;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2053' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ==========================================================
   Feature (lead doctor)
   ========================================================== */
.feature { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: center; }
.feature-photo { aspect-ratio: 4 / 5; }

/* ==========================================================
   Reviews
   ========================================================== */
.reviews { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; margin-top: 50px; }
.reviews-summary { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.reviews-summary strong { color: var(--navy); font-size: 20px; }
.reviews-summary .muted { font-size: 14px; }
.reviews-logo { width: 64px; margin-bottom: 6px; }
.stars { color: #F5B400; letter-spacing: 3px; font-size: 18px; }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--aqua-tint); border-radius: var(--radius); padding: 24px; min-height: 190px; display: flex; flex-direction: column; }
.review-card p { flex: 1; margin: 12px 0; color: var(--text); }
.review-name { font-weight: 600; color: var(--navy); }

/* ==========================================================
   Consultation card
   ========================================================== */
.cta-card {
  max-width: 980px; margin-inline: auto; text-align: center;
  background: var(--white); border-radius: 24px; padding: 64px clamp(24px, 6vw, 80px);
  box-shadow: var(--shadow);
}
.cta-card p { font-size: 18px; margin-bottom: 32px; }

/* ==========================================================
   Services
   ========================================================== */
.service-card {
  position: relative; overflow: hidden;
  min-height: 400px; padding: 32px; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 10%, rgba(109, 205, 221, .3), transparent 50%),
    linear-gradient(170deg, var(--navy), var(--navy-ink));
  color: rgba(255, 255, 255, .85);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  position: absolute; top: 32px; left: 32px; width: 64px; height: 64px;
  fill: none; stroke: var(--aqua); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.service-card p { margin: 0; font-size: 15px; }

/* ==========================================================
   Office
   ========================================================== */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg { flex: none; width: 24px; height: 24px; fill: var(--aqua); margin-top: 2px; }
.map-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px dashed rgba(109, 205, 221, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px), var(--navy);
  color: rgba(255, 255, 255, .55); font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.map-ph img { width: 70px; opacity: .35; }

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
  position: relative; overflow: hidden; padding: 130px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(109, 205, 221, .25), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: rgba(255, 255, 255, .85);
}
.final-mark { position: absolute; width: 520px; left: 50%; top: 50%; translate: -50% -50%; opacity: .05; }
.final-cta .container { position: relative; max-width: 760px; }
.final-tag { font-size: 22px; font-weight: 700; color: var(--white); margin: 8px 0 32px; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, .7); padding: 80px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 150px; }
.site-footer h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--aqua); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(109, 205, 221, .12);
  display: grid; place-items: center; transition: background .2s;
}
.socials a:hover { background: var(--aqua); }
.socials svg { width: 18px; height: 18px; fill: var(--aqua); }
.socials a:hover svg { fill: var(--navy-ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 60px; padding-top: 24px; font-size: 14px; }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
  .slider { grid-auto-columns: calc((100% - 24px) / 2); }
  .feature, .office { grid-template-columns: 1fr; gap: 40px; }
  .feature-photo { max-width: 460px; }
  .reviews { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mark { opacity: .14; right: -12%; width: 80vw; }
  .hero-inner > * { max-width: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .header-phone, .header-cta { display: none; }
  .brand-mark { height: 32px; }
  .brand-word { height: 20px; }
  .section { padding: 80px 0; }
  .slider { grid-auto-columns: 82%; gap: 16px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .slider-nav { display: none; }
  .photo-ph.wide { aspect-ratio: 4 / 3; }
  .photo-ph.wide img { width: 22%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
}

/* ==========================================================
   Language toggle, map, rating, floating WhatsApp
   ========================================================== */
.lang-toggle {
  display: flex; padding: 3px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
  font: 600 13px var(--font); letter-spacing: .04em;
}
.lang-toggle span { padding: 6px 11px; border-radius: 999px; color: rgba(255, 255, 255, .7); transition: background .2s, color .2s; }
.lang-toggle[data-current="es"] [data-lang="es"],
.lang-toggle[data-current="en"] [data-lang="en"] { background: var(--white); color: var(--navy); }

.office-info .btn { margin-top: 34px; }
.info-list a { color: var(--aqua); text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--navy); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.rating { display: flex; align-items: center; gap: 8px; }
.rating-num { font-size: 26px; font-weight: 700; color: var(--navy); }
.reviews-summary .btn { margin-top: 10px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

@media (max-width: 720px) {
  .lang-toggle span { padding: 5px 9px; }
  .header-actions { gap: 10px; }
}

/* ==========================================================
   Dentissimo Kids
   ========================================================== */
.kids { position: relative; overflow: hidden; background: #FFFDF7; }
.kids-inner { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: 70px; align-items: center; }
.kids-logo { width: min(340px, 80%); margin-bottom: 34px; }
.kids-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kids-list li {
  padding: 12px 16px 12px 40px; position: relative; border-radius: 12px; background: var(--white);
  box-shadow: 0 6px 18px -12px rgba(30, 32, 83, .35); font-weight: 600; color: var(--navy); font-size: 15px;
}
.kids-list li::before { content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 12px; height: 12px; border-radius: 50%; }
.kids-list li:nth-child(1)::before { background: #2DA94F; }
.kids-list li:nth-child(2)::before { background: #F5A623; }
.kids-list li:nth-child(3)::before { background: #4F7DF3; }
.kids-list li:nth-child(4)::before { background: #EE3B3B; }
.kids-photo { aspect-ratio: 1; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
.kids-dot { position: absolute; border-radius: 50%; opacity: .14; animation: float 10s ease-in-out infinite; }
.kids-dot.d1 { width: 160px; height: 160px; background: #2DA94F; top: -40px; left: -40px; }
.kids-dot.d2 { width: 90px; height: 90px; background: #F5A623; top: 18%; right: 46%; animation-delay: -3s; }
.kids-dot.d3 { width: 220px; height: 220px; background: #4F7DF3; bottom: -80px; right: -60px; animation-delay: -6s; }
.kids-dot.d4 { width: 60px; height: 60px; background: #EE3B3B; bottom: 12%; left: 44%; animation-delay: -2s; }
.card-link { margin-top: 16px; color: var(--aqua); font-weight: 600; font-size: 15px; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .kids-inner { grid-template-columns: 1fr; gap: 50px; }
  .kids-photo { max-width: 420px; }
}
@media (max-width: 520px) { .kids-list { grid-template-columns: 1fr; } }

/* ==========================================================
   Credentials
   ========================================================== */
.creds { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.creds li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.creds svg, .badge svg { flex: none; width: 16px; height: 16px; fill: var(--aqua); margin-top: 1px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(109, 205, 221, .1); border: 1px solid rgba(109, 205, 221, .3); font-size: 14px; color: var(--white);
}

/* ==========================================================
   Before & after
   ========================================================== */
.ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 36px; }
.ba-tab {
  padding: 11px 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(30, 32, 83, .18); background: var(--white); color: var(--navy);
  font: 600 15px var(--font); transition: background .2s, color .2s, border-color .2s;
}
.ba-tab:hover { border-color: var(--aqua); }
.ba-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ba-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-panel[hidden] { display: none; }
.ba-card { margin: 0; }
.ba-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; font-size: 15px; color: var(--muted); }
.ba-card figcaption strong { color: var(--navy); font-size: 16px; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; user-select: none; box-shadow: 0 12px 30px -18px rgba(15, 16, 48, .5); }
.ba-img {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ba-img img { width: 52px; opacity: .45; }
.ba-before { background: linear-gradient(160deg, #8C8FA6, #5D6079); color: rgba(255, 255, 255, .85); }
.ba-after { background: linear-gradient(160deg, var(--aqua), var(--aqua-dark)); color: var(--navy-ink); clip-path: inset(0 0 0 var(--pos)); }
.ba-after img { filter: brightness(0) invert(.1); opacity: .35; }
.ba-before span, .ba-after span { position: absolute; top: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(15, 16, 48, .35); color: var(--white); font-size: 11px; }
.ba-before span { left: 14px; }
.ba-after span { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle::after { outline: 3px solid var(--aqua); }
.ba-note { text-align: center; font-size: 13px; color: var(--muted); margin: 36px 0 0; }

/* ==========================================================
   Technology
   ========================================================== */
.tech-sub { max-width: 640px; margin-bottom: 44px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card {
  padding: 30px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, transform .3s;
}
.tech-card:hover { background: rgba(109, 205, 221, .08); border-color: rgba(109, 205, 221, .4); transform: translateY(-4px); }
.tech-icon { width: 44px; height: 44px; fill: none; stroke: var(--aqua); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.tech-card h3 { color: var(--white); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.tech-card p { margin: 0; font-size: 15px; }

/* ==========================================================
   Payment
   ========================================================== */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.pay-card { background: var(--white); border-radius: 18px; padding: 30px 26px; box-shadow: 0 10px 30px -20px rgba(30, 32, 83, .4); }
.pay-card h3 { color: var(--navy); font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.pay-card p, .pay-card li { font-size: 15px; }
.pay-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.pay-card li::marker { color: var(--aqua-dark); }
.pay-icon { width: 40px; height: 40px; fill: none; stroke: var(--aqua-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.pay-card.featured { background: var(--navy); color: rgba(255, 255, 255, .85); }
.pay-card.featured h3 { color: var(--white); }
.pay-card.featured .pay-icon { stroke: var(--aqua); }
.pay-big { font-size: 34px !important; font-weight: 800; color: var(--aqua); margin: 0 0 6px; letter-spacing: .02em; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 12px; margin-top: 40px; }
.faq-item { border-radius: var(--radius); background: var(--aqua-tint); transition: background .2s; }
.faq-item[open] { background: var(--white); box-shadow: 0 10px 30px -18px rgba(30, 32, 83, .45); outline: 1px solid rgba(30, 32, 83, .08); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--aqua); color: var(--navy-ink); }
.faq-item p { padding: 0 24px 22px; margin: 0; }
.faq-more { margin-top: 32px; }
.faq-more a { color: var(--aqua-dark); font-weight: 700; text-decoration: none; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 1000px) {
  .ba-panel { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ba-panel, .tech-grid, .pay-grid { grid-template-columns: 1fr; }
  .ba-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ba-tab { flex: none; }
}

/* ==========================================================
   Privacy notice page
   ========================================================== */
html[lang="es"] [data-lang-block="en"],
html[lang="en"] [data-lang-block="es"] { display: none; }
.legal { background: var(--white); padding: calc(var(--header-h) + 70px) 0 100px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.legal h2 { font-size: 21px; color: var(--navy); font-weight: 700; margin: 42px 0 14px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin: 0 0 1em; }
.legal li::marker { color: var(--aqua-dark); }
.legal-kicker { color: var(--aqua-dark) !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.legal-date { color: var(--muted) !important; font-size: 15px; }
.legal-callout { background: var(--aqua-tint); border-left: 4px solid var(--aqua); padding: 14px 18px; border-radius: 8px; font-size: 15px; }
.legal-footer { padding: 30px 0; }
.legal-footer .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* Real before & after photos */
.ba-real .ba-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: none; }
.ba-real .ba-img span { z-index: 1; }
.ba-real .ba-before, .ba-real .ba-after { background: #fff; }
.ba-panel { align-items: start; }
@media (max-width: 720px) {
  .ba-tall { max-width: 340px; margin-inline: auto; }
  .ba-card:has(.ba-tall) figcaption { max-width: 340px; margin-inline: auto; }
}
.menu-socials { display: flex; gap: 22px; }
.menu-socials a { color: var(--aqua); text-decoration: none; font-weight: 600; }
.menu-socials a:hover { text-decoration: underline; }
.site-menu { justify-content: safe center; overflow-y: auto; padding: calc(var(--header-h) + 20px) 16px 40px; gap: 28px; }
.site-menu li a { font-size: clamp(24px, 4.2vw, 40px); padding: 5px 0; }

/* ==========================================================
   Phone polish
   ========================================================== */
@media (max-width: 720px) {
  /* Comfortable tap targets */
  .lang-toggle span { padding: 9px 12px; }
  .menu-toggle { width: 46px; height: 46px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 9px 0; }
  .site-footer p a, .footer-legal a { display: inline-block; padding: 8px 0; }
  .socials a { width: 46px; height: 46px; }
  .card-link { padding: 10px 0; }
  .info-list a { display: inline-block; padding: 6px 0; }

  /* Shorter footer: link lists side by side */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-logo { width: 120px; }
  .footer-bottom { flex-direction: column; }

  /* Keep the floating WhatsApp button from covering content */
  .site-footer { padding-bottom: 100px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }

  /* Slightly less tall placeholders on phones */
  .photo-ph.portrait, .feature-photo { aspect-ratio: 1 / 1; }
  .service-card { min-height: 300px; }
  .cta-card { padding: 44px 22px; }
  .title { font-size: clamp(30px, 8.4vw, 40px); }
  .hero { padding-bottom: 90px; }
}

/* ==========================================================
   SEO build: H1, language links, dental tourism
   ========================================================== */
.hero-h1 { margin: 0; }
.hero-title { display: block; }
.hero-h1-sub { display: block; margin-top: 16px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: 0; line-height: 1.25; color: var(--aqua); }
.hero-sub { margin-top: 14px; }

a.lang-toggle, .lang-toggle a { text-decoration: none; }
.lang-toggle a { padding: 6px 11px; border-radius: 999px; color: rgba(255, 255, 255, .7); transition: background .2s, color .2s; }
.lang-toggle a:hover { color: var(--white); }
.lang-toggle a.on { background: var(--white); color: var(--navy); }
@media (max-width: 720px) { .lang-toggle a { padding: 9px 12px; } }

.tourism { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.tour-lead { max-width: 820px; font-size: 18px; margin-bottom: 46px; }
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour-card { padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.tour-card h3 { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.tour-card p { margin: 0; font-size: 15px; }
.tour-icon { width: 40px; height: 40px; fill: none; stroke: var(--aqua); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.tour-sub { color: var(--white); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.tour-steps-wrap { margin-top: 70px; }
.tour-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.tour-steps li { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 16px; background: rgba(109, 205, 221, .07); border: 1px solid rgba(109, 205, 221, .22); }
.tour-steps strong { color: var(--white); display: block; margin-bottom: 4px; }
.tour-steps p { margin: 0; font-size: 14px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--aqua); color: var(--navy-ink); display: grid; place-items: center; font-weight: 800; }
.tour-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; }
.tour-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.tour-tips li::marker { color: var(--aqua); }
.city-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--white); font-size: 14px; font-weight: 500; }
.tour-cta { margin-top: 56px; text-align: center; }
@media (max-width: 1000px) {
  .tour-grid { grid-template-columns: 1fr 1fr; }
  .tour-steps { grid-template-columns: 1fr; }
  .tour-steps li { flex-direction: row; align-items: flex-start; }
  .step-n { flex: none; }
  .tour-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-cta .btn { width: 100%; justify-content: center; }
}
