/* ==========================================================================
   MASIGC · Hoja de estilos principal
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #10231f;
	--ink-2: #19302a;
	--pine: #1c463e;
	--pine-2: #2b5f53;
	--sage: #dde8e0;
	--sage-2: #c8d9cd;
	--sand: #f5f1ea;
	--sand-2: #ece5d9;
	--paper: #fbf9f5;
	--white: #fff;
	--lime: #c9f26b;
	--lime-2: #b3e04a;
	--clay: #d9795a;
	--clay-soft: #f3ddd2;
	--text: #10231f;
	--muted: #56675f;
	--muted-light: rgba(245, 241, 234, 0.72);
	--line: rgba(16, 35, 31, 0.12);
	--line-strong: rgba(16, 35, 31, 0.22);
	--line-light: rgba(245, 241, 234, 0.16);

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	--fs-h5: 1.125rem;
	--fs-h4: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
	--fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
	--fs-h2: clamp(1.9rem, 1.5rem + 1.7vw, 3rem);
	--fs-display-sm: clamp(2.1rem, 1.7rem + 1.8vw, 3.1rem);
	--fs-display-md: clamp(2.3rem, 1.8rem + 2.4vw, 3.9rem);
	--fs-display: clamp(2.5rem, 1.9rem + 2.6vw, 4.25rem);

	--space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
	--gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
	--container: 1240px;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(16, 35, 31, 0.06), 0 2px 8px rgba(16, 35, 31, 0.04);
	--shadow: 0 2px 4px rgba(16, 35, 31, 0.04), 0 12px 32px -8px rgba(16, 35, 31, 0.14);
	--shadow-lg: 0 30px 80px -20px rgba(16, 35, 31, 0.3);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 76px;
}

/* Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
	margin: 0;
	background: var(--sand);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 500;
	line-height: 1.15;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

::selection {
	background: var(--lime);
	color: var(--ink);
}

.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;
	top: -100px;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--ink);
	color: var(--sand);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 1rem;
}

.hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.is-pending {
	background-image: linear-gradient(90deg, currentColor 50%, transparent 0);
	background-size: 6px 1px;
	background-position: 0 100%;
	background-repeat: repeat-x;
	padding-bottom: 1px;
	opacity: 0.8;
}

/* Layout
   ========================================================================== */

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(820px + var(--gutter) * 2);
}

.container--article {
	max-width: calc(760px + var(--gutter) * 2);
}

.site-main {
	display: block;
	min-height: 50vh;
}

.section {
	padding-block: var(--space-section);
	position: relative;
}

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

.section--flush {
	padding-block: 0 var(--space-section);
}

.section--top-tight {
	padding-top: clamp(2rem, 3vw, 3rem);
}

.section--tint + .section--flush,
.section--flush:first-child {
	padding-top: var(--space-section);
}

.section--flush + .section:not(.section--tint) {
	padding-top: 0;
}

.section-head {
	display: grid;
	gap: 1rem;
	margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
	max-width: 760px;
}

.section-head--split {
	max-width: none;
	grid-template-columns: 1fr;
	align-items: end;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
	justify-items: center;
}

.section-foot {
	margin-top: 2.5rem;
	text-align: center;
}

@media (min-width: 900px) {
	.section-head--split {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: 3rem;
	}

	.section-head--split > .lead,
	.section-head--split > .link-arrow,
	.section-head--split > .filter {
		justify-self: end;
	}

	.section-head--split > .lead {
		max-width: 440px;
	}
}

.split {
	display: grid;
	gap: clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 960px) {
	.split {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
		align-items: start;
	}

	.split--form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	}

	.split-aside {
		position: sticky;
		top: calc(var(--header-h) + 80px);
	}
}

.split-main > .h2 {
	margin: 0.9rem 0 1.25rem;
}

.split-main > .lead {
	margin-top: 1rem;
}

/* Tipografía
   ========================================================================== */

.display,
.h2,
.h3 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.02em;
	font-variation-settings: "SOFT" 50, "WONK" 0;
}

.display {
	font-size: var(--fs-display);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.display em {
	font-style: italic;
	font-weight: 300;
	color: var(--pine-2);
}

.display--md {
	font-size: var(--fs-display-md);
	line-height: 1.05;
}

.display--sm {
	font-size: var(--fs-display-sm);
	line-height: 1.08;
}

.h2 {
	font-size: var(--fs-h2);
	line-height: 1.08;
}

.h3 {
	font-size: var(--fs-h3);
	line-height: 1.15;
}

.h4 {
	font-size: var(--fs-h4);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.h5 {
	font-size: var(--fs-h5);
	font-weight: 600;
}

.lead {
	font-size: var(--fs-lead);
	line-height: 1.55;
	color: var(--muted);
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pine-2);
}

.kicker::before {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
}

.kicker a {
	text-decoration: none;
}

.kicker--light {
	color: var(--lime);
}

.fine-print {
	margin-top: 1.5rem;
	font-size: var(--fs-sm);
	color: var(--muted);
	max-width: 640px;
}

.fine-print--center {
	margin-inline: auto;
	text-align: center;
}

.empty {
	padding: 3rem 0;
	color: var(--muted);
	text-align: center;
}

/* Botones y enlaces
   ========================================================================== */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--sand);
	--btn-bd: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.75rem 1.4rem;
	border: 1px solid var(--btn-bd);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn .icon-arrow {
	transition: transform 0.3s var(--ease);
}

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

.btn:active {
	transform: translateY(1px);
}

.btn--primary:hover {
	--btn-bg: var(--pine);
	--btn-bd: var(--pine);
	box-shadow: 0 10px 24px -10px rgba(28, 70, 62, 0.6);
}

.btn--accent {
	--btn-bg: var(--lime);
	--btn-fg: var(--ink);
	--btn-bd: var(--lime);
}

.btn--accent:hover {
	--btn-bg: #d7f78c;
	--btn-bd: #d7f78c;
	box-shadow: 0 10px 30px -10px rgba(201, 242, 107, 0.6);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: var(--line-strong);
}

.btn--ghost:hover {
	--btn-bd: var(--ink);
	--btn-bg: rgba(16, 35, 31, 0.04);
}

.btn--ghost-light {
	--btn-bg: transparent;
	--btn-fg: var(--sand);
	--btn-bd: rgba(245, 241, 234, 0.35);
}

.btn--ghost-light:hover {
	--btn-bd: var(--sand);
	--btn-bg: rgba(245, 241, 234, 0.08);
}

.btn--light {
	--btn-bg: var(--paper);
	--btn-fg: var(--ink);
	--btn-bd: var(--line);
}

.btn--light:hover {
	--btn-bd: var(--ink);
}

.btn--text {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: transparent;
	padding-inline: 0.75rem;
}

.btn--text:hover {
	text-decoration: underline;
}

.btn--sm {
	min-height: 40px;
	padding: 0.5rem 1.05rem;
	font-size: 0.875rem;
}

.btn--lg {
	min-height: 54px;
	padding: 0.9rem 1.6rem;
	font-size: 1rem;
}

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

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	font-size: var(--fs-sm);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.link-arrow .icon {
	transition: transform 0.3s var(--ease);
}

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

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	background: transparent;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover,
.chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

.check-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
}

.check-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 0.65rem;
	align-items: start;
	line-height: 1.45;
}

.check-list .icon {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	stroke-width: 2.4;
	margin-top: 1px;
}

.check-list--muted .icon {
	background: var(--sage);
}

/* Marca
   ========================================================================== */

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

.brand-logo {
	max-height: 44px;
	width: auto;
}

.brand-mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 34px;
	height: 34px;
	padding: 0 5px;
	border-radius: 11px;
	background: var(--ink);
}

.brand-mark::before {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	top: 50%;
	height: 1.5px;
	background: rgba(245, 241, 234, 0.45);
}

.brand-mark i {
	position: relative;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sand);
}

.brand-mark i:nth-child(2) {
	width: 10px;
	height: 10px;
	background: var(--lime);
}

.brand-text {
	display: grid;
	line-height: 1;
}

.brand-name {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: 0.06em;
}

