/* ═══════════════════════════════════════════════
   GIOVANNA ESPINO · ODONTOLOGÍA GENERAL
   Landing page — hoja de estilos principal
   Paleta monocromática: negros, grises y blanco
   ═══════════════════════════════════════════════ */

:root {
  /* Escala de grises */
  --black:      #000000;
  --ink:        #0A0A0A;
  --ink-2:      #1A1A1A;
  --ink-3:      #2E2E2E;
  --ink-soft:   #5E5E5E;
  --ink-mute:   #8E8E8E;
  --line:       #E3E3E3;
  --line-2:     #D2D2D2;
  --paper:      #FFFFFF;
  --paper-alt:  #F4F4F4;
  --paper-3:    #EBEBEB;

  /* Tipografía */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --pad: 28px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;

  /* Sombras */
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .05);
  --sh-md: 0 14px 40px rgba(0, 0, 0, .08);
  --sh-lg: 0 30px 70px rgba(0, 0, 0, .14);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.5, 1.5, .4, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: #fff; }

/* Al tocar, el navegador pinta un recuadro gris sobre el enlace. Cada
   elemento ya tiene su propio estado, así que estorba más que ayuda. */
a, button, [tabindex] { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ── Animación de aparición ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════ NAVBAR ═══════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px var(--pad) 0;
  transition: padding .45s var(--ease);
}

.nav__inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  height: 68px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(20, 20, 20, .22);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), box-shadow .5s var(--ease);
}

/* Al hacer scroll la barra se aclara y se vuelve sólida */
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--sh-md);
}

/* Línea de progreso de lectura */
.nav__progress {
  position: absolute;
  left: 24px;
  bottom: -1px;
  height: 2px;
  width: 0;
  max-width: calc(100% - 48px);
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
  transition: width .12s linear;
}

.nav__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Logo de la clínica: símbolo + tipografía, recortados del logotipo original.
   assets/logo-mark.png y assets/logo-text.png (PNG con transparencia).
   Si faltan los archivos, se muestra el logotipo tipográfico de respaldo. */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-mark {
  height: 42px;
  width: auto;
  transition: transform .55s var(--spring);
}
.nav__logo-text {
  height: 26px;
  width: auto;
  transition: transform .55s var(--spring);
}
.nav__brand:hover .nav__logo-mark { transform: rotate(-6deg) scale(1.06); }
.nav__brand:hover .nav__logo-text { transform: translateX(2px); }

.nav__fallback { display: none; align-items: center; gap: 12px; }
.nav__brand.no-logo .nav__logo { display: none; }
.nav__brand.no-logo .nav__fallback { display: flex; }

.nav__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .5s var(--spring), background .5s var(--ease);
}
.nav.is-scrolled .nav__mark { background: var(--ink); border-color: transparent; }
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.06); }
.nav__mark svg { width: 21px; height: 21px; }

.nav__name { display: flex; flex-direction: column; line-height: 1.15; }
.nav__name strong { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; }
.nav__name small {
  font-size: 10.5px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  opacity: .62;
}

/* ── Enlaces + indicador deslizante ── */
.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav__pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 38px;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  transform: translate(0, -50%) scaleX(1);
  opacity: 0;
  pointer-events: none;
  transition:
    width .55s var(--spring),
    transform .55s var(--spring),
    opacity .3s var(--ease),
    background .5s var(--ease);
}
.nav__pill.is-ready { opacity: 1; }
.nav.is-scrolled .nav__pill { background: rgba(0, 0, 0, .07); }
.nav__pill.is-jump { animation: pillJump .5s var(--ease); }
@keyframes pillJump {
  40% { height: 44px; }
  100% { height: 38px; }
}

.nav__item { position: relative; }

.nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  border-radius: 999px;
  opacity: .74;
  transition: opacity .3s var(--ease), letter-spacing .45s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; font-weight: 600; letter-spacing: .155em; }

/* Micro-animación del texto al seleccionar un apartado */
.nav__link > span { display: inline-block; }
.nav__link.is-hit > span { animation: hit .5s var(--ease); }
@keyframes hit {
  35% { transform: translateY(-6px); opacity: .35; }
  36% { transform: translateY(7px); }
  100% { transform: none; opacity: 1; }
}

