/*
 * Hoolistic contenido Sooto — estilos del widget.
 * Todo va bajo .hcs para no afectar al resto de la web.
 * Paleta y tipografías de sootoproject.com (globales de Elementor).
 */

.hcs {
	--hcs-dark: #002d2d;
	--hcs-dark-2: #0b3b3a;
	--hcs-mint: #86eaa7;
	--hcs-mint-soft: #c5f9d4;
	--hcs-ink: #102626;
	--hcs-text: #344848;
	--hcs-muted: #5f7171;
	--hcs-line: #dcebe3;
	--hcs-bg: #ffffff;
	--hcs-bg-alt: #f2f8f4;
	--hcs-radius: 20px;
	--hcs-radius-sm: 12px;
	--hcs-pad: clamp(64px, 9vw, 120px);
	--hcs-font-head: "Raleway", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hcs-font-alt: "Space Grotesk", "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hcs-font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

	width: 100%;
	container: hcs / inline-size;
	color: var(--hcs-text);
	font-family: var(--hcs-font-body);
	font-size: 17px;
	line-height: 1.65;
	background: var(--hcs-bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	/* Raleway trae cifras de estilo antiguo por defecto: forzamos cifras alineadas. */
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1;
}

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

/* :where() deja la especificidad del reset al mínimo para que los componentes lo sobrescriban. */
.hcs :where(p, ul, ol, dl, dd, figure, h1, h2, h3) {
	margin: 0;
}

.hcs :where(p + p, p + ul, ul + p) {
	margin-top: 1em;
}

.hcs a {
	color: inherit;
}

.hcs img {
	display: block;
	max-width: 100%;
	height: auto;
}

.hcs-inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.hcs-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.hcs-h2 {
	font-family: var(--hcs-font-head);
	font-weight: 800;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--hcs-dark);
	max-width: 20ch;
	text-wrap: balance;
}

.hcs-h3 {
	font-family: var(--hcs-font-alt);
	font-weight: 700;
	font-size: 1.22rem;
	line-height: 1.25;
	color: var(--hcs-dark);
}

.hcs-accent {
	font-style: italic;
	font-weight: 600;
	color: #1d7a52;
}

.hcs-intro {
	margin-top: 18px !important;
	max-width: 62ch;
	font-size: 1.12rem;
	color: var(--hcs-muted);
}

.hcs-eyebrow {
	display: inline-block;
	font-family: var(--hcs-font-alt);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hcs-mint-soft);
	margin-bottom: 18px !important;
}

/* ---------- Botones y enlaces ---------- */

.hcs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.hcs-actions--center {
	justify-content: center;
}

.hcs .hcs-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 30px;
	border-radius: 999px;
	font-family: var(--hcs-font-alt);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hcs .hcs-btn--primary {
	background: var(--hcs-mint);
	color: var(--hcs-dark);
	border: 1px solid var(--hcs-mint);
}

.hcs .hcs-btn--primary:hover,
.hcs .hcs-btn--primary:focus-visible {
	background: var(--hcs-mint-soft);
	border-color: var(--hcs-mint-soft);
	color: var(--hcs-dark);
	transform: translateY(-1px);
}

.hcs .hcs-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.hcs .hcs-btn--ghost:hover,
.hcs .hcs-btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.hcs-btn__arrow {
	transition: transform 0.2s ease;
}

.hcs .hcs-btn:hover .hcs-btn__arrow {
	transform: translateX(3px);
}

.hcs .hcs-btn:focus-visible,
.hcs .hcs-link:focus-visible,
.hcs summary:focus-visible {
	outline: 3px solid var(--hcs-mint);
	outline-offset: 3px;
}

.hcs .hcs-link {
	font-weight: 700;
	color: var(--hcs-dark);
	text-decoration: underline;
	text-decoration-color: var(--hcs-mint);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.hcs .hcs-link--arrow::after {
	content: " →";
}

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

.hcs-section {
	padding: var(--hcs-pad) 0;
}

.hcs-section--light {
	background: var(--hcs-bg);
}

.hcs-section--alt {
	background: var(--hcs-bg-alt);
}

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

.hcs-section--dark .hcs-h2,
.hcs-section--dark .hcs-h3 {
	color: #fff;
}

.hcs-section--dark .hcs-accent {
	color: var(--hcs-mint);
}

.hcs-section--dark .hcs-intro {
	color: rgba(255, 255, 255, 0.75);
}

.hcs-section--dark .hcs-link {
	color: #fff;
}

.hcs strong {
	color: var(--hcs-ink);
	font-weight: 700;
}

.hcs .hcs-section--dark strong,
.hcs .hcs-aside-card strong,
.hcs .hcs-compare__col--yes strong,
.hcs .hcs-steps__cta strong,
.hcs .hcs-hero strong {
	color: #fff;
}

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

.hcs-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 820px);
	padding: clamp(120px, 14vw, 170px) 0 clamp(80px, 10vw, 120px);
	background: var(--hcs-dark);
	color: #fff;
	text-align: center;
	isolation: isolate;
	overflow: hidden;
}