.brand-tag {
	margin-top: 4px;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.brand--light .brand-mark {
	background: var(--lime);
}

.brand--light .brand-mark::before {
	background: rgba(16, 35, 31, 0.35);
}

.brand--light .brand-mark i {
	background: var(--ink);
}

.brand--light .brand-mark i:nth-child(2) {
	background: var(--ink);
}

.brand--light .brand-tag {
	color: var(--muted-light);
}

/* Cabecera
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}

/* El desenfoque va en un pseudo-elemento para que el menú móvil (fixed) no quede contenido en la cabecera. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(245, 241, 234, 0.86);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.nav-open .site-header::before {
	background: var(--sand);
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
}

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

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.header-link {
	display: none;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.5rem 0.25rem;
}

.header-link:hover span {
	text-decoration: underline;
}

.menu-button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: transparent;
}

.menu-lines {
	display: grid;
	gap: 5px;
	width: 18px;
}

.menu-lines i {
	display: block;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s var(--ease);
}

.menu-button[aria-expanded="true"] .menu-lines i:first-child {
	transform: translateY(3.25px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines i:last-child {
	transform: translateY(-3.25px) rotate(-45deg);
}

.primary-nav .menu {
	list-style: none;
}

.primary-nav .menu > li > a {
	text-decoration: none;
	font-weight: 500;
}

.nav-toggle {
	display: inline-grid;
	place-items: center;
	border: 0;
	background: transparent;
	padding: 0;
}

.nav-toggle .icon {
	transition: transform 0.3s var(--ease);
}

/* Navegación móvil */
@media (max-width: 1099px) {
	.nav-drawer {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 40;
		display: flex;
		flex-direction: column;
		gap: 2rem;
		padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--sand);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}

	.admin-bar .nav-drawer {
		top: calc(var(--header-h) + 46px);
	}

	.nav-open .nav-drawer {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-open {
		overflow: hidden;
	}

	.primary-nav .menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--line);
	}

	.primary-nav .menu > li > a {
		flex: 1;
		padding: 1rem 0;
		font-family: var(--font-display);
		font-size: 1.6rem;
		letter-spacing: -0.02em;
	}

	.nav-toggle {
		width: 44px;
		height: 44px;
	}

	.nav-toggle .icon {
		transform: rotate(90deg);
	}

	.nav-toggle[aria-expanded="true"] .icon {
		transform: rotate(-90deg);
	}

	.mega {
		display: none;
		width: 100%;
		padding-bottom: 1.25rem;
	}

	.has-mega.is-open .mega {
		display: block;
	}

	.mega-list {
		display: grid;
		gap: 0.25rem;
		list-style: none;
	}

	.mega-list a {
		display: block;
		padding: 0.5rem 0;
		text-decoration: none;
	}

	.mega-list span,
	.mega-aside {
		display: none;
	}

	.drawer-footer {
		display: grid;
		gap: 0.75rem;
		margin-top: auto;
	}

	.drawer-note {
		margin-top: 0.5rem;
		text-align: center;
		font-size: var(--fs-sm);
		color: var(--muted);
	}

	.header-actions .btn {
		display: none;
	}
}

@media (min-width: 560px) and (max-width: 1099px) {
	.header-actions .btn {
		display: inline-flex;
	}
}

/* Navegación escritorio */
@media (min-width: 1100px) {
	.menu-button,
	.drawer-footer {
		display: none;
	}

	.header-link {
		display: inline-flex;
	}

	.nav-drawer {
		margin-left: 1rem;
	}

	.primary-nav .menu {
		display: flex;
		align-items: center;
		gap: 0.25rem;
	}

	.primary-nav .menu > li {
		display: flex;
		align-items: center;
	}

	.primary-nav .menu > li > a {
		position: relative;
		padding: 0.6rem 0.8rem;
		font-size: 0.9375rem;
		border-radius: 999px;
		transition: background-color 0.2s;
	}

	.primary-nav .menu > li > a:hover,
	.primary-nav .menu > li.is-open > a {
		background: rgba(16, 35, 31, 0.06);
	}

	.primary-nav .current-menu-item > a,
	.primary-nav .current-menu-ancestor > a,
	.primary-nav .current_page_item > a {
		font-weight: 600;
	}

	.primary-nav .current-menu-item > a::after,
	.primary-nav .current-menu-ancestor > a::after,
	.primary-nav .current_page_item > a::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 2px;
		width: 4px;
		height: 4px;
		margin-left: -2px;
		border-radius: 50%;
		background: var(--pine-2);
	}

	.has-mega > a {
		padding-right: 0.35rem !important;
	}

	.nav-toggle {
		width: 22px;
		height: 22px;
		margin-left: -0.15rem;
		margin-right: 0.3rem;
	}

	.nav-toggle .icon {
		width: 14px;
		height: 14px;
		transform: rotate(90deg);
	}

	.has-mega.is-open .nav-toggle .icon {
		transform: rotate(-90deg);
	}

	.mega {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		padding-top: 1px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
	}

	.has-mega.is-open .mega {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mega-inner {
		display: grid;
		grid-template-columns: 1fr 320px;
		gap: 2.5rem;
		max-width: calc(var(--container) + var(--gutter) * 2);
		margin: 0 auto;
		padding: 2rem var(--gutter) 2.25rem;
		background: var(--paper);
		border: 1px solid var(--line);
		border-top: 0;
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
		box-shadow: var(--shadow-lg);
	}

	.mega-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.25rem 1rem;
		list-style: none;
	}

	.mega-list a {
		display: block;
		padding: 0.8rem 0.9rem;
		border-radius: var(--radius-sm);
		text-decoration: none;
		transition: background-color 0.2s;
	}

	.mega-list a:hover {
		background: var(--sand);
	}

	.mega-list strong {
		display: block;
		font-weight: 600;
		font-size: 0.9375rem;
	}

	.mega-list span {
		display: block;
		margin-top: 0.2rem;
		font-size: 0.8125rem;
		line-height: 1.4;
		color: var(--muted);
	}

	.mega-aside {
		display: grid;
		align-content: start;
		gap: 1rem;
		padding: 1.5rem;
		border-radius: var(--radius);
		background: var(--sage);
	}

	.mega-kicker {
		font-size: var(--fs-xs);
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--pine-2);
	}

	.mega-lead {
		font-family: var(--font-display);
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.mega-aside .btn {
		justify-self: start;
		margin-top: 0.5rem;
	}
}

/* Medios y recurso gráfico
   ========================================================================== */

.media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: var(--sage);
}

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

.media--art {
	--c-bg: var(--pine);
	--c-line: rgba(201, 242, 107, 0.34);
	--c-route: var(--lime);
	background: var(--c-bg);
}

.tone-pine {
	--c-bg: var(--pine);
	--c-line: rgba(201, 242, 107, 0.3);
	--c-route: var(--lime);
}

.tone-ink {
	--c-bg: var(--ink);
	--c-line: rgba(221, 232, 224, 0.22);
	--c-route: var(--lime);
}

.tone-sand {
	--c-bg: var(--sand-2);
	--c-line: rgba(28, 70, 62, 0.28);
	--c-route: var(--pine);
}

.tone-clay {
	--c-bg: var(--clay-soft);
	--c-line: rgba(160, 76, 48, 0.3);
	--c-route: var(--ink);
}

.tone-lime {
	--c-bg: var(--lime);
	--c-line: rgba(16, 35, 31, 0.24);
	--c-route: var(--ink);
}

.contours {
	width: 100%;
	height: 100%;
}

.contour-lines path {
	fill: none;
	stroke: var(--c-line, rgba(16, 35, 31, 0.14));
	stroke-width: 1.1;
	vector-effect: non-scaling-stroke;
}

.contour-route {
	fill: none;
	stroke: var(--c-route, var(--pine));
	stroke-width: 1.6;
	stroke-dasharray: 5 7;
	vector-effect: non-scaling-stroke;
}

.contour-dot {
	fill: var(--c-bg, var(--sand));
	stroke: var(--c-route, var(--pine));
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.contour-dot.is-center {
	fill: var(--c-route, var(--pine));
}

.media--art .contours {
	position: absolute;
	inset: 0;
	transition: transform 1.2s var(--ease);
}

.media-label {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-route);
}

.photo-slot {
	position: relative;
}

.photo-slot .media {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
}

