/* =================================================================
   VETARIA · Landing page
   Estructura basada en el video de referencia. Colores, tipografías
   e imágenes son placeholders: cámbialos en las variables de :root.
   ================================================================= */

:root {
  /* --- Colores --- */
  --c-frame: #1c46c4;        /* marco exterior + footer */
  --c-brand: #2a5be0;        /* color principal */
  --c-brand-dark: #16338f;
  --c-brand-light: #7da3ff;
  --c-accent: #ffbf4d;       /* acento cálido (sección huella, wordmark footer) */
  --c-soft: #f2eff8;         /* fondo suave de tarjetas */
  --c-soft-2: #e4dcf5;
  --c-ink: #121318;
  --c-muted: #5e6172;
  --c-line: #dcdce4;
  --c-white: #fff;

  /* --- Tipografías --- */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  /* --- Medidas --- */
  --frame: 10px;             /* separación entre tarjetas y borde */
  --r-xl: 36px;
  --r-lg: 26px;
  --pad-x: clamp(22px, 4.5vw, 62px);
  --pad-y: clamp(48px, 6vw, 72px);
  --shadow: 0 18px 40px -18px rgba(18, 19, 24, .25);
}

@property --a {
  syntax: "<angle>";
  inherits: true;
  initial-value: 320deg;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-frame);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { display: block; }

/* ---------- Placeholders de imagen ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.045) 0 10px, transparent 10px 20px),
    var(--ph-bg, #e3e5ee);
  border-radius: inherit;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  max-width: 82%;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: rgba(18,19,24,.6);
  font: 600 11px/1.3 var(--font-body);
  text-align: center;
}
.ph[data-label=""]::after { display: none; }
/* Foto real dentro de un hueco: lo llena entero. --pos = encuadre, --zoom = acercamiento */
.ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--pos, center);
}
/* Silueta para PNG recortados (mascotas sin fondo) */
.ph--cutout { border-radius: 46% 46% 18% 18% / 38% 38% 10% 10%; }

/* ---------- Layout general: tarjetas apiladas ---------- */
.page {
  display: flex;
  flex-direction: column;
  gap: var(--frame);
  padding: var(--frame);
  padding-bottom: 0;
}
.card {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-xl);
}
.card--brand {
  background: linear-gradient(110deg, var(--c-brand-dark) 0%, var(--c-brand) 55%, var(--c-brand-light) 120%);
  color: var(--c-white);
}
.card--brand .ph { --ph-bg: rgba(255,255,255,.16); }
.card--soft { background: var(--c-soft); }
.card--accent { background: var(--c-accent); }

/* ---------- Botones y pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 15px var(--font-body);
  white-space: nowrap;
  transition: transform .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 20px; }
.btn--dark { background: var(--c-ink); color: var(--c-white); }
.btn--outline { border: 1.5px solid var(--c-brand); color: var(--c-brand); }
.btn--outline:hover { background: var(--c-brand); color: var(--c-white); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.75); color: var(--c-white); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-ink); }
.btn--icon { padding-right: 6px; }
.btn__circle {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-white); color: var(--c-ink);
  transition: transform .3s;
}
.btn--icon:hover .btn__circle { transform: rotate(45deg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font: 600 13px var(--font-body);
}
.pill svg { width: 15px; height: 15px; color: var(--c-brand); }
.pill--outline-light { border: 1px solid rgba(255,255,255,.75); }
.pill--white { background: var(--c-white); box-shadow: 0 4px 14px -6px rgba(0,0,0,.15); }
.pill--line { border: 1px solid var(--c-line); font-size: 12px; font-weight: 500; padding: 4px 11px; }

.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  --ph-bg: var(--c-soft-2);
}
.avatar + .avatar { margin-left: -10px; }
.avatars--lg .avatar { width: 48px; height: 48px; }

.hand-note {
  display: inline-flex; align-items: flex-end; gap: 6px;
  font: 700 26px/1 var(--font-hand);
  color: var(--c-brand);
  transform: rotate(-3deg);
}
.hand-note svg { width: 40px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hand-note--light { color: var(--c-white); }

/* Insignia circular con texto giratorio */
.spin-badge {
  position: relative;
  display: grid; place-items: center;
  width: 116px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-white); color: var(--c-ink);
  flex-shrink: 0;
}
.spin-badge--accent { background: var(--c-accent); }
.spin-badge__text {
  position: absolute; inset: 0;
  font: 700 11px var(--font-body);
  fill: currentColor;
  animation: spin 16s linear infinite;
}
.spin-badge__core {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-brand); color: var(--c-white);
  font-size: 20px;
  transition: transform .3s;
}
.spin-badge:hover .spin-badge__core { transform: scale(1.12); }
.spin-badge__core--dark { background: var(--c-ink); color: var(--c-accent); }

/* =================================================================
   1 + 2 · HEADER + HERO
   ================================================================= */
.hero { position: relative; display: flex; flex-direction: column; gap: var(--frame); }

.hero__top { height: clamp(420px, 56vh, 470px); padding: 22px 28px; }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 10; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 800 26px/1 var(--font-display); letter-spacing: -.04em; }
.logo__icon {
  width: 50px; height: 50px; padding: 11px; flex: none;
  border-radius: 16px; background: var(--c-brand); color: var(--c-white);
  box-shadow: 0 10px 22px -10px rgba(40, 70, 220, .7);
  transition: transform .3s;
}
.logo:hover .logo__icon { transform: rotate(-12deg) scale(1.06); }
.logo__text { font-size: 21px; line-height: 1; letter-spacing: -.03em; }
.nav__links {
  display: flex; gap: 6px; padding: 6px;
  border-radius: 999px; background: var(--c-soft);
  font-weight: 600; font-size: 16px;
}
.nav__links a { padding: 10px 20px; border-radius: 999px; transition: background .25s, color .25s; }
.nav__links a:hover { background: var(--c-white); color: var(--c-brand); }
.ig-btn.nav__cta { justify-self: end; padding-right: 24px; }
.nav__burger { display: none; }


