/* ═══════════════════════════════════════════════════════════ */
/* DESIGN SYSTEM — Dr. Sergio Ríos                            */
/* Style: Soft UI Evolution (WCAG AA+)                        */
/* Typography: Playfair Display + Inter                       */
/* Generated with UI/UX Pro Max design intelligence           */
/* ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  /* Color palette (user-specified) */
  --bg:            #e0f0ee;
  --bg-white:      #ffffff;
  --bg-soft:       #f4faf9;
  --bg-dark:       #2a3d3a;
  --title:         #626363;
  --accent:        #64a99e;
  --accent-soft:   rgba(100, 169, 158, 0.10);
  --accent-medium: rgba(100, 169, 158, 0.18);
  --secondary:     #909190;
  --cta:           #e79440;
  --cta-hover:     #d4832f;
  --cta-soft:      rgba(231, 148, 64, 0.12);
  --text:          #4a4a4a;
  --text-light:    #7a7a7a;
  --border:        rgba(100, 169, 158, 0.12);
  --border-strong: rgba(100, 169, 158, 0.25);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radii — Soft UI Evolution: 8-12px base */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows — Soft multi-layer (Soft UI Evolution) */
  --shadow-sm:   0 1px 3px rgba(42, 61, 58, 0.04), 0 1px 2px rgba(42, 61, 58, 0.06);
  --shadow-md:   0 4px 12px rgba(42, 61, 58, 0.05), 0 2px 4px rgba(42, 61, 58, 0.04);
  --shadow-lg:   0 10px 30px rgba(42, 61, 58, 0.07), 0 4px 8px rgba(42, 61, 58, 0.04);
  --shadow-xl:   0 20px 50px rgba(42, 61, 58, 0.08), 0 8px 16px rgba(42, 61, 58, 0.04);
  --shadow-cta:  0 4px 16px rgba(231, 148, 64, 0.30);
  --shadow-cta-hover: 0 8px 28px rgba(231, 148, 64, 0.40);

  /* Transitions — 200-300ms (Soft UI Evolution) */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 250ms var(--ease);
  --transition-slow: 600ms var(--ease);

  /* Z-index scale (10, 20, 30, 50) */
  --z-base:    1;
  --z-sticky:  10;
  --z-overlay: 30;
  --z-modal:   50;
}

/* ─── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

/* ─── Lenis smooth scroll integration ─────────────────────── */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis-smooth {
  scroll-behavior: auto !important;
}

html.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ─── Skip Link (Accessibility) ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 100;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 3px solid var(--cta);
  outline-offset: 2px;
}

/* ─── Focus States (Accessibility — visible 3-4px rings) ── */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Screen reader-only text (for SEO/a11y context, not visible) ── */
.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;
}

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-lg); }
}

/* ═══════════════════════════════════════════════════════════ */
/* TYPOGRAPHY SYSTEM                                          */
/* Playfair Display (headings) + Inter (body)                 */
/* ═══════════════════════════════════════════════════════════ */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-tag--light { color: rgba(224, 240, 238, 0.8); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--title);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--secondary);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .section-subtitle { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════ */
/* BUTTONS — 44px min touch target, cursor-pointer, smooth    */
/* ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--cta-hover);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--title);
  border: 1.5px solid var(--border-strong);
}

.btn--ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--secondary {
  background: rgba(231, 148, 64, 0.10);
  color: var(--cta);
  border: 1.5px solid var(--cta);
}

.btn--secondary:hover {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  box-shadow: var(--shadow-cta);
  transform: translateY(-2px);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}

/* ═══════════════════════════════════════════════════════════ */
/* FLOATING NAVIGATION                                        */
/* top-4 left-4 right-4 spacing (UI Pro Max guideline)        */
/* ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0.6rem 0;
  border-radius: 0;
  transition: box-shadow var(--transition);
  background: #ffffff;
  border: none;
  border-bottom: 1px solid rgba(100, 169, 158, 0.16);
  box-shadow: 0 2px 12px rgba(42, 61, 58, 0.05);
}

.nav--scrolled {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(42, 61, 58, 0.08);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title);
  line-height: 1.1;
}

.nav__logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
  text-transform: uppercase;
}

/* ── Riu wordmark logo composition ───────────────── */
.nav__logo--riu {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav__logo--riu .nav__logo-mark {
  height: 104px;
  width: 104px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.nav__logo--riu:hover .nav__logo-mark {
  transform: translateY(-1px);
}

.nav__logo-by {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  border-left: 1px solid var(--border-strong, rgba(100, 169, 158, 0.25));
  padding-left: 0.65rem;
}

.nav__logo-by-kicker {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary, #909190);
  margin-bottom: 0.1rem;
}

.nav__logo-by-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--title, #2a3d3a);
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  .nav__logo--riu .nav__logo-mark { height: 76px; width: 76px; }
  .nav__logo-by { padding-left: 0.5rem; }
  .nav__logo-by-kicker { font-size: 0.55rem; }
  .nav__logo-by-name { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .nav__logo-by-kicker { display: none; }
  .nav__logo-by-name { font-size: 0.78rem; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 0.01em;
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--title);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.3rem;
  background: var(--cta);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--title);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(224, 240, 238, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--title);
  transition: color var(--transition);
}

.mobile-menu__links a:hover { color: var(--accent); }

.mobile-menu__cta {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.8rem 2rem;
  background: var(--cta);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  box-shadow: var(--shadow-cta);
}

/* ═══════════════════════════════════════════════════════════ */
/* HERO SECTION                                               */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(100px + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Ambient background orbs */
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__bg-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(100, 169, 158, 0.12);
  top: -10%;
  right: -5%;
}

.hero__bg-orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(231, 148, 64, 0.06);
  bottom: 10%;
  left: -5%;
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}

.hero__pre-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--title);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--secondary);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

/* Trust bar — social proof above the fold */
.hero__trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 400;
}

/* Hero image with floating badges */
.hero__image {
  position: relative;
}

.hero__image-frame {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(100, 169, 158, 0.06), rgba(100, 169, 158, 0.02));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Floating credential badges */
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--title);
}

.hero__badge--nyu {
  bottom: 25%;
  left: -10%;
}

.hero__badge--exp {
  top: 15%;
  right: -8%;
}

.hero__badge-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero__scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--title);
}

.hero__scroll-arrow {
  animation: bounceDown 2.5s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════ */
/* TRAYECTORIA — Bento Grid                                   */
/* ═══════════════════════════════════════════════════════════ */
/* ─── TRAYECTORIA — Dark Premium Centered ─── */
.trayectoria {
  background: #141414 !important;
  padding: var(--space-3xl) 0 var(--space-2xl) !important;
  overflow: hidden;
}

/* ── Top: Portrait + Bio ── */
.tray__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Portrait — large (transparent PNG: no rectangular bg/border) */
.tray__portrait {
  flex-shrink: 0;
  width: 560px;
  max-width: 48vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tray__portrait img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

/* Bio column */
.tray__bio {
  flex: 1;
  max-width: 540px;
}

.tray__tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.tray__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.tray__role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cta);
  margin-bottom: var(--space-lg);
}

.tray__quote {
  margin: 0 0 var(--space-lg);
  padding-left: var(--space-md);
  border-left: 3px solid var(--cta);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

.tray__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.tray__desc p {
  margin: 0 0 0.9rem;
}

.tray__desc p:last-child { margin-bottom: 0; }

.tray__desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* Inline link */
.tray__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.tray__link:hover { color: var(--cta); }
.tray__link svg { transition: transform var(--transition); }
.tray__link:hover svg { transform: translate(2px, -2px); }

/* ── Bottom: 4 credential cards in a row ── */
.tray__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: 1140px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-lg) 0;
  border-top: none;
}

.tray__card {
  padding: var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
  text-align: center;
}

.tray__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  transform: translateY(-3px);
}

.tray__card-city {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cta);
  display: block;
  margin-bottom: 0.4rem;
}

.tray__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.tray__card-inst {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════ */
/* SERVICE SECTIONS                                           */
/* ═══════════════════════════════════════════════════════════ */
.service-legacy-unused { display: none; }

/* Implantología */
.service--implant {
  background: var(--bg-white);
  overflow: hidden;
}

.service__bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
}

.service__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.07;
  filter: grayscale(40%);
}

.service__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 640px;
}

.service__desc {
  font-size: 1.05rem;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.service__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.service__feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.service__feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.service__feature:hover .service__feature-icon {
  background: var(--accent-medium);
}

.service__feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.2rem;
}

.service__feature p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.65;
}

/* Split layout services */
.service--smile { background: var(--bg); }

.service__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service__split--reverse { direction: rtl; }
.service__split--reverse > * { direction: ltr; }

.service__magazine-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}

.service__magazine-frame:hover {
  box-shadow: var(--shadow-lg);
}

.service__magazine-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.service__magazine-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.service__magazine-frame:hover .service__magazine-photo {
  transform: scale(1.03);
}

.service__magazine-caption {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
}

.service__magazine-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.service__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.service__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--text);
}

.service__highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Rehabilitación — Case Study */
.service--rehab { background: var(--bg-white); }

.service__case-study {
  background: linear-gradient(145deg, var(--bg-soft), rgba(100, 169, 158, 0.03));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service__case-header { margin-bottom: var(--space-lg); }

.service__case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service__case-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service__case-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.service__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.service__stat-label {
  font-size: 0.78rem;
  color: var(--secondary);
  line-height: 1.4;
}

/* Ortodoncia */
.service--ortho { background: var(--bg-white); }

.service__new-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--cta-soft);
  color: var(--cta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.service__ortho-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--accent-medium);
  box-shadow: var(--shadow-md);
}

.service__ortho-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 4 / 5;
}

/* ═══════════════════════════════════════════════════════════ */
/* SERVICE SECTIONS — Dapper-inspired + Semrush dynamics      */
/* ═══════════════════════════════════════════════════════════ */

/* ── Keyframes for service sections ────────────── */
@keyframes svcBorderGlow {
  0%, 100% { opacity: 0.4; height: 0%; }
  50%      { opacity: 1; }
}

@keyframes svcShimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes svcNumberFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes svcPillPop {
  0%   { transform: scale(0.6) translateY(8px); opacity: 0; }
  70%  { transform: scale(1.08) translateY(-2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes svcDividerDraw {
  0%   { width: 0; opacity: 0; }
  100% { width: 100%; opacity: 1; }
}

@keyframes svcStatCount {
  0%   { transform: translateY(20px); opacity: 0; }
  60%  { transform: translateY(-3px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes svcImageReveal {
  0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes svcAccentFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(8px, -10px) rotate(3deg); }
  50%      { transform: translate(-4px, -16px) rotate(-2deg); }
  75%      { transform: translate(6px, -6px) rotate(1deg); }
}

.svc {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* Animated left accent bar */
.svc::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--cta));
  border-radius: 0 4px 4px 0;
  transition: height 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
}

.svc.visible::before {
  height: 70%;
}

.svc--alt { background: var(--bg); }

/* Animated divider — line draw */
.svc__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin-bottom: var(--space-xl);
  width: 0;
  opacity: 0;
  transition: none;
}

.svc__divider.visible {
  animation: svcDividerDraw 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.svc__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-xl);
  align-items: center;
}

.svc__layout--reverse {
  grid-template-columns: 1.15fr 1fr;
  direction: rtl;
}

.svc__layout--reverse > * { direction: ltr; }

/* ── Number with parallax + float ──────────────── */
.svc__number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 0.85;
  display: block;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.04em;
  transition: color 0.6s var(--ease), transform 0.6s var(--ease), text-shadow 0.6s var(--ease);
  will-change: transform;
}

.svc:hover .svc__number {
  color: var(--accent-medium);
  text-shadow: 0 8px 30px rgba(100, 169, 158, 0.15);
}

/* ── Title with gradient em ─────────────────────── */
.svc__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--title);
  line-height: 1.12;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.svc__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), #4ec6b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description with fade-in ──────────────────── */
.svc__desc {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

/* ── Pills with staggered pop-in ───────────────── */
.svc__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.svc__pill {
  padding: 0.4rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: default;
  opacity: 0;
  transform: scale(0.6) translateY(8px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.svc__text.visible .svc__pill {
  animation: svcPillPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.svc__text.visible .svc__pill:nth-child(1) { animation-delay: 0.15s; }
.svc__text.visible .svc__pill:nth-child(2) { animation-delay: 0.25s; }
.svc__text.visible .svc__pill:nth-child(3) { animation-delay: 0.35s; }
.svc__text.visible .svc__pill:nth-child(4) { animation-delay: 0.45s; }

.svc__pill:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(100, 169, 158, 0.3);
}

/* ── Credential badge with glow ────────────────── */
.svc__credential {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  transition: all 0.3s var(--ease);
}

.svc__credential:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(100, 169, 158, 0.15);
  transform: translateY(-1px);
}

.service__new-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--cta-soft);
  color: var(--cta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
}

/* ── Actions with enhanced CTA ─────────────────── */
.svc__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.svc__actions .btn--primary {
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on CTA */
.svc__actions .btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
  pointer-events: none;
}

.svc__actions .btn--primary:hover::after {
  animation: svcShimmer 0.6s ease forwards;
}

.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--title);
  cursor: pointer;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.svc__link svg { transition: transform 0.3s var(--ease); }
.svc__link:hover { color: var(--accent); }
.svc__link:hover svg { transform: translate(3px, -3px); }

.svc__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.svc__link:hover::after { width: 100%; }

/* ── Stats with animated entrance ──────────────── */
.svc__stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.svc__stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__text.visible .svc__stat:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.svc__text.visible .svc__stat:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.svc__text.visible .svc__stat:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

.svc__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.2rem;
  transition: transform 0.3s var(--ease);
}

.svc__stat:hover .svc__stat-number {
  transform: scale(1.1);
}

.svc__stat-label {
  font-size: 0.75rem;
  color: var(--secondary);
  line-height: 1.3;
}

/* Images — Overlapping broken grid + reveal + float */
.svc__visual {
  position: relative;
  z-index: 1;
}

.svc__img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Clip-path curtain reveal on scroll */
.reveal-right .svc__img-wrapper,
.reveal-left .svc__img-wrapper {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0s;
}

.reveal-right.visible .svc__img-wrapper,
.reveal-left.visible .svc__img-wrapper {
  animation: svcImageReveal 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

.svc__img-wrapper:hover {
  box-shadow: 0 20px 60px rgba(42, 61, 58, 0.14), 0 8px 20px rgba(42, 61, 58, 0.08);
  transform: translateY(-6px);
}

/* Variant: rotating banner inside the wrapper (needs explicit ratio) */
.svc__img-wrapper--banner {
  aspect-ratio: 4 / 5;
  min-height: 420px;
}

.svc__banner {
  border-radius: inherit;
}

.svc__banner-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  flex-direction: column;
  padding: 0.7rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(42, 61, 58, 0.18);
  z-index: 2;
  line-height: 1.1;
}

.svc__banner-badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cta);
  letter-spacing: -0.01em;
}

.svc__banner-badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-dark);
  margin-top: 0.1rem;
}

.svc__img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__img-wrapper:hover .svc__img { transform: scale(1.06); }

/* Floating accent image */
.svc__img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 42%;
  z-index: 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.svc__visual:hover .svc__img-accent {
  animation: svcAccentFloat 3s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(42, 61, 58, 0.12);
}

.svc__img-accent--left { right: auto; left: -20px; }
.svc__img--small { aspect-ratio: 1 / 1; }

@media (max-width: 1024px) {
  .svc__layout,
  .svc__layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .svc__visual { max-width: 500px; margin: 0 auto; }
  .svc__img-accent { width: 35%; bottom: -12px; right: -12px; }
  .svc__img-accent--left { right: auto; left: -12px; }
}

@media (max-width: 768px) {
  .svc { padding: var(--space-xl) 0 var(--space-2xl); }
  .svc__number { font-size: 3.5rem; }
  .svc__stats { flex-direction: column; gap: var(--space-sm); }
  .svc__img-accent { display: none; }
}

@media (max-width: 480px) {
  .svc__title { font-size: 1.6rem; }
  .svc__pills { gap: 0.35rem; }
  .svc__pill { font-size: 0.68rem; padding: 0.3rem 0.7rem; }
}

/* ─── Service Progress Connector ─────────────────────────── */
.svc-progress {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-sticky);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.svc-progress--visible {
  opacity: 1;
  pointer-events: auto;
}

.svc-progress__track {
  width: 2px;
  height: 120px;
  background: var(--border-strong);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.svc-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--cta));
  border-radius: 2px;
  transition: height 0.4s var(--ease);
}

.svc-progress__dots {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.svc-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border-strong);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  pointer-events: auto;
}

.svc-progress__dot--active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(100, 169, 158, 0.5);
}

.svc-progress__dot--passed {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .svc-progress { display: none; }
}

/* ─── Discover Expandable Panels ─────────────────────────── */

/* ── Keyframes ─────────────────────────────────── */
@keyframes discoverShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes discoverFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-12px) rotate(2deg); }
  66%      { transform: translateY(6px) rotate(-1deg); }
}

@keyframes discoverFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(-3deg); }
}