.photo-slot-note {
	position: absolute;
	left: 1.25rem;
	right: 1.25rem;
	bottom: 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-sm);
	background: rgba(16, 35, 31, 0.55);
	backdrop-filter: blur(8px);
	color: var(--sand);
	font-size: var(--fs-xs);
	letter-spacing: 0.02em;
}

/* Hero de portada
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 5vw, 5.5rem) 0 clamp(4rem, 7vw, 7rem);
}

.hero-bg {
	position: absolute;
	inset: -10% -20% auto auto;
	width: min(1100px, 120%);
	aspect-ratio: 16 / 9;
	opacity: 0.9;
	pointer-events: none;
	--c-line: rgba(28, 70, 62, 0.13);
	-webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
	mask-image: radial-gradient(closest-side, #000 40%, transparent);
}

.hero-grid {
	position: relative;
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 1024px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	}
}

.hero-copy .display {
	margin: 1.25rem 0 1.5rem;
}

.hero-copy .display em {
	display: block;
}

.hero-lead {
	max-width: 600px;
	font-size: var(--fs-lead);
	line-height: 1.55;
	color: var(--muted);
}

.hero-copy .btn-row {
	margin-top: 2.25rem;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-top: 2.25rem;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.hero-points .icon {
	color: var(--pine-2);
	stroke-width: 2.2;
}

/* Tarjeta de ruta interactiva */
.route-card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--radius-lg);
	background: var(--ink);
	color: var(--sand);
	box-shadow: var(--shadow-lg);
}

.route-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(245, 241, 234, 0.08);
	pointer-events: none;
}

.route-title {
	font-family: var(--font-display);
	font-size: 1.45rem;
	letter-spacing: -0.01em;
}

.route-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}

.route-tab {
	min-height: 38px;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--line-light);
	border-radius: 999px;
	background: transparent;
	color: var(--sand);
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.route-tab:hover {
	border-color: rgba(245, 241, 234, 0.5);
}

.route-tab[aria-selected="true"] {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
}

.route-map {
	width: 100%;
	margin: 1.5rem 0 1rem;
	overflow: visible;
}

.route-line {
	fill: none;
	stroke: rgba(245, 241, 234, 0.16);
	stroke-width: 1.5;
}

.route-pulse {
	fill: none;
	stroke: var(--lime);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}

.route-card.is-playing .route-pulse {
	animation: route-draw 1.4s var(--ease) forwards;
}

.route-card.is-playing .route-pulse:nth-child(2) {
	animation-delay: 0.45s;
}

.route-card.is-playing .route-pulse:nth-child(3) {
	animation-delay: 0.6s;
}

.route-card.is-playing .route-pulse:nth-child(4) {
	animation-delay: 0.75s;
}

@keyframes route-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.route-node circle {
	fill: var(--ink);
	stroke: rgba(245, 241, 234, 0.55);
	stroke-width: 1.5;
	transition: fill 0.4s, stroke 0.4s;
}

.route-node text {
	fill: var(--muted-light);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	text-anchor: middle;
	letter-spacing: 0.02em;
}

.route-node--main circle {
	fill: var(--lime);
	stroke: var(--lime);
}

.route-node--main text {
	fill: var(--sand);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.route-card.is-done .route-node--end circle {
	fill: var(--lime);
	stroke: var(--lime);
}

.route-card.is-done .route-node--ins circle {
	stroke: var(--lime);
}

.route-panel {
	padding-top: 1.25rem;
	border-top: 1px solid var(--line-light);
	animation: fade-up 0.5s var(--ease);
}

.route-panel-title {
	margin-bottom: 0.9rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-light);
}

.route-panel .check-list {
	font-size: var(--fs-sm);
}

.route-panel .link-arrow {
	margin-top: 1.4rem;
	color: var(--lime);
}

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

/* Caminos: Personas / Empresas
   ========================================================================== */

.paths {
	padding-top: 0;
}

.paths-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 860px) {
	.paths-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.path {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: var(--radius-lg);
	min-height: 440px;
	isolation: isolate;
}

.path--sand {
	background: var(--sage);
	--c-line: rgba(28, 70, 62, 0.2);
}

.path--ink {
	background: var(--ink);
	color: var(--sand);
	--c-line: rgba(201, 242, 107, 0.16);
}

.path-art {
	position: absolute;
	right: -20%;
	top: -30%;
	width: 90%;
	aspect-ratio: 1;
	z-index: -1;
	transition: transform 1.2s var(--ease);
}

.path:hover .path-art {
	transform: rotate(-6deg) scale(1.05);
}

.path-label {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pine-2);
}

.path--ink .path-label {
	color: var(--lime);
}

.path-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--fs-h2);
	letter-spacing: -0.025em;
	max-width: 12ch;
}

.path-text {
	margin-top: 1rem;
	max-width: 420px;
	color: var(--muted);
}

.path--ink .path-text {
	color: var(--muted-light);
}

.path .chip-list {
	margin-top: auto;
	padding-top: 2rem;
}

.path--sand .chip {
	background: rgba(251, 249, 245, 0.6);
	border-color: transparent;
}

.path--sand .chip:hover {
	background: var(--ink);
}

.path--ink .chip {
	border-color: var(--line-light);
}

.path--ink .chip:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
}

.path-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
	font-weight: 600;
	text-decoration: none;
}

.path-link .icon {
	transition: transform 0.3s var(--ease);
}

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

.path-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
}

.paths-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding: 1.25rem 1.5rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	color: var(--muted);
}

/* Tarjetas de seguros
   ========================================================================== */

.seguro-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 620px) {
	.seguro-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.seguro-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.seguro-grid--4,
	#featured-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.card-seguro {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	min-height: 190px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

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

.card-seguro:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--shadow);
}

.card-seguro[hidden] {
	display: none;
}

.card-seguro-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.35rem;
	letter-spacing: -0.015em;
}

.card-seguro-title a {
	text-decoration: none;
}

.card-seguro-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.card-seguro p {
	margin-top: 0.5rem;
	font-size: var(--fs-sm);
	line-height: 1.5;
	color: var(--muted);
}

.card-seguro-arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-top: auto;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.card-seguro:hover .card-seguro-arrow {
	background: var(--lime);
	border-color: var(--lime);
	transform: rotate(-45deg);
}

.card-seguro--media {
	padding: 0.75rem 0.75rem 1.5rem;
}

.card-seguro--media .media {
	aspect-ratio: 16 / 10;
	border-radius: calc(var(--radius) - 6px);
}

.card-seguro--media .card-seguro-body {
	padding-inline: 0.75rem;
}

.card-seguro--media .card-seguro-arrow {
	margin-left: 0.75rem;
}

.card-seguro:hover .media--art .contours {
	transform: scale(1.08) rotate(2deg);
}

.card-seguro:hover .media img {
	transform: scale(1.04);
}

/* Filtros */
.filter {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding: 0.25rem;
	border-radius: 999px;
	background: rgba(16, 35, 31, 0.05);
}

.filter-btn {
	min-height: 38px;
	padding: 0.4rem 1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s;
}

.filter-btn[aria-pressed="true"] {
	background: var(--ink);
	color: var(--sand);
}

.catalog-tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}

.catalog-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: min(100%, 320px);
	padding: 0 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--white);
}

.catalog-search input {
	flex: 1;
	min-height: 46px;
	border: 0;
	background: transparent;
	outline: 0;
}

/* ¿Por qué un corredor?
   ========================================================================== */

.roles {
	display: grid;
	gap: 1rem;
	align-items: stretch;
}

@media (min-width: 900px) {
	.roles {
		grid-template-columns: 1fr 1.25fr 1fr;
		align-items: center;
	}
}

