/* =========================================================================
   SIVA · Servicio Integral de Vida Asistida
   Hoja de estilos principal
   Paleta y criterios tomados del boceto aprobado (27-10-26).
   ========================================================================= */

:root {
	--teal: #68CAD3;
	--teal-dark: #157079;
	--deep: #0C4B53;
	--deeper: #082F35;
	--yellow: #F2C21B;
	--yellow-soft: #FBE9A8;
	--gray: #6E6F72;
	--ink: #22333A;
	--text: #41565C;
	--bg: #F5FAFA;
	--tint: #EDF6F6;
	--line: #DCEBEC;
	--white: #ffffff;

	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--container: 1180px;
	--gutter: clamp(20px, 4vw, 44px);
	--radius: 18px;
	--radius-lg: 26px;
	--shadow-sm: 0 6px 18px rgba(12, 75, 83, 0.08);
	--shadow: 0 22px 55px rgba(12, 75, 83, 0.12);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ Base ---------------------------------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
	overflow: hidden;
}

img,
svg {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: var(--teal-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--deep);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.022em;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

::selection {
	background: var(--yellow);
	color: var(--deep);
}

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 3px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 500;
	background: var(--yellow);
	color: var(--deep);
	padding: 12px 18px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 16px;
}

/* ----------------------------- Tipografía ------------------------------ */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--teal-dark);
}

.eyebrow::before {
	content: '';
	display: block;
	width: 24px;
	height: 2px;
	background: var(--yellow);
}

.eyebrow--light {
	color: rgba(255, 255, 255, 0.82);
}

.lead {
	font-size: 1.08rem;
	line-height: 1.75;
	color: #334A50;
}

.section {
	padding: clamp(64px, 8vw, 108px) 0;
}

.section--tint {
	background: var(--tint);
}

.section--dark {
	background: var(--deep);
	color: rgba(255, 255, 255, 0.78);
}

.section--compact {
	padding: clamp(40px, 5.5vw, 64px) 0;
}

.section__head {
	max-width: 760px;
	margin-bottom: clamp(34px, 5vw, 54px);
}

.section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section__head--split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: end;
	max-width: none;
}

.section__title {
	margin-top: 12px;
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	color: var(--deep);
}

.section__title--light {
	color: var(--white);
}

.section__intro {
	margin: 0;
	font-size: 1rem;
	line-height: 1.72;
}

.section__head--center .section__intro {
	max-width: 640px;
	margin: 14px auto 0;
}

/* ------------------------------ Botones -------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 27px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 0.93rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--gold {
	background: var(--yellow);
	color: #2A2A10;
	box-shadow: 0 12px 28px rgba(242, 194, 27, 0.3);
}

.btn--gold:hover {
	background: #F8CE3B;
	color: #2A2A10;
	transform: translateY(-2px);
}

.btn--deep {
	background: var(--deep);
	color: var(--white);
}

.btn--deep:hover {
	background: var(--teal-dark);
	color: var(--white);
	transform: translateY(-2px);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(5px);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
}

.btn--sm {
	padding: 11px 20px;
	font-size: 0.82rem;
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.83rem;
	font-weight: 800;
	color: var(--teal-dark);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

.checklist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 22px;
	margin: 24px 0 0;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.88rem;
	line-height: 1.5;
}

.checklist .icon {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: var(--teal-dark);
	stroke-width: 2.4;
}

/* ------------------------------ Kicker --------------------------------- */

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
}

.kicker__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--yellow);
	flex: none;
}

/* ------------------------------ Header --------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
}

.topbar {
	max-height: 60px;
	overflow: hidden;
	background: var(--deeper);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.75rem;
	transition: max-height 0.35s var(--ease), opacity 0.25s ease;
}

.site-header.is-stuck .topbar {
	max-height: 0;
	opacity: 0;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 38px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.topbar__group {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	white-space: nowrap;
}

.topbar__link:hover {
	color: var(--white);
}

.topbar__link .icon {
	width: 14px;
	height: 14px;
	color: var(--teal);
}

.topbar__address {
	overflow: hidden;
	text-overflow: ellipsis;
}

.a11y {
	display: flex;
	align-items: center;
	gap: 3px;
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.a11y__btn {
	width: 26px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
}

.a11y__btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--white);
}

.navbar {
	border-bottom: 1px solid var(--line);
	background: var(--white);
	transition: box-shadow 0.25s ease;
}

.site-header.is-stuck .navbar {
	box-shadow: 0 12px 34px rgba(12, 75, 83, 0.1);
}

.navbar__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 84px;
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	text-decoration: none;
}

.brand__logo {
	width: auto;
	height: 52px;
}

.nav {
	margin-left: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 27px);
}

.nav__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	color: var(--text);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}

.nav__list a:hover,
.nav__list a[aria-current='page'] {
	color: var(--deep);
}

.nav__list a:hover::after,
.nav__list a[aria-current='page']::after {
	transform: scaleX(1);
}

.navbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 11px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
}

.burger span {
	display: block;
	width: 100%;
	height: 2px;
	margin: 4px 0;
	border-radius: 2px;
	background: var(--deep);
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 90px 26px 40px;
	overflow-y: auto;
	background: var(--deep);
	color: var(--white);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-14px);
	transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s var(--ease);
}

.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mobile-menu__inner {
	position: relative;
	width: 100%;
	max-width: 420px;
	text-align: center;
}

.mobile-menu__close {
	position: absolute;
	top: -58px;
	right: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}

.mobile-menu__close:hover {
	background: rgba(255, 255, 255, 0.16);
}

.mobile-menu__close .icon {
	width: 20px;
	height: 20px;
}

.mobile-menu__list li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu__list a {
	display: block;
	padding: 16px 0;
	color: var(--white);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.mobile-menu__list a:hover {
	color: var(--yellow);
}

.mobile-menu__footer {
	margin-top: 30px;
}

.mobile-menu__footer .btn {
	width: 100%;
}

.mobile-menu__footer p {
	margin: 18px 0 0;
	font-size: 0.85rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
}

.mobile-menu__footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

/* ------------------------------- Hero ---------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 660px;
	padding: clamp(78px, 9vw, 118px) 0 clamp(118px, 12vw, 160px);
	overflow: hidden;
	color: var(--white);
}

.hero__media,
.hero__veil {
	position: absolute;
	inset: 0;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 58%;
	filter: blur(3px);
	transform: scale(1.04);
}

.hero__veil {
	background:
		linear-gradient(102deg, rgba(6, 38, 44, 0.94) 0%, rgba(9, 52, 58, 0.78) 44%, rgba(9, 52, 58, 0.3) 100%),
		linear-gradient(to top, rgba(6, 38, 44, 0.72) 0%, rgba(6, 38, 44, 0) 46%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.52fr);
	gap: clamp(30px, 5vw, 60px);
	align-items: center;
}

.hero__title {
	max-width: 15ch;
	font-size: clamp(2.6rem, 5.2vw, 4.35rem);
	color: var(--white);
	text-shadow: 0 3px 28px rgba(0, 0, 0, 0.3);
}

.hero__text {
	max-width: 56ch;
	margin: 20px 0 0;
	font-size: 1.07rem;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.24);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 30px;
}

.hero__badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.84);
}

.hero__badges .icon {
	width: 17px;
	height: 17px;
	color: var(--teal);
}

.hero__card {
	padding: 26px 24px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 22px;
	background: rgba(8, 47, 53, 0.42);
	backdrop-filter: blur(14px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero__card-title {
	margin: 0 0 18px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.hero__card-list li {
	display: flex;
	gap: 13px;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__card-list li:first-child {
	padding-top: 0;
	border-top: 0;
}

.hero__card-list li:last-child {
	padding-bottom: 0;
}

.hero__card-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(242, 194, 27, 0.16);
	color: var(--yellow);
	flex: none;
}

.hero__card-icon .icon {
	width: 20px;
	height: 20px;
}

.hero__card-list strong {
	display: block;
	font-size: 0.88rem;
	color: var(--white);
}

.hero__card-list span span {
	display: block;
	margin-top: 2px;
	font-size: 0.78rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}

.hero__side {
	position: absolute;
	right: 16px;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%) rotate(90deg);
	transform-origin: center;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}

/* ----------------------------- Trustbar -------------------------------- */