.hcs-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	z-index: -2;
}

.hcs-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 45, 45, 0.55) 0%, rgba(0, 45, 45, 0.5) 45%, rgba(0, 45, 45, 0.88) 100%);
}

.hcs-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hcs-hero__title {
	font-family: var(--hcs-font-head);
	font-weight: 800;
	font-size: clamp(2.5rem, 6.4vw, 5rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
	color: #fff;
	max-width: 16ch;
	text-wrap: balance;
}

.hcs-hero__title .hcs-accent {
	color: var(--hcs-mint-soft);
}

.hcs-hero__lead {
	margin-top: 26px !important;
	max-width: 58ch;
	font-size: clamp(1.05rem, 1.6vw, 1.22rem);
	color: rgba(255, 255, 255, 0.9);
}

.hcs-hero .hcs-actions {
	justify-content: center;
}

.hcs-hero__meta {
	margin-top: 30px !important;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.68);
}

/* ---------- Cifras ---------- */

.hcs-stats {
	background: var(--hcs-dark);
	color: #fff;
	padding: 0 0 clamp(56px, 7vw, 84px);
}

.hcs-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--hcs-radius);
	overflow: hidden;
}

.hcs-stat {
	background: var(--hcs-dark);
	padding: 30px 26px;
}

.hcs-stat__value {
	font-family: var(--hcs-font-alt);
	font-weight: 700;
	font-size: clamp(1.45rem, 2.3vw, 2.1rem);
	line-height: 1.15;
	color: var(--hcs-mint);
	overflow-wrap: anywhere;
}

.hcs-stat__value--long {
	font-size: clamp(1.2rem, 1.75vw, 1.6rem);
}

.hcs-stat__label {
	margin-top: 10px !important;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- Texto + imagen ---------- */

.hcs-text .hcs-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
}

.hcs-text:not(.hcs-text--media):not(.hcs-text--aside) .hcs-text__body {
	max-width: 760px;
}

.hcs-text--aside .hcs-inner {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	align-items: start;
}

.hcs-aside-card {
	position: sticky;
	top: 40px;
	padding: 30px;
	background: var(--hcs-dark);
	color: rgba(255, 255, 255, 0.82);
	border-radius: var(--hcs-radius);
}

.hcs-aside-card .hcs-h3 {
	color: var(--hcs-mint);
	margin-bottom: 8px;
}

.hcs-aside-card dl {
	display: grid;
	gap: 4px;
}

.hcs-aside-card dt {
	margin-top: 16px;
	font-family: var(--hcs-font-alt);
	font-weight: 700;
	color: #fff;
}

.hcs-aside-card dd {
	font-size: 0.95rem;
	line-height: 1.55;
}

.hcs-text--media .hcs-inner {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
}

.hcs-text--img-left .hcs-inner {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hcs-text__body .hcs-h2 {
	margin-bottom: 26px;
}

.hcs-text__body > p,
.hcs-text__body > ul {
	max-width: 62ch;
}

.hcs-text__media {
	position: relative;
}

.hcs-text__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--hcs-radius);
	box-shadow: 0 30px 60px -30px rgba(0, 30, 30, 0.45);
}

.hcs-section--dark .hcs-text__img {
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
}

.hcs-list {
	list-style: none;
	padding: 0;
	margin-top: 1em;
	display: grid;
	gap: 12px;
}

.hcs-list li {
	position: relative;
	padding-left: 28px;
}

.hcs-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--hcs-mint);
	box-shadow: 0 0 0 4px rgba(134, 234, 167, 0.25);
}

/* ---------- Glosario ---------- */

.hcs-glossary {
	margin-top: 34px;
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius-sm);
	background: var(--hcs-bg-alt);
	max-width: 62ch;
}

.hcs-glossary summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 22px;
	font-family: var(--hcs-font-alt);
	font-weight: 600;
	color: var(--hcs-dark);
}

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

