/**
 * Integra Salud — Hoja de estilos principal.
 * Las variables de color/tipografía se inyectan dinámicamente desde el panel
 * (ver inc/enqueue.php → integra_dynamic_css). Aquí solo se consumen.
 *
 * @package Integra_Salud
 */

/* ===================================================================
   1. RESET / BASE
   =================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
	margin: 0;
	font-family: var(--is-font-body, "Open Sans", system-ui, sans-serif);
	font-size: 17px;
	line-height: 1.7;
	color: var(--is-ink, #1C2B36);
	background: var(--is-white, #fff);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--is-font-heading, "Montserrat", system-ui, sans-serif);
	color: var(--is-primary, #2D6EA3);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
a { color: var(--is-primary, #2D6EA3); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--is-primary-dark, #1d5582); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 600; }

:focus-visible {
	outline: 3px solid var(--is-light, #A8D8F0);
	outline-offset: 2px;
	border-radius: 4px;
}

.icon { display: inline-block; vertical-align: middle; flex: none; }

/* Accesibilidad */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--is-primary); color: #fff; padding: 10px 18px;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ===================================================================
   2. LAYOUT
   =================================================================== */
.container {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 22px;
}
.container--narrow { max-width: 760px; }

.section { padding-block: 64px; }
.section--enfoque { background: var(--is-bg, #F4F6F8); }
.section--homecare { background: var(--is-bg, #F4F6F8); }
.section--about { background: var(--is-bg, #F4F6F8); }

@media (min-width: 768px) {
	.section { padding-block: 92px; }
}

/* ===================================================================
   3. TIPOGRAFÍA EDITORIAL / ENCABEZADOS DE SECCIÓN
   =================================================================== */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--is-primary, #2D6EA3);
	margin-bottom: 14px;
}
.eyebrow::before {
	content: "";
	width: 15px; height: 15px;
	flex: none;
	background: var(--is-accent, #5CB85C);
	clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}
.eyebrow--accent { color: var(--is-accent-dark, #4a9d4a); }
.eyebrow--light { color: var(--is-primary); }

.section-head {
	max-width: 720px;
	margin: 0 auto 48px;
	text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .eyebrow { justify-content: flex-start; }
.section-head .eyebrow { justify-content: center; }
.section-head--left .eyebrow { justify-content: flex-start; }

.section-head__title {
	font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem);
	margin-bottom: .35em;
}
.section-head__lead {
	font-size: 1.08rem;
	color: #51626e;
	margin: 0;
}

/* ===================================================================
   4. BOTONES
   =================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 14px 24px;
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: transform .18s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
	text-align: center;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--is-primary, #2D6EA3);
	color: #fff;
}
.btn--primary:hover { background: var(--is-primary-dark, #1d5582); color: #fff; }

.btn--accent {
	background: var(--is-accent, #5CB85C);
	color: #fff;
}
.btn--accent:hover { background: var(--is-accent-dark, #4a9d4a); color: #fff; }

.btn--outline {
	background: transparent;
	color: var(--is-primary);
	border-color: var(--is-primary);
}
.btn--outline:hover { background: var(--is-primary); color: #fff; }

.btn--whatsapp {
	background: #25D366;
	color: #fff;
}
.btn--whatsapp:hover { background: #1ebe5a; color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* Contenedor para botones de acción provistos por shortcode */
.integra-cta { display: inline-flex; align-items: center; }
.integra-cta > * { margin: 0; }

/* ===================================================================
   5. ENLACE CON FLECHA
   =================================================================== */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--is-primary);
	margin-top: auto;
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ===================================================================
   6. HEADER / NAV
   =================================================================== */
.site-header { position: relative; z-index: 50; }

.topbar {
	background: var(--is-primary, #2D6EA3);
	color: #eaf4fb;
	font-size: 13.5px;
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 18px;
	min-height: 40px;
	padding-block: 6px;
}
.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #eaf4fb;
}
.topbar__item:hover { color: #fff; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar__zona svg,
.topbar__item svg { opacity: .85; }

.navbar {
	background: #fff;
	border-bottom: 1px solid #e8edf1;
	position: sticky;
	top: 0;
	z-index: 60;
	transition: box-shadow .25s ease;
}
.navbar.is-stuck { box-shadow: 0 8px 26px -18px rgba(28,43,54,.45); }

.navbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 74px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 38px; } }

.primary-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu li { position: relative; }
.nav-menu a {
	font-family: var(--is-font-heading);
	font-weight: 500;
	font-size: 15px;
	color: var(--is-ink);
	padding: 6px 0;
	position: relative;
}
.nav-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 0; height: 2px;
	background: var(--is-accent);
	transition: width .25s ease;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--is-primary); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }

/* Submenús */
.nav-menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 12px;
	box-shadow: 0 18px 40px -22px rgba(28,43,54,.5);
	padding: 8px;
	list-style: none;
	margin: 8px 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .2s ease;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.nav-menu .sub-menu a:hover { background: var(--is-bg); }
.nav-menu .sub-menu a::after { display: none; }

.navbar__cta { padding-block: 11px; }

/* Hamburguesa */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px; height: 46px;
	background: transparent;
	border: 1px solid #e2e8ee;
	border-radius: 10px;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	width: 22px; height: 2px;
	margin-inline: auto;
	background: var(--is-primary);
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	.nav-toggle { display: flex; }
	.primary-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid #e8edf1;
		box-shadow: 0 20px 40px -24px rgba(28,43,54,.5);
		padding: 12px 22px 22px;
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height .3s ease, visibility .3s;
	}
	.primary-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.nav-menu li { border-bottom: 1px solid #eef2f5; }
	.nav-menu a { display: block; padding: 14px 2px; font-size: 16px; }
	.nav-menu a::after { display: none; }
	.nav-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-radius: 0; margin: 0 0 6px;
		padding: 0 0 0 14px; min-width: 0;
	}
	.navbar__cta { margin-top: 16px; width: 100%; }
}

/* ===================================================================
   7. HERO
   =================================================================== */
.hero {
	position: relative;
	background: var(--is-bg, #F4F6F8);
	overflow: hidden;
}
.hero__inner {
	display: grid;
	gap: 40px;
	padding-block: 56px 64px;
	align-items: center;
}
.hero__title {
	font-size: clamp(2rem, 1.2rem + 3.6vw, 3.15rem);
	margin-bottom: .35em;
}
.hero__subtitle {
	font-size: 1.18rem;
	color: #4d5e6a;
	max-width: 36em;
	margin-bottom: 1.7em;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 30px;
}
.hero__badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
}
.hero__badges li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 14.5px;
	font-weight: 500;
	color: #3e4f5b;
}
.hero__badges .icon { color: var(--is-accent); }

.hero__media { position: relative; }
.hero__photo {
	width: 100%;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 40px 70px -40px rgba(28,43,54,.55);
}
.hero__placeholder {
	border: 2px dashed #cfdce6;
	border-radius: 20px;
	background: var(--is-bg);
	min-height: 360px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
	padding: 30px;
	color: #7c8b96;
}
.hero__placeholder img { opacity: .8; }

.hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	border-radius: 14px;
	padding: 11px 16px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--is-ink);
	box-shadow: 0 18px 40px -20px rgba(28,43,54,.45);
}
.hero__chip .icon { color: var(--is-primary); }
.hero__chip--2 .icon { color: var(--is-accent); }
.hero__chip--1 { top: 22px; left: -10px; }
.hero__chip--2 { bottom: 26px; right: -8px; }

