/* ===== VARIABLES / PALETA (basada en el logo acuarela) ===== */
:root {
  --purple: #7b4fb0;
  --purple-deep: #5f3a90;
  --turquoise: #2fb9c4;
  --pink: #e85fa8;
  --pink-deep: #d64494;
  --yellow: #f4c04c;
  --green: #6cc48f;

  --ink: #3a3350;
  --muted: #6f6a80;
  --bg: #ffffff;
  --bg-tint: #f4ecfb;
  --line: #ece4f5;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 45px -20px rgba(90, 50, 140, .35);
  --shadow-sm: 0 8px 24px -14px rgba(90, 50, 140, .4);
  --grad: linear-gradient(120deg, var(--purple), var(--turquoise) 55%, var(--pink));
  --grad-btn: linear-gradient(120deg, var(--pink), var(--pink-deep));
  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--purple-deep); }
ul { list-style: none; }
section { scroll-margin-top: 80px; }

/* ===== BARRA DE PROGRESO + CURSOR GLOW ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0%; z-index: 100; background: var(--grad); box-shadow: 0 0 12px rgba(232,95,168,.6); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 380px; height: 380px; z-index: 0; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(47,185,196,.16), transparent 60%); transition: opacity .3s; opacity: 0; mix-blend-mode: multiply; }

/* ===== INTRO: puertas que se abren ===== */
.intro { position: fixed; inset: 0; z-index: 200; perspective: 1800px; overflow: hidden; animation: introGone 0s linear 3s forwards; }
.intro__door { position: absolute; top: 0; bottom: 0; width: 50%; backface-visibility: hidden; box-shadow: 0 0 60px rgba(20, 8, 35, .5); }
.intro__door::before { content: ""; position: absolute; inset: clamp(14px, 3vw, 34px); border: 2px solid rgba(255,255,255,.22); border-radius: 20px; }
.intro__door::after { content: ""; position: absolute; top: 50%; width: 8px; height: 70px; margin-top: -35px; border-radius: 8px; background: linear-gradient(180deg, #ffe6a6, var(--yellow)); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.intro__door--l { left: 0; transform-origin: left center; background: linear-gradient(160deg, var(--purple-deep), var(--purple) 45%, var(--turquoise)); border-right: 2px solid rgba(255,255,255,.35); animation: doorL 1.3s cubic-bezier(.7,0,.2,1) 1.5s forwards; }
.intro__door--r { right: 0; transform-origin: right center; background: linear-gradient(200deg, var(--purple-deep), var(--purple) 45%, var(--pink)); border-left: 2px solid rgba(255,255,255,.35); animation: doorR 1.3s cubic-bezier(.7,0,.2,1) 1.5s forwards; }
.intro__door--l::after { right: 18px; }
.intro__door--r::after { left: 18px; }
.intro__center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; animation: introLogo 1.9s ease forwards; }
.intro__logo { position: relative; width: clamp(130px, 22vw, 190px); aspect-ratio: 1; }
.intro__logo img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 24px 60px -18px rgba(0,0,0,.6); }
.intro__ring { position: absolute; inset: -12px; border-radius: 50%; background: conic-gradient(from 0deg, var(--pink), var(--turquoise), var(--yellow), var(--purple), var(--pink)); animation: spin 3s linear infinite; filter: blur(3px); }
.intro__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.2rem); color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.35); letter-spacing: .02em; }
@keyframes doorL { to { transform: rotateY(105deg); } }
@keyframes doorR { to { transform: rotateY(-105deg); } }
@keyframes introLogo { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes introGone { to { visibility: hidden; pointer-events: none; } }
/* Mientras dura la intro: sin scroll y con las animaciones del hero en espera */
.has-intro:not(.intro-done) { overflow: hidden; }
.has-intro:not(.intro-done) .kinetic .word,
.has-intro:not(.intro-done) .reveal-up { animation-play-state: paused; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(18px, 5vw, 60px); background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--purple); }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.nav__links a { font-weight: 600; color: var(--ink); transition: color .2s; position: relative; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--grad-btn); transition: width .25s; }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover, .nav__links a.active:not(.nav__cta) { color: var(--pink); }
.nav__links a.active:not(.nav__cta)::after { width: 100%; }
.nav__cta { background: var(--grad-btn); color: #fff !important; padding: 9px 20px; border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.nav__cta:hover { transform: translateY(-2px); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--purple); transition: .3s; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 90px; overflow: hidden; }
/* El video va centrado y un poco ampliado para sacar de cuadro la marca de agua
   (esquina inferior derecha) del video generado con IA. */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; transform: scale(1.22); transform-origin: center; }