/* Punto bajo el apartado activo */
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%) scale(0);
  transition: transform .45s var(--spring);
}
.nav__link.is-active::after { transform: translateX(-50%) scale(1); }

.nav__caret { width: 11px; height: 11px; opacity: .7; transition: transform .4s var(--ease); }
.nav__item.has-menu:hover .nav__caret,
.nav__item.has-menu:focus-within .nav__caret { transform: rotate(180deg); }

/* ── Submenú de Servicios ── */
.nav__drop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 320px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
  color: var(--ink);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px) scale(.97);
  transform-origin: top center;
  transition: opacity .35s var(--ease), transform .4s var(--spring), visibility .35s;
}
.nav__item.has-menu:hover .nav__drop,
.nav__item.has-menu:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.nav__drop::before {
  content: '';
  position: absolute;
  inset: -18px 0 100% 0;   /* puente invisible para que no se cierre al bajar el cursor */
}
.nav__drop a {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  transition: background .3s, transform .35s var(--ease);
}
.nav__drop a:hover { background: var(--paper-alt); transform: translateX(4px); }
.nav__drop b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.nav__drop small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 300; color: var(--ink-mute); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .35s, color .35s, transform .35s var(--spring), box-shadow .35s;
}
.nav.is-scrolled .nav__cta { background: var(--ink); color: #fff; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.nav__cta-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .08);
  transition: background .35s, transform .4s var(--ease);
}
.nav.is-scrolled .nav__cta-icon { background: rgba(255, 255, 255, .18); }
.nav__cta:hover .nav__cta-icon { transform: translateX(3px); }
.nav__cta-icon svg { width: 15px; height: 15px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(127, 127, 127, .18);
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 13px;
  width: 18px; height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 160px var(--pad) 90px;
  overflow: hidden;
  color: #fff;
}

.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--black); }

.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.92);
  transform: scale(1.03);
  animation: heroZoom 24s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.12); } }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .58) 44%, rgba(0, 0, 0, .34) 72%, rgba(0, 0, 0, .62) 100%),
    radial-gradient(120% 80% at 78% 22%, rgba(255, 255, 255, .06), transparent 62%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
  animation: pulse 2.6s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

.hero__title {
  font-size: clamp(2.1rem, 5.4vw, 4.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  max-width: 20ch;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: normal;
  color: rgba(255, 255, 255, .46);
}

.hero__lead {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .78);
}

.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  bottom: 90px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.hero__scroll-line {
  width: 54px; height: 1px;
  background: rgba(255, 255, 255, .3);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: slide 2.2s var(--ease) infinite;
}
@keyframes slide {
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ═══════════════ BOTONES ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--spring), box-shadow .35s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.btn--primary:hover { background: var(--ink-3); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }

.btn--wa {
  margin-top: 34px;
  background: var(--paper-alt);
  color: var(--ink);
  border-color: var(--line);
}
.btn--wa svg { width: 19px; height: 19px; }
.btn--wa:hover { background: var(--paper-3); transform: translateY(-2px); }
.btn--wa:hover svg { transform: none; }

.btn--block { width: 100%; }

/* ═══════════════ SECCIONES ═══════════════ */
.section { padding: clamp(80px, 11vw, 140px) 0; }

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section__tag .dot { box-shadow: 0 0 0 4px rgba(0, 0, 0, .07); }

.section__title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.032em;
}
.section__title em { font-style: normal; color: var(--ink-mute); }

/* ═══════════════ ENCABEZADO DE PÁGINA INTERNA ═══════════════ */
.pagehead {
  position: relative;
  padding: clamp(140px, 17vw, 190px) 0 clamp(30px, 4vw, 44px);
  color: #fff;
  background:
    radial-gradient(90% 120% at 12% 0%, #1F1F1F 0%, transparent 62%),
    var(--ink);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
}
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs b { font-weight: 500; color: rgba(255, 255, 255, .9); }

.pagehead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .72;
}

.pagehead__title {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.pagehead__sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .74);
}

.pagehead .svcmenu__tabs { margin-top: 40px; }

/* Enlace a la otra categoría */
.pageout { background: var(--paper-alt); }