@keyframes discoverPulseRing {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes discoverBlob {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(0deg) scale(1); }
  25%      { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; transform: rotate(90deg) scale(1.05); }
  50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg) scale(0.97); }
  75%      { border-radius: 55% 45% 30% 70% / 65% 35% 60% 40%; transform: rotate(270deg) scale(1.03); }
}

@keyframes discoverGradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes discoverRevealClip {
  0%   { clip-path: inset(8% 8% 8% 8% round 18px); }
  100% { clip-path: inset(0% 0% 0% 0% round 18px); }
}

@keyframes discoverScaleIn {
  0%   { transform: scale(0.85) rotate(-2deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes discoverSlideUp {
  0%   { transform: translateY(30px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes discoverLineGrow {
  0%   { width: 0; }
  100% { width: 60px; }
}

@keyframes discoverDotPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.5); }
}

/* ── Button ────────────────────────────────────── */
.svc__discover-btn {
  background: none;
  border: none;
  font-family: inherit;
  position: relative;
}

.svc__discover-btn[aria-expanded="true"] {
  color: var(--accent);
}

.svc__discover-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__discover-btn[aria-expanded="true"] .svc__discover-icon {
  transform: rotate(225deg) scale(1.15);
}

/* ── Panel container ───────────────────────────── */
.svc__discover {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.5s var(--ease);
  opacity: 0;
  overflow: hidden;
}

.svc__discover[aria-hidden="false"] {
  grid-template-rows: 1fr;
  opacity: 1;
}

.svc__discover-inner {
  overflow: hidden;
  min-height: 0;
}

.svc__discover[aria-hidden="false"] .svc__discover-inner {
  padding-top: var(--space-xl);
}

/* ── Grid card with animated border ────────────── */
.svc__discover-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid transparent;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(30px) scale(0.97);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s,
              opacity 0.5s var(--ease) 0.12s,
              box-shadow 0.4s var(--ease);
}

/* Animated gradient border */
.svc__discover-grid::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent), var(--cta), var(--accent), transparent);
  background-size: 300% 300%;
  animation: discoverGradientMove 4s ease infinite paused;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

/* Floating decorative blobs */
.svc__discover-grid::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 169, 158, 0.08) 0%, transparent 70%);
  animation: discoverBlob 12s ease-in-out infinite paused;
  pointer-events: none;
  z-index: 0;
}

.svc__discover[aria-hidden="false"] .svc__discover-grid {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: var(--shadow-xl);
}

.svc__discover[aria-hidden="false"] .svc__discover-grid::before {
  opacity: 1;
  animation-play-state: running;
}

.svc__discover[aria-hidden="false"] .svc__discover-grid::after {
  animation-play-state: running;
}

/* ── Floating accent dots (decorative) ─────────── */
.svc__discover-content {
  position: relative;
  z-index: 1;
}

.svc__discover-content::before,
.svc__discover-content::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.5s;
}

.svc__discover-content::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  top: 0;
  right: 20px;
  animation: discoverDotPulse 3s ease-in-out infinite 0.5s;
}

.svc__discover-content::after {
  width: 4px;
  height: 4px;
  background: var(--cta);
  bottom: 40px;
  right: 50px;
  animation: discoverDotPulse 3s ease-in-out infinite 1.2s;
}

.svc__discover[aria-hidden="false"] .svc__discover-content::before,
.svc__discover[aria-hidden="false"] .svc__discover-content::after {
  opacity: 1;
}

/* ── Heading with accent line ──────────────────── */
.svc__discover-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--title);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  position: relative;
  padding-bottom: var(--space-sm);
}

.svc__discover-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--cta));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.svc__discover[aria-hidden="false"] .svc__discover-heading::after {
  width: 60px;
}

/* ── Text ──────────────────────────────────────── */
.svc__discover-text {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 540px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease) 0.25s, transform 0.5s var(--ease) 0.25s;
}

.svc__discover[aria-hidden="false"] .svc__discover-text {
  opacity: 1;
  transform: translateY(0);
}

/* ── Features list ─────────────────────────────── */
.svc__discover-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.svc__discover-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.5s var(--ease), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: default;
}

.svc__discover-feature:hover {
  background: rgba(100, 169, 158, 0.05);
  border-color: var(--border);
  transform: translateX(6px);
}

.svc__discover[aria-hidden="false"] .svc__discover-feature:nth-child(1) {
  opacity: 1; transform: translateX(0); transition-delay: 0.35s;
}
.svc__discover[aria-hidden="false"] .svc__discover-feature:nth-child(2) {
  opacity: 1; transform: translateX(0); transition-delay: 0.5s;
}
.svc__discover[aria-hidden="false"] .svc__discover-feature:nth-child(3) {
  opacity: 1; transform: translateX(0); transition-delay: 0.65s;
}

/* ── Feature icons with pulse ring ─────────────── */
.svc__discover-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s var(--ease);
}

/* Pulse ring on hover */
.svc__discover-feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}

.svc__discover-feature:hover .svc__discover-feature-icon::after {
  animation: discoverPulseRing 0.8s ease-out;
}

.svc__discover-feature:hover .svc__discover-feature-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(100, 169, 158, 0.35);
}

.svc__discover-feature:hover .svc__discover-feature-icon svg {
  stroke: #fff;
}

.svc__discover-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.2rem;
  transition: color 0.3s var(--ease);
}

.svc__discover-feature:hover strong {
  color: var(--accent);
}

.svc__discover-feature p {
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.55;
  margin: 0;
}

/* ── Gallery with clip-path reveal + 3D tilt ───── */
.svc__discover-gallery {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__discover-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  clip-path: inset(8% 8% 8% 8% round 18px);
  opacity: 0;
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.2s,
              opacity 0.5s var(--ease) 0.2s,
              box-shadow 0.4s var(--ease),
              transform 0.5s var(--ease);
}

.svc__discover[aria-hidden="false"] .svc__discover-img-main {
  clip-path: inset(0% 0% 0% 0% round 18px);
  opacity: 1;
}

.svc__discover-img-main:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.svc__discover-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__discover-img-main:hover img {
  transform: scale(1.08);
}

.svc__discover-img-secondary {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  transition: opacity 0.5s var(--ease) 0.45s,
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s,
              box-shadow 0.4s var(--ease);
}

.svc__discover[aria-hidden="false"] .svc__discover-img-secondary {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.svc__discover-img-secondary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.02);
}

.svc__discover-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc__discover-img-secondary:hover img {
  transform: scale(1.08);
}

/* Floating accent behind gallery */
.svc__discover-gallery::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(231, 148, 64, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: discoverFloat2 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.6s;
}

.svc__discover[aria-hidden="false"] .svc__discover-gallery::before {
  opacity: 1;
}

/* ── CTA with shimmer ──────────────────────────── */
.svc__discover-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--space-lg);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s var(--ease) 0.6s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}

.svc__discover[aria-hidden="false"] .svc__discover-cta {
  opacity: 1;
  transform: translateY(0);
}

.svc__discover-cta .btn--primary {
  position: relative;
  overflow: hidden;
}

.svc__discover-cta .btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: discoverShimmer 3s ease-in-out infinite;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .svc__discover-grid {
    grid-template-columns: 1fr;
  }
  .svc__discover-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .svc__discover-img-main {
    aspect-ratio: 3 / 2;
  }
  .svc__discover-img-secondary {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 768px) {
  .svc__discover-grid {
    padding: var(--space-md);
  }
  .svc__discover-gallery {
    grid-template-columns: 1fr;
  }
  .svc__discover-grid::after {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
  }
}

@media (max-width: 480px) {
  .svc__discover-heading {
    font-size: 1.2rem;
  }
  .svc__discover-text {
    font-size: 0.88rem;
  }
  .svc__discover-grid {
    padding: var(--space-sm);
    gap: var(--space-md);
  }
  .svc__discover-feature {
    padding: var(--space-xs);
  }
  .svc__discover-feature-icon {
    width: 40px;
    height: 40px;
  }
}

/* Placeholder images */
.placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(145deg, var(--accent-soft), rgba(100, 169, 158, 0.03));
  min-height: 280px;
  width: 100%;
  height: 100%;
}

.placeholder-img span {
  font-size: 0.78rem;
  color: var(--secondary);
  letter-spacing: 0.05em;
}

.placeholder-img--gallery { min-height: 200px; }
.placeholder-img--ortho { aspect-ratio: 4 / 5; }

/* ═══════════════════════════════════════════════════════════ */
/* TESTIMONIALS — Social Proof Section                        */
/* ═══════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--title);
}

.testimonial__procedure {
  font-size: 0.75rem;
  color: var(--secondary);
}

/* ─── Google Reviews additions ─────────────────────────── */

/* Google rating summary badge under section title (on dark bg) */
.gr-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: var(--space-md);
  padding: 0.7rem 1.2rem 0.7rem 0.9rem;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  text-decoration: none;
  color: #1a1a1a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.gr-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.gr-summary__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f6f8fb;
  border-radius: 50%;
  flex-shrink: 0;
}

.gr-summary__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.gr-summary__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gr-summary__rating strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.gr-summary__stars {
  color: #fbbc04;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.gr-summary__count {
  font-size: 0.74rem;
  color: #5f6368;
  margin-top: 0.15rem;
}

.gr-summary__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cta);
  margin-left: 0.4rem;
  white-space: nowrap;
}

/* Google review cards — white on the dark testimonials bg for contrast */
.testimonial--google {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
}

.testimonial--google:hover {
  background: #ffffff !important;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36) !important;
}

.testimonial--google .testimonial__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
}

.testimonial--google .testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0;
  border-top: none;
}

.testimonial--google .testimonial__name {
  color: #1a1a1a !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial--google .testimonial__meta {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  color: #6b6b6b !important;
  margin-top: 0.15rem;
}

/* Colorful avatars to mimic Google's user avatars */
.testimonial__avatar--pink    { background: #f06292 !important; color: #fff !important; }
.testimonial__avatar--magenta { background: #d81b60 !important; color: #fff !important; }
.testimonial__avatar--teal    { background: #00897b !important; color: #fff !important; }
.testimonial__avatar--blue    { background: #1976d2 !important; color: #fff !important; }
.testimonial__avatar--amber   { background: #f9a825 !important; color: #fff !important; }

.testimonial--google .testimonial__avatar {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.testimonial__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial--google .testimonial__stars {
  margin-top: 0.7rem;
}

.testimonial--google .testimonial__stars svg {
  fill: #fbbc04 !important;
}

.testimonial--google .testimonial__text {
  font-style: normal;
  color: #2a2a2a !important;
  font-size: 0.94rem;
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* "Ver las 28 reseñas en Google" CTA at bottom */
.testimonials__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.testimonials__see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  background: var(--cta);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  box-shadow: var(--shadow-cta);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.testimonials__see-all:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

/* Note: Turismo Médico CSS removed — section no longer in HTML */

/* ═══════════════════════════════════════════════════════════ */
/* CTA FINAL                                                  */
/* ═══════════════════════════════════════════════════════════ */
.cta-final {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--bg);
}

.cta-final__card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--title);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.cta-final__title em {
  font-style: italic;
  color: var(--accent);
}

.cta-final__desc {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════ */
/* FOOTER                                                     */
/* ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.footer__location { font-size: 0.85rem; }

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }

.footer__contact p {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  cursor: pointer;
}

.footer__social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-md);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════════ */
/* SCROLL REVEAL ANIMATIONS — Directional                     */
/* ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays */

.testimonials__grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════ */
/* NAV PROGRESS BAR                                           */
/* ═══════════════════════════════════════════════════════════ */
.nav__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
  border-radius: 0 1px 1px 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* HERO TEXT ANIMATION                                        */
/* ═══════════════════════════════════════════════════════════ */
.hero__title--animate {
  animation: heroFadeSlide 1.2s var(--ease) both;
}

@keyframes heroFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__pre-title {
  animation: heroPre 0.8s var(--ease) 0.2s both;
}

@keyframes heroPre {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  animation: heroSub 0.8s var(--ease) 0.5s both;
}

@keyframes heroSub {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__actions {
  animation: heroSub 0.8s var(--ease) 0.7s both;
}

.hero__trust-bar {
  animation: heroSub 0.8s var(--ease) 0.9s both;
}

.hero__image-frame {
  animation: heroImage 1s var(--ease) 0.4s both;
}

@keyframes heroImage {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__badge {
  animation: badgeFloat 1s var(--ease) 1.1s both;
}

.hero__badge:nth-child(3) {
  animation-delay: 1.3s;
}

@keyframes badgeFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* IMAGE REVEAL — Clip & Scale                                */
/* ═══════════════════════════════════════════════════════════ */
.hero__photo,
.service__magazine-photo,
.service__case-photo,
.service__ortho-photo {
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 0.8s var(--ease), transform 0.6s var(--ease);
}

.hero__photo.img-revealed,
.service__magazine-photo.img-revealed,
.service__case-photo.img-revealed,
.service__ortho-photo.img-revealed {
  clip-path: inset(0% 0% 0% 0%);
}

/* ═══════════════════════════════════════════════════════════ */
/* MARQUEE — Infinite Scroll                                  */
/* ═══════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  padding: var(--space-lg) 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary);
  padding: 0 var(--space-sm);
}

.marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════ */
/* TILT & MAGNETIC — Enhanced hover states                    */
/* ═══════════════════════════════════════════════════════════ */
.tray__card,
.testimonial {
  transition: all 0.3s var(--ease);
  will-change: transform;
}

.btn--primary {
  will-change: transform;
  transition: all 0.25s var(--ease);
}

/* Parallax image container */
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════ */
/* FLOATING AMBIENT ANIMATION                                 */
/* ═══════════════════════════════════════════════════════════ */
.hero__bg-orb {
  will-change: transform;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero__bg-orb--2 {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -15px); }
}

/* Service feature icons — subtle pulse on hover */
.service__feature-icon {
  transition: background var(--transition), transform 0.3s var(--ease);
}

.service__feature:hover .service__feature-icon {
  transform: scale(1.08);
}

/* CTA Final — subtle floating animation */
@media (prefers-reduced-motion: no-preference) {
  .cta-final__card {
    animation: ctaFloat 4s ease-in-out infinite alternate;
  }
}

@keyframes ctaFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE — 375px, 768px, 1024px, 1440px                 */
/* ═══════════════════════════════════════════════════════════ */
/* ─── 1440px+ — Wide screens ─────────────────────────────── */
@media (min-width: 1440px) {
  .container, .ct__container { max-width: 1280px; }
}

/* ─── 1024px — Tablet landscape ──────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust-bar { justify-content: center; }

  .hero__image {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero__badge--nyu { left: 0; }
  .hero__badge--exp { right: 0; }

  .tray__hero { flex-direction: column; gap: var(--space-xl); text-align: center; }
  .tray__portrait { width: 320px; }
  .tray__bio { max-width: 580px; }
  .tray__quote { text-align: left; }
  .tray__desc { text-align: left; }
  .tray__cards { grid-template-columns: repeat(2, 1fr); }

  .svc__layout,
  .svc__layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .svc__visual { max-width: 480px; margin: 0 auto; }
  .svc__img-accent { width: 35%; bottom: -12px; right: -12px; }
  .svc__img-accent--left { right: auto; left: -12px; }

  .testimonials__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  /* Contact bento — stack on tablet */
  .ct__bento { grid-template-columns: 1fr; }
  .ct__card--form { grid-column: 1; grid-row: auto; }
  .ct__card--map { grid-column: 1; min-height: 260px; }
}

/* ─── 768px — Tablet portrait ────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    top: var(--space-xs);
    left: var(--space-xs);
    right: var(--space-xs);
  }

  .nav__cta { display: none; }

  .hero {
    min-height: auto;
    padding-top: calc(80px + var(--space-lg));
    padding-bottom: var(--space-lg);
  }

  .hero__scroll-indicator { display: none; }
  .hero__badge { display: none; }

  .tray__portrait { width: 260px; }
  .tray__hero { padding: 0 var(--space-md); }
  .tray__cards { grid-template-columns: 1fr 1fr; padding: 0 var(--space-md); gap: 0.6rem; }
  .tray__card { padding: var(--space-sm); }
  .tray__card-title { font-size: 0.9rem; }
  .tray__card-inst { font-size: 0.68rem; }

  .svc { padding: var(--space-xl) 0 var(--space-2xl); }
  .svc__number { font-size: 3.5rem; }
  .svc__stats { flex-direction: column; gap: var(--space-sm); }
  .svc__img-accent { display: none; }

  .galeria__grid { grid-template-columns: 1fr; }
  .galeria__label { font-size: 0.7rem; }

  .footer__inner { grid-template-columns: 1fr; }

  .marquee__item { font-size: 0.9rem; }

  /* Contact — mobile adjustments */
  .ct__f-row { grid-template-columns: 1fr; gap: 0; }
  .ct__card--form { padding: var(--space-lg); }
  .ct { padding-top: calc(70px + var(--space-lg)); }
  .ct__card--map { min-height: 240px; }
}

/* ─── 480px — Small mobile ───────────────────────────────── */
@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }

  .svc__title { font-size: 1.6rem; }
  .svc__pills { gap: 0.35rem; }
  .svc__pill { font-size: 0.68rem; padding: 0.3rem 0.7rem; }

  .svc,
  .trayectoria,
  .galeria,
  .testimonials,
  .cta-final { padding: var(--space-xl) 0; }

  .ct__title { font-size: 1.8rem; }
  .ct__chips { gap: 0.35rem; }
  .ct__chip span { padding: 0.5rem 0.9rem; font-size: 0.78rem; min-height: 44px; }
}

/* ─── 375px — Smallest mobile ────────────────────────────── */
@media (max-width: 375px) {
  html { font-size: 15px; }

  .hero__title { font-size: 1.75rem; }
  .section-title { font-size: 1.6rem; }
  .svc__title { font-size: 1.4rem; }
  .svc__number { font-size: 3rem; }
  .ct__title { font-size: 1.5rem; }

  .hero__trust-bar { flex-direction: column; align-items: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .container, .ct__container { padding: 0 var(--space-sm); }

  .ct__card { padding: var(--space-md); }
  .ct__card--form { padding: var(--space-md); }
  .ct__submit { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CONTACT PAGE — Bento Grid v8 (Apple/Swiss)                 */
/* ═══════════════════════════════════════════════════════════ */

.body--contact { background: #f5f5f7; }

.ct { padding: calc(80px + var(--space-2xl)) 0 var(--space-3xl); }

.ct__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.ct__header {
  margin-bottom: var(--space-xl);
}

.ct__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.ct__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--title);
  letter-spacing: -0.02em;
}

/* ─── Bento Grid ─────────────────────────────────────────── */
.ct__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ─── Card base ──────────────────────────────────────────── */
.ct__card {
  background: #fff;
  border-radius: 20px;
  padding: var(--space-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}

.ct__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.ct__card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--title);
  margin: var(--space-sm) 0 0.2rem;
}

.ct__card p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.5;
}

.ct__card svg { color: var(--accent); }

.ct__card-action {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  transition: color var(--transition);
}

.ct__card:hover .ct__card-action { color: var(--cta); }

/* Form card — spans rows on desktop only */
.ct__card--form {
  padding: var(--space-xl);
  cursor: default;
}

@media (min-width: 1025px) {
  .ct__card--form {
    grid-column: 1;
    grid-row: 1 / 4;
  }
}

@media (min-width: 1025px) {
  .ct__card--map {
    grid-column: 2 / 4;
  }
}

.ct__card--form:hover { transform: none; box-shadow: none; }

.ct__card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.2rem;
}

.ct__card-sub {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: var(--space-xl);
}

/* Clickable cards */
.ct__card--wa,
.ct__card--phone,
.ct__card--email {
  cursor: pointer;
  text-decoration: none;
}

.ct__card--wa { background: #f0fdf4; }
.ct__card--wa svg { color: #25D366; stroke: #25D366; }
.ct__card--wa:hover { box-shadow: 0 8px 30px rgba(37,211,102,0.1); }

/* Hours card */
.ct__hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.ct__hours > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ct__hours > div:last-child { border-bottom: none; }
.ct__hours strong { color: var(--title); font-weight: 500; }

/* Map card */
.ct__card--map {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  cursor: default;
}

.ct__card--map:hover { transform: none; }

.ct__card--map iframe {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.ct__map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--title);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ct__map-label svg { color: var(--accent); stroke: var(--accent); }

/* ─── Form Fields ────────────────────────────────────────── */
.ct__f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.ct__f-group {
  margin-bottom: var(--space-md);
}

.ct__f-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 0.4rem;
}

.ct__opt { font-weight: 400; color: var(--secondary); }

.ct__f-group input,
.ct__f-group select,
.ct__f-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--title);
  background: #f9f9f9;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ct__f-group input:focus,
.ct__f-group select:focus,
.ct__f-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(100,169,158,0.1);
  background: #fff;
}

.ct__f-group input.error,
.ct__f-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
}