.hero__word {
  position: absolute; z-index: 2;
  top: 140px; left: 50%;
  transform: translateX(-50%);
  font: 800 clamp(70px, 17.5vw, 290px)/.78 var(--font-display);
  letter-spacing: -.07em;
  white-space: nowrap;
  pointer-events: none;
}
.hero__pet {
  position: absolute; z-index: 3;
  top: 190px; bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: flex-end;
  pointer-events: none;
}
.hero__dog {
  position: relative; z-index: 1;
  display: block;
  height: 100%; width: auto;
  user-select: none;
}
.hero__dog[hidden] { display: none; }
/* Sombra fija bajo las patas (más barata que drop-shadow, que se recalcula en cada fotograma) */
.hero__pet::after {
  content: "";
  position: absolute; left: 12%; right: 12%; bottom: -2%;
  height: 9%;
  background: radial-gradient(closest-side, rgba(10, 20, 60, .35), transparent);
  pointer-events: none;
}

.bubble {
  position: absolute; z-index: 4;
  left: var(--x); top: var(--y);
  padding: 6px 14px;
  border: 1.5px solid var(--c-brand);
  border-radius: 999px;
  background: var(--c-white); color: var(--c-brand);
  font: 600 14px var(--font-body);
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.3);
  animation: float 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
/* Medidas desde el centro (donde está el perrito, ~360px de ancho): así nunca lo tocan,
   sea cual sea el ancho de la pantalla. */