.hero__aurora { position: absolute; inset: -20%; z-index: -2; opacity: .55; mix-blend-mode: screen; background: radial-gradient(40% 40% at 20% 30%, rgba(232,95,168,.8), transparent 60%), radial-gradient(45% 45% at 80% 25%, rgba(47,185,196,.8), transparent 60%), radial-gradient(50% 50% at 50% 80%, rgba(123,79,176,.85), transparent 60%), radial-gradient(40% 40% at 75% 75%, rgba(244,192,76,.6), transparent 60%); animation: aurora 16s ease-in-out infinite alternate; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(60,30,90,.5), rgba(47,185,196,.28) 45%, rgba(232,95,168,.5)), rgba(30, 12, 45, .3); }
.hero__particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero__content { max-width: 880px; color: #fff; position: relative; z-index: 1; }
.hero__logo-wrap { position: relative; width: 150px; margin: 0 auto 24px; }
.hero__ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, var(--pink), var(--turquoise), var(--yellow), var(--purple), var(--pink)); animation: spin 8s linear infinite; filter: blur(2px); opacity: .9; }
.hero__logo { position: relative; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 20px 50px -18px rgba(0,0,0,.6); animation: float 5s ease-in-out infinite; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .35em; font-weight: 600; font-size: .8rem; margin-bottom: 14px; opacity: .92; }
.hero__title { font-size: clamp(2rem, 5.6vw, 3.7rem); font-weight: 800; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35); margin-bottom: 18px; }
.kinetic .word { display: inline-block; opacity: 0; transform: translateY(26px) rotate(4deg); filter: blur(6px); animation: wordIn .7s cubic-bezier(.22,1,.36,1) forwards; }
.kinetic .word:nth-child(1){animation-delay:.15s}.kinetic .word:nth-child(2){animation-delay:.24s}
.kinetic .word:nth-child(3){animation-delay:.33s}.kinetic .word:nth-child(4){animation-delay:.42s}
.kinetic .word:nth-child(5){animation-delay:.51s}.kinetic .word:nth-child(6){animation-delay:.62s}
.kinetic .word:nth-child(7){animation-delay:.71s}.kinetic .word:nth-child(8){animation-delay:.80s}
.grad-word { background: linear-gradient(120deg, var(--yellow), #ffd98a, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 640px; margin: 0 auto 34px; opacity: .96; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero__subtitle strong { color: var(--yellow); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.reveal-up { opacity: 0; transform: translateY(20px); animation: wordIn .8s ease forwards; }
.hero__subtitle.reveal-up { animation-delay: .9s; } .hero__actions.reveal-up { animation-delay: 1.05s; } .hero__eyebrow.reveal-up { animation-delay: .1s; }

/* ===== BOTONES ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; will-change: transform; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 14px 30px -12px var(--pink); }
.btn--primary:hover { box-shadow: 0 20px 38px -12px var(--pink); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn--ghost:hover { background: #fff; color: var(--purple); }
.btn--sm { padding: 11px 22px; font-size: .95rem; }
.btn__icon { width: 22px; height: 22px; fill: currentColor; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.8); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; z-index: 1; }
.hero__scroll span { width: 5px; height: 9px; background: #fff; border-radius: 5px; animation: scroll 1.5s infinite; }

/* ===== MARQUEE ===== */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 46px; animation: marquee 26s linear infinite; }
.marquee__track span { font-weight: 600; font-size: 1rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ===== SECTIONS ===== */
.section { position: relative; padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 60px); max-width: 1180px; margin: 0 auto; overflow: hidden; }
.section--tint { max-width: none; background: var(--bg-tint); }
.section--tint > *:not(.blob) { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 52px; }
.section__eyebrow { text-transform: uppercase; letter-spacing: .28em; font-weight: 700; color: var(--turquoise); font-size: .82rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
.section__title::after { content: ""; display: block; width: 74px; height: 5px; border-radius: 5px; background: var(--grad-btn); margin: 16px auto 0; }
.section__lead { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 1.08rem; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; pointer-events: none; }
.blob--1 { width: 340px; height: 340px; top: -60px; right: -80px; background: radial-gradient(circle, var(--turquoise), transparent 70%); animation: floatBlob 12s ease-in-out infinite; }
.blob--2 { width: 300px; height: 300px; bottom: -60px; left: -70px; background: radial-gradient(circle, var(--pink), transparent 70%); animation: floatBlob 14s ease-in-out infinite reverse; }
.section > *:not(.blob) { position: relative; z-index: 1; }

/* ===== NOSOTROS ===== */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about__text p { margin-bottom: 18px; font-size: 1.08rem; color: #4a4460; }
.about__text strong { color: var(--purple); }
.about__card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about__card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: var(--grad); opacity: .18; border-radius: 50%; }
.about__card h3 { font-size: 1.35rem; margin-bottom: 18px; color: var(--purple-deep); }
.about__card ul { margin-bottom: 24px; }
.about__card li { position: relative; padding-left: 28px; margin-bottom: 12px; color: #4a4460; }
.about__card li::before { content: "🐾"; position: absolute; left: 0; }

.stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 8px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__suf { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--pink); }
.stat p { font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: box-shadow .25s; transform-style: preserve-3d; }
.card > *:not(.card__shine) { position: relative; z-index: 1; transform: translateZ(20px); }
.card__shine { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.7), transparent 45%); z-index: 0; }
.card:hover .card__shine { opacity: 1; }
.card:hover { box-shadow: var(--shadow); }
.card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 18px; background: var(--bg-tint); }
.card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.card li { position: relative; padding-left: 24px; margin-bottom: 10px; color: #4a4460; }
.card li::before { content: "•"; position: absolute; left: 4px; color: var(--turquoise); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.card li.soon { color: var(--muted); font-style: italic; }
.card__note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.card--featured { background: linear-gradient(160deg, #fff, var(--bg-tint)); border: 2px solid var(--pink); }
.card--featured .card__icon { background: var(--grad-btn); color: #fff; }
.card__badge { display: inline-block; align-self: flex-start; background: var(--grad-btn); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .03em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; margin-bottom: 14px; box-shadow: 0 6px 14px -6px var(--pink); }
.card--soon { background: linear-gradient(160deg, #fff, #eefaf3); border-color: #cdeede; }
.card--soon .card__icon { background: #e4f7ec; }
.card--soon li::before { content: "✨"; color: initial; font-size: .9rem; }

/* ===== AGENDA ===== */
.booking { max-width: 780px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--purple-deep); font-size: .92rem; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 500; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(47,185,196,.14); }
.field textarea { resize: vertical; }
.booking__submit { width: 100%; justify-content: center; }
.booking__hint { text-align: center; margin-top: 16px; color: var(--muted); font-size: .9rem; }

/* ===== SÍGUENOS (redes) ===== */
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.social { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.social::after { content: ""; position: absolute; top: -50%; right: -30%; width: 180px; height: 180px; background: rgba(255,255,255,.12); border-radius: 50%; }
.social:hover { transform: translateY(-6px); }
.social--ig { background: linear-gradient(135deg, #7b4fb0, #e85fa8 55%, #f4c04c); }
.social--tt { background: linear-gradient(135deg, #0f0f12, #24313a); }
.social__icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; position: relative; z-index: 1; }
.social__icon svg { width: 32px; height: 32px; fill: #fff; }
.social__txt { display: flex; flex-direction: column; line-height: 1.3; position: relative; z-index: 1; }
.social__txt b { font-family: var(--font-head); font-size: 1.3rem; }
.social__txt span { opacity: .92; font-size: .95rem; }
.social__cta { margin-left: auto; background: #fff; color: #3a3350; font-family: var(--font-head); font-weight: 700; padding: 9px 20px; border-radius: 999px; font-size: .9rem; position: relative; z-index: 1; transition: transform .2s; }
.social:hover .social__cta { transform: scale(1.06); }

/* ===== CONTACTO ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact__methods { display: flex; flex-direction: column; gap: 16px; }
.contact__item { display: flex; align-items: center; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
a.contact__item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.contact__icon svg { width: 26px; height: 26px; fill: #fff; }
.contact__icon--wa { background: #25d366; }
.contact__icon--ig { background: linear-gradient(135deg, #7b4fb0, #e85fa8 60%, #f4c04c); }
.contact__icon--tt { background: #0f0f12; }
.contact__icon--mail { background: var(--turquoise); }
.contact__icon--loc { background: var(--purple); }
.contact__label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact__value { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--purple-deep); }

.hours { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.hours__title { font-size: 1.15rem; margin-bottom: 14px; color: var(--purple-deep); }
.hours__list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); color: #4a4460; }
.hours__list li:last-child { border-bottom: 0; }
.hours__list b { color: var(--turquoise); font-family: var(--font-head); }
.hours__note { margin-top: 12px; font-size: .9rem; color: var(--muted); }

.pay { background: linear-gradient(160deg, var(--purple), var(--purple-deep)); color: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pay::after { content: ""; position: absolute; bottom: -50px; right: -50px; width: 160px; height: 160px; background: radial-gradient(circle, var(--pink), transparent 70%); opacity: .6; }
.pay > * { position: relative; z-index: 1; }
.pay__title { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.pay__bank { font-weight: 600; opacity: .85; letter-spacing: .05em; }
.pay__account { font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: .06em; margin: 4px 0 10px; }
.pay__holder { opacity: .92; margin-bottom: 20px; }
.pay__copy { background: #fff; color: var(--purple-deep); border: 0; border-radius: 999px; padding: 11px 26px; font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: transform .2s; }
.pay__copy:hover { transform: translateY(-2px); }
.pay__copy.copied { background: var(--yellow); }
.pay__note { margin-top: 22px; padding: 16px 18px; background: rgba(255,255,255,.14); border-radius: var(--radius-sm); font-size: .95rem; border: 1px solid rgba(255,255,255,.25); }

/* ===== FOOTER ===== */
.footer { background: #2a2140; color: #d8cfe8; text-align: center; padding: 50px clamp(18px, 5vw, 60px) 34px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.4); }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #fff; text-align: left; }
.footer__alt { font-size: .9rem; opacity: .8; text-align: left; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-weight: 600; color: #e6dcf5; transition: color .2s; }
.footer__links a:hover { color: var(--pink); }
.footer__copy { font-size: .9rem; opacity: .75; }

/* ===== ASISTENTE / BOT ===== */
.bot { position: fixed; bottom: 24px; right: 24px; z-index: 70; }
.bot__launcher { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: #25d366; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); display: grid; place-items: center; animation: pulse 2.4s infinite; transition: transform .2s, background .3s; }
.bot__launcher:hover { transform: scale(1.06); }
.bot__launcher svg { width: 34px; height: 34px; fill: #fff; grid-area: 1 / 1; transition: opacity .25s, transform .3s; }
.bot__ico-close { opacity: 0; transform: rotate(-90deg); }
.bot.open .bot__ico-chat { opacity: 0; transform: rotate(90deg); }
.bot.open .bot__ico-close { opacity: 1; transform: rotate(0); }
.bot.open .bot__launcher { animation: none; background: var(--purple); }
.bot__badge { position: absolute; top: -2px; right: -2px; background: var(--pink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff; }
.bot.open .bot__badge { display: none; }

.bot__teaser { position: absolute; bottom: 12px; right: 78px; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; width: max-content; max-width: 230px; text-align: left; opacity: 0; transform: translateX(10px) scale(.9); transform-origin: bottom right; transition: opacity .3s, transform .3s; pointer-events: none; cursor: pointer; }
.bot__teaser.show { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.bot.open .bot__teaser { display: none; }

.bot__panel { position: absolute; bottom: 80px; right: 0; width: 340px; max-width: calc(100vw - 40px); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(50,20,80,.5); overflow: hidden; transform: translateY(20px) scale(.92); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.bot.open .bot__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.bot__header { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(120deg, var(--purple), var(--purple-deep)); color: #fff; }
.bot__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.6); }
.bot__id b { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.bot__id span { font-size: .78rem; opacity: .92; display: flex; align-items: center; gap: 6px; }
.bot__dot { width: 8px; height: 8px; border-radius: 50%; background: #54e38a; display: inline-block; animation: pulse 2s infinite; }
.bot__close { margin-left: auto; background: rgba(255,255,255,.2); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.bot__body { padding: 18px 16px; background: #f6f2fb; max-height: 320px; overflow-y: auto; }
.bot__msg { background: #fff; padding: 12px 14px; border-radius: 14px 14px 14px 4px; box-shadow: var(--shadow-sm); font-size: .92rem; margin-bottom: 14px; }
.bot__quick { display: flex; flex-direction: column; gap: 8px; }
.bot__quick button { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--purple-deep); cursor: pointer; transition: border-color .2s, transform .15s; }
.bot__quick button:hover { border-color: var(--turquoise); transform: translateX(3px); }
.bot__footer { padding: 14px 16px; border-top: 1px solid var(--line); }
.bot__wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; padding: 12px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; box-shadow: 0 10px 22px -12px rgba(37,211,102,.8); transition: transform .2s; }
.bot__wa:hover { transform: translateY(-2px); }
.bot__wa svg { width: 22px; height: 22px; fill: #fff; }
.bot__note { text-align: center; margin-top: 10px; font-size: .72rem; color: var(--muted); }

/* ===== ANIMACIONES ===== */
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(3%, -2%) scale(1.1); } 100% { transform: translate(-3%, 2%) scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatBlob { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px, -24px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; top: 74px; right: 0; left: 0; flex-direction: column; gap: 6px; padding: 18px 24px 26px; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); box-shadow: var(--shadow); transform: translateY(-160%); transition: transform .35s ease; align-items: stretch; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 10px 4px; border-radius: 10px; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__name { display: none; }
}
@media (max-width: 560px) {
  .booking__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .stats { justify-content: space-between; gap: 14px; }
  .bot__panel { width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal, .reveal-up, .kinetic .word { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__video { transform: scale(1.22); }
  .intro { display: none; }
}

/* ===== Fondo de respaldo si el video no corre (p. ej. ahorro de batería) ===== */
.hero { isolation: isolate; background: linear-gradient(160deg, var(--purple-deep), var(--purple) 40%, var(--turquoise) 75%, var(--pink)); }
.no-video .hero__video { opacity: 0; }
.no-video .hero__aurora { opacity: .85; }

/* ===== Ajustes para celular ===== */
@media (max-width: 560px) {
  .nav { padding: 10px 16px; }
  .nav__logo { width: 40px; height: 40px; }
  .nav__links { top: 62px; }
  .hero { min-height: 100svh; padding: 96px 18px 56px; }
  .hero__video { transform: scale(1.12); }
  .hero__logo-wrap, .hero__logo { width: 104px; height: 104px; }
  .hero__logo-wrap { margin-bottom: 18px; }
  .hero__eyebrow { font-size: .72rem; letter-spacing: .28em; }
  .hero__title { font-size: 1.85rem; line-height: 1.18; }
  .hero__title br { display: none; }
  .hero__subtitle { font-size: 1rem; margin-bottom: 26px; }
  .btn { justify-content: center; padding: 14px 22px; }
  .marquee { padding: 12px 0; }
  .marquee__track span { font-size: .9rem; }
  .section { padding: 56px 16px; }
  .section__head { margin-bottom: 34px; }
  .section__lead { font-size: 1rem; }
  .about__text p { font-size: 1rem; }
  .about__card, .card, .pay, .booking { padding: 24px 20px; }
  .stat__num { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .social { padding: 18px; gap: 14px; }
  .social__icon { width: 48px; height: 48px; }
  .social__txt b { font-size: 1.1rem; }
  .social__txt span { font-size: .85rem; word-break: break-word; }
  .social__cta { padding: 8px 14px; }
  .contact__item { padding: 14px 16px; gap: 14px; }
  .contact__icon { width: 44px; height: 44px; }
  .contact__value { font-size: 1rem; word-break: break-word; }
  .pay__account { font-size: 1.6rem; }
  .field input, .field select, .field textarea { font-size: 16px; } /* evita el zoom automático de iPhone */
  .bot { bottom: 16px; right: 16px; }
  .bot__launcher { width: 58px; height: 58px; }
  .bot__teaser { display: none; }
  .bot__panel { bottom: 72px; }
  .footer__brand { flex-direction: column; }
  .footer__name, .footer__alt { text-align: center; }
}

/* ===== Fotos en tarjetas de servicios y en Sobre nosotros ===== */
.card { --pad-y: 32px; --pad-x: 28px; padding: var(--pad-y) var(--pad-x); }
.card__media { position: relative; margin: calc(var(--pad-y) * -1) calc(var(--pad-x) * -1) 0; height: 200px; overflow: hidden; background: var(--bg-tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(255,255,255,.35), transparent); pointer-events: none; }
.card__media + .card__icon { margin-top: -31px; border: 4px solid #fff; box-shadow: var(--shadow-sm); position: relative; }
.card--featured .card__media + .card__icon { border-color: #fff; }
.card__media .card__badge { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 2; }

.about__side { display: flex; flex-direction: column; gap: 22px; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 560px) {
  .card { --pad-y: 24px; --pad-x: 20px; }
  .card__media { height: 180px; }
}

/* ===== Collage de Alimento, video de Atención veterinaria e imagen del abrazo ===== */
.card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media--collage { height: 280px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 3px; background: #fff; }
.card__media--collage img { width: 100%; height: 100%; object-fit: cover; min-width: 0; min-height: 0; }
.card:hover .card__media--collage img { transform: none; }
.card__media--collage img:hover { transform: scale(1.08); position: relative; z-index: 1; }
.card__media--collage::after { display: none; }
.about__photo--abrazo { background: radial-gradient(circle at 50% 45%, #fff 0%, #fde8f3 55%, #efe4fb 100%); display: grid; place-items: center; }
.about__photo--abrazo img { width: 72%; height: 88%; object-fit: contain; mix-blend-mode: multiply; animation: float 5s ease-in-out infinite; }
.marquee__track { gap: 60px; }
@media (max-width: 560px) {
  .card__media--collage { height: 250px; }
}

/* ===== Tarjeta de atención especializada (2 fotos) y pasos de la agenda ===== */
.card__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.card__media--duo img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.card__media--duo::after { display: none; }
.steps { list-style: none; counter-reset: paso; display: grid; gap: 10px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.steps li { counter-increment: paso; display: flex; align-items: flex-start; gap: 12px; background: var(--bg-tint); border-radius: 14px; padding: 12px 14px; font-weight: 600; color: var(--purple-deep); line-height: 1.45; }
.steps li span { font-size: 1.15rem; line-height: 1.3; flex-shrink: 0; }
.steps li::before { content: counter(paso); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-family: var(--font-head); font-size: .85rem; display: grid; place-items: center; }
.steps a { color: var(--pink-deep); text-decoration: underline; }

/* Pasos de la agenda: número + texto corrido */
.steps li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; padding: 12px 16px; }
.steps li::before { width: 28px; height: 28px; }
.steps li p { margin: 0; }
.steps a { white-space: nowrap; font-weight: 700; }

/* ===== Encuadre de fotos ===== */
.card__media { height: 230px; }
.card__media img, .card__media video { object-position: center; }
.card__media img[src*="higiene"] { object-position: 50% 18%; }
.card__media img[src*="educacion"] { object-position: 50% 30%; }
.card__media img[src*="colorimetria"] { object-position: 50% 40%; }
/* Collage: la insignia va abajo para no tapar fotos */
.card__media--collage { height: 300px; }
.card__media--collage .card__badge { top: auto; bottom: 12px; left: auto; right: 12px; }
/* Atención especializada: las dos fotos una sobre otra, completas */
.card__media--duo { height: 340px; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.card__media--duo img[src*="especial-gato"] { object-position: 50% 55%; }
.card__media--duo img[src*="especial-perro"] { object-position: 50% 60%; }
@media (max-width: 560px) {
  .card__media { height: 220px; }
  .card__media--collage { height: 290px; }
  .card__media--duo { height: 330px; }
}

/* ===== Agenda: línea de tiempo ===== */
.steps { gap: 0; position: relative; padding-left: 4px; }
.steps li { counter-increment: none; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; background: none; padding: 0 0 18px; position: relative; }
.steps li::before { display: none; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--pink), var(--turquoise)); opacity: .45; }
.steps li:last-child { padding-bottom: 0; }
.steps__dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; background: #fff; border: 2px solid var(--pink); box-shadow: 0 6px 14px -8px var(--pink); position: relative; z-index: 1; }
.steps li p { margin: 0; background: var(--bg-tint); border-radius: 12px; padding: 10px 14px; font-weight: 600; color: var(--purple-deep); line-height: 1.4; }
.card__media img[src*="colorimetria"] { object-position: 50% 55%; }

/* ===== Agenda: formulario en 3 etapas con línea de tiempo ===== */
.booking .booking__grid { margin-bottom: 0; }
.stage { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.stage:last-child { padding-bottom: 0; }
.stage:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--pink), var(--turquoise)); opacity: .45; }
.stage__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; background: #fff; border: 2px solid var(--pink); box-shadow: 0 6px 14px -8px var(--pink); position: relative; z-index: 1; }
.stage__body { min-width: 0; padding-top: 4px; }
.stage__txt { font-family: var(--font-head); font-weight: 700; color: var(--purple-deep); font-size: 1.02rem; line-height: 1.35; margin: 0 0 6px; }
.stage__txt + .booking__grid { margin-top: 14px; }
.stage__txt--fin { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.stage__txt--fin + .stage__txt--fin { margin-top: 4px; }
@media (max-width: 560px) {
  .stage { grid-template-columns: 36px 1fr; gap: 12px; }
  .stage__dot { width: 36px; height: 36px; font-size: 1.05rem; }
  .stage:not(:last-child)::after { left: 17px; top: 38px; }
  .stage__txt { font-size: .98rem; }
}

/* Colorimetría: foto completa (corazón y pompón) */
.card__media.card__media--color { height: auto; aspect-ratio: 979 / 1027; }
.card__media--color img { object-position: center; }

/* Facebook en redes */
.social--fb { background: linear-gradient(135deg, #1877f2, #4a9bff); }
.socials { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; }

/* Foto de cabecera en "¿Por qué elegirnos?" */
.about__card-media { margin: -32px -32px 22px; height: 220px; overflow: hidden; position: relative; z-index: 1; }
.about__card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .6s ease; }
.about__card:hover .about__card-media img { transform: scale(1.05); }
@media (max-width: 560px) { .about__card-media { margin: -24px -20px 20px; height: 200px; } }

/* CLABE de 18 dígitos: que quepa en celular */
.pay__account { font-size: clamp(1.25rem, 5.4vw, 1.9rem); letter-spacing: .03em; white-space: nowrap; }

/* ===== Dos fotos lado a lado (Higiene, Educación) ===== */
.card__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.card__media--pair img { width: 100%; height: 100%; object-fit: cover; min-width: 0; object-position: center; }
.card__media--pair::after { display: none; }
.card__media--pair img[src*="higiene"] { object-position: 50% 30%; }
.card__media--pair img[src*="educacion"] { object-position: 45% 35%; }

/* ===== Collage de 8 (Guardería y pensión) ===== */
.card__media--collage8 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); height: 240px; }
@media (max-width: 560px) { .card__media--collage8 { grid-template-columns: repeat(4, 1fr); height: 200px; } }

/* ===== Opiniones con estrellas ===== */
.review { max-width: 560px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; text-align: center; }
.review .field { text-align: left; }
.review__label { font-family: var(--font-head); font-weight: 700; color: var(--purple-deep); font-size: 1.1rem; }
.stars { display: flex; justify-content: center; gap: 6px; }
.star { background: none; border: 0; cursor: pointer; font-size: 2.6rem; line-height: 1; color: #e2d9ee; transition: transform .15s, color .15s; padding: 2px; }
.star:hover { transform: scale(1.15); }
.star.on { color: #f4b740; text-shadow: 0 4px 12px rgba(244,183,64,.45); }
.review__hint { font-size: .92rem; color: var(--muted); margin-top: -8px; min-height: 1.3em; }
.review__fb { color: var(--purple); font-weight: 600; font-size: .95rem; text-decoration: underline; }
.review.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ===== En colaboración con ===== */
.collab { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); width: 100%; max-width: 760px; }
.collab__title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; margin-top: 18px; }
.collab__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.collab__list a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #f1eaff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.collab__list a:hover { background: var(--pink); transform: translateY(-2px); }

/* ===== Collages: cuadros más grandes y cada foto centrada en el animal ===== */
.card__media--collage8 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); grid-auto-flow: dense; height: 360px; }
.card__media--collage8 img[src*="pension-aves"] { grid-column: span 2; object-position: 50% 30%; }
.card__media--collage8 img[src*="hamster"] { object-position: 45% 55%; }
.card__media--collage8 img[src*="perro-gato"] { object-position: 55% 60%; }
.card__media--collage8 img[src*="tortuga"] { object-position: 60% 50%; }
.card__media--collage8 img[src*="conejo"] { object-position: 65% 45%; }
.card__media--collage8 img[src*="peces"] { object-position: 45% 45%; }
.card__media--collage8 img[src*="serpiente"] { object-position: 30% 60%; }
.card__media--collage8 img[src*="tarantula"] { object-position: 50% 45%; }
.card__media--collage img[src*="alimento-1"], .card__media--collage img[src*="alimento-2"] { object-position: 50% 35%; }
.card__media--collage img[src*="alimento-8"] { object-position: 50% 50%; }
@media (max-width: 560px) { .card__media--collage8 { height: 330px; } }

/* ===== Credenciales (cédula y certificado de coach) ===== */
.creds { display: grid; gap: 12px; margin: 6px 0 26px; }
.cred { display: flex; align-items: center; gap: 14px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; text-align: left; }
.cred__icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.cred b { display: block; font-family: var(--font-head); color: var(--purple-deep); font-size: 1.02rem; line-height: 1.25; }
.cred span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.cred em { display: block; font-style: normal; color: var(--pink-deep); font-weight: 700; font-size: .88rem; margin-top: 4px; }
.cred--link { transition: transform .2s, box-shadow .2s; }
.cred--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ===== Intro más fluida (sobre todo en celular) ===== */
.intro__door { will-change: transform; box-shadow: none; }
.intro__ring, .hero__ring { filter: none; }
.intro__center { will-change: transform, opacity; }
.has-intro:not(.intro-done) .hero__aurora,
.has-intro:not(.intro-done) .hero__ring,
.has-intro:not(.intro-done) .hero__logo,
.has-intro:not(.intro-done) .marquee__track { animation-play-state: paused; }

/* ===== Alineación: los 3 números siempre en una fila pareja ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.stat { text-align: center; }
.stat p { line-height: 1.3; }
.creds .cred__icon { font-size: 1.6rem; }

/* ===== Tarjetas de servicios uniformes: todas las fotos a la misma altura ===== */
#servicios .card__media,
#servicios .card__media.card__media--collage,
#servicios .card__media.card__media--collage8,
#servicios .card__media.card__media--duo,
#servicios .card__media.card__media--pair,
#servicios .card__media.card__media--color { height: 250px; aspect-ratio: auto; }
/* Atención especializada: las 2 fotos lado a lado como Higiene y Educación */
#servicios .card__media--duo { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
#servicios .card__media--duo img[src*="especial-gato"] { object-position: 55% 55%; }
#servicios .card__media--duo img[src*="especial-perro"] { object-position: 40% 55%; }
/* Colorimetría: se ve completa (corazón y pompón) dentro de la misma altura */
#servicios .card__media--color { background: linear-gradient(135deg, #ecebee, #d9d7dd); }
#servicios .card__media--color img { object-fit: contain; }
/* Tarjetas de la misma fila con la misma altura y el contenido arriba */
#servicios .cards { align-items: stretch; }
#servicios .card { display: flex; flex-direction: column; }
@media (max-width: 560px) {
  #servicios .card__media,
  #servicios .card__media.card__media--collage,
  #servicios .card__media.card__media--collage8,
  #servicios .card__media.card__media--duo,
  #servicios .card__media.card__media--pair,
  #servicios .card__media.card__media--color { height: 220px; }
}

/* ===== Entrada más ligera en celular ===== */
@media (max-width: 720px) {
  .hero__aurora { mix-blend-mode: normal; opacity: .3; animation: none; }
  .intro__door::before { display: none; }
}
.cred__links { display: flex !important; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.cred__links a { color: var(--pink-deep); font-weight: 700; font-size: .88rem; }
.cred__links a:hover { text-decoration: underline; }

/* ===== Ventana de la cédula ===== */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; background: rgba(35, 18, 55, .72); backdrop-filter: blur(6px); animation: modalIn .25s ease; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(680px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 22px; padding: 26px 22px 22px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.modal__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 700; color: var(--turquoise); }
.modal__title { font-size: clamp(1.15rem, 4vw, 1.45rem); margin: 6px 0 16px; }
.modal__box img { width: 100%; border-radius: 16px; box-shadow: 0 14px 34px -14px rgba(60,30,90,.45); border: 1px solid var(--line); }
.modal__note { font-size: .9rem; color: var(--muted); margin: 14px 0 16px; }
.modal__close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-tint); color: var(--purple-deep); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--pink); color: #fff; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