.ct__f-group .error-message {
  font-size: 0.7rem;
  color: #e74c3c;
  margin-top: 0.25rem;
  display: none;
}

.ct__f-group .error-message.visible { display: block; }

.ct__f-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Chips */
.ct__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.ct__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  left: 0;
  top: 0;
}

.ct__chip {
  position: relative;
}

.ct__chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
  background: #f9f9f9;
}

.ct__chip span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(100,169,158,0.06);
}

.ct__chip input:checked + span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ct__chip input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Submit */
.ct__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(231,148,64,0.25);
  margin-top: var(--space-xs);
}

.ct__submit:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,148,64,0.35);
}

.ct__safe {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--space-sm);
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ─── Contact responsive (placed after base rules so MQs win) ── */
@media (max-width: 1024px) {
  .ct__bento { grid-template-columns: 1fr; }
  .ct__card--form { grid-column: 1; grid-row: auto; }
  .ct__card--map { grid-column: 1; min-height: 260px; }
}

@media (max-width: 768px) {
  .ct__f-row { grid-template-columns: 1fr; gap: 0; }
  .ct__card--form { padding: var(--space-lg); }
  .ct { padding-top: calc(70px + var(--space-lg)); }
  .ct__card--map { min-height: 240px; }
  .ct__title { font-size: clamp(1.9rem, 5vw, 2.4rem); }
}

@media (max-width: 480px) {
  .ct__title { font-size: 1.8rem; }
  .ct__chips { gap: 0.35rem; }
  .ct__chip span { padding: 0.5rem 0.9rem; font-size: 0.78rem; min-height: 44px; }
  .ct__card { padding: var(--space-md); }
  .ct__card--form { padding: var(--space-md); }
  .ct__submit { width: 100%; justify-content: center; }
  .ct__container { padding: 0 var(--space-sm); }
}


/* ═══════════════════════════════════════════════════════════ */
/* CONTACT V2 — restructured layout                             */
/* Header (centered) → quick contact strip → form card → info  */
/* ═══════════════════════════════════════════════════════════ */
.ct--v2 .ct__header--centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.ct--v2 .ct__lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  margin-top: var(--space-sm);
}

.ct--v2 .ct__lead strong { color: var(--bg-dark); font-weight: 600; }

/* Quick contact strip — 3 cards horizontal */
.ct__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.ct__quick-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}

.ct__quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(42, 61, 58, 0.14);
  border-color: var(--accent);
}

.ct__quick-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ct__quick-card--wa .ct__quick-icon { background: #f0fdf4; color: #25D366; }
.ct__quick-card--phone .ct__quick-icon { background: var(--cta-soft); color: var(--cta); }
.ct__quick-card--email .ct__quick-icon { background: var(--accent-soft); color: var(--accent); }

.ct__quick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.ct__quick-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.15rem;
}

.ct__quick-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct__quick-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cta);
  letter-spacing: 0.04em;
  white-space: nowrap;
  align-self: center;
  flex-shrink: 0;
}

/* Form shell — prominent, centered card */
.ct__form-shell {
  max-width: 860px;
  margin: 0 auto var(--space-2xl);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: var(--space-xl);
  box-shadow:
    0 30px 60px -30px rgba(42, 61, 58, 0.14),
    0 4px 12px -2px rgba(42, 61, 58, 0.04);
}

.ct__form-head {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.ct__form-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.ct__form-sub {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* Form sections (fieldsets) */
.ct__form fieldset.ct__sec {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.ct__sec-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
  padding: 0;
}

.ct__sec-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Form row (2 columns) */
.ct--v2 .ct__f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: 0;
}

.ct--v2 .ct__f-group { margin-bottom: var(--space-md); }

.ct--v2 .ct__f-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}

/* Input wrapper with icon */
.ct__f-input {
  position: relative;
  display: flex;
  align-items: center;
}

.ct__f-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  pointer-events: none;
  transition: color 0.2s ease;
}

.ct--v2 .ct__f-input input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem 0.85rem 2.55rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bg-dark);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct--v2 .ct__f-input input::placeholder {
  color: rgba(42, 61, 58, 0.35);
}

.ct--v2 .ct__f-input input:hover {
  border-color: rgba(100, 169, 158, 0.4);
}

.ct--v2 .ct__f-input input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(100, 169, 158, 0.14);
}

.ct--v2 .ct__f-input input:focus + .ct__f-icon,
.ct--v2 .ct__f-input:focus-within .ct__f-icon {
  color: var(--accent);
}

.ct--v2 .ct__f-input input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.10);
}

/* Textarea */
.ct--v2 .ct__f-group textarea {
  width: 100%;
  min-height: 110px;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--bg-dark);
  background: #ffffff;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct--v2 .ct__f-group textarea::placeholder {
  color: rgba(42, 61, 58, 0.35);
}

.ct--v2 .ct__f-group textarea:hover {
  border-color: rgba(100, 169, 158, 0.4);
}

.ct--v2 .ct__f-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(100, 169, 158, 0.14);
}

.ct__hint {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Chips v2 — bigger, clearer */
.ct__chips-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 0.6rem;
}

.ct__chips--v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ct__chips--v2 .ct__chip {
  margin: 0;
}

.ct__chips--v2 .ct__chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-dark);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.ct__chips--v2 .ct__chip span:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--bg-dark);
}

.ct__chips--v2 .ct__chip input:checked + span {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
}

.ct__chips--v2 .ct__chip input:checked + span::before {
  content: '✓';
  display: inline-flex;
  margin-right: 0.35rem;
  font-weight: 700;
  color: var(--cta);
}

.ct__chips--v2 .ct__chip input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Form footer */
.ct__form-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.ct__submit--v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.85rem;
  background: var(--cta);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 52px;
}

.ct__submit--v2:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.ct__submit--v2:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
}

.ct--v2 .ct__safe {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

.ct--v2 .ct__safe svg { color: var(--accent); flex-shrink: 0; }

/* Info row at bottom — map + address/hours */
.ct__info {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.ct__info-map {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ct__info-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct--v2 .ct__map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bg-dark);
  text-decoration: none;
  z-index: 2;
}

.ct__info-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ct__info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-md) var(--space-lg);
}

.ct__info-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 0.6rem;
}

.ct__info-title svg { color: var(--accent); }