.hcs-glossary summary::after {
	content: "+";
	float: right;
	font-size: 1.3rem;
	line-height: 1;
}

.hcs-glossary[open] summary::after {
	content: "−";
}

.hcs-glossary dl {
	padding: 0 22px 20px;
	display: grid;
	gap: 6px 0;
}

.hcs-glossary dt {
	margin-top: 10px;
	font-weight: 700;
	color: var(--hcs-ink);
}

.hcs-glossary dd {
	font-size: 0.97rem;
}

/* ---------- Gráfico ---------- */

.hcs-chart__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-top: 48px;
}

.hcs-chart__figure {
	background: var(--hcs-bg);
	border-radius: var(--hcs-radius);
	padding: 32px 28px 22px;
	border: 1px solid var(--hcs-line);
}

.hcs-bars {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 8px;
	height: 260px;
	align-items: end;
}

.hcs-bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	min-width: 0;
}

.hcs-bar__fill {
	display: block;
	width: 100%;
	max-width: 34px;
	border-radius: 8px 8px 3px 3px;
	background: linear-gradient(180deg, var(--hcs-mint) 0%, #3fbf7f 100%);
}

.hcs-bar__value {
	font-family: var(--hcs-font-alt);
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--hcs-muted);
	margin-bottom: 6px;
}

.hcs-bar__label {
	margin-top: 10px;
	font-family: var(--hcs-font-alt);
	font-size: 0.78rem;
	color: var(--hcs-dark);
}

.hcs-hbars {
	display: grid;
	gap: 12px;
}

.hcs-hbar {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 52px;
	align-items: center;
	gap: 12px;
}

.hcs-hbar__label {
	font-family: var(--hcs-font-alt);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--hcs-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hcs-hbar__track {
	display: block;
	height: 22px;
	border-radius: 999px;
	background: var(--hcs-bg-alt);
	overflow: hidden;
}

.hcs-hbar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #3fbf7f 0%, var(--hcs-mint) 100%);
}

.hcs-hbar__value {
	font-family: var(--hcs-font-alt);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hcs-dark);
	text-align: right;
}

.hcs-hbars__unit {
	margin-top: 14px !important;
	font-size: 0.8rem;
	color: var(--hcs-muted);
	text-align: right;
}

.hcs-source {
	margin-top: 20px;
	font-size: 0.8rem;
	color: var(--hcs-muted);
	line-height: 1.5;
}

.hcs-notes {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 18px;
}

.hcs-notes li {
	padding: 0 0 18px 20px;
	border-left: 3px solid var(--hcs-mint);
	border-bottom: 1px solid var(--hcs-line);
}

.hcs-notes li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.hcs-tablewrap .hcs-notes {
	margin-top: 32px;
	max-width: 760px;
}

/* ---------- Tabla ---------- */

.hcs-table {
	width: 100%;
	max-width: 900px;
	margin-top: 40px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius-sm);
	overflow: hidden;
	background: var(--hcs-bg);
	font-size: 1rem;
}

.hcs-table th,
.hcs-table td {
	padding: 18px 22px;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--hcs-line);
	background: transparent;
}

.hcs-table tbody tr:last-child th,
.hcs-table tbody tr:last-child td {
	border-bottom: 0;
}

.hcs-table thead th {
	background: var(--hcs-dark);
	color: #fff;
	font-family: var(--hcs-font-alt);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hcs-table tbody th {
	font-weight: 700;
	color: var(--hcs-ink);
	width: 42%;
}

.hcs-table--cols-3 tbody th {
	width: 26%;
}

.hcs-table--cols-4,
.hcs-table--cols-5 {
	max-width: none;
	font-size: 0.95rem;
}

.hcs-table--cols-5 tbody th {
	width: 17%;
}

.hcs-table--cols-5 td:last-child {
	font-weight: 700;
	color: var(--hcs-dark);
	white-space: nowrap;
}

/* Anula las franjas de tabla de algunos temas (p. ej. Hello Elementor). */
.hcs .hcs-table tbody > tr > td,
.hcs .hcs-table tbody > tr > th {
	background-color: transparent;
}

.hcs-table tbody tr:nth-child(even) {
	background: #f8fcf9;
}

/* ---------- Tarjetas ---------- */

.hcs-cards__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 44px;
}

.hcs-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px;
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hcs-card:hover {
	border-color: var(--hcs-mint);
	box-shadow: 0 18px 40px -28px rgba(0, 45, 45, 0.4);
}