.trustbar-wrap {
	position: relative;
	z-index: 5;
	margin-top: -62px;
}

.trustbar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding: 28px 32px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.trustbar li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}

.trustbar .icon {
	width: 28px;
	height: 28px;
	margin-top: 2px;
	color: var(--teal-dark);
	stroke-width: 1.5;
}

.trustbar strong {
	display: block;
	font-size: 0.9rem;
	color: var(--deep);
	line-height: 1.3;
}

.trustbar span {
	display: block;
	margin-top: 3px;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--gray);
}

/* ------------------------------- About --------------------------------- */

.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(38px, 6vw, 80px);
	align-items: center;
}

.about__media {
	position: relative;
}

.about__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.about__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__photo--main {
	width: 100%;
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow);
}

.about__badge {
	position: absolute;
	left: 2%;
	bottom: 16%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: var(--yellow);
	color: #2A2A10;
	text-align: center;
	box-shadow: 0 16px 32px rgba(12, 75, 83, 0.18);
}

.about__badge-num {
	font-size: 2.3rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.about__badge-txt {
	margin-top: 3px;
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.25;
}

.about__body .section__title {
	margin-bottom: 18px;
}

.about__body p + p {
	margin-top: 12px;
}

.about__highlight {
	padding: 0 0.14em;
	color: var(--deep);
	font-weight: 700;
	background: linear-gradient(
		180deg,
		transparent 0,
		transparent 26%,
		rgba(242, 194, 27, 0.3) 26%,
		rgba(242, 194, 27, 0.3) 95%,
		transparent 95%
	);
	border-radius: 3px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.about__sign {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--deep);
}

.about__sign small {
	display: block;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--gray);
	letter-spacing: 0.02em;
}

.about__sign-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--deep);
	color: var(--yellow);
	font-size: 1.15rem;
	font-weight: 800;
	font-style: italic;
}

/* ------------------------- Áreas de la institución ---------------------- */

.about-areas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: clamp(34px, 5vw, 52px);
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1px solid var(--line);
}

.about-area {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
}

.about-area__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #EAF6F6;
	color: var(--teal-dark);
	flex: none;
}

.about-area__icon .icon {
	width: 22px;
	height: 22px;
}

.about-area strong {
	display: block;
	font-size: 0.94rem;
	color: var(--deep);
}

.about-area p {
	margin: 5px 0 0;
	font-size: 0.84rem;
	line-height: 1.6;
	color: var(--text);
}

/* ------------------------------- Salud --------------------------------- */

.med-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.med-card {
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.med-card:hover {
	transform: translateY(-4px);
	border-color: rgba(21, 112, 121, 0.25);
	box-shadow: var(--shadow-sm);
}

.med-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #EAF6F6;
	color: var(--teal-dark);
}

.med-card__icon .icon {
	width: 24px;
	height: 24px;
}

.med-card--profile .med-card__icon {
	background: var(--yellow-soft);
	color: var(--deeper);
}

.med-card h3 {
	margin: 16px 0 8px;
	font-size: 1.02rem;
	color: var(--deep);
}

.med-card p {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.62;
}

.med-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid rgba(12, 75, 83, 0.12);
}

.med-cta__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 34px;
}

.med-cta__stats span {
	display: flex;
	flex-direction: column;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--gray);
}

.med-cta__stats strong {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--deep);
}

.med-home {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 15px 20px;
	border: 1px solid rgba(21, 112, 121, 0.18);
	border-radius: 14px;
	background: var(--white);
}

.med-home__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #EAF6F6;
	color: var(--teal-dark);
}

.med-home__icon .icon {
	width: 20px;
	height: 20px;
}

.med-home__text {
	flex: 1 1 240px;
	min-width: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--deep);
}

.med-home__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--teal-dark);
	white-space: nowrap;
}

.med-home__link .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.med-home__link:hover .icon {
	transform: translateX(3px);
}

/* -------------------- Atención gerontológica domiciliaria ----------------- */

.dom-care {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 3vw, 32px);
	padding: clamp(24px, 3.4vw, 34px) clamp(22px, 3.4vw, 38px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.dom-care__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #EAF6F6;
	color: var(--teal-dark);
}

.dom-care__icon .icon {
	width: 28px;
	height: 28px;
}

.dom-care__title {
	margin: 0 0 8px;
	font-size: clamp(1.18rem, 2.1vw, 1.45rem);
	line-height: 1.2;
	color: var(--deep);
}

.dom-care__body p {
	max-width: 62ch;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--gray);
}

.dom-care__body .dom-care__note {
	margin-top: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--teal-dark);
}

/* ------------------------------- Rooms --------------------------------- */

.rooms {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.room {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
	transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.room:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-sm);
}

.room__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--tint);
}

.room__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.room:hover .room__media img {
	transform: scale(1.04);
}

/* Segunda foto de la habitación individual: recuadro superpuesto */
.room__media .room__thumb {
	position: absolute;
	left: 14px;
	bottom: 14px;
	width: 40%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 6px solid var(--white);
	border-radius: 14px;
	box-shadow: 0 12px 26px rgba(12, 75, 83, 0.22);
	transition: none;
}