.ct__info-body {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.ct__info-body strong { color: var(--bg-dark); font-weight: 600; }

.ct__info-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ct__info-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ct__info-hours li:last-child { border-bottom: none; }

.ct__info-hours strong { color: var(--bg-dark); font-weight: 600; }
.ct__info-hours-closed { color: #c0392b !important; }

.ct__info-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Responsive — Contact V2 */
@media (max-width: 1080px) {
  /* Collapse quick contact to single column when email card would overflow */
  .ct__quick { grid-template-columns: 1fr; gap: 0.65rem; }
  .ct__info { grid-template-columns: 1fr; }
  .ct__info-map { min-height: 280px; }
  /* Prevent long email from overflowing card */
  .ct__quick-text strong { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .ct__quick-text { min-width: 0; overflow: hidden; }
}

@media (max-width: 768px) {
  .ct__form-shell { padding: var(--space-lg); border-radius: 20px; }
  .ct--v2 .ct__f-row { grid-template-columns: 1fr; gap: 0; }
  .ct__form-footer { flex-direction: column-reverse; align-items: stretch; }
  .ct__submit--v2 { width: 100%; justify-content: center; }
  .ct--v2 .ct__safe { justify-content: center; }
}

@media (max-width: 480px) {
  .ct__form-shell { padding: var(--space-md); }
  .ct__quick-card { padding: 0.75rem 0.9rem; gap: 0.65rem; }
  .ct__quick-text strong { font-size: 0.8rem; }
  .ct__quick-cta { font-size: 0.7rem; }
  .ct__quick-icon { width: 36px; height: 36px; }
  .ct__chips--v2 .ct__chip span { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .ct--v2 .ct__f-input input { font-size: 0.95rem; padding-left: 2.4rem; }
}

@media (max-width: 360px) {
  .ct__quick-card { padding: 0.7rem 0.75rem; gap: 0.55rem; }
  .ct__quick-cta { display: none; }
}


/* ═══════════════════════════════════════════════════════════ */
/* VIKTOR ODDY OVERRIDE — Services only                        */
/* Minimal white-on-dark editorial aesthetic                    */
/* Scope: .svc, .svc__*, .svc__discover, .svc-progress          */
/* ═══════════════════════════════════════════════════════════ */

:root {
  --vo-dark:        #051A24;
  --vo-dark-2:      #0D212C;
  --vo-muted:       #273C46;
  --vo-line:        rgba(5, 26, 36, 0.08);
  --vo-line-strong: rgba(5, 26, 36, 0.15);
  --vo-bg:          #ffffff;
  --vo-bg-soft:     #fafafa;
  --vo-mono:        ui-monospace, SFMono-Regular, Menlo, "SF Mono", Monaco, Consolas, monospace;
  --vo-shadow-primary:
    0 1px 2px 0 rgba(5,26,36,0.10),
    0 4px 4px 0 rgba(5,26,36,0.09),
    0 9px 6px 0 rgba(5,26,36,0.05),
    0 17px 7px 0 rgba(5,26,36,0.01),
    0 26px 7px 0 rgba(5,26,36,0),
    inset 0 2px 8px 0 rgba(255,255,255,0.30);
  --vo-shadow-secondary:
    0 0 0 0.5px rgba(0,0,0,0.05),
    0 4px 30px rgba(0,0,0,0.08);
  --vo-shadow-card:
    0 4px 16px rgba(0,0,0,0.08);
}

@keyframes voFadeInUp {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Section base: white everywhere ─────────────────── */
.svc,
.svc--alt {
  background: var(--vo-bg) !important;
  padding: 6rem 0 !important;
  overflow: visible !important;
}

/* Kill the old left accent bar */
.svc::before {
  content: none !important;
}

/* Divider — thin minimal line */
.svc__divider {
  height: 1px;
  background: var(--vo-line) !important;
  margin-bottom: 3rem !important;
  width: 100% !important;
  opacity: 1 !important;
  animation: none !important;
}

/* ── Layout: slightly tighter, more editorial ───────── */
.svc__layout,
.svc__layout--reverse {
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
}

/* ── Section tag (mono label) ───────────────────────── */
.svc .section-tag,
.svc__text .section-tag {
  font-family: var(--vo-mono);
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--vo-dark) !important;
  margin-bottom: 0.75rem !important;
  opacity: 0.7;
}

/* ── Number (01-04) — mono, small, above title ─────── */
.svc__number {
  font-family: var(--vo-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  color: var(--vo-muted) !important;
  line-height: 1 !important;
  margin-bottom: 1rem !important;
  text-shadow: none !important;
  transform: none !important;
  transition: none !important;
  display: inline-block !important;
}

.svc__number::before {
  content: '— ';
  opacity: 0.6;
}

.svc:hover .svc__number {
  color: var(--vo-muted) !important;
  text-shadow: none !important;
}

/* ── Title — large editorial with serif italic em ───── */
.svc__title {
  font-family: var(--font-body) !important;
  font-size: clamp(2rem, 4.2vw, 2.75rem) !important;
  font-weight: 500 !important;
  color: var(--vo-dark-2) !important;
  line-height: 1.1 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.02em !important;
}

.svc__title em {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  color: var(--vo-dark) !important;
}

/* ── Description ─────────────────────────────────── */
.svc__desc {
  font-size: 0.95rem !important;
  color: var(--vo-dark) !important;
  opacity: 0.75;
  line-height: 1.65 !important;
  margin-bottom: 1.75rem !important;
  max-width: 440px !important;
}

/* ── Pills — minimal outline chips ───────────────── */
.svc__pills {
  gap: 0.5rem !important;
  margin-bottom: 2rem !important;
}

.svc__pill {
  padding: 0.45rem 0.95rem !important;
  background: transparent !important;
  color: var(--vo-dark) !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  border: 1px solid var(--vo-line-strong) !important;
  border-radius: 9999px !important;
  opacity: 0;
  transform: translateY(8px) !important;
  animation: voFadeInUp 0.6s ease-out forwards !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.svc__text.visible .svc__pill:nth-child(1) { animation-delay: 0.15s; }
.svc__text.visible .svc__pill:nth-child(2) { animation-delay: 0.22s; }
.svc__text.visible .svc__pill:nth-child(3) { animation-delay: 0.29s; }
.svc__text.visible .svc__pill:nth-child(4) { animation-delay: 0.36s; }

.svc__pill:hover {
  background: var(--vo-dark) !important;
  color: #fff !important;
  border-color: var(--vo-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Credential badge ────────────────────────────── */
.svc__credential {
  padding: 0.5rem 0.95rem !important;
  background: transparent !important;
  border: 1px solid var(--vo-line-strong) !important;
  color: var(--vo-dark) !important;
  font-size: 0.72rem !important;
  margin-bottom: 1.5rem !important;
}

.svc__credential svg { stroke: var(--vo-dark) !important; }

.svc__credential:hover {
  border-color: var(--vo-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

.service__new-badge {
  background: var(--vo-dark) !important;
  color: #fff !important;
  font-family: var(--vo-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  padding: 0.3rem 0.75rem !important;
}

/* ── Stats — clean minimal ───────────────────────── */
.svc__stats {
  border-top: 1px solid var(--vo-line) !important;
  border-bottom: 1px solid var(--vo-line) !important;
  gap: 2.5rem !important;
  padding: 1.25rem 0 !important;
  margin-bottom: 2rem !important;
}

.svc__stat-number {
  font-family: var(--font-display) !important;
  font-size: 1.75rem !important;
  font-weight: 500 !important;
  font-style: italic !important;
  color: var(--vo-dark) !important;
}

.svc__stat-label {
  font-family: var(--vo-mono) !important;
  font-size: 0.68rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--vo-muted) !important;
}

/* ── Buttons ─────────────────────────────────────── */
.svc__actions {
  gap: 0.75rem !important;
}

.svc__actions .btn--primary,
.svc__discover-cta .btn--primary {
  background: var(--vo-dark) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.85rem 1.75rem !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  box-shadow: var(--vo-shadow-primary) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.svc__actions .btn--primary:hover,
.svc__discover-cta .btn--primary:hover {
  background: var(--vo-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow:
    0 2px 4px 0 rgba(5,26,36,0.12),
    0 6px 10px 0 rgba(5,26,36,0.10),
    0 14px 12px 0 rgba(5,26,36,0.06),
    0 22px 14px 0 rgba(5,26,36,0.02),
    inset 0 2px 8px 0 rgba(255,255,255,0.30) !important;
}

/* Kill shimmer sweep */
.svc__actions .btn--primary::after { display: none !important; }

/* Secondary "Descubrir más" — white pill */
.svc__link,
.svc__discover-btn {
  background: var(--vo-bg) !important;
  color: var(--vo-dark) !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  box-shadow: var(--vo-shadow-secondary) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  text-decoration: none !important;
}

.svc__link:hover,
.svc__discover-btn:hover {
  transform: translateY(-1px) !important;
  background: var(--vo-bg) !important;
  color: var(--vo-dark) !important;
}

.svc__link::after,
.svc__discover-btn::after { display: none !important; }

.svc__discover-icon { transition: transform 0.35s ease !important; }
.svc__discover-btn[aria-expanded="true"] .svc__discover-icon {
  transform: rotate(180deg) scale(1) !important;
}

/* ── Images — rounded-[32px], soft shadow, no curtain ─ */
.svc__img-wrapper {
  border-radius: 32px !important;
  box-shadow: var(--vo-shadow-card) !important;
  clip-path: none !important;
  animation: none !important;
}

.reveal-right .svc__img-wrapper,
.reveal-left .svc__img-wrapper {
  clip-path: none !important;
  animation: none !important;
}

.reveal-right.visible .svc__img-wrapper,
.reveal-left.visible .svc__img-wrapper {
  animation: none !important;
}

.svc__img-wrapper:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.10) !important;
  transform: translateY(-3px) !important;
}

.svc__img {
  aspect-ratio: 4 / 5 !important;
}

.svc__img-wrapper:hover .svc__img { transform: scale(1.03) !important; }

/* Accent image — smaller, subtle, no float animation */
.svc__img-accent {
  border-radius: 20px !important;
  border-width: 4px !important;
  box-shadow: var(--vo-shadow-card) !important;
}

.svc__visual:hover .svc__img-accent {
  animation: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
}

/* ── Discover panel — white card rounded 40px ─────── */
.svc__discover[aria-hidden="false"] .svc__discover-inner {
  padding-top: 3rem !important;
}

.svc__discover-grid {
  background: var(--vo-bg) !important;
  border: 1px solid var(--vo-line) !important;
  border-radius: 40px !important;
  box-shadow: var(--vo-shadow-card) !important;
  padding: clamp(1.75rem, 4vw, 3rem) !important;
  overflow: hidden !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
}

/* Kill gradient border + decorative blob */
.svc__discover-grid::before,
.svc__discover-grid::after {
  display: none !important;
}

/* Kill floating particle dots on content */
.svc__discover-content::before,
.svc__discover-content::after {
  display: none !important;
}

.svc__discover-heading {
  font-family: var(--font-body) !important;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important;
  font-weight: 500 !important;
  color: var(--vo-dark-2) !important;
  letter-spacing: -0.015em !important;
  padding-bottom: 0 !important;
  margin-bottom: 1rem !important;
}

.svc__discover-heading::after { display: none !important; }

.svc__discover-text {
  color: var(--vo-dark) !important;
  opacity: 0.75;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  max-width: 520px !important;
}

/* Features */
.svc__discover-feature {
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  gap: 1rem !important;
}

.svc__discover-feature:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: translateX(4px) !important;
}

.svc__discover-feature-icon {
  width: 44px !important;
  height: 44px !important;
  background: var(--vo-bg-soft) !important;
  border: 1px solid var(--vo-line) !important;
  border-radius: 12px !important;
  color: var(--vo-dark) !important;
  box-shadow: none !important;
}

.svc__discover-feature-icon::after { display: none !important; }

.svc__discover-feature:hover .svc__discover-feature-icon {
  background: var(--vo-dark) !important;
  color: #fff !important;
  border-color: var(--vo-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

.svc__discover-feature:hover .svc__discover-feature-icon svg { stroke: #fff !important; }

.svc__discover-feature strong {
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: var(--vo-dark-2) !important;
  margin-bottom: 0.25rem !important;
}

.svc__discover-feature:hover strong {
  color: var(--vo-dark) !important;
}

.svc__discover-feature p {
  font-size: 0.82rem !important;
  color: var(--vo-dark) !important;
  opacity: 0.7;
  line-height: 1.55 !important;
}

/* Gallery — rounded, clean, no tilt preserve3d needed */
.svc__discover-gallery {
  transform-style: flat !important;
  transform: none !important;
  will-change: auto !important;
}

.svc__discover-gallery::before { display: none !important; }

.svc__discover-img-main {
  border-radius: 24px !important;
  box-shadow: var(--vo-shadow-card) !important;
  clip-path: none !important;
}

.svc__discover[aria-hidden="false"] .svc__discover-img-main {
  clip-path: none !important;
}

.svc__discover-img-main:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.10) !important;
  transform: translateY(-3px) !important;
}

.svc__discover-img-secondary {
  border-radius: 20px !important;
  box-shadow: var(--vo-shadow-card) !important;
}

/* CTA shimmer off in discover */
.svc__discover-cta .btn--primary::after { display: none !important; }

/* ── Progress connector — minimal dark ───────────── */
.svc-progress__track {
  background: var(--vo-line-strong) !important;
}

.svc-progress__fill {
  background: var(--vo-dark) !important;
}

.svc-progress__dot {
  background: var(--vo-bg) !important;
  border-color: var(--vo-line-strong) !important;
}

.svc-progress__dot--active {
  background: var(--vo-dark) !important;
  border-color: var(--vo-dark) !important;
  box-shadow: 0 0 0 4px rgba(5,26,36,0.08) !important;
  transform: scale(1.3) !important;
}

.svc-progress__dot--passed {
  background: var(--vo-dark) !important;
  border-color: var(--vo-dark) !important;
}

/* ── Responsive tweaks ───────────────────────────── */
@media (max-width: 1024px) {
  .svc,
  .svc--alt { padding: 4rem 0 !important; }
  .svc__discover-grid { padding: 2rem !important; }
}

@media (max-width: 768px) {
  .svc,
  .svc--alt { padding: 3rem 0 !important; }
  .svc__title { font-size: 1.8rem !important; }
  .svc__discover-grid { padding: 1.5rem !important; }
}


/* ═══════════════════════════════════════════════════════════ */
/* GALERÍA UNVRS — Clean horizontal slider                     */
/* Dark editorial carousel with dynamic image animations        */
/* ═══════════════════════════════════════════════════════════ */

:root {
  --ug-bg:       #000000;
  --ug-title:    #E6E6E6;
  --ug-fg:       #FFFFFF;
  --ug-dim:      rgba(255,255,255,0.55);
  --ug-line:     rgba(255,255,255,0.20);
  --ug-mono:     ui-monospace, SFMono-Regular, Menlo, "SF Mono", Monaco, Consolas, monospace;
  --ug-sans:     "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ug-ease:     cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ugRise {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ugFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Section ────────────────────────────────────────── */
section.galeria.galeria--unvrs {
  background: #000000 !important;
  color: #ffffff !important;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  position: relative;
}

/* ── Header ─────────────────────────────────────────── */
.galeria__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.galeria__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ug-fg);
  text-transform: none;
  margin: 0.25rem 0 0 0;
  flex: 0 1 auto;
  opacity: 1;
  transform: none;
}

.galeria__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ug-fg);
}

.galeria--unvrs.is-visible .galeria__title {
  animation: ugRise 1s var(--ug-ease) forwards;
}

.galeria__title-sup {
  font-family: var(--ug-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ug-dim);
  vertical-align: super;
  margin-left: 0.35em;
  top: 0;
  position: relative;
}

.galeria__see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ug-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ug-fg);
  text-decoration: none;
  padding-top: 0.4rem;
  white-space: nowrap;
  opacity: 1;
  transition: letter-spacing 0.3s ease;
}

.galeria--unvrs.is-visible .galeria__see-all {
  animation: ugFade 0.7s ease-out 0.25s forwards;
}

.galeria__see-all:hover { letter-spacing: 0.18em; }

.galeria__see-all svg {
  transition: transform 0.3s var(--ug-ease);
}

.galeria__see-all:hover svg { transform: translateX(4px); }

/* ── Controls ──────────────────────────────────────── */
.galeria__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  opacity: 1;
}

.galeria--unvrs.is-visible .galeria__controls {
  animation: ugFade 0.7s ease-out 0.4s forwards;
}

.galeria__progress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 70px;
}

.galeria__percent {
  font-family: var(--ug-mono);
  font-size: 0.78rem;
  color: var(--ug-fg);
  font-variant-numeric: tabular-nums;
}

.galeria__progress-bar {
  height: 1px;
  background: var(--ug-line);
  position: relative;
  overflow: hidden;
}

.galeria__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ug-fg);
  transition: width 0.2s linear;
}

.galeria__arrows {
  display: inline-flex;
  gap: 0.5rem;
}

.galeria__arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ug-line);
  background: transparent;
  color: var(--ug-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.galeria__arrow:hover {
  background: var(--ug-fg);
  border-color: var(--ug-fg);
  color: var(--ug-bg);
}

.galeria__arrow:active { transform: scale(0.94); }

.galeria__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

.galeria__arrow[disabled]:hover {
  background: transparent;
  border-color: var(--ug-line);
  color: var(--ug-fg);
}

/* ── Track ──────────────────────────────────────────── */
.galeria__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 clamp(1.5rem, 3vw, 3rem) 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  outline: none;
  user-select: none;
}

.galeria__track::-webkit-scrollbar { display: none; }

.galeria__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* ── Card ───────────────────────────────────────────── */
.galeria__card {
  flex: 0 0 auto;
  position: relative;
  width: clamp(300px, 32vw, 500px);
  aspect-ratio: 3 / 4.2;
  height: auto;
  max-height: 78vh;
  min-height: 480px;
  scroll-snap-align: center;
  background: #0a0a0a;
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  transform: none;
  transition: transform 0.8s var(--ug-ease);
}

.galeria--unvrs.is-visible .galeria__card {
  animation: ugRise 0.9s var(--ug-ease) forwards;
}

.galeria--unvrs.is-visible .galeria__card:nth-child(1) { animation-delay: 0.2s; }
.galeria--unvrs.is-visible .galeria__card:nth-child(2) { animation-delay: 0.3s; }
.galeria--unvrs.is-visible .galeria__card:nth-child(3) { animation-delay: 0.4s; }
.galeria--unvrs.is-visible .galeria__card:nth-child(4) { animation-delay: 0.5s; }
.galeria--unvrs.is-visible .galeria__card:nth-child(5) { animation-delay: 0.6s; }

/* Card IMAGE — starts zoomed & dimmed, animates to natural on active/hover */
.galeria__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.1);
  filter: brightness(0.78) saturate(0.92);
  transition: transform 1.6s var(--ug-ease), filter 0.9s ease;
  z-index: 1;
  will-change: transform, filter;
}

.galeria__card.is-active .galeria__card-img,
.galeria__card:hover .galeria__card-img {
  transform: scale(1);
  filter: brightness(1) saturate(1);
}

/* Subtle gradient overlay for text readability (bottom 45%) */
.galeria__card-overlay {
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.85) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.galeria__card.is-active .galeria__card-overlay { opacity: 1; }

/* Card BADGE — small dark pill above title */
.galeria__card-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 6.5rem;
  z-index: 3;
  font-family: var(--ug-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ug-fg);
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 0.35rem 0.55rem;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.6s var(--ug-ease), opacity 0.5s ease;
}

.galeria__card.is-active .galeria__card-badge,
.galeria__card:hover .galeria__card-badge {
  transform: translateY(0);
  opacity: 1;
}

/* Card TITLE — huge bold uppercase */
.galeria__card-title {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 3rem;
  z-index: 3;
  font-family: var(--ug-sans);
  font-size: clamp(1.15rem, 1.7vw, 1.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ug-fg);
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.7s var(--ug-ease) 0.05s, opacity 0.5s ease 0.05s;
}

.galeria__card.is-active .galeria__card-title,
.galeria__card:hover .galeria__card-title {
  transform: translateY(0);
  opacity: 1;
}

/* Card FOOTER — two meta in opposite corners */
.galeria__card-footer {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-family: var(--ug-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ug-fg);
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.6s var(--ug-ease) 0.1s, opacity 0.5s ease 0.1s;
}

.galeria__card.is-active .galeria__card-footer,
.galeria__card:hover .galeria__card-footer {
  opacity: 0.95;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .galeria__header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.25rem;
    margin-bottom: 1rem;
  }

  .galeria__title {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }

  .galeria__title-sup {
    top: -3.5em;
    font-size: 0.58rem;
  }

  .galeria__controls {
    padding: 0 1.25rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .galeria__progress { min-width: 60px; }

  .galeria__track { padding: 0 1.25rem 0.5rem; }

  .galeria__card {
    width: 78vw;
    max-width: 420px;
    min-height: 420px;
    max-height: 72vh;
  }

  .galeria__card-badge { bottom: 5.5rem; left: 1rem; }
  .galeria__card-title { bottom: 2.5rem; left: 1rem; right: 1rem; font-size: 1.1rem; }
  .galeria__card-footer { bottom: 1rem; left: 1rem; right: 1rem; font-size: 0.58rem; }
}

@media (max-width: 480px) {
  .galeria__arrow { width: 34px; height: 34px; }
}


/* ═══════════════════════════════════════════════════════════ */
/* SERVICE TEMPLATES — Coherent with site, differentiated       */
/* Each fits ~100vh, same Viktor Oddy baseline                  */
/* Differentiation comes from LAYOUT position + 1 unique detail */
/* ═══════════════════════════════════════════════════════════ */

:root {
  --tpl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tpl-ink:  #0A0A0A;
  --tpl-bg:   #ffffff;
}

@keyframes tplRise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tplFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Common: All 4 templates fit ~100vh, content vertically centered */
.svc--tplA,
.svc--tplB,
.svc--tplC,
.svc--tplD {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(2rem, 4vw, 4rem) 0 !important;
  overflow: hidden !important;
}

.svc--tplA .container,
.svc--tplB .container,
.svc--tplC .container,
.svc--tplD .container {
  width: 100%;
  max-width: 1280px;
}

/* Hide the small secondary accent image — keep only the main image */
.svc--tplA .svc__img-accent,
.svc--tplB .svc__img-accent,
.svc--tplC .svc__img-accent {
  display: none !important;
}

/* The expandable "discover" panel should overflow the 100vh constraint */
.svc--tplA .svc__discover,
.svc--tplB .svc__discover,
.svc--tplC .svc__discover,
.svc--tplD .svc__discover {
  grid-column: 1 / -1;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════ */
/* TEMPLATE A — Implantología: SPLIT with image RIGHT          */
/* (standard baseline layout, text left / image right)         */
/* ═══════════════════════════════════════════════════════════ */
.svc--tplA {
  background: var(--tpl-bg) !important;
}

.svc--tplA .svc__divider { display: none !important; }

.svc--tplA .svc__layout {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  width: 100%;
}

.svc--tplA .svc__text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--tpl-ease), transform 0.9s var(--tpl-ease);
}

.svc--tplA.is-visible .svc__text {
  opacity: 1;
  transform: translateY(0);
}

.svc--tplA .svc__visual {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 1s var(--tpl-ease) 0.15s, transform 1s var(--tpl-ease) 0.15s;
}

.svc--tplA.is-visible .svc__visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.svc--tplA .svc__img-wrapper {
  aspect-ratio: 4 / 5 !important;
  max-height: 75vh;
}

.svc--tplA .svc__img { aspect-ratio: 4 / 5 !important; max-height: 75vh; }

/* ═══════════════════════════════════════════════════════════ */
/* TEMPLATE B — Diseño de Sonrisa: SPLIT with image LEFT       */
/* (reversed, text right / image left — emphasis on credential) */
/* ═══════════════════════════════════════════════════════════ */
.svc--tplB {
  background: var(--tpl-bg) !important;
}

.svc--tplB .svc__divider { display: none !important; }

.svc--tplB .svc__layout,
.svc--tplB .svc__layout--reverse {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  direction: ltr !important;
  width: 100%;
}

.svc--tplB .svc__layout--reverse > * { direction: ltr !important; }

