/*
Theme Name: Estética Independiente
Theme URI: https://esteticaindependiente.es
Author: Código Norte
Description: Tema del comparador Estética Independiente. Tipografía grande y limpia, mucho aire y bloques visuales; el verde clínico reservado para lo que está verificado. Pensado para funcionar con el plugin del comparador.
Version: 2.5.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estetica-independiente-tema
*/

/* Las tipografías las sirve el plugin desde el propio dominio. */

:root {
	--ei-ground: #ffffff;
	--ei-surface: #f6f7f6;
	--ei-ink: #0b0f0d;
	--ei-ink-2: #333b37;
	--ei-muted: #6b736e;
	--ei-line: #e2e5e2;
	--ei-line-soft: #edefed;
	--ei-accent: #0e6b57;
	--ei-accent-2: #14876d;
	--ei-accent-deep: #06231d;
	--ei-accent-soft: #e6f1ed;
	--ei-gold: #9a7f47;
	--ei-alert: #a8422a;

	--ei-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ei-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

	--ei-radius: 16px;
	--ei-radius-lg: 26px;
}

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

body {
	margin: 0;
	background: var(--ei-ground);
	color: var(--ei-ink);
	font-family: var(--ei-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ei-accent);
}

:focus-visible {
	outline: 2px solid var(--ei-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	font-family: var(--ei-sans);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.04;
	text-wrap: balance;
	margin: 0;
}

.eit-skip {
	position: absolute;
	left: -9999px;
}

.eit-skip:focus {
	left: 16px;
	top: 16px;
	z-index: 100;
	background: var(--ei-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: 999px;
}

.eit-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.eit-wrap--narrow {
	max-width: 720px;
}

.eit-center {
	text-align: center;
}

/* ---------- Movimiento ---------- */

/* Sin JavaScript todo se ve: la clase que oculta sólo se aplica cuando el
   script está vivo, así que el contenido nunca depende de la animación. */
.has-js .eit-reveal {
	opacity: 0;
	transform: translateY(34px);
	filter: blur(6px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .eit-reveal.is-in {
	opacity: 1;
	transform: none;
	filter: none;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	.has-js .eit-reveal {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}

	* {
		animation: none !important;
	}
}

/* ---------- Etiquetas y botones ---------- */

.eit-pill {
	display: inline-block;
	margin: 0 0 20px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ei-accent-soft);
	color: var(--ei-accent);
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.eit-pill--ghost {
	background: transparent;
	border: 1px solid var(--ei-line);
	color: var(--ei-muted);
}

.eit-pill--dark {
	background: rgba(255, 255, 255, 0.12);
	color: #bcd7cd;
}

.eit-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ei-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.eit-btn:hover {
	background: var(--ei-accent-2);
	color: #fff;
	transform: translateY(-1px);
}

.eit-btn--light {
	background: #fff;
	color: var(--ei-accent-deep);
}

.eit-btn--light:hover {
	background: #eef4f1;
	color: var(--ei-accent-deep);
}

.eit-link {
	font-size: 16px;
	font-weight: 500;
	color: var(--ei-accent);
	text-decoration: none;
	white-space: nowrap;
}

.eit-link::after {
	content: " ›";
}

.eit-link:hover {
	text-decoration: underline;
}

.eit-lede {
	font-size: 20px;
	line-height: 1.45;
	color: var(--ei-muted);
	max-width: 60ch;
	margin: 16px 0 0;
	letter-spacing: -0.012em;
}

/* ---------- Franja y cabecera ---------- */

.eit-strip {
	background: var(--ei-ink);
	color: #b8c2bd;
}

.eit-strip p {
	max-width: 1140px;
	margin: 0 auto;
	padding: 8px 24px;
	font-size: 12.5px;
	text-align: center;
}

.eit-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid var(--ei-line-soft);
}

.admin-bar .eit-header {
	top: 32px;
}

.eit-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 66px;
}

.eit-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ei-ink);
}

.eit-brand__mark {
	width: 26px;
	height: 26px;
	color: var(--ei-accent);
	flex: 0 0 auto;
}

.eit-brand__mark svg {
	width: 100%;
	height: 100%;
	display: block;
}

.eit-brand__text {
	display: flex;
	align-items: baseline;
	gap: 5px;
	font-size: 17px;
	letter-spacing: -0.025em;
}

.eit-brand__text strong {
	font-weight: 600;
}

.eit-brand__text em {
	font-style: normal;
	font-weight: 400;
	color: var(--ei-muted);
}

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

.eit-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eit-nav__list a {
	display: inline-block;
	padding: 8px 13px;
	border-radius: 999px;
	font-size: 15px;
	color: var(--ei-ink-2);
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s ease, color 0.18s ease;
}