.room:hover .room__media .room__thumb {
	transform: none;
}

.room__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(12, 75, 83, 0.86);
	color: var(--white);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}

.room__body {
	padding: 24px;
}

.room__title {
	font-size: 1.12rem;
	color: var(--deep);
}

.room__body > p {
	margin: 6px 0 0;
	font-size: 0.86rem;
	line-height: 1.6;
}

.room__features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 12px;
	margin: 18px 0;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.room__features li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.76rem;
	color: var(--text);
}

.room__features .icon {
	width: 15px;
	height: 15px;
	color: var(--teal-dark);
}

/* ----------------------------- Amenities -------------------------------- */

.amenities {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
}

.amenities__intro p {
	margin-top: 18px;
	font-size: 0.98rem;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.72);
}

.amenities__intro .btn {
	margin-top: 26px;
}

.amenities__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.amenities__grid li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.85rem;
	color: var(--white);
}

.amenities__grid .icon {
	width: 21px;
	height: 21px;
	color: var(--yellow);
}

.amenities__note {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 30px 0 0;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.84rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}

.amenities__note .icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--yellow);
}

/* ------------------------ Galería de los espacios ------------------------ */

.space-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 14px;
	margin-top: clamp(30px, 4vw, 48px);
}

.space-gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
}

.space-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.space-gallery__item:hover img {
	transform: scale(1.03);
}

.space-gallery__item--wide {
	grid-column: span 6;
	aspect-ratio: 16 / 9;
}

.space-gallery__item--small {
	grid-column: span 3;
	aspect-ratio: 4 / 3;
}

/* ----------------------------- Vida diaria ------------------------------ */

.life {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(38px, 6vw, 70px);
	align-items: center;
}

.life__media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.life__photo {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 18px;
	background: var(--tint);
}

.life__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.life__photo:hover img {
	transform: scale(1.04);
}

.life__body .section__title {
	margin-bottom: 16px;
}

.life__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 22px;
	margin-top: 28px;
}

.life__list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.life__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #EAF6F6;
	color: var(--teal-dark);
	flex: none;
}

.life__icon .icon {
	width: 19px;
	height: 19px;
}

.life__list strong {
	display: block;
	font-size: 0.88rem;
	color: var(--deep);
}

.life__list span span {
	display: block;
	margin-top: 2px;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--gray);
}

/* --------------------------- Redes sociales ---------------------------- */

.social-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 26px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.social-band__text {
	flex: 1 1 240px;
}

.social-band__text strong {
	display: block;
	font-size: 0.9rem;
	color: var(--deep);
}

.social-band__text span {
	display: block;
	margin-top: 3px;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--gray);
}

.social-band__links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.social-band__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0;
	padding: 9px 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg);
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--deep);
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-band__link:hover {
	border-color: var(--teal);
	background: var(--tint);
	color: var(--teal-dark);
}

.social-band__link .icon {
	width: 17px;
	height: 17px;
	color: var(--teal-dark);
	flex: none;
}

.social-band__link small {
	font-size: 0.76rem;
	font-weight: 500;
	color: var(--gray);
}

/* ------------------------------ Galería -------------------------------- */

.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 190px;
	gap: 14px;
}

.gallery__item {
	position: relative;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 16px;
	background: #D8E8E8;
	cursor: zoom-in;
}

.gallery--wide {
	grid-column: span 2;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.gallery--pool img {
	object-position: center 88%;
}

.gallery--people-top img {
	object-position: center 32%;
}

.gallery--people img {
	object-position: center 15%;
}

.gallery__item:hover img {
	transform: scale(1.05);
}

.gallery__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(to top, rgba(8, 47, 53, 0.55), rgba(8, 47, 53, 0.05));
	color: var(--white);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.gallery__overlay .icon {
	width: 26px;
	height: 26px;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
	opacity: 1;
}

/* ----------------------------- Compromiso ------------------------------- */

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.pillar {
	padding: 30px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.pillar__num {
	display: block;
	margin-bottom: 10px;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #CFE4E4;
}

.pillar h3 {
	font-size: 1.1rem;
	color: var(--deep);
}

.pillar p {
	margin: 8px 0 0;
	font-size: 0.88rem;
	line-height: 1.65;
}

.commitment {
	max-width: 900px;
	margin: 46px auto 0;
	padding: clamp(30px, 5vw, 46px);
	border-radius: 24px;
	background: var(--deep);
	color: var(--white);
	text-align: center;
}

.commitment > .icon {
	width: 32px;
	height: 32px;
	margin-bottom: 14px;
	color: var(--yellow);
}

.commitment p {
	max-width: 760px;
	margin: 0 auto;
	font-size: clamp(1.15rem, 2.1vw, 1.55rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.commitment footer {
	margin-top: 18px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

/* ----------------------------- CTA band --------------------------------- */

.cta-band {
	position: relative;
	padding: clamp(82px, 10vw, 126px) 0;
	overflow: hidden;
	color: var(--white);
	text-align: center;
}

.cta-band__media,
.cta-band__veil {
	position: absolute;
	inset: 0;
}

.cta-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta-band__veil {
	background:
		linear-gradient(to bottom, rgba(6, 38, 44, 0.82), rgba(6, 38, 44, 0.88)),
		linear-gradient(110deg, rgba(12, 75, 83, 0.7), rgba(8, 47, 53, 0.5));
}

.cta-band__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.cta-band__inner .eyebrow {
	justify-content: center;
}

.cta-band__title {
	margin-top: 12px;
	font-size: clamp(2rem, 4vw, 3.1rem);
	color: var(--white);
}

.cta-band__inner > p:not(.eyebrow) {
	max-width: 600px;
	margin: 16px auto 0;
	font-size: 1rem;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.82);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

/* ------------------------------ Contacto -------------------------------- */

.contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(38px, 6vw, 72px);
	align-items: start;
}

.contact__info .section__title {
	margin-bottom: 16px;
}

.contact__list {
	margin: 28px 0 30px;
}

.contact__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
}

.contact__list li:first-child {
	padding-top: 0;
}

.contact__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #EAF6F6;
	color: var(--teal-dark);
	flex: none;
}

.contact__icon .icon {
	width: 20px;
	height: 20px;
}

.contact__list strong {
	display: block;
	margin-bottom: 2px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gray);
}

.contact__list a,
.contact__list span:not(.contact__icon) {
	display: block;
	font-size: 0.94rem;
	color: var(--ink);
	text-decoration: none;
	line-height: 1.55;
}

.contact__list a:hover {
	color: var(--teal-dark);
	text-decoration: underline;
}

.contact__list span.contact__note {
	margin-top: 6px;
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--gray);
	max-width: 46ch;
}