.role {
	position: relative;
	padding: 2rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.role--main {
	padding: 2.5rem 2.25rem;
	background: var(--pine);
	color: var(--sand);
	border-color: var(--pine);
	box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
	.role:not(.role--main)::after {
		content: "";
		position: absolute;
		top: 50%;
		width: 1rem;
		height: 1px;
		background: var(--line-strong);
	}

	.role:first-child::after {
		right: -1rem;
	}

	.role:last-child::after {
		left: -1rem;
	}
}

.role-label {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.role--main .role-label {
	color: var(--lime);
}

.role-name {
	margin: 0.4rem 0 1.5rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2rem;
	letter-spacing: -0.02em;
}

.role .check-list {
	font-size: var(--fs-sm);
}

.role--main .check-list .icon {
	background: var(--lime);
}

.role:not(.role--main) .check-list .icon {
	background: var(--sage);
}

.broker-values {
	display: grid;
	gap: 2rem;
	margin-top: clamp(3rem, 5vw, 4.5rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
	.broker-values {
		grid-template-columns: repeat(3, 1fr);
	}
}

.value h3 {
	font-size: var(--fs-h5);
	font-weight: 600;
}

.value p {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* Proceso
   ========================================================================== */

.process {
	background: var(--paper);
}

.steps {
	display: grid;
	gap: 1rem;
	list-style: none;
	counter-reset: step;
}

@media (min-width: 700px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.steps {
		grid-template-columns: repeat(5, 1fr);
		gap: 0;
	}
}

.step {
	position: relative;
	padding: 1.75rem 1.5rem;
	border-radius: var(--radius);
	background: var(--sand);
}

@media (min-width: 1100px) {
	.step {
		padding: 0 1.75rem 0 0;
		background: transparent;
		border-radius: 0;
	}

	.step::before {
		content: "";
		position: absolute;
		top: 21px;
		left: 44px;
		right: 0;
		height: 1px;
		background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 11px);
	}

	.step:last-child::before {
		display: none;
	}
}

.step-num {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--lime);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.step:last-child .step-num {
	background: var(--lime);
	color: var(--ink);
}

.step-title {
	margin-top: 1.5rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
	letter-spacing: -0.015em;
}

.step p {
	margin-top: 0.6rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

/* Siniestros (bloque)
   ========================================================================== */

.claims-band {
	background: var(--ink);
	color: var(--sand);
	overflow: hidden;
}

.claims-band-inner {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 960px) {
	.claims-band-inner {
		grid-template-columns: 1.2fr 1fr;
		gap: 5rem;
	}
}

.claims-band .h2 {
	margin: 1rem 0 1.25rem;
}

.claims-band .lead {
	color: var(--muted-light);
	max-width: 560px;
}

.claims-band .btn-row {
	margin-top: 2rem;
}

.claims-mini {
	display: grid;
	gap: 0;
	list-style: none;
	border-top: 1px solid var(--line-light);
}

.claims-mini li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 1rem;
	align-items: center;
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--line-light);
	color: var(--muted-light);
}

.claims-mini span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(201, 242, 107, 0.5);
	border-radius: 50%;
	color: var(--lime);
	font-size: 0.8125rem;
	font-weight: 700;
}

/* Guía: tarjetas de artículos
   ========================================================================== */

.post-grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2rem) 1.5rem;
}

@media (min-width: 700px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card-post {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.card-post .media {
	aspect-ratio: 3 / 2;
}

.card-post:hover .media--art .contours {
	transform: scale(1.08) rotate(-2deg);
}

.card-post:hover .media img {
	transform: scale(1.04);
}

.card-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--muted);
}

.card-post-meta span:first-child {
	color: var(--pine-2);
	font-weight: 600;
}

.card-post-title {
	margin-top: 0.6rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.card-post-title a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.4s var(--ease);
}

.card-post:hover .card-post-title a {
	background-size: 100% 1px;
}

.card-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card-post-excerpt {
	margin-top: 0.6rem;
	color: var(--muted);
	font-size: var(--fs-sm);
}

@media (min-width: 1000px) {
	.card-post--large {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1.3fr 1fr;
		align-items: center;
		gap: 3rem;
		padding-bottom: 1rem;
		margin-bottom: 1rem;
		border-bottom: 1px solid var(--line);
	}

	.card-post--large .media {
		aspect-ratio: 16 / 10;
	}

	.card-post--large .card-post-title {
		font-size: var(--fs-h2);
		line-height: 1.08;
	}

	.card-post--large .card-post-excerpt {
		font-size: var(--fs-lead);
	}
}

/* Bloque de cotización (pie)
   ========================================================================== */

.cta-band {
	padding-bottom: var(--space-section);
}

.site-main > :last-child.section--tint + .cta-band,
.section--tint + .cta-band {
	padding-top: 0;
}

.cta-band-inner {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 2.5rem;
	padding: clamp(2rem, 5vw, 4.5rem);
	border-radius: var(--radius-lg);
	background: var(--pine);
	color: var(--sand);
	isolation: isolate;
}

@media (min-width: 960px) {
	.cta-band-inner {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
		align-items: center;
	}
}

.cta-band-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	--c-line: rgba(201, 242, 107, 0.12);
	opacity: 0.9;
}

.cta-band .h2 {
	margin: 1rem 0 1.25rem;
}

.cta-band .lead {
	color: var(--muted-light);
}

.cta-band-alt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 2rem;
	font-size: var(--fs-sm);
	color: var(--muted-light);
}

.cta-band-alt a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--sand);
	font-weight: 600;
}

.cta-band-picker {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--radius);
	background: rgba(16, 35, 31, 0.35);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(10px);
}

.picker-title {
	margin-bottom: 1rem;
	font-family: var(--font-display);
	font-size: 1.4rem;
}

.type-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	list-style: none;
}

.type-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: 54px;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-sm);
	background: rgba(245, 241, 234, 0.07);
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.type-chip .icon {
	opacity: 0.5;
	transition: transform 0.3s var(--ease), opacity 0.2s;
}

.type-chip:hover {
	background: var(--lime);
	color: var(--ink);
}

.type-chip:hover .icon {
	opacity: 1;
	transform: translateX(3px);
}

/* Cabeceras de página
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3.5rem, 7vw, 6.5rem);
	isolation: isolate;
}

.page-hero-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 70%);
	mask-image: linear-gradient(90deg, transparent 5%, #000 70%);
}

.page-hero--sand {
	background: var(--sand);
	--c-line: rgba(28, 70, 62, 0.13);
	--c-route: var(--pine-2);
	--c-bg: var(--sand);
}

.page-hero--pine {
	background: var(--pine);
	color: var(--sand);
	--c-line: rgba(201, 242, 107, 0.16);
	--c-route: var(--lime);
	--c-bg: var(--pine);
}

.page-hero--ink {
	background: var(--ink);
	color: var(--sand);
	--c-line: rgba(221, 232, 224, 0.12);
	--c-route: var(--lime);
	--c-bg: var(--ink);
}

.page-hero--clay {
	background: #3a2a22;
	color: var(--sand);
	--c-line: rgba(243, 221, 210, 0.16);
	--c-route: #f0a88e;
	--c-bg: #3a2a22;
}

.page-hero--clay .kicker--light {
	color: #f0a88e;
}

.page-hero--pine .hero-lead,
.page-hero--ink .hero-lead,
.page-hero--clay .hero-lead {
	color: var(--muted-light);
}

.page-hero--pine .display em,
.page-hero--ink .display em {
	color: var(--lime);
}

.page-hero-grid {
	display: grid;
	gap: 3rem;
	align-items: end;
}

@media (min-width: 1000px) {
	.page-hero-grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		gap: 5rem;
	}

	.page-hero-grid--hub {
		align-items: end;
	}
}

.page-hero-copy .display {
	margin: 1.1rem 0 1.4rem;
	max-width: 16ch;
}

.page-hero .kicker {
	margin-top: clamp(1.5rem, 4vw, 3.5rem);
}

.page-hero .btn-row {
	margin-top: 2.25rem;
}

.page-hero--compact {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-hero--compact .display {
	margin: 1rem 0 1.25rem;
	max-width: 18ch;
}

.page-hero-media .media {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
}

.hub-index {
	padding: 1.5rem;
	border-radius: var(--radius);
	background: rgba(251, 249, 245, 0.7);
	backdrop-filter: blur(10px);
	border: 1px solid var(--line);
}

.page-hero--ink .hub-index {
	background: rgba(245, 241, 234, 0.05);
	border-color: var(--line-light);
}

.hub-index-title {
	margin-bottom: 0.5rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.7;
}

.hub-index ul {
	list-style: none;
	columns: 2;
	column-gap: 1.25rem;
}

.hub-index a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-sm);
	font-weight: 500;
	text-decoration: none;
	break-inside: avoid;
}

.page-hero--ink .hub-index a {
	border-color: var(--line-light);
}

.hub-index a .icon {
	width: 14px;
	opacity: 0.4;
	transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hub-index a:hover .icon {
	opacity: 1;
	transform: translateX(3px);
}

/* Migas de pan */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	font-size: var(--fs-xs);
	color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.35rem;
	opacity: 0.5;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	color: var(--text);
	font-weight: 500;
}

