/* ==========================================================================
   Creaciones Bardo — tema
   Piedra y tinta, con el naranja del logotipo solo para la acción principal
   y el verde solo para WhatsApp. Work Sans. Esquinas rectas.
   ========================================================================== */

@font-face {
	font-family: "Work Sans";
	src: url("../fonts/work-sans-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Work Sans";
	src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #e3e5e2;
	--paper: #f6f7f5;
	--surface: #d2d7d3;
	--ink: #1f2421;
	--muted: #4a524d;
	--accent: #bc5033;
	--accent-press: #9c3d22;
	--accent-ink: #ffffff;
	--wa: #1d7444;
	--wa-press: #155a34;
	--on-ink: #f6f7f5;
	--on-ink-soft: #c9d0cb;

	--font: "Work Sans", "Helvetica Neue", Arial, sans-serif;
	--t-display: clamp(2.5rem, 1.55rem + 3.4vw, 4.5rem);
	--t-head: clamp(2rem, 1.45rem + 2vw, 3.25rem);
	--t-lead: clamp(1.3125rem, 1.15rem + 0.55vw, 1.625rem);
	--t-body: clamp(1.125rem, 1.09rem + 0.15vw, 1.1875rem);
	--t-small: 1rem;

	--margin: clamp(16px, 2.2vw, 32px);
	--gap: 12px;
	--section: clamp(96px, 7vw + 48px, 200px);
	--head-h: 84px;
	--measure: 64ch;

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--t-body);
	line-height: 1.55;
	font-weight: 400;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 { margin: 0; font-weight: 450; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-head); }
h3 { font-size: var(--t-lead); font-weight: 550; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html { scrollbar-color: var(--muted) var(--bg); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.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 { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 14px 20px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 26px;
	border: 2px solid transparent;
	font: inherit; font-size: var(--t-body); font-weight: 600; line-height: 1.1;
	text-decoration: none; text-align: center;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--big { min-height: 64px; padding: 0 32px; }
.btn--main { background: var(--accent); color: var(--accent-ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
@media (hover: hover) and (pointer: fine) {
	.btn--main:hover { background: var(--accent-press); }
	.btn--wa:hover { background: var(--wa-press); }
	.btn--line:hover, .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; }
.link .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .icon { transform: translateX(4px); } }

/* ---------- Cabecera ---------- */
.site-head { position: sticky; top: 0; z-index: 90; background: var(--paper); }
.site-head__in { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); height: var(--head-h); padding-inline: var(--margin); max-width: 1680px; margin-inline: auto; }
.brand { flex: none; }
.brand img { width: clamp(132px, 10vw, 160px); height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 28px); list-style: none; }
.nav__list a { position: relative; display: block; padding: 10px 0; font-size: var(--t-small); font-weight: 500; text-decoration: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current]::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.head-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-body); text-decoration: none; white-space: nowrap; }
.head-cta { min-height: 48px; padding: 0 20px; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
	.head-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.head-tel { width: 48px; height: 48px; justify-content: center; border: 2px solid var(--ink); }
}
@media (max-width: 1023px) {
	:root { --head-h: 68px; }
	.head-cta { display: none; }
	.head-tel { margin-left: auto; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 8px;
		min-height: 48px; padding: 0 14px;
		border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
		font: inherit; font-weight: 600; cursor: pointer;
	}
	.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
	.nav-toggle[aria-expanded="true"] .i-close { display: block; }
	.nav { position: fixed; inset: var(--head-h) 0 auto 0; margin: 0; background: var(--paper); padding: 8px var(--margin) 28px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out), visibility 0s 220ms; }
	.nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 0; font-size: var(--t-lead); }
	.nav__list li + li { border-top: 1px solid var(--surface); }
}

/* ---------- Escenario partido (portada) ---------- */
.stage { display: grid; grid-template-columns: 1.12fr 1fr; gap: var(--gap); padding: var(--gap); }
.stage__read { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.stage__fig { position: sticky; top: calc(var(--head-h) + var(--gap)); height: calc(100svh - var(--head-h) - 2 * var(--gap)); margin: 0; overflow: hidden; background: var(--surface); }
.stage__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1600ms ease, transform 7s linear; }
.stage__fig img.is-on { opacity: 1; transform: scale(1); }