.contact__social {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-top: 2px;
}

.contact__list .contact__social a {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	color: var(--teal-dark);
}

.contact__form-wrap {
	padding: clamp(24px, 3.5vw, 36px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.field {
	margin-bottom: 16px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--deep);
}

.field label span {
	color: #C0392B;
}

.field input,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #CFE0E0;
	border-radius: 10px;
	background: #FBFDFD;
	color: var(--ink);
	font: inherit;
	font-size: 0.92rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #93A6A9;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--teal-dark);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(104, 202, 211, 0.22);
}

.field textarea {
	min-height: 130px;
	resize: vertical;
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 18px;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--text);
}

.check input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--teal-dark);
	flex: none;
}

.form__legal {
	margin: 12px 0 0;
	font-size: 0.7rem;
	line-height: 1.5;
	color: var(--gray);
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 0.86rem;
	line-height: 1.55;
}

.notice .icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.notice p {
	margin: 0;
}

.notice--ok {
	border-color: #BFE6D1;
	background: #EAF8F0;
	color: #1B6B47;
}

.notice--error {
	border-color: #F1C4C0;
	background: #FDEDEC;
	color: #A33A30;
}

/* ------------------------------- Footer --------------------------------- */

.site-footer {
	padding: 66px 0 22px;
	background: var(--deeper);
	color: rgba(255, 255, 255, 0.66);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 1fr 1fr;
	gap: 38px;
}

.brand__logo--footer {
	height: 48px;
}

.footer__about {
	max-width: 34ch;
	margin: 18px 0 0;
	font-size: 0.84rem;
	line-height: 1.7;
}

.footer__social {
	display: flex;
	gap: 9px;
	margin-top: 20px;
}

.footer__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.75);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__social a:hover {
	border-color: var(--yellow);
	background: var(--yellow);
	color: var(--deep);
}

.footer__social .icon {
	width: 16px;
	height: 16px;
}

.footer__title {
	margin-bottom: 16px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--white);
}

.footer__list li {
	margin-bottom: 9px;
	font-size: 0.83rem;
	line-height: 1.5;
}

.footer__list a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
}

.footer__list a:hover {
	color: var(--yellow);
}

.footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.footer__list--contact .icon {
	width: 15px;
	height: 15px;
	margin-top: 3px;
	color: var(--teal);
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.73rem;
	color: rgba(255, 255, 255, 0.46);
}

.footer__bottom p {
	margin: 0;
}

.footer__legal {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__legal a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.footer__legal a:hover {
	color: var(--yellow);
}

.footer__credit {
	margin-top: 14px;
	padding-top: 0;
	font-size: 0.65rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.34);
}

/* --------------------------- Contacto flotante --------------------------- */

.assistant {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	/* El contenedor ocupa espacio aunque la leyenda esté cerrada: no debe
	   quedarse con los toques. Solo la mascota y la leyenda abierta los reciben. */
	pointer-events: none;
}

.assistant__bubble {
	position: relative;
	width: 300px;
	padding: 18px 18px 16px;
	border: 1px solid var(--line);
	border-radius: 18px 18px 5px 18px;
	background: var(--white);
	box-shadow: 0 20px 48px rgba(12, 75, 83, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.97);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease);
}

.assistant__bubble::after {
	content: '';
	position: absolute;
	right: 28px;
	bottom: -8px;
	width: 15px;
	height: 15px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
	transform: rotate(45deg);
}

.assistant.is-visible .assistant__bubble {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
}

.assistant__close {
	position: absolute;
	top: -10px;
	right: -10px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: #7C8C8F;
	font-size: 1rem;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(12, 75, 83, 0.14);
}

.assistant__close:hover {
	background: var(--tint);
	color: var(--ink);
}

.assistant__brand {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--deep);
}

.assistant__brand span {
	display: block;
	margin-top: 2px;
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--gray);
}

.assistant__text {
	margin: 10px 0 0;
	font-size: 0.83rem;
	line-height: 1.55;
	color: #334A50;
}

.assistant__actions {
	display: flex;
	gap: 8px;
	margin-top: 13px;
}

.assistant__actions a {
	flex: 1;
	padding: 10px 6px;
	border-radius: 8px;
	font-size: 0.76rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.assistant__wa {
	background: var(--teal-dark);
	color: var(--white);
}

.assistant__wa:hover {
	background: var(--deep);
	color: var(--white);
}

.assistant__call {
	border: 1px solid var(--line);
	background: var(--tint);
	color: var(--deep);
}

.assistant__call:hover {
	background: #E2F1F1;
	color: var(--deep);
}

.assistant__dock {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

/* --------------------------- Dr. SIVA (mascota) ----------------------- */

.dr-siva {
	/* 110 px es el maximo, nunca se pasa.
	   --ds-normal: saludo y leyenda abierta
	   --ds-small: espera achicada
	   --ds-big: al pasar el mouse (vuelve al maximo) */
	--ds-normal: 110px;
	--ds-small: 72px;
	--ds-big: 110px;
	position: relative;
	width: var(--ds-normal);
	pointer-events: auto;
	transition: width 0.32s var(--ease);
}

.dr-siva.is-boot {
	transition: none;
}

.dr-siva.is-standby {
	width: var(--ds-small);
}

/* Con mouse, al pasar por encima se agranda. En pantallas táctiles no aplica. */
@media (hover: hover) and (pointer: fine) {
	.dr-siva.is-standby:hover,
	.dr-siva.is-standby:focus-within {
		width: var(--ds-big);
	}
}

.dr-siva__btn {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease);
}

.dr-siva__btn:hover {
	transform: translateY(-2px) scale(1.015);
}

.dr-siva__btn:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 4px;
}

.dr-siva__figure {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 300 / 497;
}

.dr-siva__anim,
.dr-siva__loop,
.dr-siva__still {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dr-siva__anim {
	position: relative;
	z-index: 1;
	/* Mientras no tenga imagen cargada no se dibuja el recuadro vacío. */
	visibility: hidden;
}

.dr-siva.has-anim .dr-siva__anim {
	visibility: visible;
}

.dr-siva__loop,
.dr-siva__still {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
}

/* Terminado el saludo: se ve el loop de espera. */
.dr-siva.is-idle .dr-siva__anim {
	visibility: hidden;
}

.dr-siva.is-idle .dr-siva__loop {
	opacity: 1;
	visibility: visible;
}

/* Si el sistema pide reducir movimiento: cuadro fijo, sin loop. */
.dr-siva.is-still .dr-siva__loop {
	opacity: 0;
	visibility: hidden;
}

.dr-siva.is-still .dr-siva__still {
	opacity: 1;
	visibility: visible;
}

.whatsapp-float {
	position: relative;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	pointer-events: auto;
	border-radius: 50%;
	background: var(--teal-dark);
	color: var(--white);
	box-shadow: 0 14px 30px rgba(23, 105, 109, 0.38);
	transition: transform 0.2s var(--ease), background-color 0.2s ease;
}

.whatsapp-float::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid var(--yellow);
	border-radius: 50%;
	animation: siva-pulse 2.4s ease-out 3;
}