.eit-nav__list a:hover,
.eit-nav__list .current-menu-item > a {
	background: var(--ei-surface);
	color: var(--ei-ink);
}

.eit-nav__cta {
	margin-left: 8px;
	background: var(--ei-ink);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s ease;
}

.eit-nav__cta:hover {
	background: var(--ei-accent);
	color: #fff;
}

.eit-nav-toggle,
.eit-burger {
	display: none;
}

@media (max-width: 940px) {
	.eit-burger {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: 14px;
		cursor: pointer;
		color: var(--ei-muted);
	}

	.eit-burger span {
		width: 18px;
		height: 9px;
		border-top: 1.6px solid currentColor;
		border-bottom: 1.6px solid currentColor;
		display: block;
	}

	.eit-nav {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		width: 100%;
		padding: 6px 0 18px;
	}

	.eit-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.eit-nav__cta {
		margin: 8px 0 0;
		text-align: center;
	}

	.eit-nav-toggle:checked ~ .eit-nav {
		display: flex;
	}

	.eit-header__inner {
		flex-wrap: wrap;
		padding-top: 12px;
	}
}

/* ---------- Héroe ---------- */

.eit-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 0;
	background: var(--ei-ground);
}

/* ---------- Fondo del héroe ----------
   Cinco capas, de atrás hacia delante: halo de color, retícula, dial,
   nodos y velo. El velo es el que garantiza que el titular se lea: todo
   lo demás vive por debajo del 10 % de opacidad. */

.eit-hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	contain: paint;
}

/* Halo de fondo: da profundidad sin necesitar una fotografía que no tenemos. */
.eit-hero__glow {
	position: absolute;
	inset: -34% 0 auto;
	height: 980px;
	background:
		radial-gradient(52% 46% at 50% 44%, rgba(20, 135, 109, 0.17), transparent 70%),
		radial-gradient(30% 28% at 80% 20%, rgba(154, 127, 71, 0.12), transparent 72%),
		radial-gradient(38% 30% at 16% 30%, rgba(14, 107, 87, 0.08), transparent 74%);
	pointer-events: none;
}

/* Retícula de precisión. Se desvanece hacia los bordes con una máscara para
   que no haya un corte recto donde termina el héroe. */
.eit-hero__grid {
	position: absolute;
	inset: -120px -60px;
	background-image:
		linear-gradient(to right, rgba(14, 107, 87, 0.085) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(14, 107, 87, 0.085) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(ellipse 74% 62% at 50% 38%, #000 12%, transparent 82%);
	mask-image: radial-gradient(ellipse 74% 62% at 50% 38%, #000 12%, transparent 82%);
}

/* Dial de verificación. Las marcas no son 120 elementos: son el trazo
   discontinuo de un círculo, que el navegador dibuja de una sola pasada. */
.eit-hero__dial {
	position: absolute;
	left: 50%;
	top: 58%;
	width: min(1140px, 132vw);
	height: min(1140px, 132vw);
	transform: translate(-50%, -50%);
	fill: none;
	overflow: visible;
}

.eit-dial__ticks {
	stroke: var(--ei-accent);
	stroke-opacity: 0.34;
	stroke-width: 2.6;
	stroke-dasharray: 2.6 25.24;
	stroke-linecap: round;
}

.eit-dial__ticks--long {
	stroke-width: 9;
	stroke-opacity: 0.15;
	stroke-dasharray: 1.4 122.9;
}

.eit-dial__ring {
	stroke: var(--ei-accent);
	stroke-opacity: 0.19;
	stroke-width: 1.2;
}

.eit-dial__ring--faint {
	stroke-opacity: 0.13;
}

/* El barrido: un arco corto sobre la circunferencia interior. */
.eit-dial__sweep {
	stroke: var(--ei-accent-2);
	stroke-opacity: 0.55;
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-dasharray: 300 2163;
}

/* Nodos: centros que se van comprobando. Cada uno late una vez por ciclo,
   desfasado, de modo que nunca coinciden dos. */
.eit-hero__nodes {
	position: absolute;
	inset: 0;
}

.eit-node {
	position: absolute;
	left: var(--nx);
	top: var(--ny);
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: var(--ei-accent);
	opacity: 0.32;
}

/* Anillo fijo: el punto se lee como una posición marcada, no como una mota. */
.eit-node::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 1px solid var(--ei-accent);
	opacity: 0.18;
}

.eit-node::after {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 1.5px solid var(--ei-accent-2);
	opacity: 0;
}

/* Velo: devuelve el blanco justo donde va el titular. Es lo que permite
   tener fondo animado sin perder contraste. */
.eit-hero__veil {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 47% 33% at 50% 26%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 74%);
}

.eit-hero__inner {
	position: relative;
	text-align: center;
	max-width: 900px;
}

.eit-hero h1 {
	font-size: clamp(38px, 6.4vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.042em;
	margin: 0 0 24px;
}

.eit-hero h1 span {
	color: var(--ei-accent);
}

.eit-hero__lede {
	font-size: clamp(18px, 2.1vw, 22px);
	line-height: 1.45;
	color: var(--ei-muted);
	max-width: 56ch;
	margin: 0 auto 36px;
	letter-spacing: -0.012em;
}

.eit-hero__note {
	margin: 18px 0 0;
	font-size: 14px;
	color: var(--ei-muted);
}

.eit-search {
	display: flex;
	align-items: stretch;
	max-width: 660px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--ei-line);
	border-radius: 999px;
	padding: 6px 6px 6px 10px;
	box-shadow: 0 18px 40px -28px rgba(11, 15, 13, 0.5);
}

.eit-search__field {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 16px;
	text-align: left;
}

.eit-search__field label {
	font-size: 12px;
	color: var(--ei-muted);
	margin-bottom: 1px;
}

.eit-search__field select {
	border: 0;
	background: transparent;
	font-family: var(--ei-sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--ei-ink);
	padding: 0;
	width: 100%;
	cursor: pointer;
}

.eit-search__sep {
	width: 1px;
	background: var(--ei-line);
	margin: 8px 0;
}

.eit-search button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ei-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-family: var(--ei-sans);
	font-size: 16px;
	font-weight: 500;
	padding: 0 26px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.eit-search button:hover {
	background: var(--ei-accent-2);
}

.eit-search button svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

@media (max-width: 720px) {
	.eit-search {
		flex-direction: column;
		border-radius: var(--ei-radius-lg);
		padding: 8px;
	}

	.eit-search__sep {
		width: auto;
		height: 1px;
		margin: 0 16px;
	}

	.eit-search button {
		padding: 14px;
		justify-content: center;
		margin-top: 8px;
	}
}

/* Cifras grandes */

.eit-figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 32px;
	margin: 86px 0 0;
	padding: 40px 0 0;
	border-top: 1px solid var(--ei-line-soft);
}