.hcs-card p + p,
.hcs-card p + ul,
.hcs-card ul + p {
	margin-top: 0;
}

.hcs-card .hcs-list {
	margin-top: 0;
	gap: 10px;
	font-size: 0.98rem;
}

.hcs-card__fine {
	margin-top: auto !important;
	padding-top: 14px;
	border-top: 1px dashed var(--hcs-line);
	font-size: 0.92rem;
	color: var(--hcs-muted);
}

.hcs-badge {
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--hcs-mint-soft);
	color: var(--hcs-dark);
	font-family: var(--hcs-font-alt);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hcs-after {
	margin-top: 30px !important;
	max-width: 70ch;
}

.hcs-reviewed {
	margin-top: 18px !important;
	font-size: 0.85rem;
	color: var(--hcs-muted);
}

/* ---------- Comparativa ---------- */

.hcs-compare__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 44px;
}

.hcs-compare__col {
	padding: 34px;
	border-radius: var(--hcs-radius);
}

.hcs-compare__col--yes {
	background: var(--hcs-dark);
	color: rgba(255, 255, 255, 0.86);
}

.hcs-compare__col--yes .hcs-h3 {
	color: var(--hcs-mint);
}

.hcs-compare__col--no {
	background: var(--hcs-bg-alt);
	border: 1px solid var(--hcs-line);
}

.hcs-compare__col .hcs-h3 {
	margin-bottom: 20px;
}

.hcs-checks {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 14px;
}

.hcs-checks li {
	position: relative;
	padding-left: 34px;
}

.hcs-checks li::before {
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.hcs-checks--yes li::before {
	content: "✓";
	background: var(--hcs-mint);
	color: var(--hcs-dark);
}

.hcs-checks--no li::before {
	content: "✕";
	background: #e3ebe7;
	color: var(--hcs-muted);
}

/* ---------- Pasos ---------- */

.hcs-steps__list {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 44px;
	counter-reset: none;
}

.hcs-step {
	position: relative;
	padding: 30px;
	background: var(--hcs-bg-alt);
	border-radius: var(--hcs-radius);
	overflow: hidden;
}

.hcs-step__num {
	display: block;
	font-family: var(--hcs-font-alt);
	font-weight: 700;
	font-size: 3.4rem;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px #1d7a52;
	margin-bottom: 18px;
}

.hcs-step .hcs-h3 {
	margin-bottom: 10px;
}

.hcs-steps__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 22px;
	margin-top: 22px;
}

.hcs-checklist {
	padding: 30px;
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
}

.hcs-checklist .hcs-h3 {
	margin-bottom: 20px;
}

.hcs-steps__cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 22px;
	padding: 34px;
	background: var(--hcs-dark);
	color: #fff;
	border-radius: var(--hcs-radius);
}

.hcs-steps__cta p {
	font-family: var(--hcs-font-head);
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1.3;
}

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

.hcs-faq__list {
	margin-top: 40px;
	max-width: 860px;
	display: grid;
	gap: 12px;
}

.hcs-faq__item {
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius-sm);
	transition: border-color 0.2s ease;
}

.hcs-faq__item[open] {
	border-color: var(--hcs-mint);
}

.hcs-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	cursor: pointer;
	list-style: none;
}

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

.hcs-faq__q {
	font-family: var(--hcs-font-alt);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--hcs-dark);
}

.hcs-faq__icon {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--hcs-mint-soft);
}

.hcs-faq__icon::before,
.hcs-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: var(--hcs-dark);
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

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

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

.hcs-faq__a {
	padding: 0 24px 22px;
	max-width: 70ch;
}

/* ---------- Cierre ---------- */

.hcs-final {
	text-align: center;
	background:
		radial-gradient(ellipse at 50% 120%, rgba(134, 234, 167, 0.22) 0%, rgba(0, 45, 45, 0) 60%),
		var(--hcs-dark);
}

.hcs-final .hcs-h2 {
	margin: 0 auto;
	max-width: 18ch;
}

.hcs-final .hcs-intro {
	margin-left: auto !important;
	margin-right: auto !important;
}

.hcs-final__related {
	margin-top: 26px !important;
}

.hcs-free {
	margin-top: 14px !important;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
}

.hcs-steps__cta .hcs-free {
	margin-top: -8px !important;
}

/* ---------- Página de contacto ---------- */

.hcs-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
	margin-top: 40px;
}