.whatsapp-float:hover {
	background: var(--deep);
	color: var(--white);
	transform: scale(1.05);
}

.whatsapp-float .icon {
	width: 30px;
	height: 30px;
}

@keyframes siva-pulse {
	0% {
		transform: scale(1);
		opacity: 0.9;
	}
	70%,
	100% {
		transform: scale(1.55);
		opacity: 0;
	}
}

.to-top {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 89;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--deep);
	box-shadow: var(--shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top .icon {
	width: 18px;
	height: 18px;
}

/* ----------------------------- Page hero -------------------------------- */

.page-hero {
	position: relative;
	padding: clamp(58px, 7vw, 84px) 0 clamp(58px, 7vw, 84px);
	overflow: hidden;
	background: var(--deep);
	color: var(--white);
}

.page-hero--medical {
	min-height: 560px;
	display: flex;
	align-items: center;
	padding: clamp(64px, 8vw, 100px) 0;
}

.page-hero--simple {
	background:
		radial-gradient(circle at 85% 15%, rgba(104, 202, 211, 0.2), transparent 45%),
		var(--deep);
}

.page-hero__media,
.page-hero__veil {
	position: absolute;
	inset: 0;
}

.page-hero--medical .page-hero__media {
	left: 0;
	width: 100%;
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% center;
}

.page-hero__veil {
	background:
		linear-gradient(95deg, rgba(6, 38, 44, 0.98) 0%, rgba(8, 47, 53, 0.94) 42%, rgba(8, 47, 53, 0.62) 72%, rgba(8, 47, 53, 0.34) 100%),
		linear-gradient(to top, rgba(6, 38, 44, 0.7), transparent 60%);
}

.page-hero--simple .page-hero__veil {
	display: none;
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

/* La portada del servicio médico se alinea con el resto de las secciones. */
.page-hero--medical .page-hero__inner {
	margin-left: 0;
	margin-right: auto;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 26px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--yellow);
}

.page-hero__title {
	font-size: clamp(2.5rem, 4.8vw, 3.9rem);
	color: var(--white);
}

.page-hero__text {
	max-width: 60ch;
	margin: 18px 0 0;
	font-size: 1.04rem;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.84);
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.page-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 34px;
	margin-top: 38px;
}

.page-hero__stats li {
	padding-left: 14px;
	border-left: 2px solid var(--yellow);
}

.page-hero__stats strong {
	display: block;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--white);
}

.page-hero__stats span {
	display: block;
	margin-top: 3px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.58);
}

/* --------------------------- Medical intro ------------------------------ */

.med-intro {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(38px, 6vw, 70px);
	align-items: center;
}

.med-intro__body .section__title {
	margin-bottom: 16px;
}

.med-intro__body p + p {
	margin-top: 12px;
}

.med-highlight {
	display: flex;
	gap: 14px;
	margin: 24px 0;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--yellow);
	border-radius: 12px;
	background: var(--white);
}

.med-highlight__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #EAF6F6;
	color: var(--teal-dark);
	flex: none;
}

.med-highlight__icon .icon {
	width: 20px;
	height: 20px;
}

.med-highlight strong {
	display: block;
	font-size: 0.9rem;
	color: var(--deep);
}

.med-highlight p {
	margin: 4px 0 0;
	font-size: 0.82rem;
	line-height: 1.55;
}

.med-intro__media {
	position: relative;
}

.med-intro__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 3 / 4;
	box-shadow: var(--shadow);
}

.med-intro__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.med-intro__badge {
	position: absolute;
	right: -18px;
	bottom: -22px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: 16px;
	background: var(--yellow);
	color: #2A2A10;
	box-shadow: 0 16px 34px rgba(12, 75, 83, 0.2);
}

.med-intro__badge .icon {
	width: 26px;
	height: 26px;
}

.med-intro__badge strong {
	display: block;
	font-size: 0.85rem;
}

.med-intro__badge span {
	display: block;
	font-size: 0.7rem;
}

/* ----------------------------- Especialidades --------------------------- */

.specialties {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.specialty {
	padding: 24px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.specialty:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.specialty__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #EAF6F6;
	color: var(--teal-dark);
}

.specialty__icon .icon {
	width: 22px;
	height: 22px;
}

.specialty h3 {
	margin: 14px 0 6px;
	font-size: 0.96rem;
	color: var(--deep);
}

.specialty p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.58;
}

/* Tarjeta con foto (Infectología) */
.specialty--photo {
	grid-column: span 2;
	display: grid;
	grid-template-columns: 176px 1fr;
	align-items: center;
	gap: 18px;
}

.specialty__photo {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 12px;
}

.specialty__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.specialty--photo h3 {
	margin-top: 0;
}

.specialties__note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 26px 0 0;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	font-size: 0.84rem;
	line-height: 1.6;
	color: var(--text);
}

.specialties__note .icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--teal-dark);
}

/* --------------------------- Director médico ---------------------------- */

.director {
	display: grid;
	grid-template-columns: minmax(0, 232px) 1fr;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	max-width: 780px;
	margin: 0 auto clamp(30px, 3.6vw, 44px);
	padding: clamp(16px, 2vw, 24px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.director__photo {
	margin: 0;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: var(--radius);
}

.director__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
}

.director__title {
	margin: 0 0 10px;
	font-size: clamp(1.25rem, 1.7vw, 1.6rem);
	color: var(--deep);
}

.director__body p {
	margin: 0;
	max-width: 46ch;
	font-size: 0.92rem;
	line-height: 1.62;
}

/* ---------------------------- Prevención -------------------------------- */

.prevention-panel {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 26px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid #EBD9A2;
	border-left: 5px solid var(--yellow);
	border-radius: 14px;
	background: #FFFDF5;
}

.prevention-panel__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--yellow);
	color: var(--deeper);
	flex: none;
}

.prevention-panel__icon .icon {
	width: 23px;
	height: 23px;
}

.prevention-panel strong {
	display: block;
	margin-bottom: 4px;
	font-size: 0.98rem;
	color: var(--deep);
}

.prevention-panel p {
	margin: 0;
	font-size: 0.87rem;
	line-height: 1.65;
	color: var(--text);
}

