/* =========================================================
   Hotel Veterinario Asis para Gatos
   Sistema: azul marino de marca + un acento verde Asis.
   Forma: botones pill, tarjetas 28px, fotos en círculo/arco.
   ========================================================= */

:root {
  --bg: #F3F6FB;
  --surface: #FCFDFF;
  --surface-2: #E9EFF8;
  --line: rgb(14 34 80 / .10);
  --ink: #0E2250;
  --ink-soft: #46557A;
  --accent: #2B7F44;
  --accent-hover: #236B39;
  --accent-ink: #1E5E33;
  --accent-soft: #DCF0E1;
  --on-accent: #FFFFFF;
  --hl: #BFE6C9;

  --t-garden: #DDF1E2;
  --t-sky: #DCEAFB;
  --t-butter: #FBF0CC;
  --t-blush: #FBE2E6;

  --block: #0E2250;
  --block-ink: #F3F6FB;
  --block-soft: rgb(243 246 251 / .72);
  --block-accent: #5CC27C;

  --shadow-sm: 0 2px 8px -2px rgb(14 34 80 / .10);
  --shadow-md: 0 18px 40px -18px rgb(14 34 80 / .28);
  --shadow-lg: 0 40px 80px -30px rgb(14 34 80 / .35);
  --shadow-accent: 0 10px 22px -12px rgb(14 34 80 / .45);

  --r-card: 28px;
  --r-xl: 40px;
  --pill: 999px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 76px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1430;
    --surface: #101D40;
    --surface-2: #16264F;
    --line: rgb(234 240 251 / .10);
    --ink: #EAF0FB;
    --ink-soft: #AAB7D3;
    --accent: #5CC27C;
    --accent-hover: #74D191;
    --accent-ink: #8BDCA4;
    --accent-soft: rgb(92 194 124 / .16);
    --on-accent: #062212;
    --hl: rgb(92 194 124 / .38);

    --t-garden: rgb(92 194 124 / .13);
    --t-sky: rgb(120 170 240 / .14);
    --t-butter: rgb(245 210 100 / .12);
    --t-blush: rgb(240 130 150 / .13);

    --block: #142A5C;
    --block-accent: #6FD08E;

    --shadow-sm: 0 2px 8px -2px rgb(0 0 0 / .4);
    --shadow-md: 0 18px 40px -18px rgb(0 0 0 / .6);
    --shadow-lg: 0 40px 80px -30px rgb(0 0 0 / .7);
    --shadow-accent: 0 10px 24px -12px rgb(0 0 0 / .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: var(--pill);
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 56ch; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 700; letter-spacing: 0;
  line-height: 1.2;
}
.eyebrow i { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s;
  will-change: transform;
}
.btn i { font-size: 1.3em; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost i { transition: transform .3s var(--ease); }
.btn--ghost:hover i { transform: translate(2px, 2px); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .95rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  padding-inline: clamp(10px, 2vw, 24px);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: 1240px; margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 12px 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s var(--ease), backdrop-filter .35s;
}
.nav.is-scrolled .nav__bar {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--line);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgb(255 255 255 / .35);
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled .nav__bar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__home { display: block; border-radius: 10px; }
.brand__logo { height: 64px; width: auto; transition: transform .45s var(--spring); }
.brand__home:hover .brand__logo { transform: rotate(-4deg) scale(1.04); }
.brand__sep { width: 1px; height: 38px; background: var(--line); }
.brand__asis { height: 46px; width: auto; }
@media (prefers-color-scheme: dark) {
  .logo-ink { filter: brightness(0) invert(.94); }
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 14px; border-radius: var(--pill);
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__links a.is-active { color: var(--ink); background: var(--accent-soft); }

.nav__toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  padding: calc(var(--nav-h) + 48px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.2;
}
.mobile-menu nav a, .mobile-menu .btn {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 50ms + 60ms);
}
.mobile-menu.is-open nav a, .mobile-menu.is-open .btn { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 56px; }
.hero__sentinel { position: absolute; top: 0; height: 40px; width: 1px; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; font: inherit; }
.hero__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hl {
  color: inherit;
  background: linear-gradient(var(--hl), var(--hl)) left 88% / 0% 34% no-repeat;
  padding-inline: .06em;
  border-radius: 6px;
  animation: hl 1s var(--ease) 1s forwards;
}
@keyframes hl { to { background-size: 100% 34%; } }

.hero__sub { margin-top: 26px; color: var(--ink-soft); font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 42ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: end; }
.hero__blob {
  position: absolute; inset: 6% -6% -2% 4%;
  background:
    radial-gradient(60% 60% at 70% 30%, var(--t-sky), transparent 70%),
    radial-gradient(50% 50% at 30% 80%, var(--t-garden), transparent 70%);
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  50% { border-radius: 44% 56% 58% 42% / 56% 42% 58% 44%; transform: rotate(6deg) scale(1.03); }
  100% { border-radius: 52% 48% 40% 60% / 44% 60% 40% 56%; transform: rotate(-4deg); }
}
.hero__arch {
  position: absolute; right: 0; top: 0; width: 76%; height: 90%;
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__circle {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 8px solid var(--bg);
  box-shadow: var(--shadow-md);
  background: var(--bg);
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }

.badge-spin {
  position: absolute; left: 6%; top: 8%;
  width: clamp(104px, 11vw, 136px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-spin text { fill: currentColor; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; letter-spacing: .06em; text-transform: uppercase; }
.badge-spin i { font-size: 2rem; color: var(--block-accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* entrada del hero */
.enter { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.enter-img { opacity: 0; transform: scale(.94); animation: pop 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 200ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* parallax sutil ligado al scroll (solo navegadores con scroll-driven animations) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__arch img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .badge-spin { animation: lift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
  @keyframes drift { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.08) translateY(7%); } }
  @keyframes lift { to { transform: translateY(-60px) rotate(-12deg); } }
}

@media (max-width: 920px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 460px; margin-top: 8px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.03em; white-space: nowrap;
}
.marquee__list li::after {
  content: ""; width: 26px; height: 32px; background: var(--accent);
  -webkit-mask: url(../assets/img/marca-gato.png) center / contain no-repeat;
  mask: url(../assets/img/marca-gato.png) center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cuidamos / portholes ---------- */
.care { padding-bottom: clamp(40px, 5vw, 64px); }
.care__copy { max-width: 720px; display: grid; gap: 20px; }
.portholes {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr .86fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.porthole { position: relative; display: grid; gap: 20px; }
.porthole--b { margin-top: clamp(40px, 9vw, 140px); }
.porthole--c { margin-top: clamp(16px, 3vw, 40px); }
.porthole__img {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 0 0 0 var(--bg), 0 0 0 0 var(--accent), var(--shadow-md);
  transition: box-shadow .5s var(--ease), transform .6s var(--ease);
}
.porthole__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.porthole:hover .porthole__img { box-shadow: 0 0 0 8px var(--bg), 0 0 0 10px var(--accent), var(--shadow-lg); }
.porthole:hover .porthole__img img { transform: scale(1.06); }
.porthole__label { display: grid; gap: 4px; padding-right: 56px; }
.porthole__label strong { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.porthole__label span { color: var(--ink-soft); }
.porthole__arrow {
  position: absolute; right: 0; bottom: 6px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--spring), background-color .2s, color .2s;
}
.porthole:hover .porthole__arrow { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: transparent; }

@media (max-width: 760px) {
  .portholes { grid-template-columns: 1fr; gap: 40px; }
  .porthole { width: 82%; }
  .porthole--b { margin-top: 0; justify-self: end; }
  .porthole--c { margin-top: 0; }
}

/* ---------- Incluye / bento ---------- */
.includes__title { max-width: 16ch; margin-bottom: clamp(36px, 5vw, 56px); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: 26px;
  border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.tile p { color: var(--ink-soft); max-width: 34ch; }
.tile__ill { width: 92px; height: 92px; object-fit: contain; transition: transform .6s var(--spring); }
.tile:hover .tile__ill { transform: rotate(-7deg) scale(1.1); }

.tile--xl { grid-column: span 2; grid-row: span 2; padding: 36px; }
.tile--xl .tile__ill { width: min(220px, 48%); height: auto; margin-top: 8px; }
.tile--xl h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.035em; margin-bottom: 8px; }
.tile--wide { grid-column: span 2; }
.tile--row { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; }
.tile--row h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.tile--garden { background: var(--t-garden); }
.tile--sky { background: var(--t-sky); }
.tile--butter { background: var(--t-butter); }
.tile--blush { background: var(--t-blush); }
.tile--plain { background: var(--surface); border: 1px solid var(--line); }

.tile--accent { background: var(--accent); color: var(--on-accent); flex-direction: row; align-items: flex-end; }
.tile--accent > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.tile--accent h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); max-width: 14ch; }
.tile__big { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: .85; }
.tile__num { font-size: clamp(6rem, 11vw, 9rem); }
.tile__unit { font-size: 1.4rem; letter-spacing: -0.02em; }
.tile__ill--sm { width: 72px; height: 72px; }

.tile--photo { padding: 0; color: #F3F6FB; min-height: 220px; }
.tile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; transition: transform .9s var(--ease); }
.tile--photo:hover .tile__photo { transform: scale(1.05); }
.tile__over {
  position: relative; margin-top: auto; padding: 26px;
  display: grid; gap: 12px;
  background: linear-gradient(to top, rgb(10 20 48 / .88), rgb(10 20 48 / .55) 55%, transparent);
}
.tile__over h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); max-width: 22ch; }
.tile__asis {
  width: 92px; height: 66px; background: #F3F6FB;
  -webkit-mask: url(../assets/img/logo-asis.png) left center / contain no-repeat;
  mask: url(../assets/img/logo-asis.png) left center / contain no-repeat;
}

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--xl { grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento { gap: 12px; grid-auto-rows: minmax(170px, auto); }
  .tile { padding: 18px; border-radius: 24px; }
  .tile h3 { font-size: 1.05rem; }
  .tile__ill { width: 68px; height: 68px; }
  .tile--xl { padding: 24px; }
  .tile--xl h3 { font-size: 1.75rem; }
  .tile--xl .tile__ill { width: 140px; }
  .tile--accent { flex-direction: column; align-items: flex-start; }
  .tile--accent > div:last-child { align-items: flex-start; text-align: left; flex-direction: row-reverse; justify-content: space-between; width: 100%; }
  .tile--row .tile__ill { width: 72px; height: 72px; }
}

/* ---------- Admisión ---------- */
.admission { background: linear-gradient(to bottom, transparent, var(--surface-2) 30%, var(--surface-2) 70%, transparent); }
.admission__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.admission__aside { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 22px; justify-items: start; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-top: 12px; }
.ticket {
  --notch: radial-gradient(circle 13px at 0 62%, #0000 97%, #000) left / 51% 100% no-repeat,
           radial-gradient(circle 13px at 100% 62%, #0000 97%, #000) right / 51% 100% no-repeat;
  position: relative; overflow: hidden;
  display: grid; gap: 6px;
  padding: 24px 26px 26px;
  border-radius: var(--r-card);
  background: var(--ink); color: var(--bg);
  -webkit-mask: var(--notch); mask: var(--notch);
}
.ticket--alt { background: var(--accent); color: var(--on-accent); }
.ticket__name { font-weight: 700; font-size: 1rem; opacity: .85; }
.ticket__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.05em; }
.ticket__price small { font-size: .5em; vertical-align: .55em; margin-right: 2px; letter-spacing: 0; }
.ticket__cat {
  position: absolute; right: -10px; bottom: -18px; width: 86px; height: auto;
  opacity: .16; filter: brightness(0) invert(1); transform: rotate(-8deg);
}

.checklist {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.checklist__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; margin-bottom: 24px; }
.checklist__head h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; }
.checklist__count { grid-column: 1 / -1; color: var(--ink-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.paws { display: flex; gap: 4px; }
.paws i { font-size: 1.35rem; color: color-mix(in srgb, var(--ink) 14%, transparent); transition: color .3s; }
.paws i.on { color: var(--accent); animation: paw .5s var(--spring); }
@keyframes paw { 40% { transform: scale(1.45) rotate(-12deg); } }

.checklist__items { display: grid; gap: 10px; }
.req {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1.5px solid transparent;
  transition: background-color .25s, border-color .25s, transform .2s var(--ease);
}
.req:hover { border-color: color-mix(in srgb, var(--ink) 16%, transparent); }
.req:active { transform: scale(.985); }
.req__box {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: var(--surface);
  transition: background-color .25s, border-color .25s;
}
.req__box i { font-size: 1rem; color: var(--on-accent); transform: scale(0); transition: transform .35s var(--spring); }
.req__text { display: block; font-weight: 600; line-height: 1.35; }
.req__text i { color: var(--accent); font-size: 1.15rem; margin-right: 8px; vertical-align: -3px; }
.req__text em { display: block; font-style: normal; font-weight: 500; font-size: .92rem; color: var(--ink-soft); margin-top: 2px; padding-left: 26px; }
.req[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.req[aria-pressed="true"] .req__box { background: var(--accent); border-color: var(--accent); }
.req[aria-pressed="true"] .req__box i { transform: scale(1); }

.checklist__done { display: none; }
.checklist__done.is-visible {
  display: grid; gap: 14px; margin-top: 22px;
  padding: 20px; border-radius: 22px;
  background: var(--accent-soft);
  animation: rise .6s var(--ease) both;
}
.checklist__done p { font-size: 1.05rem; }
.checklist__done .btn { justify-self: start; }
@media (max-width: 480px) { .checklist__done .btn { justify-self: stretch; } }

@media (max-width: 920px) {
  .admission__grid { grid-template-columns: 1fr; }
  .admission__aside { position: static; }
}
@media (max-width: 420px) {
  .prices { grid-template-columns: 1fr; }
}

/* ---------- Servicios (bloque de color) ---------- */
.services {
  background: var(--block); color: var(--block-ink);
  margin-inline: clamp(8px, 1.5vw, 20px);
  border-radius: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.services__head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.services__head .lead { color: var(--block-soft); }
.services__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 16px; }
.services__photo {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  border: 6px solid var(--block-accent);
  min-height: 280px;
}
.services__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services__photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: #FCFDFF; border-radius: 18px; padding: 10px 14px;
  box-shadow: var(--shadow-md);
}
.asis-logo { display: block; width: 84px; height: 60px; background: url(../assets/img/logo-asis.png) center / contain no-repeat; }

.svc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.svc li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 148px; padding: 20px;
  border-radius: 24px;
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .10);
  font-weight: 700; font-size: 1.04rem; line-height: 1.25;
  transition: background-color .3s, transform .45s var(--ease), border-color .3s;
}
.svc li i {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem; color: var(--block-accent);
  background: rgb(92 194 124 / .14);
  transition: transform .5s var(--spring), background-color .3s, color .3s;
}
.svc li:hover { background: rgb(255 255 255 / .10); border-color: rgb(255 255 255 / .2); transform: translateY(-4px); }
.svc li:hover i { transform: rotate(-12deg) scale(1.08); background: var(--block-accent); color: #062212; }

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .services__photo { aspect-ratio: 16 / 8; min-height: 0; }
}
@media (max-width: 860px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc li { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 14px; }
  .svc li i { width: 44px; height: 44px; font-size: 1.35rem; flex: none; }
}
@media (max-width: 520px) {
  .svc li { flex-direction: column; align-items: flex-start; gap: 12px; font-size: .98rem; overflow-wrap: anywhere; hyphens: auto; }
}

/* ---------- Contacto ---------- */
.contact__card {
  display: grid; grid-template-columns: 1fr 1.05fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact__info { padding: clamp(28px, 4.5vw, 56px); display: grid; gap: 30px; align-content: start; }
.contact__block { display: flex; gap: 16px; }
.contact__block > i { font-size: 1.8rem; color: var(--accent); margin-top: 2px; }
.contact__block h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.contact__block p { color: var(--ink-soft); margin: 4px 0 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.link i { transition: transform .3s var(--ease); }
.link:hover i { transform: translate(2px, -2px); }

.contact__phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 20px;
  background: var(--surface-2);
  transition: background-color .25s, transform .3s var(--ease);
}
.phone:hover { background: var(--accent-soft); transform: translateY(-2px); }
.phone > i { font-size: 1.45rem; color: var(--accent); flex: none; }
.phone span { display: grid; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone small { font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--ink-soft); letter-spacing: 0; }

.contact__social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__social a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); font-weight: 700;
  transition: background-color .2s, border-color .2s;
}
.contact__social a i { font-size: 1.25rem; }
.contact__social a:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--ink) 25%, transparent); }

.contact__map { position: relative; min-height: 440px; background: var(--surface-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75); transition: filter .4s; }
.contact__map:hover iframe { filter: none; }

.cta-final {
  margin-top: 20px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--accent-soft);
}
.cta-final__cat { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--bg); }
.cta-final .h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-final .lead { margin-top: 6px; }