.hero__card {
	min-height: calc(100svh - var(--head-h) - 2 * var(--gap));
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: var(--paper);
	padding: 0 clamp(24px, 3vw, 48px) clamp(40px, 5vw, 72px);
	position: relative;
}
.stripes { position: absolute; inset: 0 0 auto 0; height: 56px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Crect x='28' width='28' height='56' fill='%23f6f7f5'/%3E%3C/svg%3E") 0 0 / 56px 56px repeat-x; }
.hero__title { max-width: 21ch; margin-top: 56px; font-size: clamp(2rem, 3.9vw, 3.75rem); }
.hero__lead { max-width: 38ch; margin: 28px auto 0; font-size: var(--t-lead); line-height: 1.4; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__tel { margin: 20px 0 0; font-size: var(--t-body); }
.hero__tel a { font-weight: 600; }
.hero__links { display: flex; gap: 28px; list-style: none; margin-top: 40px; font-size: var(--t-small); font-weight: 500; }
.hero__links a { text-decoration-thickness: 1px; }

/* Carta de servicios */
.menu-sec { background: var(--surface); padding: var(--section) clamp(16px, 4vw, 64px); display: grid; place-items: center; }
.sheet { position: relative; width: min(600px, 100%); background: var(--paper); padding: clamp(40px, 4vw, 64px) clamp(24px, 3.4vw, 52px); }
.sheet::before, .sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 12 12 0l12 12z' fill='%23f6f7f5'/%3E%3C/svg%3E") 0 0 / 24px 12px repeat-x; }
.sheet::before { top: -12px; }
.sheet::after { bottom: -12px; transform: scaleY(-1); }
.sheet__title { text-align: center; margin-bottom: 44px; }
.sheet__group + .sheet__group { margin-top: 44px; }
.sheet__group h3 { margin-bottom: 18px; }
.sheet__group h3 a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sheet__group h3 a:hover { text-decoration: underline; }
.sheet__group h3 .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sheet__group h3 a:hover .icon { transform: translateX(4px); } }
.sheet__group ul { list-style: none; display: grid; gap: 18px; }
.sheet__row, .slip__rows li { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.sheet__row span { font-weight: 500; }
.sheet__row i, .slip__rows i { flex: 1; min-width: 24px; border-bottom: 4px dotted var(--muted); transform: translateY(-4px); }
.sheet__row b { font-weight: 600; white-space: nowrap; }
.sheet__desc { margin: 2px 0 0; max-width: 34ch; color: var(--muted); font-size: var(--t-small); line-height: 1.45; }
.sheet__group--free b { color: var(--accent-press); }

/* Cómo trabajamos: albarán */
.how { background: var(--paper); padding: var(--section) clamp(24px, 4vw, 72px); }
.how h2 { max-width: 20ch; }
.how__lead { max-width: 46ch; margin: 24px 0 48px; font-size: var(--t-lead); line-height: 1.4; }
.slip { background: var(--surface); padding: clamp(24px, 3vw, 44px); }
.slip__paper { position: relative; max-width: 480px; margin-inline: auto; background: var(--paper); padding: 32px clamp(20px, 2.4vw, 36px) 0; font-variant-numeric: tabular-nums; }
.slip__paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 0h24L12 12z' fill='%231f2421'/%3E%3C/svg%3E") 0 0 / 24px 12px repeat-x; }
.slip__group { margin: 28px 0 12px; font-weight: 700; }
.slip__group:first-child { margin-top: 0; }
.slip__rows { list-style: none; display: grid; gap: 10px; font-size: var(--t-small); }
.slip__rows b { font-weight: 600; white-space: nowrap; }
.slip__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 32px calc(-1 * clamp(20px, 2.4vw, 36px)) 0; padding: 0 clamp(20px, 2.4vw, 36px); min-height: 56px; background: var(--ink); color: var(--on-ink); font-weight: 600; }
.how__more { margin-top: 48px; }

/* ---------- Comparativa ---------- */
.compare-sec { background: var(--ink); color: var(--on-ink); padding-block: var(--section); }
.compare-sec__head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(40px, 4vw, 72px); }
.compare-sec__head h2 { max-width: 20ch; }
.compare-sec__head p { max-width: 46ch; font-size: var(--t-lead); line-height: 1.4; color: var(--on-ink); }
.compare { overflow-x: auto; }
.compare__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--t-body); }
.compare__table th, .compare__table td { padding: 20px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #46504a; }
.compare__table thead th { font-size: var(--t-small); font-weight: 600; color: var(--on-ink-soft); border-bottom-width: 2px; }
.compare__table thead th.is-bardo { background: var(--accent); color: #fff; font-size: var(--t-body); }
.compare__table tbody th { font-weight: 600; width: 18%; }
.compare__table td { color: var(--on-ink-soft); }
.compare__table td.is-bardo { color: #fff; font-weight: 600; background: #2b322e; }
.compare__table td.is-bardo .icon { display: inline-block; vertical-align: -0.2em; margin-right: 8px; color: #e9927a; }

/* ---------- Asesor ---------- */
.asesor-sec { background: var(--paper); padding-block: var(--section); }
.asesor-sec__in { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.asesor-sec__head { position: sticky; top: calc(var(--head-h) + 32px); }
.asesor-sec__head h2 { max-width: 12ch; }
.asesor-sec__head p { margin-top: 24px; max-width: 36ch; font-size: var(--t-lead); line-height: 1.4; }
.asesor { display: grid; gap: 36px; }
.asesor__set { border: 0; margin: 0; padding: 0; }
.asesor__set legend { padding: 0; margin-bottom: 16px; font-size: var(--t-lead); font-weight: 550; }
.asesor__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; background: var(--bg); font-weight: 500; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--surface); } }
.asesor__out { background: var(--bg); padding: clamp(24px, 3vw, 44px); }
.asesor__label { margin: 0 0 6px; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.asesor__name { margin: 0; font-size: var(--t-head); font-weight: 450; letter-spacing: -0.025em; line-height: 1.05; }
.asesor__why { margin: 16px 0 0; max-width: 52ch; }
.asesor__note { margin: 12px 0 0; color: var(--muted); font-size: var(--t-small); }
.asesor__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.asesor__out.is-changing .asesor__name, .asesor__out.is-changing .asesor__why { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.asesor__name, .asesor__why { transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out), transform 260ms var(--ease-out); }

/* ---------- Escaparate con pestañas ---------- */
.show { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.show__plate { position: relative; align-self: center; margin: 40px; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.show__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms ease; }
.show__plate img.is-on { opacity: 1; }
.show__text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 72px clamp(24px, 4vw, 72px) 40px 32px; }
.show__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.show__tabs button { min-height: 48px; padding: 0 18px; border: 0; background: transparent; font: inherit; font-size: var(--t-body); font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; transition: color 180ms ease, border-color 180ms ease; }
.show__tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.show__tabs button:hover { color: var(--ink); }
.show__panel h3 { font-size: var(--t-head); font-weight: 450; letter-spacing: -0.025em; }
.show__panel p { margin-top: 28px; max-width: 40ch; }
.show__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 48px; }
.cell { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 0 16px; background: var(--bg); font-weight: 600; text-decoration: none; transition: background-color 180ms ease, transform 160ms var(--ease-out); }
.cell--ink { background: var(--ink); color: var(--paper); }
.cell:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .cell:hover { background: var(--paper); } .cell--ink:hover { background: #353d38; } }
.show__panel[hidden] { display: none; }

/* ---------- Carta del taller ---------- */
.letter { padding-block: var(--section); }
.letter__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.letter__text { max-width: 60ch; }
.letter__text h2 { margin-bottom: 36px; max-width: 16ch; }
.letter__text p { margin-bottom: 1.2em; }
.letter__sign { margin-top: 36px; font-size: var(--t-lead); font-weight: 500; }
.letter__sign span { display: block; font-size: var(--t-small); font-weight: 400; color: var(--muted); }
.letter__fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.letter__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Preguntas ---------- */
.faq-sec { background: var(--paper); padding-block: var(--section); }
.faq-sec__in { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 4vw, 72px); }
.faq-sec__in h2 { max-width: 10ch; }
.faq--cols { columns: 2; column-gap: 56px; }
.faq__item { break-inside: avoid; margin: 0 0 24px; max-width: 46ch; }
.faq__item strong { font-weight: 600; }

/* ---------- Contacto ---------- */
.contact-sec { background: var(--accent); color: #fff; padding-bottom: var(--section); overflow: hidden; }
.strip { padding-top: 48px; }
.strip__track { display: flex; gap: 8px; width: max-content; animation: strip 60s linear infinite; }
.strip__track img { height: 150px; width: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.strip__track img:nth-child(3n + 1) { aspect-ratio: 3 / 4; }
.strip__track img:nth-child(3n + 2) { aspect-ratio: 1; }
@keyframes strip { to { transform: translateX(-50%); } }
.contact-sec__in { padding-top: 72px; }
.contact-sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.contact-sec .contact-list { padding: 28px; background: #a8452b; }
.contact-sec__in h2 { max-width: 16ch; }
.contact-sec__lead { max-width: 52ch; margin-top: 24px; font-size: var(--t-lead); line-height: 1.4; }
.callme { margin-top: 40px; }
.callme__hp { position: absolute; left: -9999px; }
.callme__bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.callme__cell input { width: 100%; height: 96px; padding: 0 24px; border: 0; border-radius: 0; background: #c9644a; color: #fff; font: inherit; font-size: var(--t-body); text-align: center; transition: background-color 180ms ease; }
.callme__cell input::placeholder { color: #fff; opacity: 0.92; }
.callme__cell input:focus { outline: 3px solid #fff; outline-offset: -3px; background: #d97a5f; }
.callme__go { height: 96px; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-size: var(--t-body); font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms ease; }
.callme__go:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .callme__go:hover { background: #000; } }
.callme__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: var(--t-small); }
.callme__consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--ink); }
.form-error { background: var(--ink); color: var(--paper); padding: 14px 18px; margin-bottom: 16px; }
.form-done { display: flex; gap: 12px; align-items: center; margin-top: 40px; padding: 28px; background: var(--ink); color: var(--paper); font-size: var(--t-lead); }
.contact-list { list-style: none; display: grid; gap: 18px; font-size: var(--t-body); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a { font-weight: 500; overflow-wrap: anywhere; }
.contact-list li { min-width: 0; }
.contact-sec :focus-visible { outline-color: #fff; }
.contact-sec--page { padding-top: clamp(72px, 6vw, 140px); }
.contact-sec--page .contact-sec__in { padding-top: 0; }

/* ---------- Páginas interiores ---------- */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: var(--gap); }
.page--plain .page-hero { grid-template-columns: 1fr; }
.page-hero__text { background: var(--paper); padding: clamp(40px, 5vw, 96px) clamp(24px, 4vw, 72px); display: flex; flex-direction: column; justify-content: center; min-height: min(72svh, 720px); }
.page--plain .page-hero__text { min-height: 0; }
.page-hero__text h1 { max-width: 22ch; font-size: clamp(2.25rem, 3.9vw, 3.75rem); }
.page-hero__lead { margin-top: 28px; max-width: 44ch; font-size: var(--t-lead); line-height: 1.4; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-hero__fig { margin: 0; overflow: hidden; min-height: 360px; }
.page-hero__fig img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 10px; margin-bottom: 28px; font-size: var(--t-small); color: var(--muted); }
.crumbs a { color: var(--ink); }

.prose-page > * + * { margin-top: 0; }
.block { padding-block: clamp(72px, 6vw, 140px); }
.block--paper { background: var(--paper); }
.block--surface { background: var(--surface); }
.block--ink { background: var(--ink); color: var(--on-ink); }
.prose { max-width: var(--measure); }
.prose h2 { margin: 0 0 28px; }
.prose h3 { margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.5em; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.cols--top { align-items: start; }
.cols figure { margin: 0; }
.cols figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.types { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.types li { margin: 0; }
.types h3 { margin: 0 0 10px; }
.types p { color: inherit; }
.block--ink .types p { color: var(--on-ink-soft); }
.steps { list-style: none !important; padding: 0 !important; counter-reset: s; display: grid; gap: 40px; }
.steps li { display: grid; grid-template-columns: 96px 1fr; gap: 24px; margin: 0; }
.steps li::before { counter-increment: s; content: counter(s); font-size: var(--t-display); font-weight: 300; line-height: 0.9; color: var(--accent-press); }
.steps h3 { margin: 6px 0 8px; }
.big-fact { font-size: var(--t-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.list-links { list-style: none; display: grid; gap: 14px; margin-top: 32px; font-size: var(--t-lead); }
.post-list { list-style: none; display: grid; gap: 16px; }
.post-list span { display: block; color: var(--muted); font-size: var(--t-small); }
.prose-page .faq { max-width: 1100px; }

.cta-band { background: var(--accent); color: #fff; padding-block: clamp(72px, 6vw, 140px); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.cta-band .contact-list { padding: 28px; background: #a8452b; }
.cta-band__in h2 { max-width: 16ch; }
.cta-band__in p { max-width: 52ch; margin-top: 20px; font-size: var(--t-lead); line-height: 1.4; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-band .btn--main { background: var(--ink); color: var(--paper); }
.cta-band .btn--line { border-color: #fff; color: #fff; }
@media (hover: hover) and (pointer: fine) { .cta-band .btn--main:hover { background: #000; } .cta-band .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; } }

/* ---------- Pie ---------- */
.site-foot { position: relative; min-height: 100svh; color: var(--paper); display: flex; overflow: hidden; background: var(--ink); }
.site-foot__photo { position: absolute; inset: 0; }
.site-foot__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42); }
.site-foot__in { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 32px var(--margin) 28px; gap: 48px; }
.site-foot__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; font-size: var(--t-small); }
.foot-links a, .foot-contact a, .site-foot__legal a { color: var(--paper); }
.foot-contact { text-align: right; font-size: var(--t-small); }
.foot-contact p { margin: 0 0 6px; }
.site-foot__name { margin: 0; font-size: clamp(6rem, 24vw, 22rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.8; }
.site-foot__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; font-size: var(--t-small); }
.site-foot__legal p { margin: 0; }
.site-foot__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot__credits { flex-basis: 100%; color: var(--on-ink-soft); font-size: var(--t-small); }
.kit { background: #fff; padding: 20px var(--margin); }
.kit img { width: min(1100px, 100%); margin-inline: auto; }

/* ---------- Barra de acciones (móvil) ---------- */
.actionbar { display: none; }
@media (max-width: 1023px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.actionbar { position: fixed; inset: auto 0 0 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(31, 36, 33, 0.16); }
	.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 68px; padding: 0 6px; font-weight: 600; font-size: var(--t-small); line-height: 1.15; text-align: center; text-decoration: none; transition: transform 160ms var(--ease-out); }
	.actionbar a:active { transform: scale(0.97); }
	.actionbar__wa { background: var(--wa); color: #fff; }
	.actionbar__main { background: var(--accent); color: #fff; }
}

/* ---------- Asistente de WhatsApp ---------- */
.wa-bot { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 96; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-bot__toggle {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 60px; padding: 0 22px 0 18px;
	border: 0; background: var(--wa); color: #fff;
	font: inherit; font-weight: 600; font-size: var(--t-body);
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(31, 36, 33, 0.28); /* taste-skill-ignore: botón flotante */
	transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.wa-bot__toggle .icon { width: 30px; height: 30px; }
.wa-bot__toggle:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .wa-bot__toggle:hover { background: var(--wa-press); } }
.wa-bot__panel {
	width: min(380px, calc(100vw - 24px));
	max-height: min(620px, calc(100svh - 140px));
	display: flex; flex-direction: column;
	background: var(--paper); color: var(--ink);
	box-shadow: 0 18px 48px rgba(31, 36, 33, 0.3); /* taste-skill-ignore: panel flotante */
	transform-origin: bottom right;
	transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
@starting-style { .wa-bot__panel { opacity: 0; transform: translateY(10px) scale(0.97); } }
.wa-bot__panel[hidden] { display: none; }
.wa-bot__head { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; background: var(--ink); color: var(--paper); }
.wa-bot__avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--accent); color: #fff; font-size: var(--t-lead); font-weight: 700; line-height: 1; padding-bottom: 4px; }
.wa-bot__title { margin: 0; flex: 1; font-weight: 600; font-size: var(--t-body); line-height: 1.2; }
.wa-bot__title span { display: block; font-weight: 400; font-size: var(--t-small); color: var(--on-ink-soft); }
.wa-bot__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.wa-bot__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 8px; }
.wa-msg { max-width: 86%; margin: 0; padding: 10px 14px; font-size: var(--t-small); line-height: 1.4; }
.wa-msg--bot { align-self: flex-start; background: var(--bg); }
.wa-msg--me { align-self: flex-end; background: #dcefe3; font-weight: 500; }
.wa-msg--typing { color: var(--muted); font-style: italic; }
@media (prefers-reduced-motion: no-preference) { .wa-msg { animation: msg 220ms var(--ease-out); } }
@keyframes msg { from { opacity: 0; transform: translateY(6px); } }
.wa-bot__choices { display: grid; gap: 8px; padding: 6px 14px 14px; }
.wa-bot__choices[hidden], .wa-bot__form[hidden], .wa-bot__go[hidden] { display: none; }
.wa-bot__choices button { min-height: 48px; padding: 8px 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.wa-bot__choices button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .wa-bot__choices button:hover { background: var(--ink); color: var(--paper); } }
.wa-bot__form { display: flex; padding: 6px 14px 14px; }
.wa-bot__form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); border-right: 0; border-radius: 0; background: #fff; font: inherit; }
.wa-bot__form button { width: 56px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.wa-bot__go { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 14px 14px; min-height: 56px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 1023px) {
	.wa-bot { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
	.wa-bot__toggle { display: none; }
	.wa-bot__panel { max-height: calc(100svh - 170px); }
}

/* ---------- Entradas al hacer scroll ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.stage { grid-template-columns: 1fr; padding: var(--gap); }
	.stage__fig { order: -1; position: relative; top: 0; height: 48svh; }
	.stage__read { position: relative; }
	.hero__card { min-height: 0; margin-top: -24px; position: relative; padding: 72px 20px 40px; }
	.stripes { height: 40px; background-size: 40px 40px; }
	.hero__title { margin-top: 0; max-width: 21ch; font-size: clamp(2.25rem, 6vw, 3.25rem); }
	.hero__actions .btn { flex: 1 1 100%; }
	.compare-sec__head, .asesor-sec__in, .letter__in, .faq-sec__in, .cols, .page-hero { grid-template-columns: 1fr; }
	.asesor-sec__head { position: static; }
	.show { grid-template-columns: 1fr; min-height: 0; }
	.show__plate { margin: 16px 16px 0; }
	.show__text { padding: 32px 16px 48px; gap: 28px; }
	.show__cells { grid-template-columns: 1fr; }
	.cell { min-height: 60px; }
	.faq--cols { columns: 1; }
	.callme__bar { grid-template-columns: 1fr; }
	.callme__cell input, .callme__go { height: 64px; }
	.page-hero__text { min-height: 0; }
	.cta-band__in { grid-template-columns: minmax(0, 1fr); }
	.contact-sec__head { grid-template-columns: minmax(0, 1fr); }
	.contact-sec .contact-list, .cta-band .contact-list { padding: 20px; }
	.page-hero__fig { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
	.types { grid-template-columns: 1fr; }
	.steps li { grid-template-columns: 64px 1fr; gap: 16px; }
	.site-foot { min-height: 88svh; }
	.foot-contact { text-align: left; }
}
@media (max-width: 900px) {
	.compare__table { min-width: 0; }
	.compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; width: 100% !important; }
	.compare__table tr { padding: 20px 0; border-bottom: 1px solid #46504a; }
	.compare__table th, .compare__table td { border: 0; padding: 4px 0; }
	.compare__table tbody th { font-size: var(--t-lead); margin-bottom: 8px; }
	.compare__table td.is-bardo { padding: 10px 14px; background: #2b322e; margin-bottom: 8px; }
	.compare__table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--on-ink); }
	.compare__table td.is-bardo::before { content: none; }
	.contact-sec__head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.stage { padding: 0; gap: 0; }
	.hero__card { margin-top: 0; padding: 64px 16px 40px; }
	.hero__title { font-size: 8vw; max-width: none; }
	.page-hero__text h1 { font-size: clamp(2rem, 8.4vw, 2.5rem); }
	.page-hero__text { padding: 40px 16px; }
	.page-hero { padding: 0; gap: 0; }
	.sheet__row, .slip__rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
	.sheet__row i, .slip__rows i { display: none; }
	.sheet__row b, .slip__rows b { text-align: right; }
	.actionbar__main .icon { display: none; }
	.hero__links { gap: 20px; }
	.strip__track img { height: 110px; }
	.sheet__row { flex-wrap: wrap; }
	.compare__table { min-width: 640px; }
	.foot-links { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
	.stage__fig img { transform: none !important; }
	.js [data-rise] { opacity: 1; transform: none; }
}