/* Image on left */
.svc--tplB .svc__visual {
  order: 1 !important;
  opacity: 0;
  transform: translateX(-30px) scale(0.97);
  transition: opacity 1s var(--tpl-ease), transform 1s var(--tpl-ease);
}

.svc--tplB.is-visible .svc__visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Text on right */
.svc--tplB .svc__text {
  order: 2 !important;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s var(--tpl-ease) 0.15s, transform 0.9s var(--tpl-ease) 0.15s;
}

.svc--tplB.is-visible .svc__text {
  opacity: 1;
  transform: translateX(0);
}

.svc--tplB .svc__img-wrapper {
  aspect-ratio: 4 / 5 !important;
  max-height: 75vh;
}

.svc--tplB .svc__img { aspect-ratio: 4 / 5 !important; max-height: 75vh; }

/* Credential badge gets prominence in template B */
.svc--tplB .svc__credential {
  position: relative;
  padding-left: 2rem !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--tpl-ink) !important;
}

.svc--tplB .svc__credential::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: var(--tpl-ink);
  transform: translateY(-50%);
}

.svc--tplB .svc__credential:hover::before {
  width: 2rem;
  transition: width 0.35s var(--tpl-ease);
}

/* ═══════════════════════════════════════════════════════════ */
/* TEMPLATE C — Rehabilitación: SPLIT with image right +       */
/* stats row BELOW the pills (different rhythm from A)          */
/* ═══════════════════════════════════════════════════════════ */
.svc--tplC {
  background: var(--tpl-bg) !important;
}

.svc--tplC .svc__divider { display: none !important; }

.svc--tplC .svc__layout {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  width: 100%;
}

.svc--tplC .svc__text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--tpl-ease), transform 0.9s var(--tpl-ease);
}

.svc--tplC.is-visible .svc__text {
  opacity: 1;
  transform: translateY(0);
}

.svc--tplC .svc__visual {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 1s var(--tpl-ease) 0.15s, transform 1s var(--tpl-ease) 0.15s;
}

.svc--tplC.is-visible .svc__visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.svc--tplC .svc__img-wrapper {
  aspect-ratio: 4 / 5 !important;
  max-height: 75vh;
}

.svc--tplC .svc__img { aspect-ratio: 4 / 5 !important; max-height: 75vh; }

/* Template C's stats = horizontal with hairline separators (magazine-style) */
.svc--tplC .svc__stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(10,10,10,0.1) !important;
  border-bottom: 1px solid rgba(10,10,10,0.1) !important;
  padding: 1.25rem 0 !important;
  margin: 1.5rem 0 !important;
}

.svc--tplC .svc__stat {
  padding: 0 1rem;
  border-right: 1px solid rgba(10,10,10,0.1);
}

.svc--tplC .svc__stat:first-child { padding-left: 0; }
.svc--tplC .svc__stat:last-child { padding-right: 0; border-right: none; }

.svc--tplC .svc__stat-number {
  font-family: var(--font-display) !important;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem) !important;
  font-weight: 500 !important;
  font-style: italic !important;
  color: var(--tpl-ink) !important;
  line-height: 1 !important;
}

.svc--tplC .svc__stat-label {
  font-family: var(--vo-mono, ui-monospace, monospace) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════ */
/* TEMPLATE D — Ortodoncia: DARK GALLERY (100vh fit)            */
/* Deliberate dark break, 3-image staggered gallery             */
/* ═══════════════════════════════════════════════════════════ */
.svc--tplD {
  background: var(--tpl-ink) !important;
  color: #F0F0F0 !important;
}

.svc--tplD .svc__divider { display: none !important; }

.svc--tplD .svc__layout,
.svc--tplD .svc__layout--reverse {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  direction: ltr !important;
  width: 100%;
}

.svc--tplD .svc__layout--reverse > * { direction: ltr !important; }

/* Text left, gallery right */
.svc--tplD .svc__text {
  order: 1 !important;
  max-width: 480px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--tpl-ease), transform 0.9s var(--tpl-ease);
}

.svc--tplD.is-visible .svc__text {
  opacity: 1;
  transform: translateY(0);
}

.svc--tplD .svc__number {
  color: rgba(240,240,240,0.4) !important;
}

.svc--tplD .section-tag {
  color: rgba(240,240,240,0.6) !important;
}

.svc--tplD .svc__title {
  color: #F0F0F0 !important;
}

.svc--tplD .svc__title em {
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-style: italic !important;
}

.svc--tplD .svc__desc {
  color: rgba(240,240,240,0.7) !important;
}

.svc--tplD .service__new-badge {
  background: #fff !important;
  color: var(--tpl-ink) !important;
}

.svc--tplD .svc__pill {
  background: transparent !important;
  color: #F0F0F0 !important;
  border-color: rgba(240,240,240,0.22) !important;
}

.svc--tplD .svc__pill:hover {
  background: #fff !important;
  color: var(--tpl-ink) !important;
  border-color: #fff !important;
}

/* Primary button adapts */
.svc--tplD .svc__actions .btn--primary {
  background: #fff !important;
  color: var(--tpl-ink) !important;
  box-shadow:
    0 1px 2px 0 rgba(0,0,0,0.2),
    inset 0 2px 8px 0 rgba(255,255,255,0.5) !important;
}

.svc--tplD .svc__actions .btn--primary:hover {
  background: #fff !important;
  transform: translateY(-1px) !important;
}

.svc--tplD .svc__link,
.svc--tplD .svc__discover-btn {
  background: transparent !important;
  color: #F0F0F0 !important;
  border: 1px solid rgba(240,240,240,0.22) !important;
  box-shadow: none !important;
}

.svc--tplD .svc__link:hover,
.svc--tplD .svc__discover-btn:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(240,240,240,0.5) !important;
}

/* Gallery — 3 tiles right side */
.svc__tplD-gallery {
  order: 2 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 1rem !important;
  max-height: 75vh !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 0 !important;
}

.svc__tplD-tile {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45) !important;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
}

.svc__tplD-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--tpl-ease) !important;
}

.svc__tplD-tile:hover img { transform: scale(1.05); }

/* Asymmetric stagger */
.svc__tplD-tile--1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3; /* tall left column */
  aspect-ratio: auto;
}

.svc__tplD-tile--2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.svc__tplD-tile--3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.svc--tplD.is-visible .svc__tplD-tile--1 {
  animation: tplRise 0.9s var(--tpl-ease) 0.25s forwards;
}

.svc--tplD.is-visible .svc__tplD-tile--2 {
  animation: tplRise 0.9s var(--tpl-ease) 0.4s forwards;
}

.svc--tplD.is-visible .svc__tplD-tile--3 {
  animation: tplRise 0.9s var(--tpl-ease) 0.55s forwards;
}

/* ═══════════════════════════════════════════════════════════ */
/* Responsive — collapse to single column, loosen 100vh         */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .svc--tplA,
  .svc--tplB,
  .svc--tplC,
  .svc--tplD {
    min-height: auto !important;
    padding: clamp(3rem, 6vw, 5rem) 0 !important;
  }

  .svc--tplA .svc__layout,
  .svc--tplB .svc__layout,
  .svc--tplB .svc__layout--reverse,
  .svc--tplC .svc__layout,
  .svc--tplD .svc__layout,
  .svc--tplD .svc__layout--reverse {
    grid-template-columns: 1fr !important;
  }

  .svc--tplB .svc__visual,
  .svc--tplD .svc__text { order: 1 !important; }
  .svc--tplB .svc__text,
  .svc--tplD .svc__tplD-gallery { order: 2 !important; }

  .svc--tplA .svc__img-wrapper,
  .svc--tplB .svc__img-wrapper,
  .svc--tplC .svc__img-wrapper {
    max-height: 55vh;
  }

  .svc__tplD-gallery {
    max-height: none !important;
    grid-template-rows: repeat(2, 220px) !important;
  }
}

@media (max-width: 640px) {
  .svc--tplC .svc__stats {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .svc--tplC .svc__stat {
    padding: 0.75rem 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(10,10,10,0.08);
  }

  .svc--tplC .svc__stat:last-child { border-bottom: none; }

  .svc__tplD-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 180px) !important;
  }

  .svc__tplD-tile--1,
  .svc__tplD-tile--2,
  .svc__tplD-tile--3 {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* ─── Gallery UX additions: eyebrow, subtitle, filters, counter ─── */

.galeria__title-block {
  flex: 1 1 auto;
  max-width: 720px;
}

.galeria__eyebrow {
  font-family: var(--ug-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ug-dim);
  margin: 0 0 0.4rem 0;
  display: inline-block;
  opacity: 1;
}

.galeria--unvrs.is-visible .galeria__eyebrow { animation: ugFade 0.6s ease-out 0.1s forwards; }

.galeria__subtitle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0.9rem 0 0 0;
  max-width: 480px;
  opacity: 1;
}

/* Header CTAs: primary "Agendar" + secondary "Ver todos" */
.galeria__header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.galeria__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ug-bg);
  background: var(--ug-fg);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  opacity: 1;
  transition: transform 0.3s var(--ug-ease), box-shadow 0.3s var(--ug-ease);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.galeria--unvrs.is-visible .galeria__cta {
  animation: ugFade 0.7s ease-out 0.3s forwards;
}

.galeria__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.18);
}

.galeria__cta svg {
  transition: transform 0.3s var(--ug-ease);
}

.galeria__cta:hover svg { transform: translate(2px, -2px); }

.galeria--unvrs.is-visible .galeria__subtitle {
  animation: ugFade 0.8s ease-out 0.5s forwards;
}

/* Filter pills */
.galeria__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1.75rem;
  opacity: 1;
}

.galeria--unvrs.is-visible .galeria__filters {
  animation: ugFade 0.7s ease-out 0.55s forwards;
}

.galeria__filter {
  font-family: var(--ug-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ug-fg);
  background: transparent;
  border: 1px solid var(--ug-line);
  padding: 0.55rem 1rem;
  cursor: pointer;
  border-radius: 9999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.galeria__filter:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
}

.galeria__filter--active {
  background: var(--ug-fg);
  color: var(--ug-bg);
  border-color: var(--ug-fg);
}

.galeria__filter--active:hover {
  background: var(--ug-fg);
  color: var(--ug-bg);
  border-color: var(--ug-fg);
}

/* Case counter "01/05" */
.galeria__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--ug-mono);
  font-size: 0.78rem;
  color: var(--ug-fg);
  font-variant-numeric: tabular-nums;
  margin-right: 0.5rem;
}