.breadcrumbs--light ol {
	color: var(--muted-light);
}

.breadcrumbs--light [aria-current] {
	color: var(--sand);
}

/* Subnavegación de fichas */
.subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 30;
	background: rgba(251, 249, 245, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.admin-bar .subnav {
	top: calc(var(--header-h) + 32px);
}

.subnav-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 60px;
}

.subnav ul {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1;
}

.subnav ul::-webkit-scrollbar {
	display: none;
}

.subnav ul a {
	display: block;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	color: var(--muted);
	transition: color 0.2s, background-color 0.2s;
}

.subnav ul a:hover,
.subnav ul a.is-active {
	color: var(--ink);
	background: var(--sand-2);
}

.subnav-cta {
	display: none;
}

@media (min-width: 700px) {
	.subnav-cta {
		display: inline-flex;
	}
}

/* Ficha de seguro
   ========================================================================== */

.prose {
	font-size: 1.0625rem;
	line-height: 1.75;
}

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

.prose h2 {
	margin-top: 2.2em;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--fs-h3);
	letter-spacing: -0.02em;
}

.prose h3 {
	margin-top: 1.8em;
	font-size: var(--fs-h5);
	font-weight: 600;
}

.prose h2 + *,
.prose h3 + * {
	margin-top: 0.75em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

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

.prose li::marker {
	color: var(--pine-2);
}

.prose a {
	color: var(--pine);
	font-weight: 500;
}

.prose strong {
	font-weight: 650;
}

.prose blockquote {
	margin-inline: 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--lime-2);
	background: var(--paper);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.prose th,
.prose td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	font-weight: 600;
	background: var(--paper);
}

.aside-card {
	padding: 2rem;
	border-radius: var(--radius-lg);
	background: var(--sage);
}

.aside-card .h4 {
	margin-bottom: 1.25rem;
}

.aside-card--pending {
	background: var(--paper);
	border: 1px dashed var(--line-strong);
}

.aside-card--pending .is-pending {
	background: none;
	color: var(--muted);
}

.coverage-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.coverage-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.coverage-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.coverage {
	padding: 1.75rem;
	border-radius: var(--radius);
	background: var(--sand);
	border: 1px solid transparent;
	transition: border-color 0.3s, transform 0.35s var(--ease);
}

.coverage:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.coverage-num {
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--pine-2);
	letter-spacing: 0.08em;
}

.coverage-title {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.005em;
}

.coverage p {
	margin-top: 0.5rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.scenarios {
	display: grid;
	border-top: 1px solid var(--line);
}

.scenario {
	display: grid;
	gap: 0.75rem;
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
	.scenario {
		grid-template-columns: 1fr 1.3fr;
		gap: 3rem;
	}
}

.scenario-q {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
	letter-spacing: -0.015em;
}

.scenario-a {
	color: var(--muted);
}

.notes {
	margin-top: 3rem;
	padding: 2rem;
	border-radius: var(--radius-lg);
	background: var(--clay-soft);
}

.notes ul {
	display: grid;
	gap: 0.6rem;
	margin-top: 1rem;
	padding-left: 1.2rem;
}

.notes li::marker {
	color: var(--clay);
}

.inline-cta {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: var(--radius-lg);
	background: var(--lime);
}

@media (min-width: 860px) {
	.inline-cta {
		grid-template-columns: 1fr auto;
		gap: 3rem;
	}
}

.inline-cta p {
	margin-top: 0.5rem;
	color: rgba(16, 35, 31, 0.75);
}

.inline-cta .btn--ghost {
	--btn-bd: rgba(16, 35, 31, 0.3);
}

.related-seguros-head {
	margin-top: clamp(3rem, 6vw, 5rem);
}

.cross-link {
	position: relative;
	display: grid;
	gap: 0.75rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: var(--radius-lg);
	border: 1px solid var(--line-strong);
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}

.cross-link-title {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	letter-spacing: -0.025em;
	line-height: 1.05;
}

.cross-link .icon {
	position: absolute;
	right: clamp(2rem, 5vw, 3.5rem);
	bottom: clamp(2rem, 5vw, 3.5rem);
	width: 36px;
	height: 36px;
	transition: transform 0.35s var(--ease);
}

.cross-link:hover {
	background: var(--ink);
	color: var(--sand);
}

.cross-link:hover .kicker {
	color: var(--lime);
}

.cross-link:hover .icon {
	transform: translateX(6px);
	color: var(--lime);
}

/* Perfiles de segmento */
.profile-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.profile-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1040px) {
	.profile-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.profile {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2rem;
	min-height: 230px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s;
}

.profile:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	background: var(--white);
}

.profile-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.5rem;
	letter-spacing: -0.015em;
}

.profile p {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.profile-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 1rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--pine);
}

.profile-link .icon {
	transition: transform 0.3s var(--ease);
}

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

/* FAQ
   ========================================================================== */

.faq {
	border-top: 1px solid var(--line-strong);
}

.faq-item {
	border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0;
	cursor: pointer;
	list-style: none;
}

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

.faq-q {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1.4;
}

.faq-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	transition: transform 0.35s var(--ease), background-color 0.3s;
}

.faq-item[open] .faq-icon {
	transform: rotate(45deg);
	background: var(--lime);
	border-color: var(--lime);
}

.faq-item summary:hover .faq-icon {
	border-color: var(--ink);
}

.faq-a {
	padding: 0 3.5rem 1.75rem 0;
	color: var(--muted);
}

.faq-item[open] .faq-a {
	animation: fade-up 0.4s var(--ease);
}

/* Siniestros (página)
   ========================================================================== */

.emergency-card {
	padding: 2rem;
	border-radius: var(--radius-lg);
	background: rgba(245, 241, 234, 0.06);
	border: 1px solid var(--line-light);
}

.emergency-label {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-light);
}

.emergency-number {
	margin: 0.5rem 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 8vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--lime);
}

.emergency-note {
	font-size: var(--fs-sm);
	color: var(--muted-light);
}

.tab-list {
	display: flex;
	gap: 0.25rem;
	padding: 0.25rem;
	border-radius: var(--radius);
	background: rgba(16, 35, 31, 0.05);
	overflow-x: auto;
	scrollbar-width: none;
}

.tab {
	flex: 1 0 auto;
	min-height: 48px;
	padding: 0.6rem 1.1rem;
	border: 0;
	border-radius: calc(var(--radius) - 4px);
	background: transparent;
	font-weight: 500;
	font-size: var(--fs-sm);
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}

.tab[aria-selected="true"] {
	background: var(--ink);
	color: var(--sand);
}

.tab-panel {
	padding-top: 2rem;
	animation: fade-up 0.45s var(--ease);
}

.numbered {
	display: grid;
	gap: 0.25rem;
	list-style: none;
	counter-reset: n;
}

@media (min-width: 860px) {
	.tab-panel .numbered {
		grid-template-columns: 1fr 1fr;
		column-gap: 3rem;
	}
}

.numbered li {
	position: relative;
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 1rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--line);
	counter-increment: n;
}

.numbered li::before {
	content: counter(n);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sage);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--pine);
}

.numbered--compact li {
	padding: 0.65rem 0;
	font-size: var(--fs-sm);
	text-align: left;
}

.checklist-grid {
	display: grid;
	gap: 0.6rem;
	list-style: none;
}

@media (min-width: 560px) {
	.checklist-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.checklist-grid li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--sand);
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.checklist-grid .icon {
	flex: none;
	color: var(--pine-2);
	stroke-width: 2.2;
}

.compare {
	display: grid;
	gap: 1rem;
	max-width: 980px;
	margin-inline: auto;
}

@media (min-width: 800px) {
	.compare {
		grid-template-columns: 1fr 1fr;
	}
}