@media (max-width: 600px) {
	.hero__chip { display: none; }
}
@media (min-width: 880px) {
	.hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; padding-block: 72px 84px; }
}

/* ===================================================================
   8. TARJETAS GENÉRICAS (grids)
   =================================================================== */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: 1fr; }
.cards--4 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
	.cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
	.cards--3 { grid-template-columns: repeat(3, 1fr); }
	.cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================================================
   9. SERVICE CARD
   =================================================================== */
.service-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 16px;
	padding: 30px 28px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 50px -30px rgba(28,43,54,.4);
	border-color: #d8e4ec;
}
.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px; height: 60px;
	border-radius: 16px;
	margin-bottom: 20px;
	color: var(--is-primary);
	background: #eaf2f9;
}
/* Variantes de color por disciplina (fiel al brandboard) */
.service-card__icon--kinesiologia { color: var(--is-accent-dark, #4a9d4a); background: #e8f5e8; }
.service-card__icon--fonoaudiologia { color: var(--is-primary, #2D6EA3); background: #e6f1fa; }
.service-card__icon--terapia-ocupacional { color: #2aa6a0; background: #e3f4f3; }

.service-card__title { font-size: 1.28rem; margin-bottom: .5em; }
.service-card__title a { color: inherit; }
.service-card__title a:hover { color: var(--is-primary-dark); }
.service-card__text { color: #54646f; margin-bottom: 1.3em; }

/* ===================================================================
   10. ATENCIÓN DOMICILIARIA (benefit grid)
   =================================================================== */
.benefit-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr;
}
@media (min-width: 620px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit {
	display: flex;
	gap: 16px;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 14px;
	padding: 22px 22px;
}
.benefit__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px; height: 50px;
	border-radius: 12px;
	background: var(--is-light, #A8D8F0);
	color: var(--is-primary-dark, #1d5582);
}
.benefit__title { font-size: 1.08rem; margin-bottom: .25em; }
.benefit__text { font-size: 14.5px; color: #54646f; margin: 0; }

/* ===================================================================
   11. ¿A QUIÉNES ATENDEMOS? (audience grid)
   =================================================================== */
.audience-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 620px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }

.audience {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 14px;
	padding: 26px 16px;
	transition: transform .2s ease, border-color .2s ease;
}
.audience:hover { transform: translateY(-3px); border-color: var(--is-light); }
.audience__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: #eaf2f9;
	color: var(--is-primary);
}
.audience__label {
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--is-ink);
}

/* ===================================================================
   12. ENFOQUE
   =================================================================== */
.enfoque-card {
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 16px;
	padding: 30px 26px;
	text-align: center;
}
.enfoque-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	margin-bottom: 18px;
	background: #eaf2f9;
	color: var(--is-primary);
}
.enfoque-card__title { font-size: 1.12rem; margin-bottom: .4em; }
.enfoque-card__text { font-size: 14.5px; color: #54646f; margin: 0; }

/* ===================================================================
   13. CÓMO FUNCIONA (steps)
   =================================================================== */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 26px;
	grid-template-columns: 1fr;
	counter-reset: step;
}
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding-top: 8px; }
.step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--is-primary);
	color: #fff;
	font-family: var(--is-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 18px;
}
.step__title { font-size: 1.1rem; margin-bottom: .3em; }
.step__text { font-size: 14.5px; color: #54646f; margin: 0; }

/* Conector entre pasos (solo escritorio) */
@media (min-width: 980px) {
	.step::before {
		content: "";
		position: absolute;
		top: 34px; left: 64px; right: -13px;
		height: 2px;
		background: repeating-linear-gradient(90deg, #cfdce6 0 8px, transparent 8px 16px);
	}
	.step:last-child::before { display: none; }
}

.process-cta { text-align: center; margin-top: 48px; }

/* ===================================================================
   14. QUIÉNES SOMOS
   =================================================================== */
.about__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}
@media (min-width: 880px) {
	.about__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}
.about__photo {
	width: 100%;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 36px 64px -42px rgba(28,43,54,.5);
}
.about__placeholder {
	border: 2px dashed #cfdce6;
	border-radius: 20px;
	background: var(--is-white, #fff);
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.about__placeholder img { opacity: .75; }
.about__intro { font-size: 1.08rem; color: #4d5e6a; }
.about__historia { color: #54646f; }

.mvv {
	display: grid;
	gap: 22px;
	margin: 26px 0;
	grid-template-columns: 1fr;
}
@media (min-width: 560px) { .mvv { grid-template-columns: repeat(2, 1fr); } }
.mvv__item {
	background: var(--is-white, #fff);
	border: 1px solid #e8edf1;
	border-left: 3px solid var(--is-accent);
	border-radius: 0 12px 12px 0;
	padding: 18px 20px;
}
.mvv__item h3 { font-size: 1rem; margin-bottom: .3em; text-transform: uppercase; letter-spacing: .05em; }
.mvv__item p { font-size: 14.5px; color: #54646f; margin: 0; }

.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .values { grid-template-columns: repeat(2, 1fr); } }
.values li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 15px;
}
.values .icon { color: var(--is-accent); flex: none; }

/* ===================================================================
   15. TESTIMONIOS (slider)
   =================================================================== */
.testimonial-slider { position: relative; }
.testimonial-slider__track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.testimonial-slider__track::-webkit-scrollbar { display: none; }

.testimonial {
	scroll-snap-align: center;
	flex: 0 0 100%;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 18px;
	padding: 32px 30px;
	box-shadow: 0 24px 50px -36px rgba(28,43,54,.35);
}
@media (min-width: 720px) { .testimonial { flex-basis: calc(50% - 13px); } }
@media (min-width: 1040px) { .testimonial { flex-basis: calc(33.333% - 18px); } }

.testimonial__stars { color: #f0a500; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.testimonial__text {
	font-size: 1.02rem;
	color: #3e4f5b;
	margin: 0 0 20px;
	font-style: italic;
}
.testimonial__text p { margin: 0; }
.testimonial__author {
	display: flex;
	align-items: center;
	gap: 14px;
}
.testimonial__avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.testimonial__avatar--ph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--is-primary);
	color: #fff;
	font-family: var(--is-font-heading);
	font-weight: 700;
	font-size: 1.2rem;
	text-transform: uppercase;
}
.testimonial__author strong { display: block; font-family: var(--is-font-heading); color: var(--is-ink); }
.testimonial__author em { font-style: normal; font-size: 13.5px; color: #7c8b96; }

.testimonial-slider__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}
.slider-btn {
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1px solid #d8e4ec;
	background: #fff;
	color: var(--is-primary);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .15s ease;
}
.slider-btn:hover { background: var(--is-primary); color: #fff; }
.slider-btn:active { transform: scale(.94); }
.slider-btn[disabled] { opacity: .4; cursor: default; }

/* ===================================================================
   16. FAQ (accordion)
   =================================================================== */
.accordion { display: grid; gap: 12px; }
.accordion__item {
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 12px;
	overflow: hidden;
}
.accordion__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 20px 22px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 1.04rem;
	color: var(--is-ink);
}
.accordion__head:hover { color: var(--is-primary); }
.accordion__sign {
	flex: none;
	width: 28px; height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--is-bg);
	color: var(--is-primary);
	font-size: 1.3rem;
	line-height: 1;
	transition: transform .25s ease, background .2s ease;
}
.accordion__head[aria-expanded="true"] .accordion__sign {
	transform: rotate(45deg);
	background: var(--is-primary);
	color: #fff;
}
.accordion__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}
.accordion__panel p { margin: 0; padding: 0 22px 22px; color: #54646f; }

/* ===================================================================
   17. GALERÍA + LIGHTBOX
   =================================================================== */
.gallery {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
	display: block;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: var(--is-bg);
	aspect-ratio: 4 / 3;
}
.gallery__img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(28,43,54,0);
	transition: background .25s ease;
}
.gallery__item:hover .gallery__img { transform: scale(1.05); }
.gallery__item:hover::after { background: rgba(28,43,54,.12); }

/* Lightbox */
.is-lightbox-open { overflow: hidden; }
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
	background: rgba(16,26,33,.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
	max-width: min(92vw, 1100px);
	max-height: 86vh;
	border-radius: 8px;
	box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 0;
	cursor: pointer;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}
.lightbox__close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.24); }
@media (max-width: 600px) {
	.lightbox__nav { width: 42px; height: 42px; }
	.lightbox__nav--prev { left: 8px; }
	.lightbox__nav--next { right: 8px; }
}

/* ===================================================================
   18. CONTACTO
   =================================================================== */
.section--contact { background: var(--is-primary, #2D6EA3); color: #eaf4fb; }
.section--contact .section-head__title,
.section--contact .contact__agenda-title { color: #fff; }
.section--contact .eyebrow--light { color: #cfe6f6; }

.contact__grid {
	display: grid;
	gap: 40px;
	align-items: start;
}
@media (min-width: 880px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 54px; } }

.contact__lead { color: #cfe6f6; font-size: 1.06rem; }
.contact__list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--is-light); }
.contact__list .icon { color: var(--is-light); flex: none; }

.contact__agenda { margin-top: 30px; }
.contact__agenda-title { font-size: 1.1rem; margin-bottom: 14px; }

.bookinia-embed { margin: 0; }
.bookinia-embed--button { margin-top: 4px; }
.bookinia-embed iframe { width: 100%; min-height: 520px; border: 0; border-radius: 14px; background: #fff; }
.bookinia-embed--empty { background: rgba(255,255,255,.1); border-radius: 12px; padding: 18px; font-size: 14.5px; color: #dceaf5; }
/* Botón de reserva sobre el fondo azul de contacto: alto contraste */
.section--contact .bookinia-embed--button .btn--primary { background: #fff; color: var(--is-primary); }
.section--contact .bookinia-embed--button .btn--primary:hover { background: var(--is-light, #A8D8F0); color: var(--is-primary-dark, #1d5582); }

/* Formulario */
.contact__form-wrap {
	background: #fff;
	border-radius: 20px;
	padding: 34px 32px;
	box-shadow: 0 40px 80px -50px rgba(0,0,0,.6);
}
.contact-form__title { font-size: 1.35rem; margin-bottom: 1em; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-grid-2 { display: grid; gap: 16px; }
@media (min-width: 520px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-row label {
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 13.5px;
	color: var(--is-ink);
	margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	font-family: var(--is-font-body);
	font-size: 15px;
	color: var(--is-ink);
	padding: 12px 14px;
	border: 1.5px solid #dbe3ea;
	border-radius: 10px;
	background: #fbfcfd;
	transition: border-color .2s ease, box-shadow .2s ease;
	width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--is-primary);
	box-shadow: 0 0 0 3px rgba(45,110,163,.14);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 6px; }
.contact-form__hint { font-size: 12.5px; color: #8493a0; margin: 12px 0 0; text-align: center; }

.form-notice {
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14.5px;
	margin-bottom: 18px;
}
.form-notice--success { background: #e8f5e8; color: #2f7d31; border: 1px solid #bfe3bf; }
.form-notice--error { background: #fdeaea; color: #b23b3b; border: 1px solid #f3c7c7; }

/* Honeypot */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ===================================================================
   18. WHATSAPP FLOTANTE
   =================================================================== */
.wa-float {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 200;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px -10px rgba(28,43,54,.45);
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ===================================================================
   19. BREADCRUMBS / PAGE HEAD
   =================================================================== */
.breadcrumbs {
	background: var(--is-bg);
	border-bottom: 1px solid #e8edf1;
	font-size: 13.5px;
	padding-block: 12px;
}
.breadcrumbs a { color: var(--is-primary); }
.breadcrumbs span[aria-current] { color: #7c8b96; }
.breadcrumbs span[aria-hidden] { color: #b6c3cd; margin-inline: 4px; }

.page-head {
	background: var(--is-bg, #F4F6F8);
	padding-block: 52px;
	text-align: center;
	border-bottom: 1px solid #eef2f5;
}
.page-head__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.7rem); margin-bottom: .3em; }
.page-head__lead { color: #54646f; font-size: 1.08rem; margin: 0; }

/* ===================================================================
   20. BLOG
   =================================================================== */
.blog-layout {
	display: grid;
	gap: 44px;
	padding-block: 60px;
	align-items: start;
}
@media (min-width: 960px) { .blog-layout { grid-template-columns: 1fr 290px; gap: 54px; } }

.post-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
}
@media (min-width: 620px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 16px;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(28,43,54,.4); }
.post-card__media { display: block; aspect-ratio: 16/10; background: var(--is-bg); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; }
.post-card__ph img { width: auto; opacity: .5; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat {
	align-self: flex-start;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 11.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--is-accent-dark);
	margin-bottom: 10px;
}
.post-card__title { font-size: 1.2rem; margin-bottom: .4em; }
.post-card__title a { color: var(--is-ink); }
.post-card__title a:hover { color: var(--is-primary); }
.post-card__excerpt { color: #54646f; font-size: 14.5px; margin-bottom: 1em; }
.post-card__meta { margin-top: auto; font-size: 13px; color: #8493a0; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	border: 1px solid #dbe3ea;
	border-radius: 10px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--is-primary);
}
.pagination .page-numbers.current { background: var(--is-primary); color: #fff; border-color: var(--is-primary); }
.pagination a.page-numbers:hover { background: var(--is-bg); }

.blog-aside .widget { background: #fff; border: 1px solid #e8edf1; border-radius: 14px; padding: 22px 24px; margin-bottom: 24px; }
.blog-aside .widget-title { font-size: 1.1rem; margin-bottom: .6em; }
.blog-aside ul { list-style: none; margin: 0; padding: 0; }
.blog-aside li { padding: 7px 0; border-bottom: 1px solid #eef2f5; font-size: 14.5px; }
.blog-aside li:last-child { border-bottom: 0; }
.blog-aside a { color: #3e4f5b; }
.blog-aside a:hover { color: var(--is-primary); }

.no-results { color: #54646f; font-size: 1.05rem; text-align: center; padding: 40px 0; }

/* ===================================================================
   21. ENTRADA / PÁGINA INDIVIDUAL
   =================================================================== */
.single-post { padding-block: 52px 70px; }
.single-post__head { text-align: center; margin-bottom: 30px; }
.single-post__title { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.8rem); margin: .35em 0; }
.single-post__meta { color: #8493a0; font-size: 14px; }
.single-post__cover { margin: 0 auto 40px; max-width: 1000px; }
.single-post__cover img { width: 100%; border-radius: 18px; }

.entry-content { font-size: 1.07rem; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.32rem; margin-top: 1.4em; }
.entry-content img { border-radius: 12px; margin: 1.4em 0; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--is-accent);
	color: #3e4f5b;
	font-style: italic;
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }

.single-post__cta {
	margin-top: 48px;
	background: var(--is-bg);
	border-radius: 16px;
	padding: 30px 28px;
	text-align: center;
}
.single-post__cta p { font-family: var(--is-font-heading); font-weight: 600; font-size: 1.15rem; color: var(--is-primary); margin-bottom: 1em; }

/* ===================================================================
   22. SERVICIO INDIVIDUAL
   =================================================================== */
.servicio-hero {
	background: var(--is-bg, #F4F6F8);
	padding-block: 56px 64px;
	border-bottom: 1px solid #eef2f5;
}
.servicio-hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .servicio-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 54px; } }
.servicio-hero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px; height: 72px;
	border-radius: 18px;
	margin-bottom: 22px;
	background: #eaf2f9;
	color: var(--is-primary);
}
.servicio-hero__title { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.7rem); margin-bottom: .35em; }
.servicio-hero__lead { font-size: 1.12rem; color: #4d5e6a; margin-bottom: 1.5em; }
.servicio-hero__media img { width: 100%; border-radius: 20px; box-shadow: 0 36px 64px -42px rgba(28,43,54,.5); }

.servicio-body {
	display: grid;
	gap: 44px;
	padding-block: 60px;
	align-items: start;
}
@media (min-width: 880px) { .servicio-body { grid-template-columns: 1fr 320px; gap: 54px; } }

.servicio-body__aside {
	background: var(--is-bg);
	border-radius: 18px;
	padding: 28px 26px;
	position: sticky;
	top: 96px;
}
.servicio-body__aside-title { font-size: 1.2rem; margin-bottom: 1em; }
.treatment-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.treatment-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #3e4f5b; }
.treatment-list .icon { color: var(--is-accent); flex: none; margin-top: 2px; }

/* ===================================================================
   23. FOOTER
   =================================================================== */
.site-footer { background: var(--is-ink, #1C2B36); color: #b8c5cf; }
.site-footer a { color: #cdd8e0; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
	display: grid;
	gap: 28px;
	padding-block: 52px 32px;
	grid-template-columns: 1fr;
}
@media (min-width: 880px) {
	.site-footer__grid {
		grid-template-columns: minmax(220px, 280px) 1fr;
		gap: 56px;
		align-items: center;
	}
}

.footer-about {
	border-top: 1px solid rgba(255,255,255,.08);
	padding-top: 22px;
}
@media (min-width: 880px) {
	.footer-about { border-top: 0; padding-top: 0; }
}
.footer-about p {
	margin: 0;
	font-size: 13px;
	line-height: 1.85;
	color: #8a99a5;
	max-width: none;
}

.footer-brand__mark { margin-bottom: 16px; }
.footer-brand__name {
	font-family: var(--is-font-heading);
	font-weight: 700;
	font-size: 1.35rem;
	color: #fff;
	margin: 0 0 .25em;
}
.footer-brand__tagline { font-size: 14.5px; color: #93a3af; margin-bottom: 1.4em; max-width: 30ch; }

.footer-col__title {
	font-size: 1.02rem;
	color: #fff;
	margin-bottom: 1em;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-list li { font-size: 14.5px; }
.footer-list--contact a { color: #cdd8e0; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
	width: 40px; height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #cdd8e0;
	transition: background .2s ease, color .2s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--is-accent); color: #fff; transform: translateY(-2px); }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-sep { margin: 0 6px; opacity: .5; }
.footer-privacy-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-privacy-link:hover { color: #fff; }
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	justify-content: space-between;
	align-items: center;
	padding-block: 20px;
	font-size: 13.5px;
	color: #8a9aa6;
}
.site-footer__bottom-inner p { margin: 0; }

.made-in-chile { display: inline-flex; align-items: center; gap: 8px; }
.made-in-chile__flag {
	display: inline-flex;
	flex: none;
	width: 22px; height: 15px;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}
.made-in-chile__flag svg { display: block; width: 100%; height: 100%; }
.made-in-chile a { color: #cdd8e0; text-decoration: none; }
.made-in-chile a:hover { color: #fff; }

/* ===================================================================
   24. COMENTARIOS (mínimo)
   =================================================================== */
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { margin-bottom: 20px; }
.comment-body { background: var(--is-bg); border-radius: 12px; padding: 18px 20px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #dbe3ea;
	border-radius: 10px;
	font-family: var(--is-font-body);
	margin-bottom: 14px;
}
.comment-respond .submit {
	background: var(--is-primary);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 13px 26px;
	font-family: var(--is-font-heading);
	font-weight: 600;
	cursor: pointer;
}

/* ===================================================================
   25. 404
   =================================================================== */
.error-404 { text-align: center; padding-block: 90px; }
.error-404__code {
	font-family: var(--is-font-heading);
	font-weight: 700;
	font-size: clamp(4rem, 2rem + 10vw, 8rem);
	color: var(--is-light);
	line-height: 1;
	margin: 0;
}
.error-404__title { font-size: 1.8rem; margin: .2em 0 .6em; }
.error-404__text { color: #54646f; max-width: 44ch; margin: 0 auto 1.8em; }

/* ===================================================================
   26. UTILIDADES
   =================================================================== */
[hidden] { display: none !important; }

/* ============================================================
   Promociones
   ============================================================ */
.promos { background: var(--is-bg, #F4F6F8); }
.promos__group {
	font-family: var(--is-font-heading);
	font-size: 1.15rem;
	color: var(--is-primary, #2D6EA3);
	text-align: center;
	margin: 40px 0 22px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e8ee;
}
.promos__group:first-of-type { margin-top: 8px; }
.promos__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .promos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .promos__grid { grid-template-columns: repeat(3, 1fr); } }

.promo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8edf1;
	border-radius: 16px;
	padding: 28px 24px;
}
.promo-card--featured {
	border: 2px solid var(--is-accent, #5CB85C);
	box-shadow: 8px 8px 0 rgba(92,184,92,.14);
}
.promo-card__badge {
	position: absolute;
	top: -12px;
	right: 20px;
	background: var(--is-accent, #5CB85C);
	color: #fff;
	font-family: var(--is-font-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 5px 12px;
	border-radius: 999px;
}
.promo-card__icon { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.promo-card__title {
	font-family: var(--is-font-heading);
	font-size: 1.25rem;
	color: var(--is-ink, #1C2B36);
	margin: 0 0 4px;
}
.promo-card__subtitle {
	font-size: .92rem;
	color: var(--is-accent-dark, #4a9d4a);
	font-weight: 600;
	margin: 0 0 18px;
}
.promo-card__features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.promo-card__features li { display: flex; align-items: flex-start; gap: 9px; font-size: .95rem; color: #4d5e6a; line-height: 1.45; }
.promo-card__features svg { color: var(--is-accent, #5CB85C); flex: none; margin-top: 2px; }
.promo-card__price { margin-top: auto; padding-top: 8px; }
.promo-card__price-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #8a99a5;
	margin-bottom: 2px;
}
.promo-card__price-amount {
	display: block;
	font-family: var(--is-font-heading);
	font-size: 2rem;
	font-weight: 700;
	color: var(--is-primary, #2D6EA3);
	line-height: 1.1;
}
.promo-card__price-note { display: block; font-size: .82rem; color: #7e8d99; margin-top: 6px; }
.promo-card__cta { margin-top: 20px; }
.promos__footer {
	max-width: 760px;
	margin: 36px auto 0;
	text-align: center;
	font-size: .92rem;
	color: #5a6a75;
	line-height: 1.7;
}