.bubble[data-b="1"] { left: auto; right: calc(50% + 200px); }
.bubble[data-b="3"] { left: auto; right: calc(50% + 215px); }
.bubble[data-b="2"] { left: calc(50% + 195px); }
.bubble[data-b="4"] { left: calc(50% + 210px); }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  min-height: 340px;
  padding: 44px 46px 38px;
}
.hero__copy { position: relative; z-index: 5; max-width: 380px; }
.hero__copy h1 {
  margin: 18px 0 14px;
  font: 800 clamp(34px, 3.2vw, 46px)/1.02 var(--font-display);
  letter-spacing: -.035em;
}
.hero__copy p { font-size: 15px; opacity: .92; margin-bottom: 26px; }
.hero__side { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
/* Botón de Instagram: degradado que se desplaza, brillo al pasar el ratón */
.ig-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 7px;
  border-radius: 999px;
  color: var(--c-white);
  background: linear-gradient(115deg, #feda75, #fa7e1e 22%, #d62976 45%, #962fbf 70%, #4f5bd5, #feda75);
  background-size: 250% 100%;
  animation: ig-flow 7s linear infinite;
  box-shadow: 0 14px 30px -12px rgba(214, 41, 118, .65);
  transition: transform .3s, box-shadow .3s;
}
.ig-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 36px -12px rgba(214, 41, 118, .8); }
.ig-btn::after { /* destello que cruza el botón */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  translate: -120% 0; animation: ig-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.ig-btn__icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.ig-btn__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.ig-btn__text strong { display: block; font: 800 17px/1.05 var(--font-display); letter-spacing: -.02em; }
.ig-btn__text small { font-size: 12px; opacity: .9; }
.ig-btn__arrow {
  display: grid; place-items: center; flex: none; margin-left: 4px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-white); color: #d62976; font-weight: 700;
  transition: transform .3s;
}
.ig-btn:hover .ig-btn__arrow { transform: rotate(45deg); }
/* Variante WhatsApp (botón «Pedir cita» del menú): mismo estilo, en verde */
.ig-btn--wa {
  background: linear-gradient(115deg, #25d366, #1ebe5d 30%, #128c7e 60%, #25d366);
  background-size: 250% 100%;
  box-shadow: 0 14px 30px -12px rgba(18, 140, 126, .7);
}
.ig-btn--wa:hover { box-shadow: 0 20px 36px -12px rgba(18, 140, 126, .85); }
.ig-btn--wa .ig-btn__icon svg path:first-child { fill: none; }
.ig-btn--wa .wa-phone { fill: currentColor; stroke: none; }
.ig-btn--wa .ig-btn__arrow { color: #128c7e; }
.btn-row .ig-btn { align-self: center; }
@keyframes ig-flow { to { background-position: 250% 0; } }
@keyframes ig-shine { 0%, 55% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
.deco-paw {
  position: absolute; left: var(--x); top: var(--y);
  width: 24px; height: 24px; color: var(--c-white);
  animation: float 6s ease-in-out infinite; --r: -15deg;
}

/* =================================================================
   3 · SOBRE EL DOCTOR
   ================================================================= */
.about {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  padding: var(--pad-y) var(--pad-x) 0;
  overflow: hidden;
}
.label-title { display: flex; align-items: baseline; gap: 4px; font: 800 28px var(--font-display); letter-spacing: -.03em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); }
.team { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--c-muted); line-height: 1.35; }
.team strong { display: block; font: 800 22px/1.1 var(--font-display); color: var(--c-brand); }
.about__left { display: flex; flex-direction: column; order: 2; }
/* Doctor sin fondo: sale por el borde derecho e inferior de la tarjeta (allí está el corte de la foto) */
.about__doc {
  display: block;
  width: calc(100% + var(--pad-x));
  max-width: none;
  height: auto;
  margin: 28px calc(-1 * var(--pad-x)) 0 auto;
  margin-top: auto;
  padding-top: 28px;
  user-select: none;
}
/* Texto + datos centrados en vertical, a la altura de la foto del doctor */
.about__right { order: 1; padding-block: 14px var(--pad-y); display: flex; flex-direction: column; justify-content: center; }
.about__right .stats { margin-top: clamp(40px, 5vw, 72px); }
.about__right .team { display: block; margin: 0 0 clamp(16px, 2vw, 26px); font-weight: 500; font-size: 16px; }
.about__right .team strong { font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 4px; }
.about__right .stat__num--word { font-size: clamp(28px, 2.9vw, 44px); }
.about__right .stat__txt { font-size: 15px; max-width: 220px; }

.reveal-text {
  font: 700 clamp(30px, 4.5vw, 66px)/1.06 var(--font-display);
  letter-spacing: -.035em;
}
.reveal-text em { font-style: normal; color: var(--c-brand); }
.reveal-text .w { opacity: .18; transition: opacity .35s; }
.reveal-text .w.is-on { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.stat { border-top: 1px solid var(--c-line); padding-top: 18px; }
.stat__num { display: block; font: 800 clamp(40px, 4.4vw, 62px)/1 var(--font-display); letter-spacing: -.045em; }
.stat__num--word { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 8px; }
.stat__txt { display: block; margin-top: 10px; font-size: 13.5px; color: var(--c-muted); max-width: 190px; }

/* =================================================================
   4 · SERVICIOS (bento)
   ================================================================= */
.services { padding: var(--pad-y) var(--pad-x); }
/* Título y párrafo centrados entre sí (mismo eje vertical) */
.services__head { display: grid; grid-template-columns: 1fr minmax(240px, 340px); align-items: center; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.services__head .section-title { padding-bottom: 0; }
.services__peek { justify-self: center; }
.section-title {
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
  font: 800 clamp(38px, 4.6vw, 64px)/1 var(--font-display);
  letter-spacing: -.045em;
  padding-bottom: 54px;
}
.section-title svg { width: 30px; height: 30px; color: var(--c-brand); flex-shrink: 0; }
.services__peek {
  position: relative; z-index: 2;
  width: 210px; height: 170px;
  margin-bottom: -24px;
  --ph-bg: #dcd7e8;
}
.services__intro { justify-self: end; max-width: 320px; color: var(--c-muted); }
.services__intro p { margin-bottom: 18px; }

.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}
.svc {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 282px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-soft);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc > :not(.svc__img) { position: relative; z-index: 1; }
.svc__num { font: 800 64px/.9 var(--font-display); letter-spacing: -.06em; color: var(--c-brand); }
.svc h3 { margin: 22px 0 10px; font: 700 26px/1.1 var(--font-display); letter-spacing: -.025em; max-width: 62%; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; max-width: 62%; }
.tags span { padding: 3px 11px; border: 1px solid var(--c-brand); border-radius: 999px; font-size: 13px; color: var(--c-brand); }
/* Foto sin marco: llega al borde de la tarjeta y se funde con su color */
.svc__img {
  position: absolute; z-index: 0;
  top: 0; right: 0; bottom: 0; width: 60%;
  border-radius: 0;
  background: none;
  /* degradado corto, solo en el borde: no tapa caras */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
          mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.svc:not(.svc--featured) h3, .svc:not(.svc--featured) .tags { max-width: 56%; }
.svc__price { margin-top: auto; padding: 7px 14px; border-radius: 999px; background: var(--c-white); font-weight: 700; font-size: 14px; }
.svc__arrow {
  position: absolute !important; top: 22px; right: 22px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-brand); color: var(--c-white);
  transition: transform .3s, background .3s, color .3s;
}
.svc:hover .svc__arrow { background: var(--c-accent); color: var(--c-ink); transform: rotate(-45deg); }

.svc--featured {
  grid-row: span 2;
  min-height: 560px;
  background: linear-gradient(180deg, var(--c-brand-dark), var(--c-brand) 70%, var(--c-brand-light) 130%);
  color: var(--c-white);
}
.svc--featured .svc__num { color: var(--c-white); }
.svc--featured .tags span { border-color: rgba(255,255,255,.8); color: var(--c-white); }
.svc--featured .svc__img {
  top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 64%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
          mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.svc--featured .svc__price { background: var(--c-ink); color: var(--c-white); }
.svc--featured .svc__arrow { background: var(--c-white); color: var(--c-ink); }
.svc__note {
  position: absolute !important; right: 26px; top: 47%;
  font: 700 26px/1 var(--font-hand);
  transform: rotate(-8deg);
}

/* =================================================================
   5 + 6 · REVISIÓN (diagrama + polaroids)
   ================================================================= */
.checkup { padding: var(--pad-y) var(--pad-x); }
.checkup__head { text-align: center; }
.mega-word-wrap { position: relative; width: fit-content; margin: 18px auto 0; }
.mega-word {
  font: 800 clamp(76px, 15vw, 230px)/.92 var(--font-display);
  letter-spacing: -.065em;
  color: var(--c-brand);
  padding: 0 .08em;
}
.tag-float {
  position: absolute; left: var(--x); top: var(--y);
  padding: 6px 14px; border-radius: 999px;
  background: var(--c-white);
  font: 600 14px var(--font-body);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.25);
  transform: rotate(var(--r));
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.tag-float:nth-of-type(2) { animation-delay: -1.5s; }
.tag-float:nth-of-type(3) { animation-delay: -3s; }
.tag-float:nth-of-type(4) { animation-delay: -4.5s; }
.checkup__sub { max-width: 520px; margin: 20px auto 0; font: 600 clamp(19px, 1.8vw, 24px)/1.3 var(--font-display); }

.diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px) 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 130px; /* espacio para la cabeza del beagle que sale del círculo */
}
.diagram__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.diagram__line line { stroke: var(--c-brand); stroke-width: 2; transition: opacity .3s; }
.diagram__list { display: flex; flex-direction: column; gap: 44px; }

.d-item {
  display: grid;
  gap: 4px 12px;
  cursor: pointer;
  transition: opacity .3s;
}
.diagram__list--left .d-item {
  grid-template-columns: 1fr auto;
  grid-template-areas: "tag ." "title num" "desc .";
  text-align: right;
}
.diagram__list--right .d-item {
  grid-template-columns: auto 1fr;
  grid-template-areas: ". tag" "num title" ". desc";
}
.d-item__tag {
  grid-area: tag;
  padding: 2px 10px; border-radius: 999px;
  background: var(--c-soft-2);
  font-size: 12px; font-weight: 600; color: var(--c-muted);
  transition: background .3s, color .3s;
}
.diagram__list--left .d-item__tag { justify-self: end; }
.diagram__list--right .d-item__tag { justify-self: start; }
.d-item h3 { grid-area: title; font: 700 clamp(22px, 2.2vw, 30px)/1.1 var(--font-display); letter-spacing: -.025em; transition: color .3s; }
.d-item__num {
  grid-area: num; align-self: center;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-white);
  font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.2);
  transition: background .3s, color .3s;
}
.d-item p { grid-area: desc; font-size: 14px; color: var(--c-muted); max-width: 240px; }
.diagram__list--left .d-item p { justify-self: end; }
.d-item.is-active h3 { color: var(--c-brand); }
.d-item.is-active .d-item__tag,
.d-item.is-active .d-item__num { background: var(--c-brand); color: var(--c-white); }