.compare-col {
	padding: 2.25rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--paper);
}

.compare-col .h4 {
	margin-bottom: 1.5rem;
}

.compare-col--main {
	background: var(--pine);
	border-color: var(--pine);
	color: var(--sand);
}

/* Formularios
   ========================================================================== */

.form-card {
	display: grid;
	gap: 1.25rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.field {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.field-row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 560px) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.field label,
.field legend {
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0;
}

.field legend {
	margin-bottom: 0.45rem;
}

.optional {
	font-weight: 400;
	color: var(--muted);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--paper);
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310231f' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 18px;
	padding-right: 2.75rem;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 0;
	border-color: var(--pine-2);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(43, 95, 83, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: #b3462a;
}

.field-error {
	font-size: 0.8125rem;
	color: #b3462a;
}

.segmented {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.segmented label {
	flex: 1 1 auto;
	font-weight: 500;
}

.segmented input,
.chip-choice input,
.type-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.segmented span,
.chip-choice span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.segmented input:checked + span,
.chip-choice input:checked + span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

.segmented input:focus-visible + span,
.chip-choice input:focus-visible + span,
.type-option input:focus-visible + .type-option-box {
	outline: 2px solid var(--pine-2);
	outline-offset: 2px;
}

.chip-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.chip-choice {
	position: relative;
}

.check {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 0.75rem;
	align-items: start;
	font-size: 0.875rem;
	color: var(--muted);
	line-height: 1.45;
}

.check input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--pine);
}

.check a {
	color: var(--pine);
}

.form-status {
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.form-status.is-success {
	background: #e6f6c7;
	color: #29400b;
}

.form-status.is-error {
	background: #f8e0d7;
	color: #7a2a14;
}

.form-card .btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* Cotizador
   ========================================================================== */

.quote {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--space-section);
	isolation: isolate;
}

.quote-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	--c-line: rgba(28, 70, 62, 0.1);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
	mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.quote-grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 1000px) {
	.quote-grid {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
		gap: 5rem;
		align-items: start;
	}

	.quote-aside {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.quote-aside .display {
	margin: 2rem 0 1rem;
}

.quote-progress {
	display: none;
	gap: 0;
	margin-top: 2.5rem;
	list-style: none;
}

@media (min-width: 1000px) {
	.quote-progress {
		display: grid;
	}
}

.quote-progress li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-weight: 500;
	transition: color 0.3s;
}

.quote-progress span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	font-size: 0.8125rem;
	font-weight: 700;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.quote-progress .is-current {
	color: var(--ink);
}

.quote-progress .is-current span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--lime);
}

.quote-progress .is-done span {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
}

.quote-after {
	display: grid;
	gap: 0.75rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--sage);
	font-size: var(--fs-sm);
}

.quote-after .link-arrow {
	justify-self: start;
	margin-top: 0.25rem;
}

.quote-form {
	position: relative;
	overflow: hidden;
	gap: 1.75rem;
	padding-top: calc(clamp(1.5rem, 4vw, 2.5rem) + 6px);
}

.quote-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--sand-2);
}

.quote-bar span {
	display: block;
	height: 100%;
	width: 33%;
	background: var(--pine-2);
	transition: width 0.5s var(--ease);
}