.hcs-contact__points {
	margin-top: 32px;
	padding: 24px;
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
}

.hcs-contact__form {
	padding: clamp(22px, 3vw, 36px);
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
	box-shadow: 0 30px 60px -40px rgba(0, 45, 45, 0.45);
	color: var(--hcs-text);
}

.hcs-contact__fallback {
	color: var(--hcs-text);
}

/* Formulario de Elementor Pro dentro del diseño de Sooto */
.hcs .hcs-contact__form .elementor-field-label,
.hcs .hcs-contact__form .elementor-field-option label,
.hcs .hcs-contact__form .elementor-acceptance-field + label,
.hcs .hcs-contact__form .elementor-field-subgroup label {
	color: var(--hcs-ink) !important;
	font-family: var(--hcs-font-alt);
	font-size: 0.92rem;
	font-weight: 600;
}

.hcs .hcs-contact__form .elementor-field-subgroup label {
	font-weight: 400;
}

.hcs .hcs-contact__form .elementor-field-textual,
.hcs .hcs-contact__form select.elementor-field {
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--hcs-line) !important;
	border-radius: var(--hcs-radius-sm) !important;
	background: #fff !important;
	color: var(--hcs-ink) !important;
	font-family: var(--hcs-font-body);
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hcs .hcs-contact__form .elementor-field-textual:focus,
.hcs .hcs-contact__form select.elementor-field:focus {
	border-color: #3fbf7f !important;
	box-shadow: 0 0 0 3px rgba(134, 234, 167, 0.35);
	outline: none;
}

.hcs .hcs-contact__form .elementor-field-textual::placeholder {
	color: #8a9a98;
}

.hcs .hcs-contact__form .elementor-field-group {
	margin-bottom: 14px;
}

.hcs .hcs-contact__form .elementor-button {
	width: 100%;
	min-height: 52px;
	border-radius: 999px !important;
	background: var(--hcs-mint) !important;
	color: var(--hcs-dark) !important;
	font-family: var(--hcs-font-alt);
	font-size: 1rem;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hcs .hcs-contact__form .elementor-button:hover,
.hcs .hcs-contact__form .elementor-button:focus-visible {
	background: var(--hcs-mint-soft) !important;
	transform: translateY(-1px);
}

.hcs .hcs-contact__form .elementor-field-type-acceptance a {
	color: #1d7a52;
	text-decoration: underline;
}

.hcs .hcs-contact__form .elementor-message {
	color: var(--hcs-ink);
	font-weight: 600;
}

/* ---------- Fuentes ---------- */

.hcs-sources {
	padding: 40px 0 56px;
	background: var(--hcs-bg);
	border-top: 1px solid var(--hcs-line);
	font-size: 0.88rem;
	color: var(--hcs-muted);
}

.hcs-sources__title {
	font-family: var(--hcs-font-alt);
	font-weight: 600;
	color: var(--hcs-dark);
	margin-bottom: 12px !important;
}

.hcs-sources ul {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 32px;
}

.hcs-sources a {
	color: var(--hcs-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hcs-sources a:hover {
	color: var(--hcs-dark);
}

.hcs-sources__date {
	margin-top: 18px !important;
}

/* ---------- Páginas generadas (plantilla propia) ---------- */

.hcs-main {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.hcs-crumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 22px;
	font-family: var(--hcs-font-alt);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
}

.hcs .hcs-crumbs a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hcs .hcs-crumbs a:hover {
	color: #fff;
	border-color: var(--hcs-mint);
}

.hcs-crumbs__sep {
	opacity: 0.6;
}

/* Resumen de una sección cuya guía ya existe */
.hcs-teaser__box {
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
	background: var(--hcs-bg);
}

.hcs-section--alt .hcs-teaser__box {
	background: var(--hcs-bg);
}

.hcs-teaser__link {
	margin-top: 26px !important;
}

/* Guías relacionadas al pie de una sección */
.hcs-guide-links {
	margin-top: 28px !important;
	font-size: 0.95rem;
}

.hcs-guide-links span {
	font-weight: 700;
	color: var(--hcs-ink);
	margin-right: 4px;
}

.hcs-section--dark .hcs-guide-links span {
	color: #fff;
}

/* Bloque de guías */
.hcs-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 40px;
}

.hcs .hcs-guide {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 26px 48px;
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
	text-decoration: none;
	color: var(--hcs-text);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hcs .hcs-guide:hover,
.hcs .hcs-guide:focus-visible {
	border-color: var(--hcs-mint);
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -28px rgba(0, 45, 45, 0.45);
}

.hcs-guide__title {
	font-family: var(--hcs-font-alt);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--hcs-dark);
}

.hcs-guide__text {
	font-size: 0.95rem;
	line-height: 1.5;
}

.hcs-guide__arrow {
	position: absolute;
	left: 26px;
	bottom: 18px;
	font-weight: 700;
	color: #1d7a52;
}

/* Esquemas */
.hcs-diagram__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	margin-top: 40px;
}

.hcs-diagram__figure {
	padding: 22px;
	background: var(--hcs-bg);
	border: 1px solid var(--hcs-line);
	border-radius: var(--hcs-radius);
}

.hcs-diagram__img {
	width: 100%;
	height: auto;
}

.hcs-diagram__steps {
	list-style: none;
	padding: 0;
	counter-reset: hcs-step;
	display: grid;
	gap: 18px;
}

.hcs-diagram__steps li {
	position: relative;
	padding-left: 50px;
	counter-increment: hcs-step;
}

.hcs-diagram__steps li::before {
	content: counter(hcs-step);
	position: absolute;
	left: 0;
	top: -2px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--hcs-dark);
	color: var(--hcs-mint);
	font-family: var(--hcs-font-alt);
	font-weight: 700;
}