/* ------------------------------- Feature -------------------------------- */

.feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(38px, 6vw, 70px);
	align-items: center;
}

.feature--reverse .feature__media {
	order: -1;
}

.feature--solo {
	grid-template-columns: 1fr;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.feature__body .section__title {
	margin-bottom: 16px;
}

.feature__body p + p {
	margin-top: 12px;
}

.feature__media {
	position: relative;
}

.feature__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow);
}

.feature__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature__photo--portrait {
	aspect-ratio: 4 / 5;
	width: 100%;
	max-width: 420px;
	margin-left: auto;
}

.feature__photo--portrait img {
	object-position: center 80%;
}

.feature__sticker {
	position: absolute;
	left: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--white);
	color: var(--deep);
	font-size: 0.78rem;
	font-weight: 800;
	box-shadow: var(--shadow-sm);
}

.feature__sticker .icon {
	width: 20px;
	height: 20px;
	color: var(--teal-dark);
}

.feature__sticker--top {
	top: 18px;
	bottom: auto;
}

.feature__note {
	margin-top: 18px;
	padding-left: 14px;
	border-left: 3px solid var(--teal);
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--gray);
}

.study-panel {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.study-panel__title {
	margin: 0 0 8px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gray);
}

.study-panel li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
}

.study-panel li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.study-panel .icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--teal-dark);
}

.study-panel strong {
	display: block;
	font-size: 0.88rem;
	color: var(--deep);
}

.study-panel span span {
	display: block;
	margin-top: 2px;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--gray);
}

/* --------------------------- Tira de estudios ---------------------------- */

.study-strip {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	margin-top: clamp(30px, 4vw, 48px);
}

.study-strip__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.study-strip__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 20%;
	transition: transform 0.6s var(--ease);
}

.study-strip__item:hover img {
	transform: scale(1.03);
}

.study-strip__item--top img {
	object-position: center 0%;
}

.study-strip__item figcaption {
	padding: 12px 18px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--teal-dark);
}

.plans-card {
	padding: clamp(26px, 4vw, 38px);
	border: 1px solid #EBD9A2;
	border-left: 5px solid var(--yellow);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, #FFFDF5 0%, #FFF9E7 100%);
	box-shadow: var(--shadow-sm);
}

.plans-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--yellow);
	color: var(--deeper);
}

.plans-card__icon .icon {
	width: 24px;
	height: 24px;
}

.plans-card h3 {
	margin: 16px 0 8px;
	font-size: 1.15rem;
	color: var(--deeper);
}

.plans-card p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--ink);
}

.plans-card ul {
	display: grid;
	gap: 9px;
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.plans-card li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--text);
}

.plans-card li .icon {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: var(--teal-dark);
}

.palliative-card {
	padding: clamp(26px, 4vw, 38px);
	border-radius: var(--radius-lg);
	background: var(--deep);
	color: rgba(255, 255, 255, 0.76);
	box-shadow: var(--shadow);
}

.palliative-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(242, 194, 27, 0.16);
	color: var(--yellow);
}

.palliative-card__icon .icon {
	width: 24px;
	height: 24px;
}

.palliative-card h3 {
	margin: 16px 0 8px;
	font-size: 1.3rem;
	color: var(--white);
}

.palliative-card p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.65;
}

.palliative-card ul {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.palliative-card li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 7px;
	font-size: 0.82rem;
}

.palliative-card li:last-child {
	margin-bottom: 0;
}

.palliative-card li .icon {
	width: 15px;
	height: 15px;
	color: var(--yellow);
	stroke-width: 2.4;
}

/* ------------------------------- Familia -------------------------------- */

.family {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(38px, 6vw, 68px);
	align-items: center;
}

.family__intro p {
	margin-top: 16px;
	font-size: 0.96rem;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.72);
}

.family__intro .btn {
	margin-top: 24px;
}

.family__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.family__grid li {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
}

.family__grid .icon {
	width: 23px;
	height: 23px;
	margin-bottom: 12px;
	color: var(--yellow);
}

.family__grid strong {
	display: block;
	font-size: 0.86rem;
	color: var(--white);
}

.family__grid span {
	display: block;
	margin-top: 4px;
	font-size: 0.76rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.64);
}

.family__grid--wide {
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(28px, 4vw, 40px);
}

.family__photo {
	margin: 0;
	overflow: hidden;
	width: 100%;
	max-width: 380px;
	justify-self: end;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}

.family__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 32%;
}

.family__care {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 26px;
	padding: 20px 24px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 4px solid var(--yellow);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
}

.family__care .icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--yellow);
	flex: none;
}

.family__care strong {
	display: block;
	margin-bottom: 3px;
	font-size: 0.9rem;
	color: var(--white);
}

.family__care p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------- Mini grid ------------------------------ */

.mini-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mini-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.mini-card > span {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #EAF6F6;
	color: var(--teal-dark);
}

.mini-card > span .icon {
	width: 23px;
	height: 23px;
}

.mini-card h3 {
	margin: 16px 0 6px;
	font-size: 1.02rem;
	color: var(--deep);
}

.mini-card p {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.6;
}

/* -------------------------------- Steps --------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.step {
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.step__num {
	display: block;
	margin-bottom: 8px;
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #CFE4E4;
}

.step h3 {
	font-size: 0.98rem;
	color: var(--deep);
}

.step p {
	margin: 7px 0 0;
	font-size: 0.82rem;
	line-height: 1.58;
}

.admission-note {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 26px;
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
}

.admission-note__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #EAF6F6;
	color: var(--teal-dark);
	flex: none;
}

.admission-note__icon .icon {
	width: 21px;
	height: 21px;
}

.admission-note strong {
	display: block;
	font-size: 0.88rem;
	color: var(--deep);
}

.admission-note p {
	margin: 3px 0 0;
	font-size: 0.8rem;
	line-height: 1.55;
}

.admission-note .link-arrow {
	margin-left: auto;
	flex: none;
}

/* ---------------------------- Obras sociales ---------------------------- */

.social-care {
	margin-top: 26px;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid #EBD9A2;
	border-left: 5px solid var(--yellow);
	border-radius: 18px;
	background: linear-gradient(180deg, #FFFDF5 0%, #FFF9E7 100%);
}

.social-care__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.social-care__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--yellow);
	color: var(--deeper);
	flex: none;
}

.social-care__icon .icon {
	width: 23px;
	height: 23px;
}

.social-care__kicker {
	margin: 0 0 3px;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal-dark);
}

.social-care__title {
	margin: 0;
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--deeper);
}

.social-care__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.social-care__body p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--ink);
}

.social-care__body p + p {
	padding-left: 32px;
	border-left: 1px solid #EBD9A2;
}