.eit-figures div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: center;
}

.eit-figures dd {
	margin: 0;
	font-size: clamp(38px, 5vw, 56px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--ei-ink);
	font-variant-numeric: tabular-nums;
}

.eit-figures dt {
	font-size: 14.5px;
	color: var(--ei-muted);
	letter-spacing: -0.01em;
}

/* ---------- Secciones ---------- */

.eit-section {
	padding: 104px 0;
}

.eit-section__head {
	margin-bottom: 44px;
	max-width: 62ch;
}

.eit-section__head h2 {
	font-size: clamp(30px, 4.2vw, 50px);
}

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

.eit-section__head--center .eit-lede {
	margin-left: auto;
	margin-right: auto;
}

.eit-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

/* Verificación */

.eit-checks-band {
	background: var(--ei-surface);
	border-top: 1px solid var(--ei-line-soft);
	border-bottom: 1px solid var(--ei-line-soft);
}

.eit-checks__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 64px;
	align-items: start;
}

.eit-checks__head {
	position: sticky;
	top: 110px;
}

.eit-checks__head h2 {
	font-size: clamp(28px, 3.6vw, 44px);
}

.eit-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eit-checks li {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--ei-line);
	border-radius: var(--ei-radius);
	padding: 22px 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eit-checks li:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -22px rgba(11, 15, 13, 0.5);
}

.eit-checks__icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--ei-accent-soft);
	color: var(--ei-accent);
}

.eit-checks__icon svg {
	width: 18px;
	height: 18px;
}

.eit-checks h3 {
	font-size: 18px;
	letter-spacing: -0.025em;
	margin: 2px 0 5px;
}

.eit-checks p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ei-muted);
}

@media (max-width: 940px) {
	.eit-checks__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.eit-checks__head {
		position: static;
	}
}

/* Escala de precios */

.eit-scale {
	margin: 0 auto;
	max-width: 780px;
	background: var(--ei-surface);
	border: 1px solid var(--ei-line);
	border-radius: var(--ei-radius-lg);
	padding: 36px 40px 32px;
}

.eit-scale figcaption {
	font-size: 14px;
	color: var(--ei-muted);
	margin-bottom: 52px;
	text-align: center;
}

.eit-scale__track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: var(--ei-line);
	margin: 0 8px 74px;
}

.eit-scale__range {
	position: absolute;
	left: 8%;
	right: 12%;
	top: 0;
	bottom: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ei-accent), var(--ei-accent-2));
}

.eit-scale__tick {
	position: absolute;
	left: var(--pos);
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.eit-scale__tick::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #fff;
	border: 3px solid var(--ei-accent);
	box-shadow: 0 2px 8px rgba(11, 15, 13, 0.15);
}