.quote-step {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.js .quote-step:not(.is-active) {
	display: none;
}

.quote-step.is-active {
	animation: fade-up 0.45s var(--ease);
}

.quote-step-title {
	margin-bottom: 0.5rem;
	padding: 0;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.type-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}

@media (min-width: 640px) {
	.type-options {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.type-option {
	position: relative;
	display: block;
}

.type-option-box {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	min-height: 108px;
	padding: 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.type-option-box strong {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}

.type-option-box small {
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--muted);
}

.type-option:hover .type-option-box {
	border-color: var(--ink);
}

.type-option input:checked + .type-option-box {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

.type-option input:checked + .type-option-box small {
	color: var(--muted-light);
}

.quote-details {
	display: grid;
	gap: 1.25rem;
}

.quote-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--sand);
	font-size: 0.8125rem;
}

.quote-summary strong {
	flex-basis: 100%;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.quote-summary span {
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
}

.quote-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.quote-nav .btn:last-child,
.quote-nav [data-quote-next] {
	margin-left: auto;
}

.js .quote-nav [data-quote-submit] {
	display: none;
}

.js .quote-nav.is-last [data-quote-submit] {
	display: inline-flex;
}

.js .quote-nav.is-last [data-quote-next] {
	display: none;
}

.quote-done {
	display: grid;
	justify-items: center;
	gap: 1rem;
	padding: 1.5rem 0 0.5rem;
	text-align: center;
	outline: 0;
}

.quote-done[hidden] {
	display: none;
}

.quote-done-mark {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--lime);
	animation: pop 0.6s var(--ease);
}

.quote-done-mark .icon {
	width: 34px;
	height: 34px;
	stroke-width: 2.2;
}

.quote-done .numbered {
	width: 100%;
	max-width: 440px;
	margin: 0.5rem 0 1rem;
}

.quote-done .btn-row {
	justify-content: center;
}

@keyframes pop {
	from {
		transform: scale(0.4);
		opacity: 0;
	}
}

/* Nosotros
   ========================================================================== */

.principles {
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.principles {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1100px) {
	.principles {
		grid-template-columns: repeat(4, 1fr);
	}
}

.principle {
	padding: 2rem;
	border-radius: var(--radius);
	background: var(--sand);
}

.principle-num {
	display: block;
	margin-bottom: 2.5rem;
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
	color: var(--pine-2);
	font-style: italic;
	font-weight: 300;
}

.principle p {
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.team {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 700px) {
	.team {
		grid-template-columns: repeat(3, 1fr);
	}
}

.team-member .media {
	aspect-ratio: 4 / 5;
	margin-bottom: 1.25rem;
}

.team-member p {
	margin-top: 0.3rem;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.insurers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	list-style: none;
}

.insurers li {
	display: grid;
	place-items: center;
	min-width: 180px;
	min-height: 88px;
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--sand);
	font-weight: 600;
	text-align: center;
}

.insurers--pending li {
	background-image: none;
	border: 1px dashed var(--line-strong);
	background: transparent;
	font-weight: 500;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* Contacto
   ========================================================================== */

.section--pull {
	padding-top: 0;
}

.channels {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.channels {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.channels {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
	}
}

.channel {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.75rem;
	min-height: 220px;
	border-radius: var(--radius-lg);
	background: var(--paper);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.channel--main {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

.channel-icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	margin-bottom: auto;
	border-radius: 50%;
	background: var(--sage);
	color: var(--pine);
}

.channel--main .channel-icon {
	background: var(--lime);
	color: var(--ink);
}

.channel-label {
	margin-top: 2rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.channel--main .channel-label,
.channel--main .channel-note {
	color: var(--muted-light);
}

.channel-value {
	font-family: var(--font-display);
	font-size: 1.35rem;
	letter-spacing: -0.01em;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.channel-note {
	font-size: 0.875rem;
	color: var(--muted);
}

.contact-shortcuts {
	display: grid;
	gap: 0.75rem;
	margin-top: 2.5rem;
}

.shortcut {
	position: relative;
	display: grid;
	gap: 0.2rem;
	padding: 1.25rem 3.5rem 1.25rem 1.5rem;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: border-color 0.3s;
}

.shortcut span {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.shortcut .icon {
	position: absolute;
	right: 1.5rem;
	top: 50%;
	margin-top: -0.6em;
	transition: transform 0.3s var(--ease);
}

.shortcut:hover {
	border-color: var(--ink);
}

.shortcut:hover .icon {
	transform: translateX(4px);
}

.contact-mini {
	display: grid;
	gap: 0.75rem;
	margin-top: 2rem;
	list-style: none;
}

.contact-mini li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.contact-mini .icon {
	color: var(--pine-2);
}

/* Guía de Seguros
   ========================================================================== */

.guide-hero {
	display: grid;
	gap: 2rem;
	align-items: end;
}

@media (min-width: 1000px) {
	.guide-hero {
		grid-template-columns: 1.4fr 1fr;
		gap: 4rem;
	}
}

.guide-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding: 0.35rem 0.35rem 0.35rem 1.1rem;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line-strong);
	box-shadow: var(--shadow-sm);
}

.guide-search:focus-within {
	border-color: var(--pine-2);
	box-shadow: 0 0 0 4px rgba(43, 95, 83, 0.14);
}

.guide-search input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	border: 0;
	background: transparent;
	outline: 0;
	font-size: 1rem;
}

.guide-search .icon {
	color: var(--muted);
}

.cat-nav {
	padding: 1.25rem 0;
	border-block: 1px solid var(--line);
	background: var(--paper);
}

.cat-nav .chip-list {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.cat-nav .chip {
	white-space: nowrap;
}

.post-grid--guide {
	padding-top: 1rem;
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	text-decoration: none;
	font-size: var(--fs-sm);
}

.pagination .page-numbers.current {
	background: var(--ink);
	color: var(--sand);
	border-color: var(--ink);
}

/* Artículo */
.article-head {
	padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.article-head .kicker {
	margin-top: clamp(1.5rem, 4vw, 3rem);
}

.article-head .display {
	margin: 1rem 0 1.25rem;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.article-head--page {
	padding-bottom: 1.5rem;
}

.article-cover {
	margin-bottom: 3rem;
}

.article-cover .media {
	aspect-ratio: 21 / 9;
	border-radius: var(--radius-lg);
}

.article-layout {
	display: grid;
	gap: 2.5rem;
	padding-bottom: var(--space-section);
}

@media (min-width: 1040px) {
	.article-layout {
		grid-template-columns: 280px minmax(0, 720px);
		justify-content: center;
		gap: 5rem;
	}

	.article-side {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
		align-self: start;
		order: 0;
	}
}

@media (max-width: 1039px) {
	.article-side {
		order: 2;
	}
}

.article-side {
	display: grid;
	gap: 1.5rem;
}

.toc {
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

@media (max-width: 1039px) {
	.toc {
		display: none;
	}
}

.toc-title {
	margin-bottom: 0.75rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.toc ol {
	display: grid;
	gap: 0.15rem;
	list-style: none;
}

.toc a {
	display: block;
	padding: 0.4rem 0 0.4rem 0.9rem;
	border-left: 2px solid var(--line);
	font-size: 0.875rem;
	line-height: 1.4;
	text-decoration: none;
	color: var(--muted);
	transition: color 0.2s, border-color 0.2s;
}

.toc a:hover,
.toc a.is-active {
	color: var(--ink);
	border-left-color: var(--pine-2);
}

.side-cta {
	display: grid;
	gap: 0.75rem;
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--sand);
	font-size: var(--fs-sm);
}

.side-cta p:not([class]) {
	color: var(--muted-light);
}

.side-cta-kicker {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lime);
}

.side-cta-title {
	font-family: var(--font-display);
	font-size: 1.4rem;
}

.side-cta .btn--primary {
	--btn-bg: var(--lime);
	--btn-fg: var(--ink);
	--btn-bd: var(--lime);
	margin-top: 0.5rem;
}

.side-cta .link-arrow {
	justify-self: start;
	color: var(--sand);
}

.answer {
	margin-bottom: 2.5rem;
	padding: 1.75rem 2rem;
	border-radius: var(--radius);
	background: var(--sage);
	font-size: 1.125rem;
	line-height: 1.6;
}

.answer-label {
	margin-bottom: 0.6rem;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pine);
}

.prose--article > p:first-child {
	font-size: 1.1875rem;
}

.disclaimer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	color: var(--muted);
}

/* Búsqueda y 404 */
.search-results {
	display: grid;
	list-style: none;
	border-top: 1px solid var(--line);
}

.search-results a {
	display: grid;
	gap: 0.3rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.search-results strong {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
}

.search-results a:hover strong {
	text-decoration: underline;
}

.search-results span:last-child {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.search-type {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pine-2);
}

.not-found {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 10vw, 9rem) 0;
	isolation: isolate;
}

.not-found-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	--c-line: rgba(28, 70, 62, 0.12);
	--c-route: var(--pine-2);
	--c-bg: var(--sand);
}

.not-found .display {
	margin: 1rem 0 1.5rem;
}

.not-found .chip-list {
	margin-top: 2rem;
}

/* Pie
   ========================================================================== */

.site-footer {
	padding: clamp(3.5rem, 6vw, 5.5rem) 0 calc(2rem + env(safe-area-inset-bottom));
	background: var(--ink);
	color: var(--sand);
}

.footer-top {
	display: grid;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--line-light);
}

@media (min-width: 1000px) {
	.footer-top {
		grid-template-columns: 1fr 1.6fr;
		gap: 5rem;
	}
}

.footer-about {
	margin-top: 1.5rem;
	max-width: 420px;
	font-size: var(--fs-sm);
	color: var(--muted-light);
}

.footer-contact {
	display: grid;
	gap: 0.7rem;
	margin-top: 2rem;
	list-style: none;
	font-size: var(--fs-sm);
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.footer-contact .icon {
	color: var(--lime);
}

.footer-contact a {
	text-decoration: none;
}

.footer-contact a:hover {
	text-decoration: underline;
}

.footer-cols {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-title {
	margin-bottom: 1.1rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lime);
}

.footer-col .footer-title a {
	color: inherit;
	text-decoration: none;
}

.footer-col ul {
	display: grid;
	gap: 0.6rem;
	list-style: none;
	font-size: var(--fs-sm);
}

.footer-col a {
	color: var(--muted-light);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: var(--sand);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding-top: 2rem;
	font-size: 0.8125rem;
	color: var(--muted-light);
}

.footer-legal {
	flex: 1 1 320px;
}

.legal-menu,
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
}

.legal-menu a,
.social a {
	text-decoration: none;
}

.legal-menu a:hover,
.social a:hover {
	color: var(--sand);
	text-decoration: underline;
}

/* Barra móvil
   ========================================================================== */

.mobile-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 0.4rem;
	padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
	background: rgba(251, 249, 245, 0.94);
	backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
	transform: translateY(110%);
	transition: transform 0.4s var(--ease);
}

.mobile-bar.is-visible {
	transform: none;
}

.mobile-bar-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 48px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: transparent;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.mobile-bar-item.is-primary {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

@media (min-width: 900px) {
	.mobile-bar {
		display: none;
	}
}

@media (max-width: 899px) {
	.site-footer {
		padding-bottom: calc(6rem + env(safe-area-inset-bottom));
	}
}

/* Asistente
   ========================================================================== */

.assistant {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
	pointer-events: none;
}

.assistant > * {
	pointer-events: auto;
}

@media (max-width: 899px) {
	.assistant {
		right: 0.75rem;
		left: 0.75rem;
		bottom: calc(76px + env(safe-area-inset-bottom));
	}

	.assistant-launcher {
		display: none !important;
	}
}

.assistant-launcher {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 54px;
	padding: 0.4rem 0.5rem 0.4rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--sand);
	font-size: 0.9375rem;
	font-weight: 500;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background-color 0.2s;
}

.assistant.is-ready .assistant-launcher {
	opacity: 1;
	transform: none;
}

.assistant-launcher:hover {
	background: var(--pine);
}

.assistant-launcher-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
}

.assistant-launcher-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--lime);
	animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
	70%,
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

.assistant-launcher-icon {
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
}

.assistant.is-open .assistant-launcher {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}

.assistant-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(400px, calc(100vw - 1.5rem));
	height: min(620px, calc(100vh - 7rem));
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: 0 40px 100px -20px rgba(16, 35, 31, 0.45), 0 0 0 1px var(--line);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.98);
	transform-origin: bottom right;
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

@media (max-width: 899px) {
	.assistant-panel {
		width: 100%;
		height: min(640px, calc(100dvh - 76px - var(--header-h) - 1.5rem));
	}
}

.assistant.is-open .assistant-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.assistant-head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.85rem;
	align-items: center;
	padding: 1.1rem 1.1rem 1.1rem 1.25rem;
	background: var(--ink);
	color: var(--sand);
}

.assistant-avatar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 13px;
	background: var(--lime);
	position: relative;
}

.assistant-avatar::before {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	top: 50%;
	height: 1.5px;
	background: rgba(16, 35, 31, 0.4);
}