.social-care__body strong {
	font-weight: 800;
	color: var(--deeper);
	background: linear-gradient(transparent 62%, rgba(242, 194, 27, 0.4) 62%);
	padding: 0 1px;
}

/* --------------------------------- FAQ ---------------------------------- */

.faq {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(36px, 6vw, 68px);
	align-items: start;
}

.faq__intro {
	position: sticky;
	top: 120px;
}

.faq__intro .section__title {
	margin-bottom: 14px;
}

.faq__intro .btn {
	margin-top: 20px;
}

.faq__contact {
	margin-top: 20px;
	font-size: 0.82rem;
	line-height: 1.7;
	color: var(--gray);
}

.faq__contact a {
	color: var(--teal-dark);
	font-weight: 700;
	text-decoration: none;
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
	border-top: 1px solid var(--line);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
	font-size: 0.94rem;
	font-weight: 700;
	color: var(--deep);
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__plus {
	position: relative;
	width: 18px;
	height: 18px;
	flex: none;
}

.faq__plus::before,
.faq__plus::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--teal-dark);
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}

.faq__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__plus::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
	padding-bottom: 18px;
}

.faq__answer p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--text);
}

/* --------------------------- Mantenimiento ------------------------------ */

.maintenance-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 30px);
}

.maintenance-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.maintenance-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.maintenance-card__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--tint);
}

.maintenance-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 32%;
}

.maintenance-card__body {
	padding: clamp(20px, 3vw, 30px);
}

.maintenance-card__tag {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #EAF6F6;
	color: var(--teal-dark);
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maintenance-card h3 {
	margin: 0 0 8px;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	color: var(--deep);
}

.maintenance-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--text);
}

.maintenance-note {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 30px 0 0;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	font-size: 0.86rem;
	line-height: 1.6;
	color: var(--text);
}

.maintenance-note .icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--teal-dark);
}

.maintenance-empty {
	padding: 40px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	text-align: center;
	color: var(--gray);
}

.amenities__more {
	margin: 28px 0 0;
}

.btn--maintenance {
	gap: 12px;
	padding: 17px 30px;
	border-color: var(--yellow);
	background: rgba(242, 194, 27, 0.12);
	color: var(--yellow);
	font-size: 1rem;
}

.btn--maintenance .icon {
	width: 20px;
	height: 20px;
}

.btn--maintenance:hover {
	border-color: var(--yellow);
	background: var(--yellow);
	color: #2A2A10;
	transform: translateY(-2px);
}

/* ------------------------------ Mascotas -------------------------------- */

.pets {
	display: grid;
	grid-template-columns: 1.04fr 0.96fr;
	gap: clamp(38px, 6vw, 70px);
	align-items: center;
}

.pets__body .section__title {
	margin-bottom: 16px;
}

.pets__body .lead {
	color: rgba(255, 255, 255, 0.78);
}

.pets__list {
	display: grid;
	gap: 18px;
	margin: 28px 0 0;
}

.pets__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.pets__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--yellow);
	flex: none;
}

.pets__icon .icon {
	width: 21px;
	height: 21px;
}

.pets__list strong {
	display: block;
	font-size: 0.9rem;
	color: var(--white);
}

.pets__list span span {
	display: block;
	margin-top: 3px;
	font-size: 0.82rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.66);
}

.pets__gallery {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 420px;
}

.pets__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.pets__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	object-position: center 38%;
}

.pets__badge {
	position: absolute;
	left: -18px;
	top: 22px;
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 13px 18px;
	border-radius: 999px;
	background: var(--yellow);
	color: #2A2A10;
	font-size: 0.8rem;
	font-weight: 800;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.pets__badge .icon {
	width: 18px;
	height: 18px;
}

/* --------------- Enlace a mascotas desde servicio médico ---------------- */

.pets-link {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--yellow);
	border-radius: 12px;
	background: var(--white);
	text-decoration: none;
	color: var(--text);
	transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.pets-link:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
	color: var(--text);
}

.pets-link__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: #FFF7DC;
	color: var(--deep);
	flex: none;
}

.pets-link__icon .icon {
	width: 20px;
	height: 20px;
}

.pets-link__text {
	flex: 1;
	font-size: 0.82rem;
	line-height: 1.5;
}

.pets-link__text strong {
	display: block;
	margin-bottom: 2px;
	font-size: 0.88rem;
	color: var(--deep);
}

.pets-link > .icon {
	width: 18px;
	height: 18px;
	color: var(--teal-dark);
	transition: transform 0.2s var(--ease);
	flex: none;
}

.pets-link:hover > .icon {
	transform: translateX(3px);
}

/* --------------------------- Página genérica ---------------------------- */

.page-content {
	max-width: 820px;
}

.page-content > * + * {
	margin-top: 1.1em;
}

.page-content h2 {
	margin-top: 1.8em;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	color: var(--deep);
}

.page-content h3 {
	margin-top: 1.5em;
	font-size: 1.2rem;
	color: var(--deep);
}

.page-content p,
.page-content li {
	font-size: 0.98rem;
	line-height: 1.8;
}

.page-content ul,
.page-content ol {
	padding-left: 1.25em;
	list-style: disc;
}

.page-content ol {
	list-style: decimal;
}

.page-content li + li {
	margin-top: 0.4em;
}

.page-content a {
	color: var(--teal-dark);
	font-weight: 600;
}

.page-content blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--yellow);
	border-radius: 0 12px 12px 0;
	background: var(--white);
	font-size: 1rem;
}

.posts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	max-width: none;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body {
	padding: 24px;
}

.post-card__date,
.post-meta {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gray);
}

.post-card h2 {
	margin: 8px 0;
	font-size: 1.2rem;
}

.post-card h2 a {
	color: var(--deep);
	text-decoration: none;
}

.post-card p {
	font-size: 0.86rem;
}

.post-thumb {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: var(--radius);
}

.post-back {
	margin-top: 34px;
}

.page-links {
	margin-top: 24px;
	font-size: 0.85rem;
}

.error-page .page-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.error-page .page-hero__actions {
	justify-content: center;
}

/* ------------------------------ Lightbox -------------------------------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: rgba(5, 30, 34, 0.95);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox__figure {
	max-width: 90vw;
	margin: 0;
	text-align: center;
}

.lightbox__img {
	max-width: 90vw;
	max-height: 80vh;
	margin: 0 auto;
	border-radius: 10px;
	object-fit: contain;
}

.lightbox__caption {
	margin-top: 14px;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.75);
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
	top: 22px;
	right: 22px;
}

.lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__nav--prev {
	left: 22px;
}

.lightbox__nav--next {
	right: 22px;
}

.lightbox__nav--prev .icon {
	transform: rotate(180deg);
}

.lightbox .icon {
	width: 20px;
	height: 20px;
}

/* ------------------------------- Reveal --------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ----------------------------- Responsive ------------------------------- */

