/* ==========================================================
   Arevaso – estilos principales
   ========================================================== */

:root {
	--ink: #0E1B26;
	--ink-2: #1B2A36;
	--ink-3: #0A141C;
	--sand: #F4F2EE;
	--sand-2: #E9E5DD;
	--line: #DAD5CB;
	--muted: #4A5560;
	--muted-dark: #C9C4BA;
	--accent: #F2A900;
	--accent-ink: #8A5A00;
	--white: #fff;
	--ok: #1F7A4D;
	--error: #B42318;

	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1240px;
	--gutter: 24px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text,
.hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--accent); color: var(--ink);
	padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.h2, .h3, .h4, .hero__title { font-family: var(--display); text-transform: uppercase; margin: 0; }
.h2 { font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1; }
.h3 { font-weight: 700; font-size: 30px; line-height: 1.05; }
.h4 { font-weight: 700; font-size: 26px; line-height: 1.1; }
.body-lg { font-size: 17px; line-height: 1.7; color: #33404B; margin: 0; }

.eyebrow {
	margin: 0 0 14px;
	display: flex; align-items: center; gap: 12px;
	font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-ink);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow__line { width: 32px; height: 2px; background: currentColor; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	border: 1.5px solid transparent; border-radius: 0;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none;
	cursor: pointer;
	transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 10px 24px -10px var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--ghost { border-color: #5B6B77; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--ghost-dark { border-color: #B8B2A6; color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Cabecera ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--ink); color: #E8E4DC;
	border-bottom: 1px solid #22333F;
	transition: box-shadow .3s, background-color .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: rgba(14, 27, 38, .96); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: var(--header-h);
	transition: min-height .3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__logo { max-height: 48px; width: auto; }
.brand__mark {
	width: 40px; height: 40px; flex: none;
	display: grid; place-items: center;
	background: var(--accent); color: var(--ink);
	font-family: var(--display); font-weight: 800; font-size: 26px;
}
.brand__name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; }
.brand--small .brand__mark { width: 32px; height: 32px; font-size: 20px; }
.brand--small .brand__name { font-size: 20px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.nav__link {
	position: relative; color: #E8E4DC; text-decoration: none; font-weight: 500; font-size: 15px;
	padding: 10px 0; display: inline-block;
}
.nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--white); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 48px; height: 48px; padding: 0;
	background: transparent; border: 1.5px solid #3A4B57; color: var(--white);
	cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 24px;
		background: var(--ink); border-bottom: 1px solid #22333F;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: transform .25s var(--ease), opacity .25s, visibility 0s .25s;
	}
	.site-header.is-scrolled .nav { inset: 64px 0 auto 0; }
	.nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .25s; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__link { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid #22333F; }
	.nav__link::after { display: none; }
	.nav__cta { margin-top: 20px; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Portada ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	pointer-events: none;
}
.hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 112px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__copy .eyebrow { margin: 0; }
.hero__title { font-weight: 800; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: .01em; }
.hero__text { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--muted-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { flex: 1 1 440px; min-width: 0; position: relative; }
.hero__media .media { height: 460px; width: 100%; object-fit: cover; }
.hero__badge {
	position: absolute; left: -24px; bottom: -32px;
	background: var(--accent); color: var(--ink);
	padding: 22px 26px; display: flex; flex-direction: column; gap: 2px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.hero__badge-num { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
.hero__badge-label { font-size: 14px; font-weight: 600; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
	width: 28px; height: 44px; border: 2px solid #5B6B77; border-radius: 14px;
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
	background: var(--accent); border-radius: 2px;
	animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 700px) {
	.hero__inner { padding-top: 48px; padding-bottom: 96px; gap: 40px; }
	.hero__media .media { height: 300px; }
	.hero__badge { left: 12px; bottom: -24px; padding: 16px 20px; }
	.hero__badge-num { font-size: 38px; }
	.hero__scroll { display: none; }
}

/* Fotos y recuadros de reemplazo */
.media { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
	display: flex; align-items: flex-end; padding: 16px;
	background-color: var(--ink-2);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px);
	color: #8A98A3; font-size: 13px; min-height: 100%;
}
.media--placeholder span::before { content: "Foto: "; }

/* ---------- Cifras ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; padding-top: 80px; padding-bottom: 64px; }
.stat { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--ink); padding-top: 18px; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section--sand { background: var(--sand-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .section__lead { color: var(--muted-dark); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section__head > div { max-width: 660px; }
.section__lead { margin: 0; max-width: 400px; font-size: 17px; line-height: 1.6; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 72px 0; } }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service {
	background: var(--white); display: flex; flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(14, 27, 38, .45); }
.service__media { height: 230px; overflow: hidden; }
.service__media .media { transition: transform .6s var(--ease); }
.service:hover .service__media .media { transform: scale(1.05); }
.service__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.service__body p { margin: 0; color: var(--muted); }
.service__num { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--accent-ink); }
.tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 4px 10px; background: var(--sand); border: 1px solid var(--line); }
.service__link {
	margin-top: auto; padding-top: 16px;
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font-weight: 600; text-decoration: none; color: var(--ink);
	border-top: 1px solid var(--line);
}
.service__link .icon { transition: transform .2s var(--ease); }
.service__link:hover .icon { transform: translateX(6px); }

/* ---------- Nosotros ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split__main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split__main .eyebrow { margin: 0; }
.quote-card { margin: 12px 0 0; background: var(--ink); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.2; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card figcaption > span:last-child { display: flex; flex-direction: column; }
.quote-card small { font-size: 14px; color: #A9B3BB; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 600; }
.values { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: #CFC9BD; }
.value { background: var(--sand); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: background-color .25s; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.value .icon { transition: transform .3s var(--ease), color .25s; }
.value:hover { background: var(--white); }
.value:hover .icon { transform: translateY(-4px); color: var(--accent-ink); }

/* ---------- Pestañas (Flota) ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #22333F; }
.tabs__tab {
	display: flex; align-items: center; gap: 14px; justify-content: flex-start;
	padding: 22px 24px; min-height: 72px;
	background: var(--ink-2); color: #A9B3BB; border: 0; cursor: pointer;
	font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; text-align: left;
	position: relative; transition: background-color .2s, color .2s;
}
.tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.tabs__tab:hover { color: var(--white); }
.tabs__tab[aria-selected="true"] { background: #23394A; color: var(--white); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__tab[aria-selected="true"] .icon { color: var(--accent); }
.tabs__panel { padding: 40px 0 0; animation: fadeUp .4s var(--ease); }
.tabs__lead { margin: 0 0 28px; font-size: 20px; color: var(--muted-dark); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.checklist li {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 22px; background: var(--ink-2); border: 1px solid #22333F;
	font-size: 17px; line-height: 1.45;
	opacity: 0; animation: fadeUp .45s var(--ease) forwards;
}
.checklist li:nth-child(2) { animation-delay: .06s; }
.checklist li:nth-child(3) { animation-delay: .12s; }
.checklist li:nth-child(4) { animation-delay: .18s; }
.checklist .icon { color: var(--accent); flex: none; margin-top: 2px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
	.tabs__list { grid-template-columns: 1fr; }
	.tabs__tab { min-height: 60px; padding: 16px 20px; font-size: 22px; }
}

/* ---------- Llamada a la acción ---------- */
.cta { background: var(--accent); color: var(--ink); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta__title { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; max-width: 680px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contacto ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact__info .eyebrow { margin: 0; }
.contact__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { flex: none; margin-top: 2px; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__list a:hover { border-color: var(--ink); }
.map { height: 260px; background: var(--ink-2); position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__load {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background-color: var(--ink-2);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px);
	color: var(--white); border: 0; cursor: pointer; font-weight: 600;
}
.map__load .icon { color: var(--accent); transition: transform .3s var(--ease); }
.map__load:hover .icon { transform: translateY(-4px); }

.contact__forms { flex: 1 1 540px; min-width: 0; }
.switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); margin-bottom: 2px; }
.switch__btn {
	min-height: 56px; padding: 14px 18px; border: 0; cursor: pointer;
	background: var(--sand-2); color: var(--muted); font-weight: 600; font-size: 16px;
	transition: background-color .2s, color .2s;
}
.switch__btn[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }

.card-form { background: var(--white); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 560px) { .card-form { padding: 24px 18px; } }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1.5px solid #B8B2A6; background: #FBFAF8; border-radius: 0;
	font-size: 16px; font-weight: 400;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(242, 169, 0, .35); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-weight: 500; font-size: 13px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps__item {
	display: flex; align-items: center; gap: 10px;
	padding-bottom: 12px; border-bottom: 3px solid var(--line);
	font-size: 14px; font-weight: 600; color: #6B7680;
	transition: border-color .3s, color .3s;
}
.steps__item span {
	width: 28px; height: 28px; flex: none; display: grid; place-items: center;
	border: 1.5px solid currentColor; border-radius: 50%; font-size: 13px;
	transition: background-color .3s, color .3s, border-color .3s;
}
.steps__item.is-active { border-color: var(--accent); color: var(--ink); }
.steps__item.is-active span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.steps__item.is-done { border-color: var(--ink); color: var(--ink); }
.steps__item.is-done span { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.step:not([hidden]) { animation: fadeUp .35s var(--ease); }
.step__title { padding: 0; margin-bottom: 4px; font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1.1; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box {
	display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 20px; border: 1.5px solid #D2CCC0; background: #FBFAF8;
	transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.choice__box strong { font-size: 17px; }
.choice__box small { color: var(--muted); font-size: 14px; }
.choice__box .icon { color: var(--muted); margin-bottom: 4px; transition: color .2s; }
.choice:hover .choice__box { border-color: var(--ink); transform: translateY(-2px); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 24px -16px rgba(14, 27, 38, .5); }
.choice input:checked + .choice__box .icon { color: var(--accent-ink); }

.summary:empty { display: none; }
.summary { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 18px; background: var(--sand); border-left: 0; font-size: 14px; }
.summary div { display: flex; gap: 6px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary__edit { margin-left: auto; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 24px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.form-msg { margin: 0; font-size: 15px; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--error); }

.notice { margin: 0 0 16px; padding: 14px 18px; font-weight: 500; }
.notice--ok { background: #E3F2EA; color: var(--ok); }
.notice--error { background: #FCE8E6; color: var(--error); }

.success { background: var(--white); padding: 48px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; animation: fadeUp .4s var(--ease); }
.success:focus { outline: none; }
.success p { margin: 0; color: var(--muted); font-size: 17px; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink-3); color: #A9B3BB; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; font-size: 14px; }
.site-footer__tag { color: #A9B3BB; }
.site-footer__nav .nav__list { gap: 24px; }
.site-footer__nav .nav__link { font-size: 14px; color: #C9D0D5; }
.site-footer__copy { margin: 0; }

/* ---------- Botones flotantes ---------- */
.fab-whatsapp {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px;
	height: 60px; padding: 0 16px;
	background: #1DAA61; color: var(--white); text-decoration: none; font-weight: 600;
	border-radius: 30px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5);
	transition: transform .25s var(--ease), box-shadow .25s;
}
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.03); color: var(--white); }
.fab-whatsapp__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.fab-whatsapp:hover .fab-whatsapp__label, .fab-whatsapp:focus-visible .fab-whatsapp__label, .fab-whatsapp.is-peek .fab-whatsapp__label { max-width: 120px; }

.to-top {
	position: fixed; right: 28px; bottom: 92px; z-index: 89;
	width: 44px; height: 44px; display: grid; place-items: center;
	background: var(--ink); color: var(--white); border: 1px solid #3A4B57; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal.reveal-pending.is-in { opacity: 1; transform: none; }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 72px 0 56px; }
.prose { max-width: 820px; }
.prose a { color: var(--accent-ink); }
.post-list { display: flex; flex-direction: column; gap: 32px; }
.post-card { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-card a { text-decoration: none; }
.post-card__date { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.reveal.reveal-pending { opacity: 1; transform: none; }
	.checklist li { opacity: 1; }
}