.eit-scale__tick--mid::before {
	width: 24px;
	height: 24px;
	border-width: 5px;
}

.eit-scale__tick b {
	position: absolute;
	top: 28px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.03em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.eit-scale__tick i {
	position: absolute;
	top: 54px;
	font-style: normal;
	font-size: 13px;
	color: var(--ei-muted);
	white-space: nowrap;
}

.eit-scale__tick--mid b {
	top: 32px;
	color: var(--ei-accent);
}

.eit-scale__tick--mid i {
	top: 58px;
}

.eit-scale__warn {
	border-top: 1px solid var(--ei-line);
	padding-top: 20px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ei-muted);
}

.eit-scale__warn strong {
	color: var(--ei-alert);
	display: block;
	margin-bottom: 3px;
}

@media (max-width: 620px) {
	.eit-scale {
		padding: 26px 20px 24px;
	}

	.eit-scale__tick b {
		font-size: 16px;
	}
}

.eit-price .eit-center {
	margin-top: 44px;
}

/* Explorar */

.eit-browse {
	background: var(--ei-surface);
	border-top: 1px solid var(--ei-line-soft);
	border-bottom: 1px solid var(--ei-line-soft);
}

/* Columnas de texto, no rejilla: los grupos tienen distinto número de
   tratamientos y así se reparten sin dejar una fila con un solo bloque. */
.eit-browse__grid {
	columns: 4 210px;
	column-gap: 32px;
}

.eit-browse__group {
	break-inside: avoid;
	margin-bottom: 32px;
}

.eit-browse__group h3 {
	font-size: 15px;
	letter-spacing: -0.02em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ei-line);
	margin-bottom: 12px;
}

.eit-browse__group ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eit-browse__group a {
	font-size: 15.5px;
	color: var(--ei-ink-2);
	text-decoration: none;
}

.eit-browse__group a:hover {
	color: var(--ei-accent);
}

/* Para clínicas */

.eit-clinics-cta {
	background: var(--ei-accent-deep);
	color: #d3e2db;
}

.eit-clinics-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.eit-clinics-cta h2 {
	color: #fff;
	font-size: clamp(30px, 4.2vw, 50px);
	margin-bottom: 18px;
}

.eit-clinics-cta p {
	color: #a9c4ba;
	max-width: 50ch;
	font-size: 17.5px;
}

.eit-clinics-cta__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eit-clinics-cta__list li {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 13px 22px;
	font-size: 15.5px;
	color: #e2ece7;
}

@media (max-width: 940px) {
	.eit-clinics-cta__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Transparencia */

.eit-transparency__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.eit-transparency__grid p {
	background: var(--ei-surface);
	border-radius: var(--ei-radius);
	margin: 0;
	padding: 26px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ei-muted);
}

.eit-transparency__grid strong {
	display: block;
	color: var(--ei-ink);
	font-weight: 600;
	letter-spacing: -0.015em;
	margin-bottom: 6px;
}

/* ---------- Páginas de texto ---------- */

.eit-page {
	padding: 72px 0 96px;
}

.eit-page__head {
	margin-bottom: 40px;
}

.eit-page__head h1 {
	font-size: clamp(34px, 5vw, 56px);
}

.eit-page__lede {
	margin: 18px 0 0;
	font-size: 20px;
	line-height: 1.45;
	color: var(--ei-muted);
	letter-spacing: -0.012em;
}

.eit-page__media {
	margin: 0 0 32px;
	border-radius: var(--ei-radius);
	overflow: hidden;
}

.eit-prose {
	font-size: 17.5px;
	line-height: 1.68;
	color: var(--ei-ink-2);
}

.eit-prose > * + * {
	margin-top: 1.1em;
}

.eit-prose h2 {
	font-size: 30px;
	color: var(--ei-ink);
	margin-top: 2em;
}

.eit-prose h3 {
	font-size: 19px;
	color: var(--ei-ink);
	letter-spacing: -0.025em;
	margin-top: 1.7em;
}

.eit-prose ul,
.eit-prose ol {
	padding-left: 22px;
}

.eit-prose li + li {
	margin-top: 0.45em;
}

.eit-prose blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	background: var(--ei-surface);
	border-radius: var(--ei-radius);
	color: var(--ei-muted);
}

.eit-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.eit-prose th,
.eit-prose td {
	text-align: left;
	padding: 12px;
	border-bottom: 1px solid var(--ei-line-soft);
}

.eit-postlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eit-postlist li {
	padding: 20px 0;
	border-bottom: 1px solid var(--ei-line-soft);
}

.eit-postlist a {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.028em;
	text-decoration: none;
	color: var(--ei-ink);
}

.eit-postlist p {
	margin: 5px 0 0;
	color: var(--ei-muted);
	font-size: 15.5px;
}