.nextpage {
  margin-top: 20px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.nextpage:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }

.nextpage__tag {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nextpage__title {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-right: auto;
}
.nextpage__go {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform .45s var(--spring);
}
.nextpage__go svg { width: 18px; height: 18px; }
.nextpage:hover .nextpage__go { transform: translateX(6px) scale(1.06); }

/* ═══════════════════════════════════════════════
   FONDO FOTOGRÁFICO · Tratamientos
   Envuelve al encabezado y al carrusel de esa página
   ═══════════════════════════════════════════════ */
.svcbg {
  position: relative;
  background: var(--ink) url('../assets/tratamientos-bg.jpg') center right / cover no-repeat;
}
.svcbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(0, 0, 0, .93) 0%,
      rgba(0, 0, 0, .82) 32%,
      rgba(0, 0, 0, .55) 68%,
      rgba(0, 0, 0, .42) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, .5) 0%,
      rgba(0, 0, 0, .24) 35%,
      rgba(0, 0, 0, .66) 100%);
}
.svcbg > * { position: relative; z-index: 1; }
.svcbg .pagehead,
.svcbg .svc--dark { background: none; }

/* ═══════════════════════════════════════════════
   ESTILO INFANTIL · Odontología Infantil
   Envuelve al encabezado y al carrusel de esa página
   ═══════════════════════════════════════════════ */
.kids {
  position: relative;
  background: #fff url('../assets/kids-bg.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
/* Velo blanco: deja el patrón como acuarela de fondo y da aire al contenido */
.kids::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(255, 255, 255, .8) 0%,
      rgba(255, 255, 255, .58) 30%,
      rgba(255, 255, 255, .62) 100%);
}
.kids > * { position: relative; z-index: 1; }

/* Sobre un fondo claro la barra superior necesita fondo propio desde el inicio */
.page-kids .nav:not(.is-scrolled) .nav__inner {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--sh-md);
}
.page-kids .nav:not(.is-scrolled) .nav__pill { background: rgba(0, 0, 0, .07); }
.page-kids .nav:not(.is-scrolled) .nav__cta { background: var(--ink); color: #fff; }
.page-kids .nav:not(.is-scrolled) .nav__cta-icon { background: rgba(255, 255, 255, .18); }

/* ── Encabezado ── */
.pagehead--kids { background: none; color: var(--ink); }

.pagehead--kids .crumbs { color: var(--ink-mute); }
.pagehead--kids .crumbs b { color: var(--ink); }
.pagehead--kids .crumbs a:hover { color: var(--ink); }

.pagehead--kids .pagehead__eyebrow { color: var(--ink-soft); opacity: 1; }
.pagehead--kids .pagehead__eyebrow .dot { box-shadow: 0 0 0 4px rgba(0, 0, 0, .07); }

.pagehead--kids .pagehead__title {
  color: var(--ink);
  letter-spacing: -.04em;
}

/* Encabezado a dos columnas: texto a la izquierda, foto a la derecha */
.kidshead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 28vw, 360px);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

/* Marco tipo polaroid, ligeramente girado como las tarjetas */
.kidshead__photo {
  position: relative;
  margin: 0;
  padding: 13px;
  border: 2px solid #56B8F0;
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .14);
  transform: rotate(2.2deg);
  transition: transform .6s var(--spring), box-shadow .6s var(--ease);
}
.kidshead__photo:hover {
  transform: rotate(0) translateY(-8px);
  box-shadow: 0 30px 62px rgba(0, 0, 0, .18);
}
.kidshead__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 26%;
  border-radius: 24px;
}

/* Segunda foto: más pequeña, encimada en la esquina inferior izquierda */
.kidshead__gallery { position: relative; }

.kidshead__photo--small {
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 47%;
  padding: 9px;
  border-color: #FFC93C;
  border-radius: 26px;
  transform: rotate(-5deg);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}
.kidshead__photo--small:hover { transform: rotate(-1deg) translateY(-6px); }
.kidshead__photo--small img {
  aspect-ratio: 3 / 4;
  object-position: 50% 38%;
  border-radius: 18px;
}

