/* ==========================================================================
   Perseo · mockup home
   Una idea: el círculo del logo (foco / lente). Todo sale del disco.
   ========================================================================== */

:root {
	--navy: #17406e;
	--navy-deep: #0c2748;
	--ink: #0f2a47;
	--ink-soft: #44607f;
	--teal: #a9d6d9;
	--teal-soft: #d7ecee;
	--mint: #eaf6f5;
	--paper: #f6fbfb;
	--green: #65bc7b;
	--green-deep: #1f7a47;
	--ginger: #e9a35f;
	--line: rgba(15, 42, 71, 0.14);

	--font-display: "Gabarito", "Nunito Sans", system-ui, sans-serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(20px, 5vw, 64px);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 76px;
	--edge: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); /* % y no vw: 100vw incluye la barra de scroll y descuadra ~7px */
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
	margin: 0;
	background: var(--paper);
	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 va en el contenedor raíz, no en body */
.page { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.skip {
	position: fixed; left: 12px; top: -80px; z-index: 100;
	background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
	transition: top 0.2s;
}
.skip:focus { top: 12px; }

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 3px;
	border-radius: 6px;
}
.dark :focus-visible { outline-color: var(--teal); }

/* ---------- Tipografía ---------- */
.h1, .h2, .h3, .hero-title, .aim-statement {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.04;
	text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.h2--light { color: #fff; }

/* ---------- Botones ---------- */
.btn {
	--mx: 0px; --my: 0px;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding-block: 0; padding-inline: 28px;
	border: 2px solid var(--green);
	border-radius: 999px;
	background: var(--green);
	color: var(--navy-deep);
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
	text-decoration: none;
	transform: translate3d(var(--mx), var(--my), 0);
	transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
	box-shadow: 0 10px 24px -12px rgba(31, 122, 71, 0.8);
}
.btn:hover { background: #7ccb90; border-color: #7ccb90; }
.btn--ghost {
	background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none;
}
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--onDark { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--onDark:hover { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn--small { min-height: 44px; padding-inline: 22px; font-size: 0.98rem; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.link {
	font-weight: 700; color: var(--navy);
	text-decoration-line: underline; text-decoration-thickness: 2px;
	text-underline-offset: 5px; text-decoration-color: var(--green);
	padding-block: 12px;
}
.link:hover { text-decoration-color: var(--navy); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.cursor {
		display: block; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
	}
	.cursor-ring {
		position: absolute; left: -17px; top: -17px;
		width: 34px; height: 34px; border-radius: 50%;
		border: 2px solid var(--navy);
		display: grid; place-items: center;
		opacity: 0;
		transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), left 0.35s var(--ease-out), top 0.35s var(--ease-out), background 0.3s, border-color 0.3s, opacity 0.3s;
	}
	.cursor.is-on .cursor-ring { opacity: 1; }
	.cursor.is-dark .cursor-ring { border-color: #fff; }
	.cursor.is-link .cursor-ring { width: 64px; height: 64px; left: -32px; top: -32px; background: rgba(101, 188, 123, 0.28); border-color: var(--green); }
	.cursor.is-label .cursor-ring { width: 86px; height: 86px; left: -43px; top: -43px; background: var(--green); border-color: var(--green); }
	.cursor-label {
		font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--navy-deep);
		opacity: 0; transition: opacity 0.2s;
	}
	.cursor.is-label .cursor-label { opacity: 1; }
}

/* ---------- Cabecera ---------- */
.site-header {
	position: fixed; z-index: 60; left: 0; right: 0; top: 0;
	height: var(--header-h);
	display: flex; align-items: center; gap: 32px;
	padding-inline: var(--edge);
	transition: background 0.3s, box-shadow 0.3s, height 0.3s;
}
.site-header.is-stuck {
	background: rgba(246, 251, 251, 0.82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line);
	height: 66px;
}
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
	padding-block: 10px; padding-inline: 14px; border-radius: 999px;
	font-family: var(--font-display); font-weight: 600; text-decoration: none;
	transition: background 0.2s;
}
.nav a:hover { background: var(--teal-soft); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid; align-items: center;
	padding-block: calc(var(--header-h) + 24px) 56px;
	background: linear-gradient(160deg, #f8fcfc 0%, var(--mint) 55%, #dcf0ee 100%);
	overflow: clip;
	isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
	position: absolute; border-radius: 50%;
	filter: blur(72px);
	will-change: transform;
	transform: translate3d(var(--ox, 0px), var(--oy, 0px), 0);
}
.orb--teal { width: 62vmax; height: 62vmax; left: 38%; top: -18%; background: var(--teal); opacity: 0.85; }
.orb--green { width: 34vmax; height: 34vmax; left: -8%; bottom: -20%; background: var(--green); opacity: 0.32; }
.orb--blue { width: 38vmax; height: 38vmax; right: -12%; bottom: -26%; background: #3f78b4; opacity: 0.3; }
.orb--warm { width: 26vmax; height: 26vmax; left: 30%; bottom: 4%; background: #f3c997; opacity: 0.5; }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(24px, 4vw, 72px);
	align-items: center;
}
.hero-place {
	display: inline-flex; align-items: center; gap: 10px;
	padding-block: 8px; padding-inline: 16px 18px;
	border-radius: 999px; background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--line);
	font-weight: 700; font-size: 0.95rem; color: var(--navy);
}
.hero-place::before {
	content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green);
	box-shadow: 0 0 0 4px rgba(101, 188, 123, 0.28);
}
.hero-title { font-size: clamp(2.6rem, 5.6vw, 5rem); margin-top: 22px; color: var(--navy-deep); }
.hero-title .line { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.hero-title .line-in { display: inline-block; }
.hero-lead { margin-top: 24px; max-width: 34rem; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-phones { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 34px; }
.hero-phones a {
	display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center;
	padding-block: 8px; padding-inline: 16px; border-radius: 16px;
	background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line);
	text-decoration: none; font-family: var(--font-display); font-weight: 700; line-height: 1.15;
	transition: background 0.2s, transform 0.25s var(--ease-out);
}
.hero-phones a:hover { background: #fff; transform: translateY(-3px); }
.hero-phones span { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); }

/* Escenario: disco + animales con parallax 2.5D */
.scene { perspective: 1100px; width: min(100%, 640px); margin-inline: auto; }
.scene-inner {
	position: relative; aspect-ratio: 1 / 1; transform-style: preserve-3d;
	transform: rotateY(calc(var(--px, 0) * 5deg)) rotateX(calc(var(--py, 0) * -4deg));
}
.layer {
	position: absolute;
	transform: translate3d(calc(var(--px, 0) * var(--d) * 1px), calc(var(--py, 0) * var(--d) * 0.55px), 0);
	will-change: transform;
}
.layer--ring { inset: -4%; border-radius: 50%; border: 1.5px solid rgba(23, 64, 110, 0.35); }
.layer--ring2 { inset: 17%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.22); }
.layer--disc { inset: 4%; }
.disc {
	display: block; width: 100%; height: 100%; border-radius: 50%;
	background: radial-gradient(circle at 34% 26%, #2f6aa6 0%, var(--navy) 52%, var(--navy-deep) 100%);
	box-shadow: 0 50px 90px -34px rgba(12, 39, 72, 0.7), inset 0 -30px 60px rgba(8, 24, 46, 0.35);
}
.animal {
	position: relative; z-index: 1; width: auto; height: 100%;
	filter: drop-shadow(0 14px 16px rgba(8, 28, 52, 0.3));
}
.ground {
	position: absolute; left: 8%; right: 8%; bottom: -3%; height: 7%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(6, 22, 42, 0.5), transparent);
	filter: blur(3px);
}
.layer--dog { left: 3%; bottom: 17%; height: 72%; z-index: 3; }
.layer--cat { right: 2%; bottom: 19%; height: 60%; z-index: 4; }
.layer--rabbit { left: 34%; bottom: 3%; height: 36%; z-index: 5; }
.layer--guinea { right: 21%; bottom: 0%; height: 20%; z-index: 6; }
.layer--dog .animal, .layer--cat .animal, .layer--rabbit .animal, .layer--guinea .animal { margin-inline: auto; }

/* ---------- Objetivo ---------- */
.aim {
	position: relative;
	padding-block: clamp(5.5rem, 12vw, 10.5rem);
	padding-inline: var(--gutter);
	background: var(--paper);
}
.aim-in { max-width: 66rem; margin-left: clamp(0px, 7vw, 120px); }
.aim-statement {
	font-size: clamp(2.3rem, 5.6vw, 4.7rem);
	color: var(--navy-deep);
	max-width: 16em;
}
.aim-statement .w { display: inline-block; }
.aim-body { margin-top: 44px; max-width: 40rem; margin-left: clamp(0px, 8vw, 140px); color: var(--ink-soft); }
.aim-body p + p { margin-top: 16px; }
.aim-species-intro { margin-top: 32px !important; font-weight: 700; color: var(--ink); }
.species { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
	min-height: 48px; padding-block: 0; padding-inline: 24px;
	border: 2px solid var(--navy); border-radius: 999px; background: transparent;
	font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy);
	transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.chip:hover, .chip:focus-visible { background: var(--navy); color: #fff; transform: translateY(-3px); }
.aim-note { margin-top: 12px; }
.species-pop {
	position: fixed; left: 0; top: 0; z-index: 70; width: 190px; height: auto; pointer-events: none;
	opacity: 0; transform: translate3d(-999px, -999px, 0);
	filter: drop-shadow(0 18px 18px rgba(8, 28, 52, 0.3));
}

/* ---------- Servicios ---------- */
.services {
	position: relative;
	padding-block: clamp(4.5rem, 9vw, 8rem);
	background: linear-gradient(180deg, var(--paper), var(--mint));
}
.services-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-head { position: sticky; top: calc(var(--header-h) + 24px); transition: opacity 0.35s; }
.services.is-previewing .svc-head { opacity: 0.2; }
.svc-sub { margin-top: 22px; max-width: 26rem; color: var(--ink-soft); }
.svc-hint { margin-top: 28px; font-size: 0.92rem; color: var(--ink-soft); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px;
	padding-block: 26px; padding-inline: 8px;
	border-bottom: 1px solid var(--line);
	transition: padding-inline 0.35s var(--ease-out), background 0.3s;
	outline-offset: -3px;
}
.svc::after {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
	background: var(--green); transform: scaleX(0); transform-origin: left;
	transition: transform 0.5s var(--ease-out);
}
.svc h3 {
	font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.3rem);
	line-height: 1.1; letter-spacing: -0.015em; color: var(--navy-deep);
}
.svc h3 small {
	display: inline-block; margin-left: 10px; padding-block: 3px; padding-inline: 10px; border-radius: 999px;
	background: var(--teal); color: var(--navy-deep);
	font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0; vertical-align: middle;
}
.svc p { max-width: 36rem; color: var(--ink-soft); }
.svc:hover, .svc:focus-visible { padding-inline: 22px 8px; background: rgba(255, 255, 255, 0.55); }
.svc:hover::after, .svc:focus-visible::after { transform: scaleX(1); }
.svc-thumb { display: none; }

.svc-preview {
	position: fixed; left: 0; top: 0; z-index: 40; width: 300px; height: 300px;
	border-radius: 50%; overflow: hidden; pointer-events: none;
	box-shadow: 0 30px 60px -20px rgba(12, 39, 72, 0.55), 0 0 0 6px #fff;
	opacity: 0; transform: translate3d(-999px, -999px, 0) scale(0.6);
	transition: opacity 0.3s;
}
.svc-preview-in { position: absolute; inset: 0; }
.svc-preview-in img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 0.35s;
}
.svc-preview-in img.is-on { opacity: 1; }

/* ---------- Cirugía (iris) ---------- */
.cx { position: relative; background: var(--paper); }
.cx-iris {
	position: relative; isolation: isolate;
	min-height: 92vh; display: grid; align-items: center;
	padding-block: clamp(6rem, 11vw, 10rem);
	background: var(--navy-deep); color: #e8f1f7;
	overflow: clip;
}
.cx-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) contrast(1.05); }
.cx-wash {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 90% at 18% 40%, rgba(12, 39, 72, 0.9), rgba(12, 39, 72, 0.74) 55%, rgba(12, 39, 72, 0.9)),
		linear-gradient(0deg, rgba(23, 64, 110, 0.5), rgba(12, 39, 72, 0.5));
}
.cx-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.cx-kicker {
	display: inline-block; margin-bottom: 20px; padding-block: 7px; padding-inline: 14px;
	border: 1px solid rgba(169, 214, 217, 0.5); border-radius: 999px;
	font-weight: 700; font-size: 0.9rem; color: var(--teal);
}
.cx-lead { margin-top: 22px; max-width: 36rem; font-size: 1.12rem; color: #cfe0ec; }
.cx-lead:first-of-type { margin-top: 30px; }
.cx-side {
	padding: 30px; border-radius: 28px;
	background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cx-side-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.cx-list { margin-top: 16px; display: grid; gap: 4px; }
.cx-list li { position: relative; padding-block: 11px; padding-left: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.cx-list li::before {
	content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; border-radius: 50%;
	background: var(--green); transform: translateY(-50%);
}
.cx-who { margin-top: 20px; font-size: 0.98rem; color: #cfe0ec; }
.cx-who strong { color: #fff; }

/* ---------- Plan Salud (pin) ---------- */
.plan { background: var(--mint); }
.plan-pin {
	position: relative; min-height: 100vh;
	display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
	gap: clamp(24px, 5vw, 80px);
	padding-block: 90px 60px; padding-inline: var(--gutter);
	max-width: 1360px; margin-inline: auto;
}
.plan-visual { position: relative; aspect-ratio: 1 / 1; width: min(100%, 560px); margin-inline: auto; }
.plan-disc {
	position: absolute; inset: 6%; border-radius: 50%;
	background: radial-gradient(circle at 32% 24%, #fff 0%, var(--teal) 55%, #8cc4c9 100%);
	box-shadow: 0 40px 80px -36px rgba(23, 64, 110, 0.55);
}
.plan-dog {
	position: absolute; left: 50%; bottom: 4%; height: 88%; width: auto; max-width: none;
	transform: translate(-50%, 0) scale(0.88); opacity: 0;
	filter: drop-shadow(0 18px 20px rgba(8, 28, 52, 0.28));
	transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.plan-dog.is-active { opacity: 1; transform: translate(-50%, 0) scale(1); }
.plan-copy { position: relative; }
.stages { position: relative; margin-top: 34px; }
.stage { display: none; }
.stage.is-active { display: block; animation: stage-in 0.6s var(--ease-out); }
@keyframes stage-in { from { opacity: 0.3; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stage-dog { display: none; }
.stage h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--navy-deep); }
.stage > p { margin-top: 12px; max-width: 32rem; color: var(--ink-soft); }
.stage ul { margin-top: 20px; display: grid; gap: 10px; max-width: 34rem; }
.stage li { position: relative; padding-left: 30px; }
.stage li::before {
	content: ""; position: absolute; left: 0; top: 0.5em; width: 16px; height: 2px; background: var(--green-deep);
}
.plan-progress { margin-top: 34px; height: 4px; max-width: 34rem; border-radius: 4px; background: rgba(23, 64, 110, 0.15); overflow: hidden; }
.plan-progress span { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0.333); transform-origin: left; }

/* ---------- Equipo ---------- */
.team { padding-block: clamp(5rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem); background: var(--paper); }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.team-lead { margin-top: 22px; max-width: 36rem; color: var(--ink-soft); font-size: 1.1rem; }
.people { margin-top: 44px; display: grid; gap: 34px; }
.person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; }
.avatar {
	position: relative; display: block; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
	box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--teal);
	transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person:hover .avatar { box-shadow: 0 0 0 4px var(--paper), 0 0 0 9px var(--green); transform: scale(1.05); }
.person h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--navy-deep); }
.person h3 small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--green-deep); }
.person p { margin-top: 8px; color: var(--ink-soft); max-width: 34rem; }
.proof { position: sticky; top: calc(var(--header-h) + 28px); margin-top: 60px; transform: rotate(2deg); }
.proof-img { width: 100%; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(12, 39, 72, 0.6), 0 0 0 8px #fff; }
.proof figcaption { margin-top: 20px; padding-left: 8px; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Testimonios ---------- */
.voices { padding-block: clamp(4rem, 8vw, 7rem); background: var(--mint); }
.voices-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.voices-head .h2 { max-width: 14em; }
.voices-ctrl { display: flex; gap: 10px; }
.round {
	width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy); background: transparent;
	display: grid; place-items: center; color: var(--navy);
	transition: background 0.2s, color 0.2s;
}
.round:hover { background: var(--navy); color: #fff; }
.voices-track {
	display: flex; gap: 22px; margin-top: 44px;
	padding-block: 12px 28px; padding-inline: var(--edge);
	scroll-padding-inline: var(--edge);
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
	cursor: grab;
}
.voices-track::-webkit-scrollbar { display: none; }
.voices-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.voice {
	flex: 0 0 min(86vw, 420px); scroll-snap-align: start;
	display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
	padding: 32px; border-radius: 28px; background: #fff;
	box-shadow: 0 20px 40px -26px rgba(12, 39, 72, 0.45);
	user-select: none;
}
.voice:nth-child(even) { margin-top: 34px; }
.voice--tall { flex-basis: min(86vw, 500px); background: var(--navy); color: #fff; }
.voice blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.38; }
.voice--tall blockquote { font-size: 1.3rem; }
.voice figcaption { font-weight: 700; color: var(--green-deep); }
.voice--tall figcaption { color: var(--teal); }
.voices-note { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Clínicas ---------- */
.clinics { padding-block: clamp(5rem, 9vw, 8rem); background: var(--paper); }
.clinics-head { max-width: 40rem; }
.clinics-head p { margin-top: 14px; color: var(--ink-soft); }
.clinics-card {
	max-width: 1080px; margin-top: 44px; margin-inline: auto;
	border-radius: 36px; background: #fff; overflow: hidden;
	box-shadow: 0 40px 80px -44px rgba(12, 39, 72, 0.6), 0 0 0 1px var(--line);
}
.tabs { display: flex; gap: 6px; padding: 10px; background: var(--teal-soft); }
.tab {
	flex: 1; min-height: 52px; padding-block: 0; padding-inline: 16px; border: 0; border-radius: 22px; background: transparent;
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy);
	transition: background 0.25s, color 0.25s;
}
.tab:hover { background: rgba(255, 255, 255, 0.6); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panel-in 0.55s var(--ease-out); }
@keyframes panel-in { from { opacity: 0.3; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-info { padding: clamp(28px, 4.5vw, 56px); }
.panel-info h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; color: var(--navy-deep); }
.panel-info address { margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); }
.phones { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.phones a { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; color: var(--navy); padding-block: 8px; }
.phones a:hover { color: var(--green-deep); }
.hours { margin-top: 6px; font-weight: 600; }
.panel-extra { margin-top: 14px; padding-block: 8px; padding-inline: 14px; display: inline-block; border-radius: 12px; background: var(--teal-soft); font-weight: 700; color: var(--navy-deep); }
.panel-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.panel-art { position: relative; min-height: 340px; background: linear-gradient(160deg, var(--teal-soft), var(--mint)); overflow: hidden; }
.art-disc {
	position: absolute; left: 50%; top: 52%; width: 82%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 34% 26%, #2f6aa6, var(--navy) 58%, var(--navy-deep));
	transform: translate(-50%, -50%);
}
.panel-art img {
	position: absolute; left: 50%; bottom: 7%; height: 82%; width: auto; max-width: none;
	transform: translateX(-50%);
	filter: drop-shadow(0 14px 16px rgba(8, 28, 52, 0.3));
}
.panel.is-active .panel-art img { animation: pop-in 0.7s var(--ease-out); }
@keyframes pop-in { from { transform: translate(-50%, 28px) scale(0.92); opacity: 0.3; } to { transform: translate(-50%, 0) scale(1); opacity: 1; } }

/* ---------- Veterinarios (B2B) ---------- */
.pro { padding-block: 0 clamp(4rem, 7vw, 6rem); padding-inline: var(--gutter); background: var(--paper); }
.pro-card {
	max-width: 760px; margin-left: auto; margin-right: clamp(0px, 8vw, 140px);
	padding: clamp(26px, 4vw, 40px); border-radius: 28px;
	background: var(--teal-soft); border: 1px solid rgba(23, 64, 110, 0.18);
}
.pro-card p { margin-top: 12px; margin-bottom: 22px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem); background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: ""; flex: none; width: 14px; height: 14px;
	border-right: 3px solid var(--green-deep); border-bottom: 3px solid var(--green-deep);
	transform: rotate(45deg); transition: transform 0.3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { padding-bottom: 20px; max-width: 38rem; color: var(--ink-soft); }

/* ---------- Cierre ---------- */
.final { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding-block: clamp(5rem, 9vw, 8rem) 0; }
.final-orb {
	position: absolute; z-index: -1; right: -14%; top: -40%; width: 70vmax; height: 70vmax; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, rgba(169, 214, 217, 0.5), rgba(169, 214, 217, 0) 62%);
}
.final-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: end; min-height: 460px; }
.final-copy { padding-bottom: clamp(48px, 8vw, 110px); }
.final-copy p { margin-top: 18px; font-size: 1.2rem; color: #cfe0ec; }
.final-art { position: relative; height: 440px; }
.final-cat { position: absolute; right: 10%; bottom: 0; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.35)); }
.final-guinea { position: absolute; right: 52%; bottom: -2%; height: 34%; width: auto; max-width: none; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35)); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-deep); color: #cfe0ec; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.7fr; gap: 32px; align-items: start; }
.footer-brand img { height: 64px; width: auto; padding-block: 8px; padding-inline: 14px; border-radius: 16px; background: #fff; }
.footer-brand p { margin-top: 14px; max-width: 18rem; }
.footer-clinics li { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-clinics a { text-decoration: none; color: #fff; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding-block: 8px; text-underline-offset: 4px; }
.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px;
	margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-note { max-width: 46rem; font-size: 0.85rem; color: #9db6cb; }

/* Firma Oxypage.
   Alineación por línea base, no por centrado: la base de "xypage" cae al 82,8 % de la
   altura del SVG (viewBox 180x32), o sea 0,172 de alto sobre el borde inferior. Atar
   vertical-align a esa fracción mantiene el logo sobre la línea base del texto con
   cualquier tamaño de fuente, zoom o interlineado, sin ajustes a ojo. */
.credit {
	--logo-h: 1.5em;
	display: inline-block; padding-block: 10px;
	font-size: 0.9rem; line-height: 1.2; white-space: nowrap; text-decoration: none;
	color: #9db6cb; transition: color 0.2s;
}
.credit svg {
	display: inline-block;
	width: calc(var(--logo-h) * 180 / 32); height: var(--logo-h);
	margin-left: 0.4em;
	vertical-align: calc(var(--logo-h) * -0.172);
	fill: currentColor; color: #d6e6ee; transition: color 0.2s;
}
.credit:hover, .credit:focus-visible { color: #fff; }
.credit:hover svg, .credit:focus-visible svg { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero { padding-block: calc(var(--header-h) + 4px) 40px; align-items: start; }
	.scene { order: -1; width: min(86%, 400px); margin-bottom: -4px; }
	.hero-title { margin-top: 18px; }
	.services-grid, .team-grid, .faq-grid, .cx-grid { grid-template-columns: minmax(0, 1fr); }
	.svc-head { position: static; }
	.proof { position: static; margin-top: 20px; max-width: 520px; }
	.panel { grid-template-columns: minmax(0, 1fr); }
	.panel-art { min-height: 240px; }
	.final-grid { grid-template-columns: minmax(0, 1fr); }
	.final-art { height: 340px; }
	.final-cat { right: 4%; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
	.menu-btn {
		display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; margin-left: auto;
		border: 2px solid var(--navy); border-radius: 50%; background: transparent;
	}
	.menu-btn span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform 0.3s; }
	.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
	.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
	.nav {
		position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
		background: var(--paper); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav a { font-size: 1.8rem; padding-block: 12px; }
	.site-header .btn--small { display: none; }

	/* Servicios sin hover: miniatura visible */
	.svc { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-items: start; }
	.svc-thumb { display: block; grid-row: 1 / span 2; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
	.svc:hover, .svc:focus-visible { padding-inline: 8px; }
	.svc-preview, .svc-hint { display: none; }

	/* Plan Salud apilado, sin pin */
	.plan-pin { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 70px 40px; }
	.plan-visual { display: none; }
	.stage { display: block; padding-block: 28px; border-top: 1px solid var(--line); animation: none !important; }
	.stage-dog { display: block; width: auto; height: 220px; margin-bottom: 14px; }
	.plan-progress { display: none; }
	.voices-head { flex-direction: column; align-items: start; }
	.voice:nth-child(even) { margin-top: 0; }
	.person { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
	.avatar { width: 84px; height: 84px; }
	.tabs { flex-direction: column; }
}

@media (max-width: 520px) {
	.hero-phones a { flex: 1 1 100%; }
	.hero-actions .btn { flex: 1 1 100%; }
	.panel-actions .btn { flex: 1 1 100%; }
	.final-guinea { right: 56%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Plan Salud sin pin (prefers-reduced-motion): las tres etapas apiladas */
.plan.is-static .plan-pin { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.plan.is-static .plan-visual, .plan.is-static .plan-progress { display: none; }
.plan.is-static .stage { display: block; padding-block: 28px; border-top: 1px solid var(--line); animation: none; }
.plan.is-static .stage-dog { display: block; width: auto; height: 220px; margin-bottom: 14px; }