.eit-404 h1 {
	font-size: clamp(34px, 5vw, 56px);
	margin-bottom: 16px;
}

/* ---------- Pie ---------- */

.eit-footer {
	background: var(--ei-ink);
	color: #a9b2ad;
	padding: 72px 0 36px;
	font-size: 15px;
}

.eit-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
	gap: 44px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eit-footer__brand p {
	margin: 18px 0 0;
	max-width: 40ch;
	font-size: 15px;
	line-height: 1.55;
}

.eit-brand--footer {
	color: #f2f4f2;
}

.eit-brand--footer .eit-brand__mark {
	color: #4fb99a;
}

.eit-brand--footer .eit-brand__text em {
	color: #8b948f;
}

.eit-footer__col h2 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #f2f4f2;
	margin-bottom: 16px;
}

.eit-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eit-footer a {
	color: #c5ccc8;
	text-decoration: none;
}

.eit-footer a:hover {
	color: #fff;
}

.eit-disclaimer {
	margin: 32px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: #838c87;
	max-width: 92ch;
}

.eit-footer__bottom {
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	font-size: 13.5px;
	color: #838c87;
}

.eit-footer__bottom p {
	margin: 0;
}

.eit-legal {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
}

@media (max-width: 760px) {
	.eit-section {
		padding: 72px 0;
	}

	.eit-hero {
		padding-top: 64px;
	}

	.eit-figures {
		margin-top: 56px;
		gap: 26px;
	}

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

	.eit-footer__brand {
		grid-column: 1 / -1;
	}
}

.eit-scale__source {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ei-muted);
}

/* ---------- Ficha que se verifica sola ---------- */

/* Enseña el producto funcionando en tres segundos: los cinco puntos se marcan
   uno a uno y al final cae el sello. Sin JavaScript, o con movimiento
   reducido, la ficha aparece ya verificada: nunca se queda a medias. */

.eit-vcard {
	margin: 64px auto 0;
	max-width: 560px;
	text-align: left;
}

.eit-vcard figcaption {
	text-align: center;
	font-size: 13.5px;
	color: var(--ei-muted);
	margin-bottom: 14px;
}

.eit-vcard__panel {
	background: #fff;
	border: 1px solid var(--ei-line);
	border-radius: var(--ei-radius-lg);
	padding: 22px 24px 10px;
	box-shadow: 0 30px 60px -40px rgba(11, 15, 13, 0.55);
}

.eit-vcard__head {
	display: flex;
	align-items: center;
	gap: 13px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ei-line-soft);
}

.eit-vcard__avatar {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: var(--ei-accent-soft);
	color: var(--ei-accent);
}

.eit-vcard__avatar svg {
	width: 22px;
	height: 22px;
}

.eit-vcard__name {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}

.eit-vcard__name strong {
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -0.022em;
}

.eit-vcard__name span {
	font-size: 13px;
	color: var(--ei-muted);
}

.eit-vcard__seal {
	margin-left: auto;
	flex: 0 0 auto;
	background: var(--ei-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: -0.005em;
	padding: 6px 13px;
	border-radius: 999px;
	opacity: 0;
	transform: scale(0.82);
}

.eit-vcard__rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eit-vcard__rows li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--ei-line-soft);
}

.eit-vcard__rows li:last-child {
	border-bottom: 0;
}

.eit-vcard__tick {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1.5px solid var(--ei-line);
	color: transparent;
}

.eit-vcard__tick svg {
	width: 14px;
	height: 14px;
}

.eit-vcard__label {
	font-size: 15px;
	color: var(--ei-muted);
	letter-spacing: -0.012em;
}

.eit-vcard__value {
	margin-left: auto;
	font-family: var(--ei-num);
	font-size: 11.5px;
	color: var(--ei-muted);
	opacity: 0;
	white-space: nowrap;
}

.eit-vcard__foot {
	margin: 16px 0 0;
	text-align: center;
	font-size: 13px;
	color: var(--ei-muted);
}

/* Estado final. Es también el estado por defecto sin JavaScript. */
.eit-vcard__seal,
.eit-vcard__tick,
.eit-vcard__label,
.eit-vcard__value {
	transition: none;
}

