:root {
  --blue: #1E88D2;
  --blue-dark: #0F4C81;
  --navy: #0B2540;
  --navy-2: #10304F;
  --yellow: #F9C93C;
  --yellow-dark: #E0AE1C;
  --sky: #E6F2FB;
  --sky-2: #F3F8FD;
  --ink: #1A2B3C;
  --muted: #5B6B7B;
  --bg: #FBFCFE;
  --line: #E3EAF1;
  --coral: #F2795E;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(11, 37, 64, .10);
  --shadow-lg: 0 30px 70px rgba(11, 37, 64, .18);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.22em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* Barra de progreso */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-family: var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(30, 136, 210, .35); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(15, 76, 129, .35); }
.btn--ghost { border-color: rgba(30, 136, 210, .35); color: var(--blue-dark); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(249, 201, 60, .3); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.pill { display: inline-flex; align-items: center; gap: .5em; background: #fff; color: var(--blue-dark); border: 1px solid var(--line); padding: .45em 1em; border-radius: 999px; font-size: .88rem; font-weight: 500; box-shadow: 0 4px 14px rgba(11,37,64,.06); }
.pill .ic { color: var(--blue); }
.pill--dark { background: rgba(255,255,255,.08); color: #D6E4F2; border-color: rgba(255,255,255,.18); box-shadow: none; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(249,201,60,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(249,201,60,0); } 100% { box-shadow: 0 0 0 0 rgba(249,201,60,0); } }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--yellow); }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: rgba(251,252,254,.82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(11,37,64,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand__text { display: flex; flex-wrap: wrap; align-items: baseline; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.brand__alta { color: var(--yellow-dark); }
.brand__vet { color: var(--blue); }
.brand__text small { flex-basis: 100%; font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.brand--light .brand__text small { color: #9DB3C8; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); position: relative; font-size: .97rem; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; box-shadow: 0 20px 30px rgba(11,37,64,.12); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
}

/* HERO */
.hero { position: relative; padding: 130px 0 90px; overflow: hidden; background: linear-gradient(180deg, #F3F8FD 0%, var(--bg) 100%); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 40px; } .hero { padding: 150px 0 110px; min-height: 92vh; display: flex; align-items: center; } }
.hero h1 { margin: 1.1rem 0 1rem; }
.hl { background: linear-gradient(transparent 62%, rgba(249,201,60,.55) 62%); padding: 0 .05em; }
.rotator { display: inline-grid; color: var(--blue); }
.rotator span { grid-area: 1 / 1; display: inline-block; animation: rotIn .6s var(--ease) both; }
.rotator span.out { animation: rotOut .45s var(--ease) both; }
@keyframes rotIn { from { opacity: 0; transform: translateY(.45em) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rotOut { to { opacity: 0; transform: translateY(-.45em) rotateX(60deg); filter: blur(4px); } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 2.2rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.hero__facts li { display: flex; gap: .6rem; align-items: flex-start; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.hero__facts .ic { color: var(--blue); width: 1.4em; height: 1.4em; margin-top: 2px; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy); line-height: 1.25; }
.hero__facts span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 560px) { .hero__facts { grid-template-columns: 1fr; } }

.hero__art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.ph { position: absolute; overflow: hidden; box-shadow: var(--shadow-lg); will-change: transform; transition: transform .2s linear; }
.ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.ph--main { inset: 6% 8% 14% 14%; border-radius: 48% 52% 40% 60% / 52% 44% 56% 48%; animation: blob 14s ease-in-out infinite; border: 6px solid #fff; }
.ph--pet { width: 36%; aspect-ratio: 1; left: 0; bottom: 4%; border-radius: 50%; border: 6px solid #fff; }
.ph--lab { width: 34%; aspect-ratio: 4 / 3; right: 0; top: 0; border-radius: 22px; border: 5px solid #fff; }
@keyframes blob { 50% { border-radius: 58% 42% 52% 48% / 44% 56% 44% 56%; } }
.result { position: absolute; right: 2%; bottom: 8%; width: 42%; min-width: 180px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 16px 12px; box-shadow: var(--shadow-lg); transition: transform .2s linear; }
.result__head { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.result__head em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 600; color: #128A4A; background: #E3F6EC; padding: 2px 9px; border-radius: 999px; }
.result__dot { width: 8px; height: 8px; border-radius: 50%; background: #2DBE6C; }
.result__bars rect { fill: var(--blue); transform-origin: 0 0; transform: scaleX(0); animation: bar 1.4s var(--ease) forwards; }
.result__bars rect:nth-child(2) { animation-delay: .15s; opacity: .7; }
.result__bars rect:nth-child(3) { animation-delay: .3s; }
.result__bars rect:nth-child(4) { animation-delay: .45s; opacity: .7; }
.result__bars rect.warn { fill: var(--yellow); }
@keyframes bar { to { transform: scaleX(1); } }
.hero__logo { position: absolute; width: 18%; left: 8%; top: 2%; filter: drop-shadow(0 10px 18px rgba(11,37,64,.2)); transition: transform .2s linear; }
.hero__logo .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s .3s var(--ease) forwards; }
.hero__logo .draw:nth-child(2) { animation-delay: .7s; }
.hero__logo .draw:nth-child(3) { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__wave { animation: wave 12s ease-in-out infinite alternate; }
@keyframes wave { to { transform: translateX(-60px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(11,37,64,.25); border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 960px) { .scroll-cue { display: block; } }

/* Cinta */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; gap: 28px; align-items: center; width: max-content; animation: ticker 32s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.ticker i { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--sky-2); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); }
.section__head--left { text-align: left; margin: 0 0 32px; }
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Exámenes */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 36px; }
.chip { font: 600 .95rem var(--font-head); padding: .6em 1.25em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .25s var(--ease); }
.chip:hover { border-color: var(--blue); transform: translateY(-1px); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(11,37,64,.2); }
.exam { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 70px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, opacity .4s, filter .4s; }
.exam::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(30,136,210,.09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.exam:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.exam:hover::before { opacity: 1; }
.exam.is-off { opacity: .32; filter: grayscale(1); transform: scale(.97); }
.exam.is-on { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.exam__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), #fff); color: var(--blue); margin-bottom: 18px; border: 1px solid #D7E8F6; transition: transform .4s var(--ease), background .3s, color .3s; }
.exam__icon .ic { width: 30px; height: 30px; }
.exam:hover .exam__icon { transform: rotate(-8deg) scale(1.06); background: var(--blue); color: #fff; }
.exam p { color: var(--muted); margin: 0; }
.exam__art { position: absolute; left: 26px; right: 26px; bottom: 18px; width: calc(100% - 52px); max-width: 160px; height: 34px; color: var(--blue); }
.exams__empty { text-align: center; color: var(--muted); margin-top: 24px; font-size: .95rem; min-height: 1.5em; }

/* Para quién */
.who { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.who:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.who__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.who__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,37,64,.35)); }
.who__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.who:hover .who__img img { transform: scale(1.08); }
.who__body { padding: 22px 24px 26px; }
.who__body p { color: var(--muted); margin: 0; }

/* Cómo funciona */
.flow { position: relative; }
.flow__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; display: none; overflow: visible; }
@media (min-width: 860px) { .flow__line { display: block; } .steps { padding-top: 100px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.step__icon { position: relative; width: 74px; height: 74px; margin: -68px auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 8px var(--bg), var(--shadow); transition: transform .4s var(--ease), background .3s; }
.step__icon .ic { width: 32px; height: 32px; }
.step__icon b { position: absolute; right: -4px; top: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 700 .85rem/26px var(--font-head); }
.step.is-lit .step__icon { background: var(--blue); transform: scale(1.08); }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 859px) { .step { margin-top: 40px; } }

/* Galería */
.gallery { padding: 8px 0 96px; overflow: hidden; }
.gallery__track { display: flex; gap: 18px; width: max-content; animation: gallery 60s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery figure { margin: 0; height: clamp(200px, 28vw, 320px); border-radius: 22px; overflow: hidden; flex: none; box-shadow: var(--shadow); }
.gallery figure:nth-child(odd) { transform: translateY(18px); }
.gallery img { height: 100%; width: auto; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
@keyframes gallery { to { transform: translateX(-50%); } }

/* ALTAVET IA */
.ia { position: relative; background: var(--navy); color: #D6E4F2; padding: 110px 0; overflow: hidden; isolation: isolate; }
.ia__bg { position: absolute; inset: 0; z-index: -1; }
.ia__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .28; will-change: transform; }
.ia__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,37,64,.97) 25%, rgba(11,37,64,.78) 60%, rgba(11,37,64,.92)); }
.ia h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 1rem; }
.ia h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; background: var(--yellow); margin-top: 14px; }
.ia .lead { color: #EAF2FA; font-weight: 500; }
.ia strong { color: #fff; }
.ia__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .ia__inner { grid-template-columns: 1.05fr 1fr; } .ia__features { grid-column: 1 / -1; } }
.ia__note { font-size: .85rem; color: #8FA9C2; margin-top: 1rem; }
.ia__diagram { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 22px; backdrop-filter: blur(4px); }
.node-horse circle { fill: #F6F9FC; stroke: var(--blue); stroke-width: 3; }
.ring circle { fill: none; stroke: var(--yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.links path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flowline { stroke-dasharray: 86; stroke-dashoffset: 86; animation: flowl 2.4s ease-in-out infinite; }
@keyframes flowl { 50%, 100% { stroke-dashoffset: 0; } }
.grow { transform-box: fill-box; transform-origin: left; animation: growb 2.4s ease-in-out infinite; }
@keyframes growb { 0%, 40% { transform: scaleX(.1); } 80%, 100% { transform: scaleX(1); } }
.ia__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .ia__features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ia__features { grid-template-columns: repeat(4, 1fr); } }
.ia__features li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 20px; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.ia__features li:hover { background: rgba(255,255,255,.09); border-color: rgba(249,201,60,.5); transform: translateY(-4px); }
.ia__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(249,201,60,.14); color: var(--yellow); flex: none; }
.ia__ic .ic { width: 24px; height: 24px; }
.ia__features h3 { color: #fff; font-size: 1rem; margin-bottom: .3em; }
.ia__features p { margin: 0; font-size: .92rem; color: #B9CCE0; }

/* Por qué */
.why-wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .why-wrap { grid-template-columns: .9fr 1.1fr; } }
.why-photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 18px; font: 600 .98rem var(--font-head); color: var(--navy); }
.why-photo__badge .ic { color: var(--coral); width: 28px; height: 28px; }
@media (max-width: 979px) { .why-photo { aspect-ratio: 16 / 10; } }
.why { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE2F3; }
.why__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 12px; }
.why__ic .ic { width: 24px; height: 24px; }
.why strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); margin-bottom: .25em; }
.why p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Contacto */
.contact { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); flex: none; }
.contact__list strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.contact__list a { text-decoration: none; color: var(--muted); }
.contact__list a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font-size: 1.35rem; margin: 0; }
.form__hint { color: var(--muted); font-size: .92rem; margin: -8px 0 0; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--navy); }
.form input[type="text"], .form select, .form textarea { font: inherit; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 14px; background: var(--sky-2); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30,136,210,.14); }
.animal-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.animal-pick legend { font-weight: 500; font-size: .92rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.animal-pick label { display: block; }
.animal-pick input { position: absolute; opacity: 0; pointer-events: none; }
.animal-pick span { display: inline-block; padding: .5em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--sky-2); cursor: pointer; font-weight: 500; transition: .2s var(--ease); }
.animal-pick input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.animal-pick input:focus-visible + span { box-shadow: 0 0 0 4px rgba(30,136,210,.25); }
.form__preview { background: #E7F7EE; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .9rem; color: #134E33; }
.form__preview span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #3F8A63; margin-bottom: 4px; }
.form__preview p { margin: 0; white-space: pre-line; }
.form__error { color: #C0392B; font-size: .9rem; margin: 0; }

/* Footer */
.footer { background: var(--navy); color: #9DB3C8; padding: 56px 0 40px; }
.footer__inner { display: grid; gap: 12px; justify-items: start; }
.footer p { margin: 0; font-size: .92rem; }
.footer__copy { display: flex; align-items: center; gap: .4em; }
.ic--paw { color: var(--yellow); fill: currentColor; stroke: none; }
.footer__credits { font-size: .78rem !important; opacity: .7; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); z-index: 40; transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }

/* Aparición */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__logo .draw { stroke-dashoffset: 0; }
  .result__bars rect { transform: none; }
  .ticker__track, .gallery__track { width: auto; flex-wrap: wrap; }
}

/* Evitar desbordes en móvil (columnas de grid con contenido largo, como el correo) */
.contact > *, .why-wrap > *, .ia__inner > *, .hero__inner > * { min-width: 0; }
.contact__list a { overflow-wrap: anywhere; }
@media (min-width: 860px) { .steps { padding-top: 100px; } .flow__line { z-index: 1; } .step__icon { z-index: 2; } }

/* Logo oficial (PNG con transparencia) */
.brand .brand__logo { height: 50px; width: auto; }
.footer .brand .brand__logo { height: 56px; }
@media (max-width: 400px) { .brand .brand__logo { height: 42px; } }
img.hero__logo { width: 22%; height: auto; left: 4%; top: 0; animation: logoIn 1s .2s var(--ease) both; }
@keyframes logoIn { from { opacity: 0; scale: .7; rotate: -8deg; } }
@media (min-width: 861px) { .nav .brand .brand__logo { height: 58px; } }
.footer__copy { display: block; }
.footer__copy .ic--paw { display: inline-block; }

/* Exámenes: etiquetas y banner a domicilio */
.exam__badge { position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: .4em; font: 600 .76rem var(--font-head); letter-spacing: .02em; color: var(--navy); background: var(--yellow); padding: .35em .8em; border-radius: 999px; box-shadow: 0 6px 14px rgba(249,201,60,.35); }
.exam__badge .ic { width: 1.1em; height: 1.1em; }
.exam__badge--static { position: static; margin-bottom: .8rem; }
.exam__tag { display: block; font: 600 .75rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .35rem; }
.home-banner { margin-top: 36px; display: grid; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--navy) 0%, #12406B 100%); color: #D6E4F2; border-radius: 28px; padding: 24px; overflow: hidden; position: relative; }
.home-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(249,201,60,.25), transparent 70%); pointer-events: none; }
.home-banner__img { width: 100%; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.home-banner__img img { width: 100%; height: 100%; object-fit: cover; }
.home-banner h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .4em; }
.home-banner p { margin: 0; }
.home-banner .btn { justify-self: start; position: relative; z-index: 1; }
@media (min-width: 860px) { .home-banner { grid-template-columns: 240px 1fr auto; padding: 22px 32px 22px 22px; } .home-banner__img { aspect-ratio: 1; } }

/* Hero: encuadre de las fotos nuevas */
.ph--main img { object-position: 62% 30%; transform: none; }
.ph--pet img { object-position: 50% 30%; transform: none; }

/* Footer en columnas */
.footer { padding: 72px 0 28px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; } }
.footer__brand p { margin: 16px 0 18px; max-width: 30em; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .25s, transform .25s var(--ease), color .25s; }
.footer__social a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-head); color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .04em; margin: 4px 0 6px; }
.footer__col a, .footer__col p { color: #9DB3C8; text-decoration: none; font-size: .92rem; display: flex; gap: .55em; align-items: flex-start; margin: 0; overflow-wrap: anywhere; transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }
.footer__col .ic { margin-top: .15em; color: var(--yellow); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: #9DB3C8; text-decoration: none; font-size: .85rem; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* Páginas legales */
.legal-page { padding: 130px 0 80px; background: var(--sky-2); }
.legal { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .3em; }
.legal__date { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: #3D4F63; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--blue); }
.legal__back { display: inline-flex; align-items: center; gap: .4em; margin-bottom: 1.4rem; color: var(--blue); text-decoration: none; font-weight: 600; font-family: var(--font-head); font-size: .92rem; }
.legal__back .ic { transform: rotate(180deg); }
@media (max-width: 719px) { .footer { padding-bottom: 96px; } }