/* Disco de color sin borde; el beagle recortado "sale" por arriba */
.bowl {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--c-brand-light), var(--c-brand) 75%);
  box-shadow: 0 40px 60px -30px rgba(18,19,24,.35);
}
/* Perro de cuerpo entero delante del círculo; los marcadores van dentro, en % de la imagen */
.bowl__dog {
  position: absolute; left: 50%; bottom: -7%;
  height: 128%; aspect-ratio: 660 / 1200;
  translate: -50% 0;
}
.bowl__dog img { position: relative; display: block; width: 100%; height: 100%; user-select: none; pointer-events: none; }
.bowl__dog::before { /* sombra en el suelo */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -1%; height: 5%;
  background: radial-gradient(closest-side, rgba(10,20,60,.35), transparent);
}
.bowl__marker { z-index: 2; }
/* El marcador activo "late" para señalar la zona del órgano */
.bowl__marker.is-active::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--c-white);
  animation: pin-pulse 1.6s ease-out infinite;
}
@keyframes pin-pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.bowl__marker {
  position: absolute; z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-white);
  font-size: 13px; font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.3);
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}
.bowl__marker.is-active { background: var(--c-brand); color: var(--c-white); transform: translate(-50%, -50%) scale(1.18); }
.diagram__detail { display: none; } /* solo tablet/móvil (ver media queries) */

.process { margin-top: 110px; text-align: center; }
.process__title { font: 800 clamp(30px, 3.6vw, 48px)/1.05 var(--font-display); letter-spacing: -.04em; }
.process .hand-note { margin: 14px 0 0 clamp(0px, 16vw, 240px); }
/* Pasos: fotos limpias, sin marco blanco, cinta ni inclinación */
.polaroids { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; text-align: left; }
.polaroid {
  position: relative;
  margin: 0;
  transition: transform .4s cubic-bezier(.3,1.4,.5,1);
}
.polaroid:hover { transform: translateY(-8px); }
.polaroid .ph { aspect-ratio: 4 / 5; border-radius: 20px; }
.polaroid__num {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-brand); color: var(--c-white);
  font-size: 12px; font-weight: 700;
}
.polaroid figcaption { margin-top: 14px; padding: 0 4px; font-size: 14px; color: var(--c-muted); line-height: 1.35; }
.polaroid figcaption strong { display: block; font: 700 20px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--c-ink); margin-bottom: 4px; }

/* =================================================================
   7 · BANDA DE IMAGEN
   ================================================================= */