.assistant-avatar i {
	position: relative;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ink);
}

.assistant-avatar i:nth-child(2) {
	width: 9px;
	height: 9px;
}

.assistant-title {
	font-size: 1rem;
	font-weight: 700;
}

.assistant-sub {
	font-size: 0.8125rem;
	color: var(--muted-light);
	line-height: 1.35;
}

.assistant-close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(245, 241, 234, 0.08);
	color: var(--sand);
}

.assistant-close:hover {
	background: rgba(245, 241, 234, 0.16);
}

.assistant-log {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.25rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
}

.msg {
	max-width: 85%;
	padding: 0.75rem 1rem;
	border-radius: 18px;
	font-size: 0.9375rem;
	line-height: 1.45;
	animation: fade-up 0.35s var(--ease);
}

.msg--bot {
	align-self: flex-start;
	background: var(--white);
	border: 1px solid var(--line);
	border-bottom-left-radius: 6px;
}

.msg--user {
	align-self: flex-end;
	background: var(--ink);
	color: var(--sand);
	border-bottom-right-radius: 6px;
}

.msg a {
	color: var(--pine);
	font-weight: 600;
}

.msg--card {
	width: 85%;
	padding: 1rem;
	background: var(--sage);
	border: 0;
}

.msg--card dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3rem 0.75rem;
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
}

.msg--card dt {
	color: var(--muted);
}

.msg--card dd {
	margin: 0;
	font-weight: 600;
}

.msg-typing {
	display: inline-flex;
	gap: 4px;
	padding: 0.9rem 1rem;
}

.msg-typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--muted);
	animation: typing 1.2s infinite;
}

.msg-typing i:nth-child(2) {
	animation-delay: 0.15s;
}

.msg-typing i:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes typing {
	0%,
	60%,
	100% {
		opacity: 0.3;
		transform: none;
	}

	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

.assistant-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0 1.25rem 0.75rem;
}

.assistant-options:empty {
	display: none;
}

.assistant-option {
	min-height: 38px;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--pine-2);
	border-radius: 999px;
	background: var(--white);
	color: var(--pine);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	animation: fade-up 0.35s var(--ease) both;
	transition: background-color 0.2s, color 0.2s;
}

.assistant-option:hover {
	background: var(--pine);
	color: var(--sand);
}

.assistant-option--primary {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--sand);
}

.assistant-input {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid var(--line);
	background: var(--white);
}

.assistant-input input {
	flex: 1;
	min-width: 0;
	min-height: 46px;
	padding: 0 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--paper);
	font-size: 1rem;
	outline: 0;
}

.assistant-input input:focus {
	border-color: var(--pine-2);
}

.assistant-input button {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--lime);
}

.assistant-legal {
	padding: 0 1rem 0.75rem;
	background: var(--white);
	font-size: 0.6875rem;
	color: var(--muted);
	text-align: center;
}

/* Animaciones de entrada
   ========================================================================== */

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}

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

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

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

	.route-pulse {
		stroke-dashoffset: 0;
	}
}

@media print {
	.site-header,
	.mobile-bar,
	.assistant,
	.cta-band,
	.site-footer {
		display: none !important;
	}
}

.prose .is-pending,
p.is-pending {
	display: block;
	padding: 0.9rem 1.1rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--paper);
	font-size: var(--fs-sm);
	color: var(--muted);
	opacity: 1;
}

.prose span.is-pending {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
}

@media (max-width: 619px) {
	.card-seguro:not(.card-seguro--media) {
		flex-direction: row;
		align-items: center;
		min-height: 0;
		padding: 1.25rem;
	}

	.card-seguro:not(.card-seguro--media) .card-seguro-body {
		flex: 1;
	}

	.card-seguro:not(.card-seguro--media) .card-seguro-arrow {
		margin-top: 0;
		flex: none;
	}

	.card-seguro-title {
		font-size: 1.2rem;
	}
}

.check .field-error {
	grid-column: 1 / -1;
}

/* Estimación de precio
   ========================================================================== */

.estimate {
	display: grid;
	gap: 0.35rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	background: var(--sage);
	border: 1px solid rgba(28, 70, 62, 0.16);
}

.estimate-label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pine);
}

.estimate-value {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.estimate-note {
	font-size: 0.8125rem;
	color: var(--muted);
}

.quote-done .estimate {
	width: 100%;
	text-align: left;
}

/* Tratamiento de fotografías
   ========================================================================== */

.media--photo.media--treat {
	background: var(--c-bg, var(--pine));
}

.media--treat img {
	filter: saturate(0.9) contrast(1.04);
}

.media--treat::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.09;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.media--duotone::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	mix-blend-mode: color;
	opacity: 0.62;
	background: linear-gradient(150deg, var(--c-bg, var(--pine)), var(--c-route, var(--lime)));
}

.media--duotone.tone-sand::after,
.media--duotone.tone-clay::after {
	opacity: 0.45;
}

/* Comparador de propuestas
   ========================================================================== */

.proposal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-top: 1.5rem;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--muted-light);
}

.proposal-meta .is-expired {
	color: #f0a88e;
}

.proposal-alert {
	margin-top: 2rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--clay-soft);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.proposal-alert--ok {
	background: #e6f6c7;
}

.compare-table {
	margin-top: 1rem;
}

.compare-hint {
	display: none;
	margin-bottom: 0.75rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.compare-grid {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(180px, 1fr) repeat(var(--cols, 3), minmax(0, 1fr));
	align-items: stretch;
}

.compare-head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.75rem 1.25rem 1.5rem;
	border-top: 1px solid var(--line);
	background: var(--paper);
	border-radius: var(--radius) var(--radius) 0 0;
}

.compare-head--labels {
	background: transparent;
	border: 0;
}

.compare-head.is-suggested {
	background: var(--pine);
	color: var(--sand);
}

.compare-badge {
	position: absolute;
	top: -12px;
	left: 1.25rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--lime);
	color: var(--ink);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.compare-insurer {
	font-family: var(--font-display);
	font-size: 1.4rem;
	letter-spacing: -0.015em;
}

.compare-plan {
	font-size: var(--fs-sm);
	color: var(--muted);
}

.compare-head.is-suggested .compare-plan,
.compare-head.is-suggested .compare-payment {
	color: var(--muted-light);
}

.compare-price {
	margin-top: 0.75rem;
	font-size: 1.25rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.compare-payment {
	font-size: 0.8125rem;
	color: var(--muted);
}

.compare-row-label,
.compare-cell {
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--line);
	font-size: var(--fs-sm);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.compare-row-label {
	font-weight: 600;
	color: var(--muted);
}

.compare-cell.is-suggested {
	background: rgba(28, 70, 62, 0.06);
}

.compare-yes,
.compare-no {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.compare-yes .icon {
	width: 20px;
	height: 20px;
	padding: 3px;
	border-radius: 50%;
	background: var(--lime);
	stroke-width: 2.4;
}

.compare-no {
	color: var(--muted);
	font-weight: 400;
}

.compare-no .icon {
	width: 18px;
	height: 18px;
	opacity: 0.6;
}

.compare-cell--note {
	align-items: flex-start;
	line-height: 1.45;
}

.compare-cell--action {
	padding-top: 1.5rem;
	padding-bottom: 0;
	border-top: 1px solid var(--line);
}

.compare-row-label--action {
	border-top: 1px solid var(--line);
}

.proposal-notes {
	margin-top: 3rem;
}

@media (max-width: 860px) {
	/* En pantallas chicas la tabla se desplaza en horizontal con la columna de conceptos fija. */
	.compare-hint {
		display: block;
	}

	.compare-table {
		overflow-x: auto;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scrollbar-width: thin;
	}

	.compare-grid {
		min-width: 640px;
		grid-template-columns: 132px repeat(var(--cols, 3), minmax(180px, 1fr));
	}

	.compare-head--labels,
	.compare-row-label {
		position: sticky;
		left: 0;
		z-index: 2;
		background: var(--sand);
	}

	.compare-row-label {
		font-size: 0.8125rem;
	}

	.compare-head,
	.compare-cell {
		padding-inline: 1rem;
	}

	.compare-insurer {
		font-size: 1.15rem;
	}
}