/* Chapa con el nombre, colgada de la esquina superior */
.kidshead__photo figcaption {
  position: absolute;
  left: -16px;
  top: -18px;
  padding: 10px 20px;
  border: 2px solid #FF8FC0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
  transform: rotate(-3.5deg);
}
.kidshead__photo figcaption b {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

@media (max-width: 900px) {
  .kidshead {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .kidshead__gallery {
    width: 100%;
    max-width: 340px;
    justify-self: start;
  }
  /* Sin espacio a los lados, la foto pequeña se queda dentro del marco */
  .kidshead__photo--small { left: 10px; bottom: -26px; width: 44%; }
}
@media (max-width: 520px) {
  .kidshead__gallery { max-width: none; }
  .kidshead__photo figcaption { left: 6px; top: -16px; }
}

/* ── Bloque del carrusel ── */
.svc--kids { background: none; color: var(--ink); }

.svc--kids .svc__head { border-bottom: 1px solid var(--line-2); }
.svc--kids .svc__label { color: var(--ink-soft); opacity: 1; }
.svc--kids .svc__count { color: var(--ink-soft); }

.svc--kids .svc__arrow {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  opacity: 1;
  box-shadow: var(--sh-sm);
}
.svc--kids .svc__arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: scale(1.07);
}

.svc--kids .svc__bar { background: rgba(0, 0, 0, .1); opacity: 1; }
.svc--kids .svc__bar span {
  background: linear-gradient(90deg, #FF8FC0, #FFC93C, #55C99A, #56B8F0);
}

/* ── Tarjetas ──
   Cada tarjeta toma su propio color pastel de la ilustración del fondo */
.svc--kids .svc__track { gap: 26px; padding: 12px 6px 24px; }

.svc--kids .svc__item {
  --c: #FF8FC0;
  --tint: #FFE3EF;
  padding: 16px 16px 26px;
  border: 2px solid var(--c);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(4px);
  opacity: .9;
  transform: rotate(-1deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
  transition: opacity .5s var(--ease), transform .55s var(--spring), box-shadow .55s var(--ease);
}
.svc--kids .svc__item:nth-child(even) { transform: rotate(1.2deg); }
.svc--kids .svc__item:hover { opacity: 1; }
.svc--kids .svc__item.is-active {
  opacity: 1;
  transform: rotate(0) translateY(-10px);
  background: #fff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .14);
}

.svc--kids .svc__item:nth-child(1) { --c: #FF8FC0; --tint: #FFE3EF; }
.svc--kids .svc__item:nth-child(2) { --c: #56B8F0; --tint: #DCF0FF; }
.svc--kids .svc__item:nth-child(3) { --c: #FFC93C; --tint: #FFF3D2; }
.svc--kids .svc__item:nth-child(4) { --c: #55C99A; --tint: #DCF6EA; }
.svc--kids .svc__item:nth-child(5) { --c: #A98BF0; --tint: #EAE2FF; }

/* Espacio para la ilustración de cada tratamiento */
.svc--kids .svc__media {
  height: 168px;
  margin: 0 0 20px;
  border: 0;
  border-radius: 20px;
  background-color: var(--tint);
}
.svc--kids .svc__media::before { display: none; }
.svc--kids .svc__media::after {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .75) 20%, transparent 21%);
  background-size: 22px 22px;
  opacity: .8;
}
.svc--kids .svc__item.is-active .svc__media { transform: none; box-shadow: none; }

/* Número en una chapa redonda del color de la tarjeta */
.svc--kids .svc__n {
  top: 12px; right: 12px;
  left: auto; bottom: auto;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
  transition: transform .5s var(--spring);
}
.svc--kids .svc__item.is-active .svc__n { color: #fff; transform: rotate(-8deg) scale(1.1); }

.svc--kids .svc__item h3 {
  padding: 0 6px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--ink);
}

/* ═══════════════ SERVICIOS ═══════════════ */

/* ── Menú de categorías (páginas de servicios) ── */
.svcmenu__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  width: max-content;
  max-width: 100%;
}
.svcmenu__tab {
  position: relative;
  padding: 14px 28px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--ink);   /* el contenedor es blanco: el texto nunca hereda el color de la sección */
  transition: color .4s var(--ease);
}
.svcmenu__tab::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  border-radius: 999px;
  transform: scale(.9);
  opacity: 0;
  transition: transform .5s var(--spring), opacity .4s var(--ease);
}
.svcmenu__tab b, .svcmenu__tab small { position: relative; z-index: 1; }
.svcmenu__tab b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.svcmenu__tab small {
  display: block; margin-top: 2px;
  font-size: 11px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .4s var(--ease);
}
.svcmenu__tab:hover { color: var(--ink); }
.svcmenu__tab:hover::before { opacity: .06; transform: scale(1); }
.svcmenu__tab.is-active { color: #fff; }
.svcmenu__tab.is-active::before { opacity: 1; transform: scale(1); }
.svcmenu__tab.is-active small { color: rgba(255, 255, 255, .6); }

/* ── Bloque de carrusel ── */
.svc {
  position: relative;
  padding: clamp(56px, 7vw, 90px) 0 clamp(50px, 6vw, 74px);
  overflow: hidden;
}
.svc__inner { position: relative; z-index: 2; }

.svc--dark {
  color: #fff;
  background:
    radial-gradient(90% 120% at 12% 0%, #1F1F1F 0%, transparent 62%),
    var(--ink);
}
.svc--light { background: var(--paper); color: var(--ink); }
.svc--flush { padding-top: 18px; }

.svc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.svc--light .svc__head { border-bottom-color: var(--line); }

.svc__label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
}

/* Controles */
.svc__nav { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.svc__arrow {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
  transition: opacity .3s, background .35s, color .35s, transform .35s var(--spring);
}
.svc__arrow svg { width: 17px; height: 17px; }
.svc--dark .svc__arrow:hover { opacity: 1; background: #fff; color: var(--ink); transform: scale(1.07); }
.svc--light .svc__arrow:hover { opacity: 1; background: var(--ink); color: #fff; transform: scale(1.07); }
.svc__arrow:active { transform: scale(.94); }

.svc__count {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  opacity: .6;
}
.svc__count b { font-weight: 600; opacity: 1; }

/* Carrusel */
.svc__viewport {
  overflow: hidden;
  /* El desplazamiento horizontal lo maneja el guion (deslizar con el dedo);
     el vertical se lo dejamos al navegador para que la página siga bajando. */
  touch-action: pan-y;
  /* Sin degradado a la izquierda: la primera tarjeta debe leerse completa.
     El desvanecido queda solo a la derecha, para insinuar que hay más. */
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 90%, transparent 100%);
}

.svc__track {
  position: relative;
  display: flex;
  /* Arriba: si una tarjeta lleva descripción, las demás no se estiran */
  align-items: flex-start;
  gap: 22px;
  width: max-content;
  padding: 6px 0 10px;
  transition: transform .85s var(--ease);
  will-change: transform;
}

.svc__item {
  width: 306px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: .42;
  transform: translateY(0);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.svc__item:hover { opacity: .78; }
.svc__item.is-active { opacity: 1; transform: translateY(-8px); }

/* En tratamientos la atenuación se aplica al texto y no a toda la tarjeta.
   Si se atenúa la tarjeta entera, la foto queda al 42 % sobre un fondo
   oscuro y el paso de blanco y negro a color deja de apreciarse. */
.svc--dark .svc__item { opacity: 1; }
.svc--dark .svc__item h3,
.svc--dark .svc__item p {
  opacity: .45;
  transition: opacity .6s var(--ease);
}
.svc--dark .svc__item:hover h3,
.svc--dark .svc__item:hover p { opacity: .8; }
.svc--dark .svc__item.is-active h3,
.svc--dark .svc__item.is-active p { opacity: 1; }

/* Área para la foto del servicio.
   Cuando tengas la imagen, en el HTML:
   style="--img:url('../assets/servicios/limpieza.jpg'); --pattern:0"
   La ruta lleva ../ porque se resuelve desde este archivo, no desde el HTML. */
.svc__media {
  position: relative;
  height: 208px;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--ink-3);
  background-image: var(--img, none);
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease), box-shadow .6s var(--ease), filter .7s var(--ease);
}

/* Las fotos están siempre en blanco y negro. La tarjeta seleccionada
   gana luz para destacar, pero sigue sin color. */
.svc--dark .svc__media { filter: grayscale(1) brightness(.72); }
.svc--dark .svc__item.is-active .svc__media { filter: grayscale(1) brightness(1); }

/* Con ratón el color aparece al pasar el cursor. La regla va después de
   la de la tarjeta seleccionada para que gane también sobre ella. */
@media (hover: hover) {
  .svc--dark .svc__item:hover .svc__media { filter: grayscale(0) brightness(1); }
}

/* En una pantalla táctil no hay cursor que pasar, así que sin esto las
   fotos se quedarían en blanco y negro para siempre. Ahí el color lo
   enseña la tarjeta seleccionada, que es la que el dedo elige al tocar. */
@media (hover: none) {
  .svc--dark .svc__item.is-active .svc__media { filter: grayscale(0) brightness(1); }
}
.svc--light .svc__media { background-color: var(--paper-alt); border: 1px solid var(--line); }
.svc__media::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent 60%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.svc__item.is-active .svc__media { transform: scale(1.02); box-shadow: var(--sh-lg); }
.svc__item.is-active .svc__media::before { opacity: 1; }

/* Patrón de relleno mientras no hay foto */
.svc__media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg,
    rgba(255, 255, 255, .05) 0 1px, transparent 1px 11px);
  opacity: var(--pattern, 1);
}
.svc--light .svc__media::after {
  background-image: repeating-linear-gradient(-45deg,
    rgba(0, 0, 0, .05) 0 1px, transparent 1px 11px);
}

.svc__n {
  position: absolute;
  left: 18px; bottom: 14px;
  z-index: 2;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: rgba(255, 255, 255, .22);
  transition: color .6s var(--ease), transform .6s var(--ease);
}
.svc--light .svc__n { color: rgba(0, 0, 0, .12); }
.svc__item.is-active .svc__n { color: rgba(255, 255, 255, .85); transform: translateY(-2px); }
.svc--light .svc__item.is-active .svc__n { color: rgba(0, 0, 0, .45); }

.svc__item h3 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -.018em;
}

/* Descripción, solo en las tarjetas que la llevan */
.svc__item h3 + p { margin-top: 10px; }
.svc__item p {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.62;
  color: rgba(255, 255, 255, .68);
}
.svc__item p b { font-weight: 600; color: rgba(255, 255, 255, .95); }
.svc--light .svc__item p,
.svc--kids .svc__item p { color: var(--ink-soft); }
.svc--light .svc__item p b,
.svc--kids .svc__item p b { color: var(--ink); }

/* Barra de progreso de la rotación */
.svc__bar {
  margin-top: 34px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .18;
  overflow: hidden;
}
.svc__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
  opacity: 1;
}

.services__foot {
  margin-top: 54px;
  padding: 34px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.services__foot p { font-size: 1.05rem; font-weight: 300; color: var(--ink-soft); }

/* ═══════════════ INFORMACIÓN ═══════════════ */
.info__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
}

/* Retrato de la doctora */
.info__photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--sh-md);
}
.info__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 1.1s var(--ease);
}
.info__photo:hover img { transform: scale(1.03); }