@media (max-width: 1200px) {
	.hero__side {
		display: none;
	}

	.specialties {
		grid-template-columns: repeat(3, 1fr);
	}

	.study-strip {
		grid-template-columns: repeat(3, 1fr);
	}

	.space-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.space-gallery__item {
		grid-column: auto;
	}

	.space-gallery__item--wide,
	.space-gallery__item--small {
		aspect-ratio: 3 / 2;
	}

	.nav__list {
		gap: 16px;
	}

	.nav__list a {
		font-size: 0.8rem;
	}
}

@media (max-width: 1060px) {
	.topbar__address {
		display: none;
	}

	.nav__list {
		gap: 13px;
	}

	.nav__list a {
		font-size: 0.77rem;
	}

	.navbar__inner {
		gap: 18px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.5fr);
	}

	.specialties {
		grid-template-columns: repeat(2, 1fr);
	}

	.family__grid--wide {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 940px) {
	.topbar__hours,
	.a11y {
		display: none;
	}

	.nav,
	.navbar__cta {
		display: none;
	}

	.burger {
		display: block;
	}

	.navbar__actions {
		margin-left: auto;
	}

	.navbar__inner {
		min-height: 74px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__card {
		display: none;
	}

	.hero {
		min-height: 560px;
	}

	.section__head--split {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.about,
	.med-intro,
	.life,
	.pets,
	.amenities,
	.contact,
	.feature,
	.family,
	.faq,
	.about-areas {
		grid-template-columns: 1fr;
	}

	.feature--reverse .feature__media {
		order: 0;
	}

	.feature--plans .feature__media {
		order: 1;
	}

	.dom-care {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.dom-care .btn {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.about__media {
		max-width: 560px;
	}

	.family__photo {
		justify-self: start;
		max-width: 420px;
		margin-top: 10px;
	}

	.med-intro__media,
	.feature__media,
	.life__media {
		max-width: 640px;
	}

	/* La foto de enfermería es vertical: se limita para que no quede altísima */
	.med-intro__media {
		max-width: 520px;
		justify-self: center;
	}

	.rooms {
		grid-template-columns: repeat(2, 1fr);
	}

	.med-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pillars {
		grid-template-columns: 1fr;
	}

	.faq__intro {
		position: static;
	}

	.trustbar {
		grid-template-columns: 1fr 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.page-hero--medical .page-hero__media {
		opacity: 0.45;
	}
}

@media (max-width: 720px) {
	html {
		scroll-padding-top: 86px;
	}

	.topbar {
		display: none;
	}

	.navbar__inner {
		min-height: 68px;
	}

	.brand__logo {
		height: 44px;
	}

	.hero {
		min-height: 520px;
		padding: 66px 0 108px;
	}

	.hero__title {
		font-size: clamp(2.2rem, 9vw, 3rem);
	}

	.hero__text {
		font-size: 0.98rem;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.hero__badges {
		gap: 10px 16px;
	}

	.hero__badges li {
		font-size: 0.75rem;
	}

	.trustbar-wrap {
		margin-top: -52px;
	}

	.trustbar {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
	}

	.checklist {
		grid-template-columns: 1fr;
	}

	.med-grid,
	.specialties,
	.rooms,
	.mini-grid,
	.maintenance-grid,
	.steps,
	.family__grid,
	.posts {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.specialty--photo {
		grid-column: auto;
		grid-template-columns: 1fr;
	}

	.specialty__photo {
		max-width: 200px;
	}

	.director {
		grid-template-columns: 1fr;
	}

	.director__photo {
		max-width: 200px;
		justify-self: start;
	}

	.gallery {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 150px;
	}

	.gallery--wide {
		grid-column: span 2;
	}

	.life__list {
		grid-template-columns: 1fr;
	}

	.social-band {
		padding: 16px;
	}

	.social-band__link {
		flex: 1 1 100%;
	}

	.amenities__grid {
		grid-template-columns: 1fr;
	}

	.dom-care {
		grid-template-columns: 1fr;
	}

	.dom-care__icon {
		width: 52px;
		height: 52px;
	}

	.med-home {
		flex-wrap: wrap;
	}

	.med-home__link {
		margin-left: 0;
	}

	.space-gallery {
		grid-template-columns: 1fr;
	}

	.space-gallery__item--wide {
		aspect-ratio: 16 / 9;
	}

	.space-gallery__item--small {
		aspect-ratio: 4 / 3;
	}

	.study-strip {
		grid-template-columns: 1fr 1fr;
	}

	.study-strip__item figcaption {
		padding: 10px 12px;
		font-size: 0.62rem;
		letter-spacing: 0.06em;
	}

	.btn--maintenance {
		width: 100%;
		justify-content: center;
		padding: 16px 22px;
		font-size: 0.95rem;
	}

	.pets__gallery {
		max-width: none;
		justify-self: stretch;
	}

	.pets__badge {
		left: 12px;
		top: 12px;
		bottom: auto;
	}

	.pets-link {
		align-items: flex-start;
	}

	.form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.assistant__bubble {
		width: min(300px, calc(100vw - 36px));
	}

	.whatsapp-float {
		width: 54px;
		height: 54px;
	}

	.whatsapp-float .icon {
		width: 27px;
		height: 27px;
	}

	.to-top {
		width: 40px;
		height: 40px;
	}

	.page-hero__stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px 22px;
	}

	.page-hero__stats strong {
		font-size: 1.2rem;
	}

	.page-hero--medical .page-hero__media {
		width: 100%;
		opacity: 0.22;
	}

	.admission-note {
		flex-wrap: wrap;
	}

	.admission-note .link-arrow {
		margin-left: 58px;
	}

	.social-care__body {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.social-care__body p + p {
		padding-left: 0;
		padding-top: 18px;
		border-left: 0;
		border-top: 1px solid #EBD9A2;
	}

	.med-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.med-intro__badge {
		right: 12px;
		bottom: -18px;
	}

	.cta-band__media img {
		object-position: 64% center;
	}

	.lightbox {
		padding: 16px;
	}

	.lightbox__nav {
		top: auto;
		bottom: 18px;
		transform: none;
	}

	.lightbox__nav--prev {
		left: calc(50% - 56px);
	}

	.lightbox__nav--next {
		right: calc(50% - 56px);
	}

	.lightbox__close {
		top: 14px;
		right: 14px;
	}

	.lightbox__img {
		max-height: 68vh;
	}
}

@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;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}

	.whatsapp-float::before {
		display: none;
	}
}