.band {
  display: flex; justify-content: flex-end; align-items: center;
  min-height: 560px;
  padding: 80px 8%;
  overflow: hidden;
  color: var(--c-white);
  background: radial-gradient(120% 140% at 85% 20%, var(--c-brand-light), var(--c-brand) 55%, #1f2fa8);
}
/* Foto entera a la izquierda, a toda la altura; su borde derecho se funde con el azul */
.band__photo {
  position: absolute; left: 0; top: 0;
  height: 100%; width: auto; aspect-ratio: 1080/1082; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 98%);
          mask-image: linear-gradient(90deg, #000 62%, transparent 98%);
  user-select: none; pointer-events: none;
}
.band__copy { position: relative; z-index: 1; max-width: 420px; }
.band__copy h2 { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 18px; }
.band__copy p { opacity: .92; }

/* =================================================================
   8 · TESTIMONIOS
   ================================================================= */
.testi { padding: var(--pad-y) var(--pad-x); overflow: hidden; }
.testi__head { text-align: center; }
.testi__head h2 { margin-top: 16px; font: 800 clamp(34px, 4.4vw, 60px)/1.02 var(--font-display); letter-spacing: -.045em; }
.testi__stage {
  position: relative;
  margin-top: 130px;
  padding: 60px 0 230px;
  border-radius: 120px;
  background: var(--c-soft);
  clip-path: inset(-200px 0 0 0);
}
.testi__peek-top {
  position: absolute; z-index: 2;
  top: -120px; right: 14%;
  width: 210px; height: 122px;
  --ph-bg: #d9d4e6;
}
.testi__peek-bottom {
  position: absolute; z-index: 2;
  bottom: 0; left: 18%;
  width: 190px; height: 220px;
  --ph-bg: #d9d4e6;
}
.watermark {
  position: absolute; z-index: 0; left: 50%; bottom: -.2em;
  transform: translateX(-50%);
  font: 800 clamp(130px, 22vw, 330px)/1 var(--font-display);
  letter-spacing: -.06em;
  color: var(--c-white);
  white-space: nowrap;
  pointer-events: none;
}

.carousel { position: relative; z-index: 1; }
.carousel__track {
  display: flex; gap: 18px;
  overflow-x: auto;
  padding: 4px 112px 24px;
  scroll-padding-inline: 112px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging * { pointer-events: none; }
.review {
  flex: 0 0 min(460px, 80vw);
  display: grid; grid-template-columns: 1fr 44%; gap: 16px;
  min-height: 330px;
  padding: 12px;
  border-radius: 24px;
  background: var(--c-white);
  box-shadow: 0 16px 30px -22px rgba(18,19,24,.4);
  scroll-snap-align: start;
}
.review__body { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 4px 8px 8px; }
.review__body h3 { margin: auto 0 10px; font: 700 23px/1.1 var(--font-display); letter-spacing: -.025em; }
.review__body p { font-size: 14.5px; line-height: 1.45; }
.stars { margin: 14px 0 6px; color: var(--c-accent); letter-spacing: 2px; font-size: 13px; }
.review__body strong { font-size: 14.5px; }
.review__body small { font-size: 12.5px; color: var(--c-muted); }
.review__img { border-radius: 16px; min-height: 100%; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.round-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.3);
  transition: transform .25s, background .25s, color .25s;
}
.round-btn:hover { transform: scale(1.08); background: var(--c-ink); color: var(--c-white); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 99px; background: #cfcdd9; transition: width .3s, background .3s; }
.carousel__dots button.is-active { width: 22px; background: var(--c-brand); }

/* =================================================================
   9 · SECCIÓN HUELLA (máscara)
   ================================================================= */
.paw {
  display: grid; grid-template-columns: 1fr 1.6fr; align-items: center;
  min-height: 560px;
  padding-left: var(--pad-x);
  overflow: hidden;
}
.paw__copy h2 { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 20px; }
.paw__copy h2 span { color: var(--c-brand); }
.paw__copy p { max-width: 270px; }
/* Huella: columna de dedos azules + almohadilla cuadrada de esquinas muy suaves.
   La foto (cuadrada) entra completa en la almohadilla: solo se redondean las esquinas. */
.paw__mask {
  position: relative; height: clamp(420px, 46vw, 560px);
  display: flex; justify-content: flex-end; gap: clamp(10px, 1.6vw, 22px);
  padding: 40px 4% 40px 0;
}
.paw__toes {
  flex: 0 0 auto; align-self: stretch; aspect-ratio: 1 / 4.2;
  clip-path: url(#paw-toes-clip);
  background: radial-gradient(circle at 30% 50%, var(--c-brand-light), var(--c-brand) 80%);
}
.paw__frame {
  flex: 0 0 auto; align-self: stretch; aspect-ratio: 1;
  border-radius: 30%; overflow: hidden;
  background: var(--c-brand);
  box-shadow: 0 0 0 8px var(--c-brand), 0 24px 50px rgba(20, 30, 90, .22);
}
.paw__frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  user-select: none; pointer-events: none;
}

/* =================================================================
   10 · CTA FINAL
   ================================================================= */
.cta {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center;
  min-height: 640px;
  padding-left: var(--pad-x);
  overflow: hidden;
}
.cta__copy { position: relative; z-index: 2; padding: 60px 0; }
.cta__copy h2 { margin: 18px 0; font: 800 clamp(38px, 4.4vw, 62px)/1 var(--font-display); letter-spacing: -.045em; }
.cta__copy p { max-width: 400px; opacity: .92; }
/* Nota manuscrita: en su propia línea, con aire suficiente para no tocar los botones */
.cta__copy .hand-note { display: block; width: max-content; margin: 18px 0 30px 4px; transform: rotate(-4deg); }
.cta__visual { position: relative; align-self: stretch; min-height: 520px; }
.cta__visual { display: grid; place-items: center; }
.cta__disc {
  position: absolute; left: 8%; bottom: 6%;
  width: min(46%, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08f, var(--c-accent) 60%, #e59a1c);
}
.cta__photo {
  position: relative; z-index: 1; margin: 0;
  width: min(80%, 460px); aspect-ratio: 1;
  border-radius: 36px; overflow: hidden;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 30px 60px rgba(10, 16, 60, .35);
  rotate: 2deg;
}
.cta__photo img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.cta .spin-badge { position: absolute; z-index: 4; top: 10%; right: 6%; }

/* =================================================================
   11 · FOOTER
   ================================================================= */
.footer { padding: 50px var(--pad-x) 0; color: var(--c-white); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.2fr auto auto; align-items: center; gap: 48px; }
.footer__claim { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--font-display); letter-spacing: -.04em; }
.footer__claim span { color: var(--c-accent); }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: 15px; }
.footer__links a:hover { color: var(--c-accent); }
.footer__info { margin-top: 14px; font-size: 14px; line-height: 1.5; opacity: .8; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.8);
  transition: background .25s, color .25s;
}
.footer__social a:hover { background: var(--c-white); color: var(--c-frame); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* Colores oficiales de cada red */
.footer__social a.social--ig,
.footer__social a.social--wa {
  width: 52px; height: 52px; border: 0; color: #fff;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.45);
  transition: transform .25s, box-shadow .25s;
}
.footer__social a.social--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer__social a.social--wa { background: #25d366; }
.footer__social a.social--ig:hover,
.footer__social a.social--wa:hover { color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 26px -10px rgba(0,0,0,.5); }
.footer__social a.social--ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer__social a.social--wa:hover { background: #25d366; }
.footer__social .social--ig svg, .footer__social .social--wa svg { width: 26px; height: 26px; stroke-width: 2; }
.footer__social .social--wa .wa-phone { fill: #fff; stroke: none; }
.footer__word {
  margin: 50px 0 .08em; /* entero: debajo viene la firma de Stelar */
  text-align: center;
  font: 800 clamp(60px, 18vw, 330px)/.8 var(--font-display);
  letter-spacing: -.07em;
  color: var(--c-accent);
  white-space: nowrap;
}
/* Punto saltarín de la última «i» (posición y squash los anima main.js §10) */
.hop-ready .hop-l { display: inline-block; transform-origin: 50% 100%; }
.hop-dot {
  position: absolute; left: 0; top: 0;
  background: currentColor; border-radius: 50%;
  transform-origin: 50% 100%;
  pointer-events: none; will-change: transform;
}

/* =================================================================
   Cursor personalizado
   ================================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor__bone {
  margin: -14px 0 0 -28px;
  fill: var(--c-brand);
  stroke: var(--c-white); stroke-width: 3;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.3));
  transform: rotate(-18deg);
  transition: transform .3s;
}
.cursor.has-label .cursor__bone { transform: rotate(-18deg) scale(1.15); }
.cursor__label {
  position: absolute; top: 14px; left: -6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--c-ink); color: var(--c-white);
  font: 700 13px var(--font-body);
  white-space: nowrap;
  transform: rotate(-12deg) scale(0);
  transform-origin: left top;
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.cursor.has-label .cursor__label { transform: rotate(-12deg) scale(1); }
html.cursor-on, html.cursor-on * { cursor: none !important; }

/* =================================================================
   Animaciones
   ================================================================= */
[data-reveal] { opacity: 0; translate: 0 36px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Transición entre secciones (valores --in/--out los pone main.js §9) */
.sx-on .page > section.card:not(.hero) {
  --in: 1; --out: 0;
  transform-origin: 50% 0;
  transform:
    translate3d(0, calc((1 - var(--in)) * 90px), 0)
    scale(calc(1 - (1 - var(--in)) * .1 - var(--out) * .06));
  opacity: calc(.35 + var(--in) * .65 - var(--out) * .45);
  will-change: transform, opacity;
}

@keyframes float {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  50% { transform: rotate(var(--r, 0deg)) translateY(-8px); }
}
.bubble { transform: rotate(var(--r)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(43,209,126,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1100px) {
  /* hero: el texto cabe a la izquierda del perrito; botones uno debajo del otro */
  .hero__copy { max-width: calc(50% - 210px); min-width: 250px; }
  .hero__copy .btn-row { flex-direction: column; align-items: flex-start; }

  .bento { grid-template-columns: 1fr 1fr; }
  .svc--featured { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .svc--featured .svc__img {
    top: 0; left: auto; width: 52%; height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
            mask-image: linear-gradient(90deg, transparent, #000 50%);
  }
  .svc--featured h3, .svc--featured .tags { max-width: 50%; }
  .svc__note { top: 18%; right: 46%; }

  /* Bienestar compacto: perro a la izquierda, órganos como chips + un panel con la
     descripción del activo. Todo cabe en una pantalla, sin bajar. */
  .diagram {
    grid-template-columns: minmax(240px, 42%) 1fr 1fr;
    grid-template-areas: "bowl left right" "bowl detail detail";
    align-items: center; align-content: center;
    gap: 14px 12px; margin-top: 90px;
  }
  .bowl { grid-area: bowl; width: 100%; max-width: 400px; justify-self: center; margin-right: 18px; }
  .diagram__list--left { grid-area: left; }
  .diagram__list--right { grid-area: right; }
  .diagram__line { display: none; }
  .diagram__list { gap: 10px; align-self: end; }
  .diagram__list--left .d-item,
  .diagram__list--right .d-item {
    grid-template-columns: auto 1fr; grid-template-areas: "num title";
    align-items: center; gap: 10px; text-align: left;
    padding: 7px 14px 7px 7px; border-radius: 999px;
    background: var(--c-white); box-shadow: 0 6px 16px -10px rgba(0,0,0,.25);
    transition: background .3s, transform .3s;
  }
  .d-item__tag, .d-item p { display: none; }
  .d-item h3 { font-size: 16px; white-space: nowrap; }
  .d-item__num { width: 28px; height: 28px; box-shadow: none; background: var(--c-soft-2); }
  .d-item.is-active { background: var(--c-brand); transform: translateY(-1px); }
  .d-item.is-active h3 { color: var(--c-white); }
  .d-item.is-active .d-item__num { background: var(--c-white); color: var(--c-brand); }
  .diagram__detail {
    grid-area: detail; align-self: start;
    display: block; min-height: 104px;
    padding: 16px 20px; border-radius: 22px;
    background: var(--c-white); box-shadow: 0 10px 24px -16px rgba(0,0,0,.3);
  }
  .diagram__detail-tag {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    background: var(--c-brand); color: var(--c-white); font-size: 12px; font-weight: 600;
  }
  .diagram__detail strong { display: block; margin: 8px 0 4px; font: 700 20px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--c-brand); }
  .diagram__detail p { font-size: 14px; color: var(--c-muted); }

  .polaroids { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
}

@media (max-width: 860px) {
  :root { --frame: 6px; --r-xl: 26px; }

  /* Bienestar móvil: perro arriba, chips en 2 columnas y el panel del activo debajo */
  .diagram {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "bowl bowl" "left right" "detail detail";
    gap: 10px 8px; margin-top: 70px;
  }
  .bowl { width: min(250px, 70%); margin: 0 auto 6px; }
  .diagram__list { gap: 8px; }
  .d-item h3 { font-size: 14px; }
  .diagram__list--left .d-item,
  .diagram__list--right .d-item { padding: 5px 10px 5px 5px; gap: 7px; }
  .d-item__num { width: 24px; height: 24px; font-size: 12px; }
  .diagram__detail { min-height: 96px; padding: 12px 16px; }
  .diagram__detail strong { font-size: 18px; }
  .diagram__detail p { font-size: 13px; }

  /* Nav móvil */
  .nav { grid-template-columns: 1fr auto auto; gap: 8px; }
  .ig-btn.nav__cta { gap: 6px; padding: 4px 12px 4px 4px; }
  .nav__cta .ig-btn__icon { width: 30px; height: 30px; }
  .nav__cta .ig-btn__icon svg { width: 18px; height: 18px; }
  .nav__cta .ig-btn__text strong { font-size: 13px; white-space: nowrap; }
  .nav__cta .ig-btn__text small { display: none; }
  .nav { gap: 6px; }
  .logo { gap: 7px; min-width: 0; }
  .logo__icon { width: 34px; height: 34px; padding: 8px; border-radius: 11px; }
  .logo__text { font-size: 13px; white-space: nowrap; }
  .nav__links { display: none; }
  /* Botón del menú: cuadro azul con 4 puntos (como almohadillas) que giran al abrir */
  .nav__burger {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 13px;
    background: var(--c-brand); color: var(--c-white);
    box-shadow: 0 8px 18px -8px rgba(42, 91, 224, .7);
    transition: transform .3s, border-radius .3s;
  }
  .nav__burger:active { transform: scale(.94); }
  .nav__burger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  /* Menú con huesito: líneas blancas, la del medio es un hueso amarillo que se balancea */
  .nav__burger-icon { width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .nav__burger-icon .bone { color: var(--c-accent); transform-origin: 12px 12px; transition: transform .45s cubic-bezier(.5, 1.6, .4, 1); }
  .nav__burger-icon .bone path { stroke: var(--c-accent); stroke-width: 2.6; }
  .nav__burger-icon .bone circle { fill: var(--c-accent); stroke: none; }
  .nav__burger:hover .nav__burger-icon .bone,
  .nav__burger[aria-expanded="true"] .nav__burger-icon .bone { transform: rotate(-12deg) scale(1.05); }

  /* Hero móvil */
  .hero__top { height: 330px; padding: 14px 16px; }
  .hero__word { top: 140px; font-size: 18.5vw; }
  .hero__pet { top: 170px; bottom: auto; height: 330px; }
  /* En móvil no hay sitio a los lados del perrito: los bocadillos van arriba, sobre la palabra */
  .bubble { font-size: 12px; padding: 4px 10px; }
  .bubble[data-b="1"] { left: 4%; right: auto; top: 90px; }
  .bubble[data-b="2"] { left: auto; right: 4%; top: 108px; }
  /* las otras dos, abajo, en el hueco a los lados de las patas */
  .bubble[data-b="3"] { left: 3%; right: auto; top: 400px; }
  .bubble[data-b="4"] { left: auto; right: 3%; top: 450px; }
  /* el texto empieza por debajo de las patas (pet: top 170 + 330 de alto) */
  .hero__bottom { flex-direction: column; align-items: stretch; padding: 200px 20px 24px; }
  .hero__copy { max-width: none; min-width: 0; }
  .ig-btn { gap: 9px; padding: 5px 12px 5px 5px; }
  .ig-btn__icon { width: 38px; height: 38px; }
  .ig-btn__text strong { font-size: 14px; white-space: nowrap; }
  .ig-btn__text small { font-size: 11px; white-space: nowrap; }
  .ig-btn__arrow { display: none; }
  .hero__side { flex-direction: row; align-items: center; justify-content: space-between; }
  .spin-badge { width: 92px; }
  .spin-badge__text { font-size: 10px; }
  .deco-paw { display: none; }

  /* Secciones */
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about { gap: 18px; }
  .about__left { display: contents; }
  .about__right { order: 2; padding: 14px 0 0; }
  .about__doc { order: 3; width: 88%; margin: 10px calc(-1 * var(--pad-x)) 0 auto; padding-top: 0; }
  .stats { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }

  .services__head { grid-template-columns: 1fr; gap: 12px; }
  .section-title { padding-bottom: 0; }
  .services__peek { order: 3; justify-self: end; width: 140px; height: 110px; margin-bottom: -30px; }
  .services__intro { justify-self: start; }
  .bento { grid-template-columns: 1fr; }
  .svc--featured { min-height: 460px; }
  .svc--featured .svc__img {
    top: auto; left: 0; width: auto; height: 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
            mask-image: linear-gradient(180deg, transparent, #000 45%);
  }
  .svc--featured h3, .svc--featured .tags { max-width: none; }
  .svc__note { top: 38%; right: 20px; font-size: 22px; }

  .tag-float { font-size: 11px; padding: 4px 10px; }

  .process .hand-note { margin-left: 0; }
  .polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .polaroid { margin: 0; }
  .polaroid:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .polaroid figcaption strong { font-size: 18px; }

  .band { flex-direction: column; justify-content: flex-start; align-items: stretch; min-height: 0; padding: 0 22px 40px; }
  .band__photo {
    position: relative; height: auto; width: calc(100% + 44px); margin: 0 -22px 4px;
    -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 65%, transparent 98%);
  }

  .testi { padding-left: 12px; padding-right: 12px; }
  .testi__stage { margin-top: 100px; padding: 40px 0 180px; border-radius: 40px; }
  .testi__peek-top { top: -90px; right: 8%; width: 140px; height: 92px; }
  .testi__peek-bottom { width: 130px; height: 150px; left: 10%; }
  .carousel__track { padding: 4px 18px 20px; scroll-padding-inline: 18px; }
  .review { flex-basis: 80vw; grid-template-columns: 1fr; }
  .review__img { order: -1; height: 190px; min-height: 0; }

  .paw { grid-template-columns: 1fr; padding: 48px 22px 0; }
  .paw__mask { height: auto; margin-top: 30px; padding: 0 0 28px; justify-content: center; }
  .paw__frame { align-self: auto; width: 74%; height: auto; }
  .paw__toes { width: 17%; aspect-ratio: auto; }

  .cta { grid-template-columns: 1fr; padding: 0 22px; }
  .cta__copy { padding: 48px 0 0; }
  .cta__visual { min-height: 0; padding: 30px 0 44px; }
  .cta__photo { width: 88%; border-radius: 28px; }
  .cta__disc { width: 46%; left: 0; bottom: 4%; }
  .cta .spin-badge { top: 4%; }

  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__word { margin-top: 36px; }
}

/* =================================================================
   FIRMA · STELAR CREATIVE (copiada del sitio de SIGNAL)
   Identidad propia de la agencia: naranja (#ff5a00 → #e34100) sobre casi negro.
   Va como una tarjeta más del marco, con las mismas esquinas.
   ================================================================= */
.stelar{--st:#ff5a00;--st-deep:#e34100;position:relative;z-index:2;overflow:hidden;color:#f4f1ee;background:#0c0b0d;
  border-radius:var(--r-xl);
  padding:clamp(56px,9vh,96px) clamp(32px,6vw,112px) 28px;font-family:'Manrope','Helvetica Neue',Helvetica,Arial,sans-serif}
.stelar a{color:inherit;text-decoration:none}
.stelar-glow{position:absolute;left:-10%;top:-60%;width:70%;height:160%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,90,0,.22),rgba(255,90,0,.06) 55%,rgba(255,90,0,0))}
.stelar-inner{position:relative;max-width:1320px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(28px,5vw,80px);align-items:center}
.stelar-brand{display:block;line-height:0}
.stelar-brand img{display:block;width:clamp(210px,17vw,260px);height:auto}
.stelar-k{margin:0 0 10px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--st)}
.stelar-h{margin:0 0 12px;font-family:'Unbounded','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;font-size:clamp(22px,2.2vw,34px);letter-spacing:-.03em;line-height:1.1}
.stelar-h em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;font-size:1.14em;color:#ffb48a}
.stelar-p{margin:0;font-size:14px;line-height:1.7;color:#bdb5b0;max-width:42em}
.stelar-actions{display:grid;gap:14px;justify-items:end}
.stelar .stelar-btn{display:inline-flex;align-items:center;gap:12px;padding:15px 24px;border-radius:999px;font-weight:600;font-size:14px;color:#fff;white-space:nowrap;
  background:linear-gradient(135deg,var(--st),var(--st-deep));box-shadow:0 12px 34px rgba(255,90,0,.32);
  transition:transform .25s ease,box-shadow .25s ease}
.stelar .stelar-btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 16px 42px rgba(255,90,0,.45)}
.stelar .stelar-site{font-size:13px;color:#f4f1ee;border-bottom:1px solid rgba(255,90,0,.6);padding-bottom:2px}
.stelar .stelar-site:hover{color:var(--st)}
.stelar a:focus-visible{outline:2px solid var(--st);outline-offset:3px;border-radius:6px}
.stelar-bottom{position:relative;max-width:1320px;margin:clamp(40px,6vh,64px) auto 0;padding-top:22px;border-top:1px solid rgba(244,241,238,.1);
  display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.stelar-social{list-style:none;margin:0;padding:0;display:flex;gap:28px;flex-wrap:wrap}
.stelar-social a{display:flex;align-items:center;gap:12px;font-size:14px;color:#f4f1ee}
.stelar-social a:hover{color:var(--st)}
.stelar .soc{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:inherit;
  border:1px solid rgba(244,241,238,.35);transition:transform .2s ease,border-color .2s ease}
.stelar .soc svg{width:17px;height:17px;display:block}
.stelar-social a:hover .soc{transform:translateY(-2px);border-color:currentColor}
.stelar-copy{margin:0;font-size:12px;color:#8a8380}
.stelar .stelar-copy a{color:#f4f1ee}
.stelar .stelar-copy a:hover{color:var(--st)}
@media (max-width: 860px){
  .stelar{padding:56px 18px 24px}
  .stelar-inner{grid-template-columns:1fr;gap:26px}
  .stelar-actions{justify-items:start}
  .stelar-social{gap:20px}
}
@media (prefers-reduced-motion: reduce){ .stelar .stelar-btn,.stelar .soc{transition:none} }

/* ============================================================
   MENÚ LATERAL · franja de vidrio (tablet/móvil)
   ============================================================ */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 32, 92, .28);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s;
}
.drawer-scrim.is-visible { opacity: 1; }
.drawer {
  position: fixed; z-index: 100;
  top: 10px; right: 10px; bottom: 10px;
  width: min(340px, calc(100vw - 48px));
  display: flex; flex-direction: column; gap: 22px;
  padding: 18px 18px 20px;
  overflow-y: auto; overscroll-behavior: contain;
  border-radius: 30px;
  color: var(--c-ink);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(125, 163, 255, .45), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, rgba(255, 191, 77, .28), transparent 60%),
    rgba(255, 255, 255, .58);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 30px 60px -20px rgba(16, 32, 92, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
  transform: translateX(calc(100% + 24px));
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.drawer.is-open { transform: none; }

.drawer__head { display: flex; align-items: center; gap: 10px; }
.drawer__logo {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 13px; background: var(--c-brand);
}
.drawer__logo svg { width: 22px; height: 22px; fill: var(--c-white); }
.drawer__title { font: 700 14px/1.1 var(--font-display); letter-spacing: -.01em; }
.drawer__close {
  position: relative; margin-left: auto; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9);
  transition: transform .3s;
}
.drawer__close:hover { transform: rotate(90deg); }
.drawer__close span { position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; border-radius: 2px; background: var(--c-ink); }
.drawer__close span:first-child { rotate: 45deg; }
.drawer__close span:last-child { rotate: -45deg; }

.drawer__links { display: flex; flex-direction: column; gap: 6px; }
.drawer__links a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 18px;
  font: 700 22px/1 var(--font-display); letter-spacing: -.02em;
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .6);
  transition: background .25s, color .25s, transform .25s;
}
.drawer__links small { font: 600 11px/1 var(--font-body); color: var(--c-brand); opacity: .8; }
.drawer__links svg { margin-left: auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.drawer__links a:hover, .drawer__links a:focus-visible { background: var(--c-brand); color: var(--c-white); transform: translateX(-3px); }
.drawer__links a:hover small, .drawer__links a:focus-visible small { color: var(--c-white); }
.drawer__links a:hover svg { transform: rotate(45deg); }

/* Tarjeta del doctor: la foto recortada se ve entera (contain), sin cortar caras */
.drawer__doc {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 150px; padding: 0 0 0 16px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark));
  color: var(--c-white);
  box-shadow: 0 16px 30px -18px rgba(22, 51, 143, .8);
}
.drawer__doc-text { align-self: center; display: flex; flex-direction: column; gap: 3px; padding: 14px 0; }
.drawer__doc-text span { font: 600 22px/1 var(--font-hand); color: var(--c-accent); rotate: -3deg; transform-origin: left; }
.drawer__doc-text strong { font: 700 17px/1.1 var(--font-display); letter-spacing: -.01em; }
.drawer__doc-text small { font-size: 12px; opacity: .8; }
.drawer__doc img { flex: none; width: auto; height: 150px; object-fit: contain; margin-right: -4px; }
.drawer__contact { margin-top: auto;display: flex; flex-direction: column; gap: 10px; }
.drawer__kicker { font: 600 26px/1 var(--font-hand); color: var(--c-brand); rotate: -2deg; margin-left: 4px; }
.drawer__contact .ig-btn { width: 100%; padding-right: 18px; }
.drawer__contact .ig-btn__text small { display: block; font-size: 12px; }
.drawer__contact .ig-btn__text strong { font-size: 15px; }
.drawer__place { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-muted); margin: 4px 0 0 4px; }
.drawer__place svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Entrada escalonada del contenido */
.drawer__head, .drawer__links a, .drawer__doc, .drawer__contact > * {
  opacity: 0; translate: 24px 0;
  transition: opacity .4s, translate .5s cubic-bezier(.22, 1, .36, 1);
}
.drawer.is-open .drawer__head, .drawer.is-open .drawer__links a, .drawer.is-open .drawer__doc, .drawer.is-open .drawer__contact > * { opacity: 1; translate: 0 0; }
.drawer.is-open .drawer__doc { transition-delay: .34s; }
.drawer.is-open .drawer__head { transition-delay: .1s; }
.drawer.is-open .drawer__links a:nth-child(1) { transition-delay: .15s; }
.drawer.is-open .drawer__links a:nth-child(2) { transition-delay: .2s; }
.drawer.is-open .drawer__links a:nth-child(3) { transition-delay: .25s; }
.drawer.is-open .drawer__links a:nth-child(4) { transition-delay: .3s; }
.drawer.is-open .drawer__contact > * { transition-delay: .38s; }
body.drawer-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer__head, .drawer__links a, .drawer__contact > * { transition: none; }
}

/* ============================================================
   HERO · TABLET VERTICAL (561–860px): los bocadillos se acercan
   al perrito y ganan tamaño (en móvil puro siguen pequeños).
   Medidas desde el centro, donde está el perrito (~±95px).
   ============================================================ */
@media (min-width: 561px) and (max-width: 860px) {
  .bubble { font-size: 16px; padding: 8px 18px; border-width: 2px; box-shadow: 0 12px 24px -12px rgba(18, 19, 24, .45); }
  /* el más largo: nunca se sale por la izquierda (queda sobre la cabeza, que empieza en 170px) */
  /* Las dos de arriba van en la franja libre entre el menú y la palabra (que empieza en ~140px),
     para no tapar ninguna letra de «veterinaria». */
  .bubble[data-b="1"] { left: auto; right: min(calc(50% + 105px), calc(100% - 226px)); top: 74px; }
  .bubble[data-b="2"] { left: calc(50% + 110px); right: auto; top: 80px; }
  .bubble[data-b="3"] { left: auto; right: calc(50% + 112px); top: 372px; }
  .bubble[data-b="4"] { left: calc(50% + 108px); right: auto; top: 418px; }
}
/* Tablet horizontal (861–1100px): misma posición, más presencia */
@media (min-width: 861px) and (max-width: 1100px) {
  .bubble { font-size: 16px; padding: 8px 18px; border-width: 2px; box-shadow: 0 12px 24px -12px rgba(18, 19, 24, .45); }
}