.info__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 28px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), transparent);
  color: #fff;
  pointer-events: none;
}
.info__photo figcaption b {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.info__photo figcaption span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

/* ── Datos de la doctora ──
   Cada dato va con su rótulo encima y una línea vertical a la izquierda,
   para que se lean como una ficha y no como un párrafo suelto. */
.info__facts {
  margin-top: clamp(28px, 3.4vw, 40px);
  display: grid;
  gap: 22px;
}
.info__facts li {
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.info__facts-tag {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.info__facts b {
  display: block;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.info__facts b + span {
  display: block;
  margin-top: 3px;
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ── Redes sociales ──
   Píldora con el contorno de la paleta que se rellena de negro al pasar
   el cursor, igual que el resto de botones del sitio. */
.info__social {
  margin-top: clamp(26px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--spring);
}
.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.social:hover {
  background: var(--ink);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════ CONTACTO ═══════════════ */
.contact { text-align: center; }

.contact__where {
  margin: 18px 0 30px;
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink-soft);
}
.contact__where b { font-weight: 600; color: var(--ink); }

.contact__intro {
  max-width: 640px;
  margin-inline: auto;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer { padding: 70px 0 34px; background: var(--ink); color: #fff; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .nav__mark { background: rgba(255, 255, 255, .1); }
.footer__brand strong { display: block; font-size: 14px; letter-spacing: .1em; }
.footer__brand small {
  display: block;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.footer__nav { display: flex; flex-wrap: wrap; gap: 30px; }
.footer__nav a { font-size: 13px; color: rgba(255, 255, 255, .64); transition: color .3s; }
.footer__nav a:hover { color: #fff; }

.footer__bottom {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, .4);
}
.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s;
}
.footer__bottom a:hover { color: #fff; }

/* ═══════════════ PÁGINA LEGAL ═══════════════ */
.legal__body {
  max-width: 74ch;
  font-weight: 300;
  color: var(--ink-soft);
}
.legal__intro {
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  color: var(--ink);
}
.legal__body h2 {
  margin: 40px 0 14px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { line-height: 1.78; }
.legal__body p + p { margin-top: 14px; }
.legal__body b { font-weight: 600; color: var(--ink); }
.legal__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__body ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.legal__body li {
  position: relative;
  padding-left: 22px;
  line-height: 1.78;
}
.legal__body li + li { margin-top: 8px; }
.legal__body li::before {
  content: '';
  position: absolute;
  left: 2px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.legal__date {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-mute);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  .info__grid { grid-template-columns: 1fr; }
  .info__photo { max-width: 460px; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; }

  .nav { padding-top: 14px; }
  .nav__inner { height: 62px; padding-right: 8px; }
  .nav__logo { gap: 10px; }
  .nav__logo-mark { height: 36px; }
  .nav__logo-text { height: 22px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__pill { display: none; }

  .nav__links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    color: var(--ink);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 18px; font-size: 12.5px; border-radius: var(--r-sm); }
  .nav__link.is-active { background: var(--paper-alt); }
  .nav__link::after { display: none; }
  .nav__caret { display: none; }

  /* Submenú siempre visible dentro del menú móvil */
  .nav__drop {
    position: static;
    width: auto;
    padding: 4px 0 8px 18px;
    border: 0;
    border-left: 1px solid var(--line);
    margin: 0 0 6px 18px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__drop::before { display: none; }
  .nav__drop small { display: none; }

  .hero { padding: 130px var(--pad) 76px; align-items: center; }
  .hero__scroll { display: none; }
  .hero__title { max-width: none; }

  .nextpage { padding: 30px 26px; gap: 16px; flex-wrap: wrap; }
  .nextpage__title { width: 100%; margin-right: 0; }
  .nextpage__go { margin-left: auto; }

  .svc__head { flex-direction: row; align-items: center; }
  .svc__item { width: 264px; }
  .svc__media { height: 180px; }

  .services__foot { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .footer__top { flex-direction: column; align-items: flex-start; }

  /* Objetivos táctiles: de pie a cabeza estos enlaces medían 21 px de
     alto y costaba acertarles. Se les da altura con relleno, sin mover
     nada de sitio ni cambiar el tamaño de la letra. */
  .nav__brand { padding: 6px 0; }
  .footer__nav { gap: 2px 26px; }
  .footer__nav a,
  .footer__bottom a,
  .crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;   /* la medida mínima recomendada para un dedo */
  }
  .footer__nav a { display: flex; }
}

/* Teléfono en horizontal: la portada no puede ocupar una pantalla entera
   de alto, porque entre la barra y los márgenes no quedaría sitio para el
   título ni para los botones. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 108px var(--pad) 54px; }
  .pagehead { padding-top: 120px; }
  .nav__links { max-height: 72vh; overflow-y: auto; }
}

@media (max-width: 520px) {
  .nav__logo-mark { height: 32px; }
  .nav__logo-text { height: 19px; }
  .nav__name small { display: none; }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }

  .svcmenu__tabs { width: 100%; border-radius: var(--r-md); }
  .svcmenu__tab { flex: 1 1 100%; text-align: center; border-radius: var(--r-sm); }
  .svc__item { width: 78vw; max-width: 300px; }
  .svc__viewport {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, #000 82%, transparent 100%);
  }
}