.hcs-diagram__steps strong {
	display: block;
	margin-bottom: 2px;
}

/* ---------- Aviso solo en el editor ---------- */

.hcs-editor-notice {
	padding: 12px 16px;
	background: #fff4d6;
	border: 1px solid #f0c75e;
	color: #6b4e00;
	font: 600 14px/1.4 system-ui, sans-serif;
}

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

@container hcs (max-width: 1024px) {
	.hcs-guides__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hcs-diagram__layout {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.hcs-chart__layout,
	.hcs-steps__bottom {
		grid-template-columns: minmax(0, 1fr);
	}

	.hcs-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@container hcs (max-width: 860px) {
	.hcs-contact__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.hcs-contact__form {
		order: -1;
	}

	.hcs-text--media .hcs-inner,
	.hcs-text--img-left .hcs-inner,
	.hcs-text--aside .hcs-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.hcs-text--img-left .hcs-text__media {
		order: 2;
	}

	.hcs-text__img {
		aspect-ratio: 4 / 3.4;
	}

	.hcs-cards__grid,
	.hcs-compare__grid,
	.hcs-sources ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

@container hcs (max-width: 640px) {
	.hcs-guides__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hcs-crumbs {
		justify-content: flex-start;
	}

	.hcs > * {
		font-size: 16px;
	}

	.hcs-inner {
		padding: 0 16px;
	}

	.hcs-hero {
		min-height: 0;
		text-align: left;
	}

	.hcs-hero__content {
		align-items: flex-start;
	}

	.hcs-hero .hcs-actions {
		justify-content: flex-start;
	}

	.hcs .hcs-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 15px 22px;
	}

	.hcs-stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hcs-stat {
		padding: 22px 20px;
	}

	.hcs-card,
	.hcs-compare__col,
	.hcs-step,
	.hcs-checklist,
	.hcs-steps__cta {
		padding: 24px 20px;
	}

	.hcs-chart__figure {
		padding: 22px 12px 16px;
	}

	.hcs-bars {
		gap: 4px;
		height: 200px;
	}

	.hcs-bar__value {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		font-size: 0.66rem;
	}

	.hcs-bar__label {
		font-size: 0.66rem;
	}

	/* Tabla apilada */
	.hcs-table,
	.hcs-table tbody,
	.hcs-table tr,
	.hcs-table th,
	.hcs-table td {
		display: block;
		width: 100% !important;
	}

	.hcs-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.hcs-table tbody tr {
		padding: 16px 18px;
		border-bottom: 1px solid var(--hcs-line);
	}

	.hcs-table tbody tr:last-child {
		border-bottom: 0;
	}

	.hcs-table th,
	.hcs-table td {
		padding: 0;
		border: 0 !important;
	}

	.hcs-table td {
		margin-top: 6px;
	}

	.hcs-table td[data-label]:not([data-label=""])::before {
		content: attr(data-label) ": ";
		font-weight: 600;
		color: var(--hcs-muted);
	}

	.hcs-faq__item summary {
		padding: 18px;
	}

	.hcs-faq__a {
		padding: 0 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hcs *,
	.hcs *::before,
	.hcs *::after {
		transition: none !important;
	}
}