@media (max-width: 960px) {
  .contact__card { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .cta-final { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 520px) {
  .contact__phones { grid-template-columns: 1fr; }
  .cta-final .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.contact { padding-bottom: clamp(48px, 6vw, 72px); }
.footer { padding: clamp(40px, 5vw, 56px) 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; }
.footer__brand .brand__sep { height: 56px; }
.footer__logo { width: 82px; height: auto; }
.footer__asis { height: 58px; width: auto; }
.footer__sister { display: block; padding: 8px 14px; border-radius: 18px; background: var(--surface-2); transition: transform .35s var(--spring), background-color .2s; }
.footer__sister:hover { transform: translateY(-3px); background: var(--accent-soft); }
.footer__sister img { height: 52px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; }
.footer__nav a { font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.footer__nav a:hover { color: var(--ink); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.35rem; background: var(--surface-2); transition: background-color .2s, color .2s, transform .35s var(--spring);
}
.footer__social a:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .footer__nav { justify-content: flex-start; }
}

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: calc(clamp(16px, 2.5vw, 28px) + env(safe-area-inset-bottom)); z-index: 30;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: var(--accent); color: var(--on-accent);
  box-shadow: var(--shadow-accent), var(--shadow-md);
  opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s var(--spring), background-color .2s;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--accent-hover); }
.fab:active { transform: scale(.94); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* las tarjetas con hover propio conservan su transición tras aparecer */
.js .tile.reveal.is-in, .js .svc li.reveal.is-in { transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s; transition-delay: 0s; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .enter, .enter-img { opacity: 1; transform: none; }
  .hl { background-size: 100% 34%; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* espacio para el botón flotante en móvil */
@media (max-width: 640px) {
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