.galeria__counter-current {
  font-size: 1.1rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.galeria__counter-sep {
  color: var(--ug-dim);
  padding: 0 0.1rem;
}

.galeria__counter-total {
  color: var(--ug-dim);
  font-size: 0.85rem;
}

/* Card fade-out when not matching the filter */
.galeria__card.is-hidden {
  opacity: 0.15;
  pointer-events: none;
  filter: grayscale(0.8);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

@media (max-width: 768px) {
  .galeria__subtitle { font-size: 0.85rem; }
  .galeria__filters {
    padding: 0 1.25rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .galeria__filters::-webkit-scrollbar { display: none; }
  .galeria__filter {
    flex-shrink: 0;
    font-size: 0.62rem;
    padding: 0.45rem 0.85rem;
  }
  .galeria__counter-current { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SCROLLYTELLING — Pinned image + scrolling steps              */
/* Used inside .svc--tplA (Implantología)                       */
/* ═══════════════════════════════════════════════════════════ */

/* Release tplA from the 100vh + centered constraint when scrolly block exists */
.svc--tplA:has(.svc-scroll) {
  min-height: auto !important;
  display: block !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.svc--tplA:has(.svc-scroll) .container > .svc__layout {
  min-height: 90vh;
  display: grid;
  align-items: center;
}

.svc-scroll {
  max-width: 1280px;
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

/* Intro — small eyebrow + heading */
.svc-scroll__intro {
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.svc-scroll__eyebrow {
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary, #666);
  margin: 0 0 0.9rem;
}

.svc-scroll__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--title, #0A0A0A);
  margin: 0;
}

.svc-scroll__heading em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--cta, #e79440);
  font-weight: 400;
}

/* ── Grid: pinned media left + scrolling steps right ── */
.svc-scroll__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  position: relative;
}

/* Left — sticky stage */
.svc-scroll__media {
  position: sticky;
  top: 12vh;
  height: 76vh;
  align-self: start;
}

.svc-scroll__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.svc-scroll__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.12);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.svc-scroll__img--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Decorative hand-drawn accent outline — removed per design request */
.svc-scroll__accent { display: none !important; }

@keyframes svcScrollDraw {
  to { stroke-dashoffset: 0; }
}

/* Right — scrolling steps */
.svc-scroll__steps {
  display: flex;
  flex-direction: column;
}

.svc-scroll__step {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 clamp(0px, 2vw, 24px);
  position: relative;
  border-left: 2px solid transparent;
  transition: border-color 0.5s ease, padding-left 0.5s ease, opacity 0.5s ease;
  opacity: 0.3;
}

.svc-scroll__step.is-active {
  opacity: 1;
  border-left-color: var(--cta, #e79440);
  padding-left: clamp(12px, 2.2vw, 32px);
}

.svc-scroll__step-num {
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary, #666);
  margin: 0 0 1rem;
  transition: color 0.5s ease;
}

.svc-scroll__step.is-active .svc-scroll__step-num {
  color: var(--cta, #e79440);
}

.svc-scroll__step-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #BDBDBD;
  margin: 0 0 1.25rem;
  transition: color 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(6px);
}

.svc-scroll__step.is-active .svc-scroll__step-title {
  color: #0A0A0A;
  transform: translateY(0);
}

.svc-scroll__step-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--secondary, #666);
  max-width: 480px;
  margin: 0 0 1.25rem;
}

.svc-scroll__step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.svc-scroll__step-list li {
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary, #666);
  padding-left: 1.5rem;
  position: relative;
}

.svc-scroll__step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.75rem;
  height: 1px;
  background: var(--cta, #e79440);
  opacity: 0.5;
  transition: opacity 0.5s ease, width 0.5s ease;
}

.svc-scroll__step.is-active .svc-scroll__step-list li::before {
  opacity: 1;
  width: 1rem;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-scroll__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .svc-scroll__media {
    position: relative;
    top: 0;
    height: 60vh;
    max-height: 500px;
  }

  .svc-scroll__step {
    min-height: auto;
    padding: 3rem 0;
    opacity: 1;
    border-left: none;
    padding-left: 0 !important;
  }

  .svc-scroll__step-title {
    color: #0A0A0A;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .svc-scroll__step-num {
    color: var(--cta, #e79440);
  }

  .svc-scroll__accent { display: none; }
}

@media (max-width: 640px) {
  .svc-scroll { margin-top: 3rem; }
  .svc-scroll__heading { font-size: 1.4rem; }
  .svc-scroll__media { height: 55vh; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SCROLLYTELLING — Unified variant (hero + features in one)   */
/* ═══════════════════════════════════════════════════════════ */

/* Unified block lives inside tplA .container directly */
.svc-scroll--unified {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.svc--tplA:has(.svc-scroll--unified) .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Hero step (step 0) — carries the main title/pills/buttons, feels like intro */
.svc-scroll__step--hero {
  /* Reset accent borders for hero */
  border-left: none !important;
  padding-left: 0 !important;
  /* keep normal active color even when is-active */
}

.svc-scroll__step--hero .svc__number {
  /* Match tplA baseline: small mono tag, not the giant display */
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--secondary, #666) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-bottom: 0 !important;
  display: inline-block !important;
  text-shadow: none !important;
  transform: none !important;
  background: none !important;
  -webkit-text-stroke: 0 !important;
  position: static !important;
  opacity: 0.75;
}

.svc-scroll__step--hero .svc__number::before { content: '— '; }
.svc-scroll__step--hero .section-tag { margin: 0.35rem 0 1rem; }

.svc-scroll__step--hero .svc__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
  color: #0A0A0A !important;
  margin-bottom: 1.25rem !important;
  text-transform: none !important;
  font-weight: 500 !important;
}

.svc-scroll__step--hero .svc__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #0A0A0A;
}

.svc-scroll__step--hero .svc__desc {
  font-size: 1rem !important;
  color: var(--secondary, #555) !important;
  line-height: 1.65 !important;
  margin-bottom: 1.5rem !important;
  max-width: 460px;
  opacity: 1 !important;
}

.svc-scroll__step--hero .svc__pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-bottom: 1.75rem !important;
  flex-direction: row !important;
  border: none !important;
}

.svc-scroll__step--hero .svc__pill {
  padding: 0.45rem 0.95rem !important;
  background: transparent !important;
  color: #0A0A0A !important;
  font-size: 0.72rem !important;
  font-family: var(--font-body) !important;
  border: 1px solid rgba(10,10,10,0.15) !important;
  border-radius: 9999px !important;
  width: auto !important;
  display: inline-flex !important;
  justify-content: center !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.svc-scroll__step--hero .svc__pill::before { content: none !important; }

.svc-scroll__step--hero .svc__pill:hover {
  background: #0A0A0A !important;
  color: #fff !important;
  border-color: #0A0A0A !important;
  transform: none !important;
}

.svc-scroll__step--hero .svc__actions {
  gap: 0.75rem !important;
}

/* Hint "scroll down" arrow under the hero CTAs */
.svc-scroll__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2.25rem 0 0;
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary, #666);
  opacity: 0.7;
  animation: heroHintBounce 2s ease-in-out infinite;
}

.svc-scroll__hint svg {
  flex-shrink: 0;
}

@keyframes heroHintBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* Hero step is always visible — opacity 1 even when not "is-active" */
.svc-scroll__step--hero,
.svc-scroll__step--hero:not(.is-active) {
  opacity: 1;
}

/* When scrolled away from hero (is-active on another step), hero dims subtly */
.svc-scroll:has(.svc-scroll__step:not(.svc-scroll__step--hero).is-active) .svc-scroll__step--hero {
  opacity: 0.35;
}

/* Responsive — hero step in mobile stays visible & readable */
@media (max-width: 1024px) {
  .svc-scroll__step--hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .svc-scroll__step--hero .svc__title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .svc-scroll__hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SERVICE RHYTHM — Distinct backgrounds + scroll animations   */
/* Gives each tpl its own tonal identity + visual transitions   */
/* ═══════════════════════════════════════════════════════════ */

/* Tonal progression using ONLY existing site palette:
   white → bg-soft (soft teal) → bg (light teal) → dark */
.svc--tplA { background: var(--bg-white) !important; }     /* #ffffff */
.svc--tplB { background: var(--bg-soft) !important; }      /* #f4faf9 — soft teal tint */
.svc--tplC { background: var(--bg) !important; }           /* #e0f0ee — light teal brand */
/* .svc--tplD already #0A0A0A from earlier */

/* Text colors use existing site vars — no new colors */
.svc--tplB .svc__title,
.svc--tplC .svc__title { color: var(--title) !important; }

.svc--tplB .svc__title em,
.svc--tplC .svc__title em { color: var(--vo-dark, #051A24) !important; }

.svc--tplB .section-tag,
.svc--tplC .section-tag,
.svc--tplB .svc__desc,
.svc--tplC .svc__desc,
.svc--tplB .svc__number,
.svc--tplC .svc__number { color: var(--secondary) !important; }

.svc--tplB .svc__pill,
.svc--tplC .svc__pill {
  border-color: var(--border-strong) !important;
  color: var(--vo-dark, #051A24) !important;
}

.svc--tplB .svc__pill:hover,
.svc--tplC .svc__pill:hover {
  background: var(--vo-dark, #051A24) !important;
  color: #fff !important;
  border-color: var(--vo-dark, #051A24) !important;
}

/* Divider between sections — subtle curved SVG top edge */
.svc--tplB::before,
.svc--tplC::before,
.svc--tplD::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(60px, 8vw, 120px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,0 C360,80 720,80 1080,40 C1260,20 1380,10 1440,0 L1440,0 L0,0 Z' fill='%23FFFFFF'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 3;
}

/* Each section's top curve mirrors the PREVIOUS section's bg — site palette only */
.svc--tplB::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,0 C360,80 720,80 1080,40 C1260,20 1380,10 1440,0 L1440,0 L0,0 Z' fill='%23FFFFFF'/></svg>");
}
.svc--tplC::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,0 C360,80 720,80 1080,40 C1260,20 1380,10 1440,0 L1440,0 L0,0 Z' fill='%23f4faf9'/></svg>");
}
.svc--tplD::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,0 C360,80 720,80 1080,40 C1260,20 1380,10 1440,0 L1440,0 L0,0 Z' fill='%23e0f0ee'/></svg>");
}

/* Small service index tag floating at top of each section */
.svc--tplA::after,
.svc--tplB::after,
.svc--tplC::after,
.svc--tplD::after {
  content: attr(data-svc-index);
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--vo-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.4;
  z-index: 4;
  pointer-events: none;
}

.svc--tplA::after { color: var(--vo-dark, #051A24); }
.svc--tplB::after { color: var(--vo-dark, #051A24); }
.svc--tplC::after { color: var(--vo-dark, #051A24); }
.svc--tplD::after { color: #F0F0F0; }

/* Scroll-linked parallax on service images */
.svc--tplB .svc__img-wrapper,
.svc--tplC .svc__img-wrapper {
  will-change: transform;
  transform: translate3d(0, var(--svc-parallax, 0px), 0);
  transition: transform 0.05s linear;
}

.svc--tplB .svc__img,
.svc--tplC .svc__img {
  transform: scale(1.08);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc--tplB.is-visible .svc__img,
.svc--tplC.is-visible .svc__img {
  transform: scale(1);
}

/* Word-by-word reveal for titles (JS adds spans) */
.svc-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.svc-word__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc--tplA.is-visible .svc-word__inner,
.svc--tplB.is-visible .svc-word__inner,
.svc--tplC.is-visible .svc-word__inner,
.svc--tplD.is-visible .svc-word__inner {
  transform: translateY(0);
}

.svc--tplA.is-visible .svc-word:nth-child(1) .svc-word__inner,
.svc--tplB.is-visible .svc-word:nth-child(1) .svc-word__inner,
.svc--tplC.is-visible .svc-word:nth-child(1) .svc-word__inner,
.svc--tplD.is-visible .svc-word:nth-child(1) .svc-word__inner { transition-delay: 0.15s; }

.svc--tplA.is-visible .svc-word:nth-child(2) .svc-word__inner,
.svc--tplB.is-visible .svc-word:nth-child(2) .svc-word__inner,
.svc--tplC.is-visible .svc-word:nth-child(2) .svc-word__inner,
.svc--tplD.is-visible .svc-word:nth-child(2) .svc-word__inner { transition-delay: 0.25s; }

.svc--tplA.is-visible .svc-word:nth-child(3) .svc-word__inner,
.svc--tplB.is-visible .svc-word:nth-child(3) .svc-word__inner,
.svc--tplC.is-visible .svc-word:nth-child(3) .svc-word__inner,
.svc--tplD.is-visible .svc-word:nth-child(3) .svc-word__inner { transition-delay: 0.35s; }

.svc--tplA.is-visible .svc-word:nth-child(4) .svc-word__inner,
.svc--tplB.is-visible .svc-word:nth-child(4) .svc-word__inner,
.svc--tplC.is-visible .svc-word:nth-child(4) .svc-word__inner,
.svc--tplD.is-visible .svc-word:nth-child(4) .svc-word__inner { transition-delay: 0.45s; }

/* ═══════════════════════════════════════════════════════════ */
/* CTA FINAL v2 — High-contrast conversion form                */
/* Split layout: content left + white form card right           */
/* ═══════════════════════════════════════════════════════════ */

.cta-final--v2 .cta-final__card {
  padding: 0 !important;
  background: var(--bg-dark, #2a3d3a) !important;
  overflow: hidden;
  border-radius: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.cta-final__split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  min-height: 640px;
}

/* ── LEFT content column ──────────────────────────── */
.cta-final__content {
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #F6FCFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.cta-final__content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top left, rgba(100,169,158,0.15), transparent 60%);
  pointer-events: none;
}

.cta-final__content > * { position: relative; z-index: 1; }

.cta-final__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.cta-final__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--cta, #e79440);
}

.cta-final__trust-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #F6FCFF;
  font-weight: 500;
}

.cta-final--v2 .cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  font-weight: 500;
  color: #fff !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.75rem !important;
}

.cta-final--v2 .cta-final__title em {
  font-style: italic;
  color: var(--accent, #64a99e) !important;
  font-weight: 400;
}

.cta-final--v2 .cta-final__desc {
  font-family: var(--font-body);
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  color: rgba(246, 252, 255, 0.75) !important;
  margin: 0 0 1.5rem !important;
  max-width: 420px;
}

.cta-final__benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cta-final__benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(246, 252, 255, 0.85);
}

.cta-final__benefits li strong {
  color: #fff;
  font-weight: 500;
}

.cta-final__benefits svg {
  flex-shrink: 0;
  color: var(--accent, #64a99e);
  background: rgba(100,169,158,0.18);
  border-radius: 50%;
  padding: 4px;
  width: 22px;
  height: 22px;
}

.cta-final__doctor {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cta-final__doctor-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.1rem;
}

.cta-final__doctor-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(246, 252, 255, 0.55);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── RIGHT form card (light, high-contrast) ──────── */
.cta-final__form-wrap {
  background: #ffffff;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-form--v2 {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0 !important;
}

.cta-form__header {
  margin-bottom: 0.5rem;
}

.cta-form__header-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--title, #0A0A0A);
  margin: 0 0 0.2rem;
}

.cta-form__header-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--secondary, #777);
  margin: 0;
}

.cta-form--v2 .cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.cta-form--v2 .cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0;
  border: none;
  margin: 0;
}

.cta-form--v2 .cta-form__field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--title, #333) !important;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: none;
  opacity: 1 !important;
}

.cta-form--v2 .cta-form__opt {
  color: var(--secondary, #999) !important;
  font-weight: 400;
  font-size: 0.75rem;
}

.cta-form--v2 .cta-form__field input,
.cta-form--v2 .cta-form__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--title, #111) !important;
  background: #F7F9F8 !important;
  border: 1.5px solid rgba(100, 169, 158, 0.18) !important;
  border-radius: 10px !important;
  padding: 0.75rem 0.9rem !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  min-height: auto;
}

.cta-form--v2 .cta-form__field input::placeholder,
.cta-form--v2 .cta-form__field textarea::placeholder {
  color: var(--secondary, #aaa) !important;
  opacity: 0.6;
}

.cta-form--v2 .cta-form__field input:focus,
.cta-form--v2 .cta-form__field textarea:focus {
  background: #fff !important;
  border-color: var(--accent, #64a99e) !important;
  box-shadow: 0 0 0 4px rgba(100, 169, 158, 0.12);
}

.cta-form--v2 .cta-form__field input.error,
.cta-form--v2 .cta-form__field textarea.error {
  border-color: #e74c3c !important;
  background: #fdf4f4 !important;
}

.cta-form--v2 .cta-form__field textarea {
  min-height: 80px;
  resize: vertical;
}

/* Chips — higher contrast */
.cta-form--v2 .cta-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.cta-form--v2 .cta-form__chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid rgba(100, 169, 158, 0.22) !important;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--title, #333) !important;
  background: #F7F9F8;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
}

.cta-form--v2 .cta-form__chip span:hover {
  border-color: var(--accent, #64a99e) !important;
  background: rgba(100, 169, 158, 0.08);
  color: var(--accent, #64a99e) !important;
}

.cta-form--v2 .cta-form__chip input:checked + span {
  background: var(--accent, #64a99e) !important;
  color: #fff !important;
  border-color: var(--accent, #64a99e) !important;
  box-shadow: 0 4px 12px rgba(100, 169, 158, 0.3);
}

/* Submit — prominent full-width CTA */
.cta-form--v2 .cta-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1.5rem !important;
  background: var(--cta, #e79440) !important;
  color: #fff !important;
  border: none;
  border-radius: 9999px !important;
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 6px 18px rgba(231, 148, 64, 0.35);
  margin-top: 0.25rem;
}

.cta-form--v2 .cta-form__submit:hover {
  background: var(--cta-hover, #d4832f) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(231, 148, 64, 0.45);
}

.cta-form--v2 .cta-form__submit svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-form--v2 .cta-form__submit:hover svg {
  transform: translateX(4px);
}

.cta-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--secondary, #888);
  text-align: center;
}

.cta-form__privacy svg {
  flex-shrink: 0;
  color: var(--accent, #64a99e);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .cta-final__split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cta-final__content {
    padding: 2.5rem 1.75rem 1.5rem;
  }

  .cta-final__doctor {
    padding-top: 1.25rem;
  }

  .cta-final__form-wrap {
    padding: 2rem 1.5rem 2.5rem;
  }

  .cta-form--v2 .cta-form__row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

@media (max-width: 480px) {
  .cta-final--v2 .cta-final__title { font-size: 1.8rem !important; }
  .cta-form--v2 .cta-form__chips { gap: 0.35rem; }
  .cta-form--v2 .cta-form__chip span { padding: 0.45rem 0.75rem; font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SONRISA SHOWCASE — Lagom-style carousel inside tplB         */
/* 3 sub-treatments with floating badge + progress bar         */
/* ═══════════════════════════════════════════════════════════ */

.sonrisa-showcase {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
  position: relative;
}

/* Data slides are invisible config holders */
.sonrisa-showcase__slide { display: none; }

.sonrisa-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: 460px;
}

/* ── LEFT content ──────────────────────────────── */
.sonrisa-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
}

.sonrisa-showcase__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-body);
  color: var(--title, #3a3a3a);
  margin: 0;
  font-size: 1rem;
}

.sonrisa-showcase__price-kicker {
  font-size: 0.85rem;
  color: var(--secondary, #888);
}

.sonrisa-showcase__price strong {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 500;
  color: var(--vo-dark, #051A24);
  letter-spacing: -0.01em;
  line-height: 1;
}

.sonrisa-showcase__price > span:last-child {
  font-size: 0.8rem;
  color: var(--secondary, #888);
  font-family: var(--vo-mono, ui-monospace, monospace);
  letter-spacing: 0.05em;
}

.sonrisa-showcase__meta {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--secondary, #666);
  margin: 0;
}

.sonrisa-showcase__meta strong {
  color: var(--title, #2a3a3a);
  font-weight: 500;
}

.sonrisa-showcase__offer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cta, #e79440);
  background: rgba(231, 148, 64, 0.08);
  border-radius: 9999px;
  width: fit-content;
  margin: 0 0 0.5rem;
}

.sonrisa-showcase__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  font-family: var(--vo-mono, ui-monospace, monospace);
  color: var(--secondary, #999);
  margin: 1.5rem 0 0.5rem;
  font-variant-numeric: tabular-nums;
}

.sonrisa-showcase__counter-current {
  font-size: 1rem;
  font-weight: 500;
  color: var(--title, #333);
  letter-spacing: 0.05em;
}

.sonrisa-showcase__counter-sep {
  padding: 0 0.15rem;
  color: var(--secondary, #bbb);
}

.sonrisa-showcase__counter-total {
  font-size: 0.8rem;
  color: var(--secondary, #bbb);
}

.sonrisa-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--vo-dark, #051A24);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.sonrisa-showcase__subtitle {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--secondary, #666);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 420px;
}

.sonrisa-showcase__location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--vo-dark, #051A24);
  margin: 0 0 1.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong, rgba(100,169,158,0.25));
  border-radius: 9999px;
  width: fit-content;
}

.sonrisa-showcase__location svg {
  color: var(--cta, #e79440);
  flex-shrink: 0;
}

/* Corner-bracket buttons (Lagom signature, clean minimal) */
.sonrisa-showcase__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.btn-corner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s ease,
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  min-width: 190px;
  white-space: nowrap;
  overflow: visible;
}

.btn-corner--primary {
  background: var(--cta, #e79440);
  color: #fff;
  box-shadow: 0 8px 22px rgba(231, 148, 64, 0.28);
}

.btn-corner--primary:hover {
  background: var(--cta-hover, #d4832f);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(231, 148, 64, 0.38);
}

.btn-corner--ghost {
  background: transparent;
  color: var(--vo-dark, #051A24);
  border: 1.5px solid rgba(10, 10, 10, 0.16);
}

.btn-corner--ghost:hover {
  border-color: var(--vo-dark, #051A24);
  background: var(--vo-dark, #051A24);
  color: #fff;
  transform: translateY(-2px);
}

/* L-bracket decoration — 2 lines in top-right corner, OUTSIDE button */
.btn-corner__corner {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--cta, #e79440);
  border-right: 1.5px solid var(--cta, #e79440);
  background: transparent !important;
  transition: top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              right 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
  pointer-events: none;
}

.btn-corner__corner svg,
.btn-corner__corner::before,
.btn-corner__corner::after { display: none !important; }

.btn-corner--ghost .btn-corner__corner {
  border-color: rgba(10, 10, 10, 0.3);
}

.btn-corner:hover .btn-corner__corner {
  top: -10px;
  right: -10px;
  width: 16px;
  height: 16px;
  border-color: var(--cta, #e79440);
}

/* ── RIGHT visual: image + floating badge + bars ─── */
.sonrisa-showcase__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 560px;
}

.sonrisa-showcase__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.15);
  background: #f4faf9;
}

.sonrisa-showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.55s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Floating badge — top-right corner */
.sonrisa-showcase__badge {
  position: absolute;
  top: -18px;
  right: clamp(1rem, 2vw, 2rem);
  width: clamp(130px, 14vw, 165px);
  padding: 1.25rem 1rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(10, 10, 10, 0.12), 0 1px 0 rgba(10,10,10,0.03) inset;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.sonrisa-showcase__badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.18);
}

.sonrisa-showcase__badge-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 500;
  color: var(--vo-dark, #051A24);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.sonrisa-showcase__badge-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--secondary, #888);
  line-height: 1.35;
  max-width: 110px;
}

/* Segmented progress bar at bottom of image */
.sonrisa-showcase__bars {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  z-index: 3;
}

.sonrisa-showcase__bar {
  all: unset;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.sonrisa-showcase__bar:hover {
  background: rgba(255, 255, 255, 0.55);
}

.sonrisa-showcase__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--cta, #e79440);
  border-radius: 2px;
  transition: none;
}

.sonrisa-showcase__bar.is-active::before {
  width: 100%;
  animation: sonrisaBarFill 6s linear forwards;
}

.sonrisa-showcase__bars.is-paused .sonrisa-showcase__bar.is-active::before {
  animation-play-state: paused;
}

@keyframes sonrisaBarFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .sonrisa-showcase__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sonrisa-showcase__visual {
    order: -1;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .sonrisa-showcase__badge {
    top: -14px;
    right: 1rem;
    width: 130px;
    padding: 1rem 0.85rem;
  }

  .sonrisa-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-corner {
    min-width: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .sonrisa-showcase { padding: 1.25rem; }
  .sonrisa-showcase__title { font-size: 1.55rem !important; }
  .sonrisa-showcase__badge { width: 115px; padding: 0.85rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SONRISA SHOWCASE — Entrance animations, Ken Burns, parallax */
/* ═══════════════════════════════════════════════════════════ */

/* Content block starts hidden, reveals on scroll-in with stagger */
.sonrisa-showcase__content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(1) { transition-delay: 0.10s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(2) { transition-delay: 0.16s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(3) { transition-delay: 0.22s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(4) { transition-delay: 0.28s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(5) { transition-delay: 0.38s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(6) { transition-delay: 0.46s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(7) { transition-delay: 0.54s; opacity: 1; transform: none; }
.sonrisa-showcase.is-in-view .sonrisa-showcase__content > *:nth-child(8) { transition-delay: 0.62s; opacity: 1; transform: none; }

/* ── Directional slide transitions between slides ──── */

@keyframes ssSlideOutLeft {
  0%   { opacity: 1; transform: translateX(0); filter: blur(0); }
  100% { opacity: 0; transform: translateX(-32px); filter: blur(2px); }
}

@keyframes ssSlideInRight {
  0%   { opacity: 0; transform: translateX(32px); filter: blur(2px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

/* Slide-out: content moves left, fades, gets blur */
.sonrisa-showcase__content.ss-out > * {
  animation: ssSlideOutLeft 0.38s cubic-bezier(0.55, 0, 0.85, 0.05) forwards !important;
}

/* Slide-in: each child enters from right with stagger */
.sonrisa-showcase__content.ss-in > *:nth-child(1) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.02s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(2) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.06s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(3) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.10s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(4) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.14s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(5) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.18s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(6) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.22s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(7) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.26s forwards !important; }
.sonrisa-showcase__content.ss-in > *:nth-child(8) { animation: ssSlideInRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.30s forwards !important; }

/* Image frame entrance */
.sonrisa-showcase__frame {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
              transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  will-change: transform;
}

.sonrisa-showcase.is-in-view .sonrisa-showcase__frame {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll-linked parallax — inner wrapper around the img */
.sonrisa-showcase__img-scroll {
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--ss-parallax, 0px), 0);
  will-change: transform;
  transition: transform 0.12s linear;
}

/* Ken Burns zoom on the active image */
@keyframes sonrisaKenBurns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}

.sonrisa-showcase__frame img {
  animation: sonrisaKenBurns 7s ease-out forwards;
  transform-origin: center center;
}

/* Image slide transitions: out left + new in right (with scale) */
@keyframes ssImgOutLeft {
  0%   { opacity: 1; transform: scale(1.05) translateX(0); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.10) translateX(-7%); filter: blur(4px); }
}

@keyframes ssImgInRight {
  0%   { opacity: 0; transform: scale(1.06) translateX(7%); filter: blur(4px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1.02) translateX(0); filter: blur(0); }
}

.sonrisa-showcase__frame.ss-out img {
  animation: ssImgOutLeft 0.42s cubic-bezier(0.55, 0, 0.85, 0.05) forwards !important;
}

.sonrisa-showcase__frame.ss-in img {
  animation: ssImgInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* Badge entrance */
.sonrisa-showcase__badge {
  opacity: 0;
  transform: translateY(-28px) scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
              box-shadow 0.4s ease;
}

.sonrisa-showcase.is-in-view .sonrisa-showcase__badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Badge number micro-animation on slide change */
.sonrisa-showcase__badge.is-pulsing {
  animation: sonrisaBadgePulse 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sonrisaBadgePulse {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-4px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}

/* Bars entrance */
.sonrisa-showcase__bars {
  opacity: 0;
  transition: opacity 0.6s ease 0.7s;
}

.sonrisa-showcase.is-in-view .sonrisa-showcase__bars {
  opacity: 1;
}

/* ── Long-form description paragraph ──────────────── */
.sonrisa-showcase__description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--secondary, #555);
  margin: 0.25rem 0 1.25rem;
  max-width: 540px;
}

.sonrisa-showcase__description strong {
  color: var(--vo-dark, #051A24);
  font-weight: 600;
}

@media (max-width: 480px) {
  .sonrisa-showcase__description { font-size: 0.9rem; }
}

/* ── Rotating image banner (auto-crossfade) ────────── */
.sonrisa-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sonrisa-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 4s ease-out;
  will-change: opacity, transform;
  /* Override Ken Burns from generic .sonrisa-showcase__frame img rule */
  animation: none !important;
}

.sonrisa-banner__img.is-active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 1;
}

/* Vertical before/after images: letterbox instead of center-crop */
.sonrisa-banner__img--tall {
  object-fit: contain;
  transform: scale(1);
}
.sonrisa-banner__img--tall.is-active { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .sonrisa-banner__img {
    transition: opacity 0.4s ease;
    transform: none;
  }
  .sonrisa-banner__img.is-active { transform: none; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SCROLLYTELLING — Dark variant for Ortodoncia (tplD)         */
/* ═══════════════════════════════════════════════════════════ */

/* Release tplD from 100vh + center when it has scrolly */
.svc--tplD:has(.svc-scroll) {
  min-height: auto !important;
  display: block !important;
  align-items: stretch !important;
  overflow: visible !important;
  padding: clamp(3rem, 6vw, 6rem) 0 !important;
}

.svc--tplD:has(.svc-scroll) .container > .svc-scroll--unified {
  padding-top: 0;
}

/* Hide leftover gallery if any (defensive — when both scrolly + gallery exist) */
.svc--tplD:has(.svc-scroll) .svc__tplD-gallery {
  display: none !important;
}

/* ── Scrolly steps + accent on dark bg ─────────────── */
.svc-scroll--dark .svc-scroll__step {
  border-left-color: transparent;
}

.svc-scroll--dark .svc-scroll__step-num {
  color: rgba(255, 255, 255, 0.45);
}

.svc-scroll--dark .svc-scroll__step.is-active .svc-scroll__step-num {
  color: var(--cta, #e79440);
}

/* Inactive title: muted white. Active: pure white */
.svc-scroll--dark .svc-scroll__step-title {
  color: rgba(255, 255, 255, 0.25);
}

.svc-scroll--dark .svc-scroll__step.is-active .svc-scroll__step-title {
  color: #ffffff;
}

.svc-scroll--dark .svc-scroll__step-text {
  color: rgba(255, 255, 255, 0.65);
}

.svc-scroll--dark .svc-scroll__step-list li {
  color: rgba(255, 255, 255, 0.55);
}

.svc-scroll--dark .svc-scroll__step-list li::before {
  background: var(--cta, #e79440);
}

/* Image frame on dark — soft glow shadow */
.svc-scroll--dark .svc-scroll__img {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* SVG accent outline — slightly brighter on dark */
.svc-scroll--dark .svc-scroll__accent {
  color: var(--cta, #e79440);
  opacity: 0.5;
}

/* ── Hero step on dark ─────────────────────────────── */
.svc-scroll--dark .svc-scroll__step--hero .svc__number {
  color: rgba(255, 255, 255, 0.45) !important;
}

.svc-scroll--dark .svc-scroll__step--hero .section-tag {
  color: rgba(255, 255, 255, 0.55) !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__title {
  color: #ffffff !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__title em {
  color: #ffffff !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

.svc-scroll--dark .svc-scroll__step--hero .service__new-badge {
  background: #ffffff !important;
  color: #0A0A0A !important;
  margin-bottom: 0.75rem !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__pill {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__pill:hover {
  background: #ffffff !important;
  color: #0A0A0A !important;
  border-color: #ffffff !important;
}

/* Primary button inverted (white on dark) */
.svc-scroll--dark .svc-scroll__step--hero .btn--primary {
  background: #ffffff !important;
  color: #0A0A0A !important;
  box-shadow:
    0 1px 2px 0 rgba(0,0,0,0.25),
    inset 0 2px 8px 0 rgba(255,255,255,0.5) !important;
}

.svc-scroll--dark .svc-scroll__step--hero .btn--primary:hover {
  background: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Discover-más button: ghost outline white */
.svc-scroll--dark .svc-scroll__step--hero .svc__link,
.svc-scroll--dark .svc-scroll__step--hero .svc__discover-btn {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

.svc-scroll--dark .svc-scroll__step--hero .svc__link:hover,
.svc-scroll--dark .svc-scroll__step--hero .svc__discover-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.svc-scroll--dark .svc-scroll__hint {
  color: rgba(255, 255, 255, 0.55);
}

/* ═══════════════════════════════════════════════════════════ */
/* Scrolly hero gallery — for Ortodoncia step 0                */
/* 3-tile asymmetric grid, fades when user scrolls past step 0 */
/* ═══════════════════════════════════════════════════════════ */

.svc-scroll__hero-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
  z-index: 2;
}

.svc-scroll__hero-gallery--active {
  opacity: 1;
  transform: scale(1);
}

.svc-scroll__hero-tile {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  position: relative;
  background: #1a1a1a;
}

.svc-scroll__hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-scroll__hero-tile:hover img { transform: scale(1.05); }

/* Asymmetric grid: tile 1 spans full left column, 2/3 stack on right */
.svc-scroll__hero-tile--1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.svc-scroll__hero-tile--2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.svc-scroll__hero-tile--3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* Stagger entrance when active for first time */
.svc-scroll__hero-gallery--active .svc-scroll__hero-tile {
  animation: tplRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}

.svc-scroll__hero-gallery--active .svc-scroll__hero-tile--1 { animation-delay: 0.1s; }
.svc-scroll__hero-gallery--active .svc-scroll__hero-tile--2 { animation-delay: 0.25s; }
.svc-scroll__hero-gallery--active .svc-scroll__hero-tile--3 { animation-delay: 0.4s; }

/* Single big banner variant — overrides the 2x2 grid with one full tile */
.svc-scroll__hero-gallery--single {
  display: block !important;
  inset: 0;
  width: 100%;
  height: 100%;
}

.svc-scroll__hero-tile--full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.svc-scroll__hero-tile--full img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.svc-scroll__hero-gallery--active .svc-scroll__hero-tile--full {
  animation-delay: 0.1s;
}

/* Give the orthodontia stage extra height so the banner reads big — desktop only.
   On smaller screens the existing .svc-scroll__media responsive rules (60vh/55vh)
   apply, since the stage stacks above the text. */
@media (min-width: 1025px) {
  .svc--tplD .svc-scroll__media {
    height: 88vh;
    max-height: 900px;
  }
}

/* Bold lead-ins inside scrollytelling step lists (e.g. "Escaneo 3D:") */
.svc-scroll__step-list li strong {
  color: #0A0A0A;
  font-weight: 600;
  letter-spacing: 0;
}

.svc-scroll--dark .svc-scroll__step-list li strong {
  color: #ffffff;
}

/* Prose variant: longer bullet items with bold lead-ins read as sentences,
   not all-caps monospace. Apply when items are full sentences. */
.svc-scroll__step-list--prose {
  gap: 0.85rem;
}

.svc-scroll__step-list--prose li {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  padding-left: 1.4rem;
}

.svc-scroll__step-list--prose li::before {
  top: 0.65em;
  width: 0.65rem;
  height: 2px;
  border-radius: 2px;
}

.svc-scroll--dark .svc-scroll__step-list--prose li {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
  .svc-scroll__step-list--prose li { font-size: 0.9rem; line-height: 1.55; }
}

/* Small informational disclaimer under a step */
.svc-scroll__step-disclaimer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .svc-scroll__hero-gallery {
    gap: 0.5rem;
  }
  .svc-scroll__hero-tile { border-radius: 16px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* Ortodoncia — invertir orden: texto LEFT, gallery RIGHT      */
/* ═══════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  .svc--tplD .svc-scroll__steps { order: 1; }
  .svc--tplD .svc-scroll__media { order: 2; }
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE UX POLISH (final layer — overrides above)        */
/* Consolidated mobile/tablet improvements                     */
/* ═══════════════════════════════════════════════════════════ */

/* ── Sonrisa banner: better proportions across breakpoints ── */
@media (max-width: 900px) {
  .sonrisa-showcase__visual {
    aspect-ratio: 4 / 3;
    max-height: 460px;
  }
}

@media (max-width: 600px) {
  .sonrisa-showcase__visual {
    aspect-ratio: 5 / 4;
    max-height: 360px;
  }
  /* Floating badge sits cleaner inside the frame on small screens
     so it doesn't clip when the visual is order: -1 (above content) */
  .sonrisa-showcase__badge {
    top: auto !important;
    bottom: 0.85rem;
    right: 0.85rem;
    width: clamp(110px, 32vw, 138px);
    padding: 0.7rem 0.85rem;
  }
  .sonrisa-showcase__badge-num { font-size: 1.4rem; }
  .sonrisa-showcase__badge-label { font-size: 0.65rem; max-width: none; }
}

/* ── Sonrisa-banner image: limit Ken-Burns scale on small screens
   to prevent overflow + reduce motion cost ───────────────── */
@media (max-width: 600px) {
  .sonrisa-banner__img {
    transform: scale(1.02);
    transition: opacity 0.55s ease;
  }
  .sonrisa-banner__img.is-active { transform: scale(1); }
  .sonrisa-banner__img--tall,
  .sonrisa-banner__img--tall.is-active { transform: scale(1); }
}

/* ── Showcase description: tighter rhythm on mobile ──────── */
@media (max-width: 600px) {
  .sonrisa-showcase__description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0.25rem 0 1rem;
  }
  .sonrisa-showcase__subtitle { font-size: 0.92rem; margin-bottom: 0.85rem; }
  .sonrisa-showcase__location { font-size: 0.78rem; padding: 0.45rem 0.75rem; }
}

/* ── Showcase action buttons: full-width on mobile, comfy taps ── */
@media (max-width: 600px) {
  .sonrisa-showcase__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .sonrisa-showcase__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* ── Service section number: don't dwarf small viewports ── */
@media (max-width: 480px) {
  .svc__number { font-size: 2.75rem; }
  .svc__title { font-size: 1.55rem !important; line-height: 1.1; }
}

/* ── Scrollytelling step text: a touch more breathable on mobile ── */
@media (max-width: 768px) {
  .svc-scroll__step-text { font-size: 0.95rem; line-height: 1.65; }
  .svc-scroll__step-num { font-size: 0.7rem; }
}

/* ── Pinned media on mobile: make sure it never grows past viewport ── */
@media (max-width: 1024px) {
  .svc-scroll__media {
    height: clamp(260px, 56vh, 480px);
  }
}

/* ── Hero gallery (single banner) on mobile: prevent black gap above ── */
@media (max-width: 1024px) {
  .svc-scroll__hero-tile--full {
    border-radius: 22px;
  }
}

/* ── Touch target safety net: tap-friendly buttons & links sitewide ── */
@media (max-width: 768px) {
  .btn, .btn-corner, .nav__link, .ct__chip span {
    min-height: 44px;
  }
  /* Tap-highlight cleanup on iOS */
  a, button { -webkit-tap-highlight-color: rgba(231, 148, 64, 0.15); }
}

/* ── Disable parallax on mobile (perf + jitter on iOS) ─────── */
@media (max-width: 900px) {
  .sonrisa-showcase__img-scroll {
    transform: none !important;
    transition: none !important;
  }
}

/* ── Dark scrollytelling: keep prose lists legible ─────────── */
.svc-scroll--dark .svc-scroll__step-list--prose li::before {
  background: var(--cta, #e79440);
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════ */
/* CLINIC ADDRESS — used in CTA, footer, contact card          */
/* ═══════════════════════════════════════════════════════════ */

/* <address> resets — kill the browser's default italic */
.cta-final__address,
.footer__location,
.ct__card--address address {
  font-style: normal;
}

/* CTA section address line under doctor info */
.cta-final__address {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.cta-final__address svg {
  color: var(--cta, #e79440);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cta-final__address strong {
  color: #ffffff;
  font-weight: 600;
}

/* Footer multi-line address keeps tight rhythm */
.footer__location {
  font-style: normal;
  line-height: 1.55;
}

.footer__location strong { font-weight: 600; }

/* Contact page — Address card matches the bento card system */
.ct__card--address address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--secondary, #555);
  margin: 0.35rem 0 0.65rem;
}

.ct__card--address address strong {
  color: var(--title, #0A0A0A);
  font-weight: 600;
}

@media (max-width: 600px) {
  .cta-final__address { font-size: 0.8rem; }
  .ct__card--address address { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/* FOOTER v2 — Bento with brand, contact, hours, map           */
/* Eye-catching orange (--cta) accent on deep teal --bg-dark   */
/* ═══════════════════════════════════════════════════════════ */
.footer--v2 {
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(231, 148, 64, 0.10), transparent 60%),
    radial-gradient(700px 320px at 0% 100%, rgba(100, 169, 158, 0.10), transparent 60%),
    var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 6vw, 5rem) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

/* Top accent rule — orange shimmer */
.footer--v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent, #64a99e) 20%,
    var(--cta, #e79440) 50%,
    var(--accent, #64a99e) 80%,
    transparent 100%);
  opacity: 0.65;
}

/* ── Grid: brand | contact | hours | map (2 cols on tablet, 1 on mobile) ── */
.footer--v2 .footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .footer--v2 .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer--v2 .footer__map { grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 600px) {
  .footer--v2 .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Brand block ───────────────────────────────────────── */
.footer--v2 .footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer--v2 .footer__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Riu brand block in footer (logo + "by Dr. Sergio Ríos") */
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin: 0 0 0.5rem;
}

/* Logo sits inside a soft white chip so its native brand colors render true */
.footer__brand-logo img {
  height: 96px;
  width: 96px;
  display: block;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.footer__brand-logo:hover img {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.footer__brand-by {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-display);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer__brand-by span:first-child {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta, #e79440);
  margin-bottom: 0.15rem;
}

.footer__brand-by strong {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.005em;
}

.footer--v2 .footer__tagline {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta, #e79440);
  margin: 0;
}

.footer--v2 .footer__location {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.35rem 0 0.5rem;
}

.footer--v2 .footer__location strong {
  color: #ffffff;
  font-weight: 600;
}

.footer--v2 .footer__addr-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cta, #e79440);
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 0.1rem;
  box-shadow: 0 6px 16px rgba(231, 148, 64, 0.35);
}

/* ── Social row ────────────────────────────────────────── */
.footer--v2 .footer__social {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.footer--v2 .footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer--v2 .footer__social a:hover {
  background: var(--cta, #e79440);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--cta, #e79440);
}

/* ── Column headings ───────────────────────────────────── */
.footer--v2 .footer__col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem;
  position: relative;
  padding-bottom: 0.55rem;
}

.footer--v2 .footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--cta, #e79440);
  border-radius: 2px;
}

/* ── Contact list ──────────────────────────────────────── */
.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease, transform 0.25s ease;
  padding: 0.25rem 0;
}

.footer__contact-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(231, 148, 64, 0.14);
  color: var(--cta, #e79440);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.footer__contact-list a:hover .footer__ico {
  background: var(--cta, #e79440);
  color: #ffffff;
}

.footer__contact-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.footer__contact-kicker {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.footer__contact-text strong {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  word-break: break-word;
}

/* ── Hours list ────────────────────────────────────────── */
.footer__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer__hours li:last-child { border-bottom: none; }

.footer__hours li span {
  color: rgba(255, 255, 255, 0.6);
}

.footer__hours li strong {
  color: #ffffff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.footer__hours-closed {
  color: var(--cta, #e79440) !important;
  font-style: italic;
}

.footer__hours-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.85rem 0 0;
  font-style: italic;
}

/* ── Map card ──────────────────────────────────────────── */
.footer__map {
  position: relative;
  display: block;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  isolation: isolate;
}

.footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  filter: saturate(0.9);
  transition: filter 0.4s ease;
}

.footer__map:hover iframe { filter: saturate(1.05); }

.footer__map-cta {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--cta, #e79440);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 8px 22px rgba(231, 148, 64, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  z-index: 2;
}

.footer__map-cta:hover {
  background: var(--cta-hover, #d4832f);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(231, 148, 64, 0.55);
}

/* ── Bottom strip ──────────────────────────────────────── */
.footer--v2 .footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer__bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
}

.footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.footer__bottom-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cta, #e79440);
  transition: width 0.3s ease;
}

.footer__bottom-links a:hover {
  color: #ffffff;
}

.footer__bottom-links a:hover::after { width: 100%; }

.footer__copyright {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .footer--v2 { padding-top: 2.5rem; }
  .footer--v2 .footer__name { font-size: 1.35rem; }
  .footer__contact-text strong { font-size: 0.85rem; }
  .footer__map { min-height: 200px; }
  .footer__map iframe { min-height: 200px; }
  .footer__bottom-links { gap: 0.4rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/* CTA FINAL — high-contrast polish (form vs section bg)       */
/* ═══════════════════════════════════════════════════════════ */

/* Section bg: gradient from deeper mint to soft white so the card pops.
   Plus a subtle decorative dot grid for texture. */
.cta-final--v2 {
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(231, 148, 64, 0.08), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(100, 169, 158, 0.18), transparent 60%),
    linear-gradient(180deg, #d3e8e4 0%, #eaf3f1 60%, var(--bg, #e0f0ee) 100%);
  position: relative;
  overflow: hidden;
}

.cta-final--v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(42, 61, 58, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

/* Card lift — much stronger shadow so it floats off the section bg */
.cta-final--v2 .cta-final__card {
  box-shadow:
    0 40px 90px -20px rgba(10, 30, 35, 0.45),
    0 16px 40px -12px rgba(10, 30, 35, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  z-index: 1;
}

/* Decorative orange-glow ribbon on the card (top edge) */
.cta-final--v2 .cta-final__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cta, #e79440) 50%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 3;
}

/* Form-wrap: warm off-white + clear separator from the dark half */
.cta-final--v2 .cta-final__form-wrap {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
  position: relative;
  border-left: 1px solid rgba(100, 169, 158, 0.18);
}

@media (max-width: 900px) {
  .cta-final--v2 .cta-final__form-wrap {
    border-left: none;
    border-top: 1px solid rgba(100, 169, 158, 0.18);
  }
}

/* Form header: stronger title weight, accent kicker bar */
.cta-final--v2 .cta-form__header {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 169, 158, 0.14);
}

.cta-final--v2 .cta-form__header::before {
  content: 'Reserve su consulta';
  display: block;
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta, #e79440);
  margin-bottom: 0.45rem;
}

.cta-final--v2 .cta-form__header-title {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Inputs: stronger separation from the white card bg */
.cta-final--v2 .cta-form--v2 .cta-form__field input,
.cta-final--v2 .cta-form--v2 .cta-form__field textarea {
  background: #eef4f2 !important;
  border: 1.5px solid rgba(100, 169, 158, 0.30) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.cta-final--v2 .cta-form--v2 .cta-form__field input:hover,
.cta-final--v2 .cta-form--v2 .cta-form__field textarea:hover {
  border-color: rgba(100, 169, 158, 0.50) !important;
}

.cta-final--v2 .cta-form--v2 .cta-form__field input:focus,
.cta-final--v2 .cta-form--v2 .cta-form__field textarea:focus {
  background: #ffffff !important;
  border-color: var(--cta, #e79440) !important;
  box-shadow: 0 0 0 4px rgba(231, 148, 64, 0.15) !important;
}

/* Field labels: tighter and a touch darker */
.cta-final--v2 .cta-form--v2 .cta-form__field label {
  color: var(--title, #2a3d3a) !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Chips: warmer base for clearer affordance */
.cta-final--v2 .cta-form--v2 .cta-form__chip span {
  background: #eef4f2 !important;
  border-color: rgba(100, 169, 158, 0.30) !important;
}

/* Mobile: section padding tighter so the card uses screen real estate */
@media (max-width: 600px) {
  .cta-final--v2 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .cta-final--v2 .cta-final__card { border-radius: 18px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* FX: image scale-out entrance                                 */
/* Image starts at scale 1.12 and settles to 1.0 when the       */
/* wrapper enters viewport. CSS-only fallback: if .is-in-view   */
/* is never added, image stays at 1.12 (visible, just cropped). */
/* ═══════════════════════════════════════════════════════════ */
.fx-scale-out {
  overflow: hidden;
}

.fx-scale-out > img,
.fx-scale-out > picture > img,
.fx-scale-out > video {
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.fx-scale-out.is-in-view > img,
.fx-scale-out.is-in-view > picture > img,
.fx-scale-out.is-in-view > video {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .fx-scale-out > img,
  .fx-scale-out > picture > img,
  .fx-scale-out > video {
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* FX: tape reveal                                              */
/* A solid colored "tape" sits over the text and slides off to  */
/* the right, revealing the text. Editorial / cinematic effect. */
/* Apply to any inline element. No HTML wrapping required.      */
/* ═══════════════════════════════════════════════════════════ */
.fx-tape {
  position: relative;
  display: inline-block;
  vertical-align: top;
  isolation: isolate;
}

.fx-tape::before {
  content: '';
  position: absolute;
  inset: -0.05em -0.1em;
  background: var(--tape-color, var(--cta, #e79440));
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.fx-tape.is-in-view::before {
  transform: scaleX(0);
  transform-origin: right center;
}

@media (prefers-reduced-motion: reduce) {
  .fx-tape::before { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════ */
/* FX: SVG line-draw                                            */
/* Strokes inside an .fx-line-draw <svg> are drawn from 0 to    */
/* full length when the element enters viewport. Set --line-len */
/* per-element if your path length differs from the default.    */
/* ═══════════════════════════════════════════════════════════ */
.fx-line-draw path,
.fx-line-draw line,
.fx-line-draw circle,
.fx-line-draw rect,
.fx-line-draw polyline,
.fx-line-draw polygon {
  stroke-dasharray: var(--line-len, 1200);
  stroke-dashoffset: var(--line-len, 1200);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fx-line-draw.is-in-view path,
.fx-line-draw.is-in-view line,
.fx-line-draw.is-in-view circle,
.fx-line-draw.is-in-view rect,
.fx-line-draw.is-in-view polyline,
.fx-line-draw.is-in-view polygon {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fx-line-draw path,
  .fx-line-draw line,
  .fx-line-draw circle,
  .fx-line-draw rect,
  .fx-line-draw polyline,
  .fx-line-draw polygon {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION THEMING TOKENS                                       */
/* Drop data-theme="dark" or data-theme="light" on any section  */
/* and child components can read --section-bg, --section-fg,    */
/* --section-muted, --section-accent.                           */
/* ═══════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --section-bg:     var(--bg-white, #ffffff);
  --section-fg:     var(--vo-dark, #051A24);
  --section-muted:  var(--secondary, #909190);
  --section-accent: var(--cta, #e79440);
  --section-line:   rgba(100, 169, 158, 0.18);
  background: var(--section-bg);
  color: var(--section-fg);
}

[data-theme="soft"] {
  --section-bg:     var(--bg-soft, #f4faf9);
  --section-fg:     var(--vo-dark, #051A24);
  --section-muted:  var(--secondary, #909190);
  --section-accent: var(--cta, #e79440);
  --section-line:   rgba(100, 169, 158, 0.20);
  background: var(--section-bg);
  color: var(--section-fg);
}

[data-theme="dark"] {
  --section-bg:     var(--bg-dark, #2a3d3a);
  --section-fg:     #ffffff;
  --section-muted:  rgba(255, 255, 255, 0.65);
  --section-accent: var(--cta, #e79440);
  --section-line:   rgba(255, 255, 255, 0.12);
  background: var(--section-bg);
  color: var(--section-fg);
}

/* ═══════════════════════════════════════════════════════════ */
/* FX: char-by-char reveal (Danik-style cinematic text)         */
/* JS splits text into <span class="fx-char"> elements; each    */
/* char animates from translateY(110%) → 0 with stagger delay.  */
/* The clip-path on the parent is what gives the "mask" feel.   */
/* ═══════════════════════════════════════════════════════════ */
.fx-char-reveal {
  display: inline-block;
  vertical-align: top;
}

.fx-char-reveal .fx-char-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.1;
}

.fx-char-reveal .fx-char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Stagger via CSS custom property — JS sets --i on each char */
.fx-char-reveal .fx-char {
  transition-delay: calc(var(--i, 0) * 28ms);
}

.fx-char-reveal.is-in-view .fx-char {
  transform: translateY(0);
}

/* Preserve whitespace between words */
.fx-char-reveal .fx-char-space {
  display: inline-block;
  width: 0.28em;
}

@media (prefers-reduced-motion: reduce) {
  .fx-char-reveal .fx-char {
    transform: none !important;
    transition: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════ */
/* TOP BAR + NAV (Hernán Botero style, desktop only)            */
/* Top bar with contact info disappears on scroll, nav stays    */
/* ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky, 100);
}

/* ─── Top bar (OdontoSur style: LOGO left + info cards right + CTA) ─ */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(100, 169, 158, 0.12);
  max-height: 130px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.top-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo — LEFT side, BIG with tagline (OdontoSur style) */
.top-bar__logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.top-bar__logo-mark {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s var(--ease);
}

.top-bar__logo:hover .top-bar__logo-mark {
  transform: translateY(-1px);
}

.top-bar__logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.top-bar__logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title);
  letter-spacing: -0.02em;
  line-height: 1;
}

.top-bar__logo-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.3rem;
  letter-spacing: -0.005em;
}

.top-bar__logo-sub {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary, #909190);
  margin-top: 0.3rem;
}

/* RIGHT side: info cards + CTA */
.top-bar__right {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* Info card (OdontoSur style: icon outline + strong + sub, slim version) */
.top-bar__info {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.top-bar__info--link:hover {
  opacity: 0.75;
}

.top-bar__info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #1a1a1a;
  flex-shrink: 0;
  background: transparent;
}

/* Override SVG sizes inside the icon */
.top-bar__info-icon svg {
  width: 100%;
  height: 100%;
}

.top-bar__info-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.top-bar__info-text strong {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

.top-bar__info-text span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: #888;
  margin-top: 0.15rem;
}

.top-bar__wa,
.top-bar__addr {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease;
}

.top-bar__wa:hover {
  transform: translateY(-1px);
}

.top-bar__wa:hover strong {
  color: #1ebe5d;
}

.top-bar__addr {
  cursor: default;
}

.top-bar__wa-icon,
.top-bar__addr-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft, #f4faf9);
  color: var(--accent);
  flex-shrink: 0;
}

.top-bar__wa-icon { background: #f0fdf4; }

.top-bar__wa-text,
.top-bar__addr-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.top-bar__wa-kicker,
.top-bar__addr-kicker {
  font-family: var(--vo-mono, ui-monospace, monospace);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.top-bar__wa-text strong,
.top-bar__addr-text strong {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}

.top-bar__divider {
  display: none;
}

/* CTA button — right side · verde RIU (accent) */
.top-bar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(100, 169, 158, 0.32);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  justify-self: end;
}

.top-bar__cta:hover {
  background: #4f8d83;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(100, 169, 158, 0.45);
}

/* Nav social icon (Instagram) — circular outline, sits at end of nav links */
.nav__links-social {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
}

.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  border: 1.5px solid rgba(42, 61, 58, 0.18);
  color: var(--secondary, #5b6d6a);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.25s ease, border-color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav__social::after { display: none !important; }

.nav__social:hover {
  color: #ffffff;
  background: var(--accent, #64a99e);
  border-color: var(--accent, #64a99e);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(100, 169, 158, 0.32);
}

.nav__social:focus-visible {
  outline: 2px solid var(--accent, #64a99e);
  outline-offset: 3px;
}

/* ─── Scroll behavior: top bar slides up & collapses ────── */
.site-header.is-scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom-color: transparent;
}

/* ─── Reposition .nav inside .site-header ────────────────── */
.site-header .nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}

/* ─── Hide top bar on mobile (mobile keeps original nav) ──── */
@media (max-width: 1024px) {
  .top-bar { display: none; }
}

/* ─── Mobile-only nav elements: hide on desktop ─────────── */
@media (min-width: 1025px) {
  .nav__logo--mobile-only,
  .nav__cta--mobile-only {
    display: none !important;
  }
  .nav__hamburger {
    display: none !important;
  }
  /* Center nav links when no logo/CTA flanking them */
  .site-header .nav .nav__inner {
    justify-content: center;
  }
  .site-header .nav .nav__links {
    display: flex !important;
    gap: 2rem;
  }
}

/* ─── Body padding to account for fixed header ──────────── */
@media (min-width: 1025px) {
  body {
    /* Top bar (~80px) + nav (~60px) = ~140px */
    padding-top: 0;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* WHATSAPP FLOATING BUTTON — Used on every page (global)      */
/* ═══════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem 0.85rem 0.85rem;
  background: #25D366;
  color: #ffffff;
  border-radius: 9999px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40), 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  flex-shrink: 0;
}

.wa-float__icon svg { width: 22px; height: 22px; }

.wa-float__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.wa-float__cta {
  font-weight: 700;
  letter-spacing: -0.005em;
  font-size: 0.95rem;
}

.wa-float__sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.02);
  background: #1ebe5d;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.52), 0 4px 10px rgba(0, 0, 0, 0.16);
  animation: none;
}

.wa-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40), 0 2px 6px rgba(0, 0, 0, 0.12); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40), 0 2px 6px rgba(0, 0, 0, 0.12), 0 0 0 14px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 600px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    padding: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
  }
  .wa-float__icon { background: transparent; width: auto; height: auto; }
  .wa-float__icon svg { width: 28px; height: 28px; }
  .wa-float__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