.has-js .eit-vcard__seal {
	transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.has-js .eit-vcard__tick,
.has-js .eit-vcard__label,
.has-js .eit-vcard__value {
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.eit-vcard__seal,
.eit-vcard.is-done .eit-vcard__seal {
	opacity: 1;
	transform: none;
}

.eit-vcard__tick,
.eit-vcard li.is-on .eit-vcard__tick {
	background: var(--ei-accent);
	border-color: var(--ei-accent);
	color: #fff;
}

.eit-vcard__label,
.eit-vcard li.is-on .eit-vcard__label {
	color: var(--ei-ink);
}

.eit-vcard__value,
.eit-vcard li.is-on .eit-vcard__value {
	opacity: 1;
}

/* Con JavaScript activo se parte del estado vacío y se anima. */
.has-js .eit-vcard__seal {
	opacity: 0;
	transform: scale(0.82);
}

.has-js .eit-vcard__tick {
	background: transparent;
	border-color: var(--ei-line);
	color: transparent;
}

.has-js .eit-vcard__label {
	color: var(--ei-muted);
}

.has-js .eit-vcard__value {
	opacity: 0;
}

.has-js .eit-vcard li.is-on .eit-vcard__tick {
	background: var(--ei-accent);
	border-color: var(--ei-accent);
	color: #fff;
	transform: scale(1.06);
}

.has-js .eit-vcard li.is-on .eit-vcard__label {
	color: var(--ei-ink);
}

.has-js .eit-vcard li.is-on .eit-vcard__value {
	opacity: 1;
}

.has-js .eit-vcard.is-done .eit-vcard__seal {
	opacity: 1;
	transform: none;
}

@media (max-width: 520px) {
	.eit-vcard__value {
		display: none;
	}

	.eit-vcard__panel {
		padding: 18px 18px 6px;
	}
}

/* ---------- Entrada de la portada ---------- */

/* El halo respira muy despacio: da sensación de página viva sin distraer
   de la lectura. Se apaga con "reducir movimiento". */
@keyframes eit-drift {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	50%  { transform: translate3d(0, 14px, 0) scale(1.05); }
	100% { transform: translate3d(0, 0, 0) scale(1); }
}

.eit-hero__glow {
	animation: eit-drift 16s ease-in-out infinite;
}

/* El dial gira una vuelta cada tres o cuatro minutos: a esa velocidad no se
   "ve" girar, se percibe que la página está viva. */
@keyframes eit-spin {
	to { transform: rotate(360deg); }
}

@keyframes eit-spin-back {
	to { transform: rotate(-360deg); }
}

.eit-dial__spin {
	transform-origin: 600px 600px;
	animation: eit-spin 210s linear infinite;
}

.eit-dial__spin--slow {
	animation-duration: 340s;
}

.eit-dial__spin--back {
	animation: eit-spin-back 96s linear infinite;
}

/* La retícula se desplaza una casilla y vuelve a empezar: el bucle es
   invisible porque acaba justo donde empezó. */
@keyframes eit-grid-drift {
	to { background-position: 34px 34px, 34px 34px; }
}

.eit-hero__grid {
	animation: eit-grid-drift 26s linear infinite;
}

/* Cada nodo se enciende y expulsa un anillo, como cuando se da por bueno un
   centro. Ciclo largo para que el ojo lo pille de refilón, no de frente. */
@keyframes eit-node-pulse {
	0%, 74%, 100% { opacity: 0.28; transform: scale(1); }
	80%           { opacity: 0.7;  transform: scale(1.55); }
	90%           { opacity: 0.4;  transform: scale(1); }
}

@keyframes eit-node-ring {
	0%, 74% { opacity: 0; transform: scale(0.55); }
	80%     { opacity: 0.5; }
	100%    { opacity: 0; transform: scale(3.6); }
}

.eit-node {
	animation: eit-node-pulse 11s ease-out infinite;
	animation-delay: var(--nd);
}

.eit-node::after {
	animation: eit-node-ring 11s ease-out infinite;
	animation-delay: var(--nd);
}

.eit-node::before {
	animation: eit-node-halo 11s ease-in-out infinite;
	animation-delay: var(--nd);
}

@keyframes eit-node-halo {
	0%, 74%, 100% { opacity: 0.14; }
	80%           { opacity: 0.32; }
}

/* Paralaje y seguimiento del cursor: los pone el JS en variables propias,
   así la animación de giro y el desplazamiento no se pisan. */
.eit-hero__grid,
.eit-hero__nodes {
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.eit-hero__dial {
	transform: translate(-50%, -50%) translate3d(var(--px, 0px), var(--py, 0px), 0);
}

/* El titular sube desde un poco más abajo y con algo más de recorrido:
   es la primera cosa que se mira y merece un gesto más largo. */
.has-js .eit-hero h1.eit-reveal {
	transform: translateY(26px);
	transition-duration: 0.9s;
}

.has-js .eit-hero h1.eit-reveal.is-in {
	transform: none;
}

/* El buscador entra con un punto de escala: parece que se posa. */
.has-js .eit-search.eit-reveal {
	transform: translateY(20px) scale(0.985);
	transition-duration: 0.8s;
}

.has-js .eit-search.eit-reveal.is-in {
	transform: none;
}

/* Las cifras grandes entran un poco más tarde y desde más abajo. */
.has-js .eit-figures.eit-reveal {
	transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
	.eit-hero__glow,
	.eit-hero__grid,
	.eit-dial__spin,
	.eit-node,
	.eit-node::after {
		animation: none;
	}

	.eit-node::after {
		opacity: 0;
	}

	.has-js .eit-hero h1.eit-reveal,
	.has-js .eit-search.eit-reveal,
	.has-js .eit-figures.eit-reveal {
		transform: none;
	}
}

/* ---------- Titular por líneas ---------- */

/* El bloque entero ya no se mueve: se mueven las tres líneas, una detrás de
   otra. Es lo primero que se mira y así se lee como se piensa la frase. */
.has-js .eit-hero h1.eit-h1lines {
	opacity: 1;
	transform: none;
	filter: none;
}

.eit-hero h1 .eit-line {
	display: block;
}

.eit-hero h1 .eit-line--accent {
	color: var(--ei-accent);
}

.has-js .eit-hero h1.eit-h1lines .eit-line {
	opacity: 0;
	transform: translateY(34px);
	filter: blur(7px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .eit-hero h1.eit-h1lines.is-in .eit-line {
	opacity: 1;
	transform: none;
	filter: none;
}

.has-js .eit-hero h1.eit-h1lines.is-in .eit-line:nth-child(2) {
	transition-delay: 0.14s;
}

.has-js .eit-hero h1.eit-h1lines.is-in .eit-line:nth-child(3) {
	transition-delay: 0.28s;
}

/* ---------- Ficha: ritmo más marcado ---------- */

.eit-vcard__panel {
	position: relative;
	overflow: hidden;
}

/* Barra de progreso de la verificación. */
.eit-vcard__progress {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--ei-line-soft);
}

.eit-vcard__progress i {
	display: block;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, var(--ei-accent), var(--ei-accent-2));
}

.has-js .eit-vcard__progress i {
	width: 0;
	transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .eit-vcard[data-step="1"] .eit-vcard__progress i { width: 20%; }
.has-js .eit-vcard[data-step="2"] .eit-vcard__progress i { width: 40%; }
.has-js .eit-vcard[data-step="3"] .eit-vcard__progress i { width: 60%; }
.has-js .eit-vcard[data-step="4"] .eit-vcard__progress i { width: 80%; }
.has-js .eit-vcard[data-step="5"] .eit-vcard__progress i { width: 100%; }

/* Cada fila se enciende con un destello verde que se apaga solo. */
@keyframes eit-row-flash {
	0%   { background: var(--ei-accent-soft); }
	100% { background: transparent; }
}

@keyframes eit-tick-pop {
	0%   { transform: scale(0.4); }
	60%  { transform: scale(1.22); }
	100% { transform: scale(1); }
}

@keyframes eit-seal-in {
	0%   { opacity: 0; transform: scale(0.6) rotate(-6deg); }
	65%  { opacity: 1; transform: scale(1.14) rotate(2deg); }
	100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes eit-seal-ring {
	0%   { box-shadow: 0 0 0 0 rgba(14, 107, 87, 0.45); }
	100% { box-shadow: 0 0 0 16px rgba(14, 107, 87, 0); }
}

.has-js .eit-vcard li.is-on {
	animation: eit-row-flash 1.1s ease-out forwards;
	border-radius: 10px;
}

.has-js .eit-vcard li.is-on .eit-vcard__tick {
	animation: eit-tick-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform: none;
}

.has-js .eit-vcard__label {
	transform: translateX(-4px);
}

.has-js .eit-vcard li.is-on .eit-vcard__label {
	transform: none;
	font-weight: 500;
}

.has-js .eit-vcard__value {
	transform: translateX(10px);
}

.has-js .eit-vcard li.is-on .eit-vcard__value {
	transform: none;
	color: var(--ei-accent);
}

.has-js .eit-vcard.is-done .eit-vcard__seal {
	animation: eit-seal-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
		eit-seal-ring 1.1s ease-out 0.35s;
}

@media (prefers-reduced-motion: reduce) {
	.has-js .eit-hero h1.eit-h1lines .eit-line {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}

	.has-js .eit-vcard li.is-on,
	.has-js .eit-vcard li.is-on .eit-vcard__tick,
	.has-js .eit-vcard.is-done .eit-vcard__seal {
		animation: none;
	}

	.has-js .eit-vcard__progress i {
		width: 100%;
		transition: none;
	}
}

/* ---------- Formularios ---------- */

.ei-fbox {
	margin: 44px 0 0;
	max-width: 720px;
}

.ei-fbox--apply {
	max-width: 100%;
}

.ei-fform {
	display: flex;
	flex-direction: column;
	gap: 34px;
}

/* Motivo del contacto: chips grandes, no una lista de radios diminutos. */
.ei-fchoice {
	border: 0;
	margin: 0;
	padding: 0;
}

.ei-fchoice legend {
	font-size: 15px;
	color: var(--ei-muted);
	margin-bottom: 12px;
	padding: 0;
}

.ei-fchoice > div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ei-fchip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ei-fchip span {
	display: inline-block;
	padding: 11px 20px;
	border-radius: 999px;
	border: 1px solid var(--ei-line);
	background: #fff;
	font-size: 15px;
	color: var(--ei-ink-2);
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ei-fchip span:hover {
	border-color: var(--ei-muted);
}

.ei-fchip input:checked + span {
	background: var(--ei-accent);
	border-color: var(--ei-accent);
	color: #fff;
}

.ei-fchip input:focus-visible + span {
	outline: 2px solid var(--ei-accent);
	outline-offset: 3px;
}

/* Bloques numerados del alta de clínica. */
.ei-fstep + .ei-fstep {
	margin-top: 6px;
}

.ei-fstep__head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.ei-fstep__n {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--ei-accent-soft);
	color: var(--ei-accent);
	font-size: 14px;
	font-weight: 600;
	margin-top: 2px;
}

.ei-fstep__head h3 {
	font-size: 21px;
	letter-spacing: -0.028em;
}

.ei-fstep__head p {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--ei-muted);
	max-width: 62ch;
}

.ei-fgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.ei-ff {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.ei-ff--wide {
	grid-column: 1 / -1;
}

.ei-ff label {
	font-size: 14px;
	color: var(--ei-muted);
	letter-spacing: -0.005em;
}

.ei-ff abbr {
	color: var(--ei-accent);
	text-decoration: none;
	margin-left: 3px;
}

.ei-ff input,
.ei-ff select,
.ei-ff textarea {
	font-family: var(--ei-sans);
	font-size: 16.5px;
	color: var(--ei-ink);
	background: #fff;
	border: 1px solid var(--ei-line);
	border-radius: 12px;
	padding: 13px 16px;
	width: 100%;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ei-ff textarea {
	resize: vertical;
	line-height: 1.5;
}

.ei-ff input:focus,
.ei-ff select:focus,
.ei-ff textarea:focus {
	outline: none;
	border-color: var(--ei-accent);
	box-shadow: 0 0 0 4px var(--ei-accent-soft);
}

.ei-ff input::placeholder,
.ei-ff textarea::placeholder {
	color: #a8b0ab;
}

/* Casillas de declaración: la fila entera es pulsable. */
.ei-ff--check label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--ei-line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	font-size: 15.5px;
	color: var(--ei-ink-2);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.ei-ff--check label:hover {
	border-color: var(--ei-muted);
}

.ei-ff--check input {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	margin-top: 1px;
	accent-color: var(--ei-accent);
}

.ei-ff--check input:checked ~ span {
	color: var(--ei-ink);
}

.ei-fconsent {
	margin: 0;
}

.ei-fconsent label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14.5px;
	color: var(--ei-muted);
	line-height: 1.5;
}

.ei-fconsent input {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	margin-top: 2px;
	accent-color: var(--ei-accent);
}

.ei-fsend {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.ei-fsend span {
	font-size: 14px;
	color: var(--ei-muted);
}

.ei-falert {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fbeee9;
	color: #8d3620;
	font-size: 15px;
}

/* Confirmación: ocupa el sitio del formulario, no un aviso pequeño. */
.ei-fdone {
	text-align: center;
	padding: 48px 32px;
	border-radius: var(--ei-radius-lg);
	background: var(--ei-surface);
	border: 1px solid var(--ei-line);
}

.ei-fdone__mark {
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--ei-accent);
	color: #fff;
	animation: eit-seal-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ei-fdone__mark svg {
	width: 26px;
	height: 26px;
}

.ei-fdone h2 {
	font-size: 28px;
	margin-bottom: 12px;
}

.ei-fdone p {
	margin: 0 auto;
	max-width: 54ch;
	color: var(--ei-muted);
	font-size: 16.5px;
}

.ei-fdone__note {
	margin-top: 14px !important;
	font-size: 14px !important;
}

.ei-hp {
	position: absolute !important;
	left: -9999px;
}

@media (max-width: 640px) {
	.ei-fgrid {
		grid-template-columns: 1fr;
	}

	.ei-fdone {
		padding: 36px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ei-fdone__mark {
		animation: none;
	}
}

/* En móvil el héroe es estrecho y alto: dos de los nodos caen justo encima
   del texto. Se quitan esos dos; los de los márgenes se quedan. */
@media (max-width: 760px) {
	.eit-node:nth-child(2),
	.eit-node:nth-child(5) {
		display: none;
	}

	.eit-hero__dial {
		top: 66%;
	}
}
