/* ==========================================================================
   Espadán 360 — main.css
   ========================================================================== */

:root {
	--bg: #0b0b0d;
	--bg-2: #111214;
	--surface: #16171a;
	--surface-2: #1d1e22;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--text: #f4f1ec;
	--muted: #9a9895;
	--orange: #fd7a28;
	--orange-2: #ff9a55;
	--peach: #ffc8a2;
	--glow: rgba(253, 122, 40, .35);

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1290px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 22px;
	--radius-s: 12px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--header-h: 84px;
	/* Ritmo vertical: espacio arriba/abajo de cada sección. */
	--sec-y: clamp(64px, 7vw, 110px);
	--sec-y-lg: clamp(80px, 9vw, 140px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: clamp(16px, 1.05vw, 17.5px);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .entry-content a:not(.wp-block-button__link):not(.uagb-buttons-repeater) { color: var(--peach); text-decoration: underline; text-decoration-color: rgba(255, 200, 162, .35); text-underline-offset: 3px; transition: text-decoration-color .3s; }
p a:hover, .entry-content a:not(.wp-block-button__link):hover { text-decoration-color: var(--peach); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "opsz" 144; }
p { margin: 0 0 1.1em; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; } /* especificidad 0: las clases mandan */
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }
.accent { color: var(--orange); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; clip-path: inset(50%);
}
.skip-link {
	position: fixed; left: 16px; top: -60px; z-index: 1000;
	background: var(--orange); color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 600;
	transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* ---------- Grano + progreso ---------- */
.grain {
	position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .05;
	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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 8s steps(10) infinite;
}
@keyframes grain {
	0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
	50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); } 90% { transform: translate(-1%, 7%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--orange), var(--peach)); }

/* ---------- Loader ---------- */
.loader {
	position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; justify-items: center; gap: 18px;
	background: var(--bg); transition: clip-path 1s var(--ease-in-out), visibility 0s 1s;
	clip-path: inset(0 0 0 0);
}
.loader__ring { position: relative; width: 120px; height: 120px; }
.loader__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 360; stroke-dashoffset: calc(360 - var(--deg, 0)); stroke-linecap: round; }
.loader__count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 400; font-family: var(--f-display); font-size: 28px; }
.loader__brand { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
html.no-js .loader, html.seen .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor { display: block; }
	.cursor span { position: fixed; top: 0; left: 0; z-index: 1500; pointer-events: none; border-radius: 50%; }
	.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
	.cursor__ring {
		width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(253, 122, 40, .55);
		display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
	}
	.cursor__ring em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #111; opacity: 0; transition: opacity .3s; }
	.cursor.is-hover .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(253, 122, 40, .12); }
	.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--orange); border-color: var(--orange); }
	.cursor.is-label .cursor__ring em { opacity: 1; }
	.cursor.is-label .cursor__dot { opacity: 0; }
}

/* ---------- Botones ---------- */
.btn {
	--bh: 56px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: var(--bh); padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
	font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
	transition: color .4s var(--ease), border-color .4s, transform .4s var(--ease);
	will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--orange); color: #140b05; box-shadow: 0 10px 40px -10px var(--glow); }
.btn--primary::before { background: var(--text); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost::before { background: var(--orange); }
.btn--ghost:hover { color: #140b05; border-color: var(--orange); }
.btn--small { --bh: 44px; padding: 0 20px; font-size: 12px; }
.btn--link { padding: 0 6px; color: var(--muted); letter-spacing: .04em; }
.btn--link::before { display: none; }
.btn--link svg { width: 20px; height: 20px; color: #25d366; }
.btn--link:hover { color: var(--text); }
.btn--link:hover svg { transform: none; }
.btn--outline { border: 1.5px solid var(--orange); color: var(--text); }
.btn--outline::before { background: rgba(253, 122, 40, .12); }
.btn--outline svg { width: 20px; height: 20px; color: #25d366; }
.btn--outline:hover svg { transform: none; }

/* ---------- Cabecera ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 800;
	transition: transform .5s var(--ease), background .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 11, 13, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
	display: flex; align-items: center; gap: 24px; height: var(--header-h);
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.site-branding { flex: none; }
.custom-logo { height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	position: relative; display: block; padding: 10px 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 241, 236, .75);
	transition: color .3s;
}
.main-nav a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--orange);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .sub-menu { display: none; }
.header-cta svg { width: 16px; height: 16px; }

.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 860; }
.menu-toggle__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.menu-toggle__bars i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-open .menu-toggle__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 850; background: var(--bg-2);
	display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px;
	clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu .menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu .menu a {
	display: block; font-family: var(--f-display); font-size: clamp(40px, 12vw, 64px); line-height: 1.15; padding: 4px 0;
	opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu .menu a:hover { color: var(--orange); }
.menu-open .mobile-menu .menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu .menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu .menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu .menu li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu .menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu .menu li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu .menu li:nth-child(6) a { transition-delay: .5s; }
.menu-open .mobile-menu .menu li:nth-child(7) a { transition-delay: .55s; }
.mobile-menu__foot { margin-top: 40px; color: var(--muted); }
.mobile-menu__foot a { display: inline-flex; gap: 10px; align-items: center; }
.mobile-menu__foot svg { width: 22px; color: #25d366; }
.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: 870; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

@media (max-width: 1024px) {
	.main-nav, .header-cta { display: none; }
	.menu-toggle { display: block; }
	:root { --header-h: 72px; }
	.custom-logo { height: 38px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* En las cabeceras (lo primero que se ve) no se espera al JS: entran solo con CSS. */
.js :is(.hero, .phero, .lhero, .post-hero) .reveal { opacity: 1; transform: none; transition: none; animation: rise-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }

/* ---------- Secciones comunes ---------- */
section { position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); position: relative; }
.section-head--center { text-align: center; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head__index {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font-size: 12px; letter-spacing: .3em; color: var(--orange); font-weight: 600;
}
.section-head__index::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(40px, 6.4vw, 96px); text-transform: uppercase; margin: 0; letter-spacing: -.02em; }
.section-lead { font-size: clamp(17px, 1.4vw, 21px); color: rgba(244, 241, 236, .72); max-width: 56ch; margin: 0; }
.section-head--center .section-lead { margin: 20px auto 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid rgba(253, 122, 40, .4); background: rgba(253, 122, 40, .08); letter-spacing: .18em; }
.eyebrow--pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 var(--orange); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(253, 122, 40, .7); } 100% { box-shadow: 0 0 0 12px rgba(253, 122, 40, 0); } }

/* ---------- HERO ---------- */
.hero {
	min-height: 100svh; display: flex; align-items: center; overflow: hidden;
	padding: calc(var(--header-h) + 40px) 0 120px;
	background: radial-gradient(120% 80% at 80% 50%, #1a1210 0%, var(--bg) 60%);
}
.hero__globe { position: absolute; top: 50%; right: -8vw; width: min(78vw, 1000px); height: min(78vw, 1000px); transform: translateY(-50%); opacity: 0; transition: opacity 2s var(--ease); }
.hero__globe.is-ready { opacity: 1; }
.hero__glow { position: absolute; width: 50vw; height: 50vw; right: 5vw; top: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(253, 122, 40, .22), transparent 65%); filter: blur(40px); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: ping 2s infinite; }
.hero__title { font-size: clamp(54px, 10vw, 168px); line-height: .92; letter-spacing: -.035em; font-weight: 400; margin: 0 0 32px; }
.hero__title br { display: none; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; }
.hero__title .accent { font-style: italic; font-weight: 300; background: linear-gradient(100deg, var(--orange) 10%, var(--peach) 50%, var(--orange) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; padding-right: .08em; }
/* En táctil el brillo animado del degradado no compensa su coste (repinta en cada fotograma). */
@media (hover: none) { .hero__title .accent { animation: none; background-position: 30% 0; } }
@keyframes shine { to { background-position: -200% 0; } }
/* Entrada solo con CSS: el título se pinta en el primer frame (no retrasa el LCP). */
.hero__title .line__in { animation: rise-in 1s var(--ease) both; }
.hero__title .line:nth-child(3) .line__in { animation-delay: .1s; }
@keyframes rise-in { from { transform: translateY(.35em); } to { transform: none; } }
.hero__lead { font-size: clamp(17px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: .06em; max-width: 30ch; color: rgba(244, 241, 236, .8); margin-bottom: 40px; --i: 3; }
/* Los dos botones comparten alto y ancho: la rejilla iguala ambas columnas al más ancho. */
.hero__actions { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; --i: 4; }
.hero__actions .btn { width: 100%; padding-inline: 32px; }
@media (max-width: 520px) { .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; } }

.hero__badge { position: absolute; right: calc(var(--gutter) + 40px); bottom: 110px; width: 150px; height: 150px; z-index: 3; display: grid; place-items: center; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { fill: var(--text); font-size: 13px; letter-spacing: .12em; font-family: var(--f-body); font-weight: 500; }
.hero__badge-core { width: 70px; height: 70px; border-radius: 50%; background: var(--orange); color: #140b05; display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; transition: transform .6s var(--ease); }
.hero__badge:hover .hero__badge-core { transform: scale(1.15) rotate(-12deg); }
.hero__badge:hover svg { animation-duration: 5s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 1px; height: 64px; background: var(--line-2); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--orange); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

@media (max-width: 760px) {
	.hero { align-items: flex-end; padding-bottom: 90px; }
	.hero__globe { right: -40vw; top: 32%; width: 130vw; height: 130vw; opacity: .7; }
	.hero__globe.is-ready { opacity: .75; }
	.hero__badge { width: 110px; height: 110px; bottom: auto; top: calc(var(--header-h) + 16px); }
	.hero__badge text { font-size: 17px; }
	.hero__badge-core { width: 52px; height: 52px; font-size: 16px; }
	.hero__scroll { display: none; }
}

/* ---------- Manifiesto ---------- */
.statement { padding: var(--sec-y-lg) 0; border-top: 1px solid var(--line); }
.statement__title { font-size: clamp(34px, 5.6vw, 88px); line-height: 1.05; text-transform: uppercase; max-width: 18ch; letter-spacing: -.02em; }
.split-words .w { display: inline-block; opacity: .14; transition: opacity .25s linear, color .25s; }
.split-words .w.is-on { opacity: 1; }
.split-words .w.hl { font-style: italic; color: var(--orange); }

/* ---------- Promo ---------- */
.promo { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--bg) 0%, #140d09 50%, var(--bg) 100%); overflow: hidden; }
.promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 30%, rgba(253, 122, 40, .14), transparent 70%); pointer-events: none; }
.promo__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.promo__title { font-size: clamp(40px, 5.2vw, 80px); margin: 6px 0 24px; }
.promo__text { font-size: clamp(16px, 1.3vw, 19px); color: rgba(244, 241, 236, .75); max-width: 50ch; margin-bottom: 36px; }
.promo__poster { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(253, 122, 40, .45), 0 0 0 1px var(--line); transform-style: preserve-3d; }
.promo__poster img { width: 100%; transition: transform 1.2s var(--ease); }
.promo__poster:hover img { transform: scale(1.04); }
.promo__hint { margin: clamp(60px, 8vw, 100px) 0 24px; text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.gifts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gift__card { position: relative; display: block; border-radius: var(--radius-s); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transform-style: preserve-3d; transition: box-shadow .5s; }
.gift__card:hover { box-shadow: 0 0 0 1px var(--orange), 0 30px 60px -30px var(--glow); }
.gift__card img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gift__card:hover img { transform: scale(1.07); }
.gift__num { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--f-display); font-size: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 11, 13, .7); backdrop-filter: blur(6px); }
.gift__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #111; display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease); }
.gift__zoom svg { width: 18px; }
.gift__card:hover .gift__zoom, .gift__card:focus-visible .gift__zoom { transform: none; }
@media (max-width: 900px) {
	.promo__grid { grid-template-columns: 1fr; }
	.gifts { grid-template-columns: repeat(5, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.gifts::-webkit-scrollbar { display: none; }
	.gift { scroll-snap-align: center; }
}

/* ---------- Tarifas ---------- */
.pricing { padding: clamp(100px, 12vw, 180px) 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.spotlight { --mx: 50%; --my: 50%; position: relative; border-radius: var(--radius); padding: 1px; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(253, 122, 40, .7), transparent 45%), var(--line); isolation: isolate; }
.price-card__inner {
	position: relative; overflow: hidden; height: 100%; border-radius: calc(var(--radius) - 1px); padding: clamp(32px, 3.4vw, 48px);
	background: radial-gradient(500px circle at var(--mx) var(--my), rgba(253, 122, 40, .09), transparent 50%), var(--surface);
	min-height: 320px; display: flex; flex-direction: column;
}
.price-card__name { font-size: 13px; font-weight: 600; letter-spacing: .22em; margin: 0 0 auto; color: rgba(244, 241, 236, .85); padding-right: 50px; }
.price-card__from { margin: 60px 0 0; color: var(--muted); font-size: 14px; font-style: italic; font-family: var(--f-display); }
.price-card__price { margin: 0; font-family: var(--f-display); font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.price-card__price .count { color: var(--text); }
.price-card__orbit { position: absolute; top: 28px; right: 28px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); }
.price-card__orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--orange); transform-origin: 3.5px 21px; animation: spin 4s linear infinite; }
.price-card:nth-child(2) .price-card__inner { background: radial-gradient(500px circle at var(--mx) var(--my), rgba(253, 122, 40, .14), transparent 50%), linear-gradient(160deg, #22160f, var(--surface) 60%); }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } .price-card__inner { min-height: 240px; } }

/* ---------- Servicios ---------- */
.services { padding: var(--sec-y) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line); counter-reset: s; }
.service {
	position: relative; display: grid; grid-template-columns: 80px 70px 1fr auto; align-items: center; gap: 20px;
	padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253, 122, 40, .14), transparent 70%); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.service:hover::before, .service:focus-within::before { transform: scaleY(1); }
.service > * { position: relative; z-index: 1; }
.service__num { font-family: var(--f-display); font-style: italic; color: var(--muted); font-size: 18px; padding-left: 8px; }
.service__icon { width: 52px; height: 52px; color: var(--orange); transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: rotate(-10deg) scale(1.1); }
.service__title { margin: 0; font-size: clamp(34px, 5.6vw, 84px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.service__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.service:hover .service__title { transform: translateX(18px); color: var(--peach); }
.service__arrow { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease), border-color .4s; margin-right: 8px; }
.service__arrow svg { width: 24px; transition: transform .6s var(--ease); }
.service:hover .service__arrow { background: var(--orange); border-color: var(--orange); color: #111; }
.service:hover .service__arrow svg { transform: rotate(45deg); }
@media (max-width: 760px) {
	.section-head--split { grid-template-columns: 1fr; }
	.service { grid-template-columns: 44px 1fr auto; }
	.service__icon { display: none; }
	.service__arrow { width: 46px; height: 46px; }
}

/* ---------- Reseñas ---------- */
.reviews { padding: var(--sec-y) 0; }
.reviews .ti-widget, .reviews .ti-widget-container { margin-bottom: 0 !important; }
.reviews__widget { max-width: 1200px; margin-inline: auto; }
.reviews .ti-widget { --ti-bg: transparent; }

/* ---------- Qué ofrecemos ---------- */
/* Cabecera (título + frase) y cuadrícula de 8 tarjetas con icono. Sin imágenes ni animaciones continuas. */
.offer { padding: var(--sec-y) 0; border-top: 1px solid var(--line); background: radial-gradient(50% 60% at 100% 0%, rgba(253, 122, 40, .1), transparent 70%), var(--bg); }
.offer__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.offer__title { font-family: var(--f-display); font-size: clamp(40px, 5.6vw, 84px); line-height: 1; margin: 0; }
.offer__lead { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; color: rgba(244, 241, 236, .9); }
.offer__tech { color: var(--peach); background: linear-gradient(90deg, var(--orange), var(--orange)) no-repeat 0 100% / 100% 2px; padding-bottom: 2px; }

/* Filas compactas: icono + nombre en línea (4 columnas en PC, 2 en tablet, lista en móvil). */
.offer__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.offer__card { --i: 0; transition-delay: calc(var(--i) * 60ms); }
.offer__card-inner {
	position: relative; height: 100%; display: flex; align-items: center; gap: 14px;
	padding: 14px 16px; border-radius: calc(var(--radius-s) + 3px); overflow: hidden;
	background: radial-gradient(260px circle at var(--mx) var(--my), rgba(253, 122, 40, .12), transparent 60%), var(--surface);
}
.offer__card.spotlight { border-radius: calc(var(--radius-s) + 4px); }
.offer__num { display: none; }
.offer__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--orange); background: rgba(253, 122, 40, .08); box-shadow: inset 0 0 0 1px rgba(253, 122, 40, .35); transition: background .4s, color .4s, transform .6s var(--ease); }
.offer__icon svg { width: 22px; height: 22px; }
.offer__card:hover .offer__icon { background: var(--orange); color: #140b05; transform: rotate(-6deg); }
.offer__name { font-family: var(--f-display); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.2; color: var(--text); transition: color .3s; }
.offer__card:hover .offer__name { color: var(--peach); }
@media (max-width: 1000px) {
	.offer__head { grid-template-columns: 1fr; }
	.offer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.offer__grid { grid-template-columns: 1fr; gap: 8px; }
	.offer__card-inner { padding: 10px 14px; gap: 12px; }
	.offer__icon { width: 38px; height: 38px; border-radius: 10px; }
	.offer__icon svg { width: 20px; height: 20px; }
	.offer__name { font-size: 16px; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Marquesina y máquina de escribir: se mantienen disponibles para otras páginas. */
.typewriter.is-typing::after { content: ""; display: inline-block; width: .06em; height: .9em; margin-left: .08em; background: var(--orange); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.marquee { --speed: 40s; display: flex; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { border-top: 0; }
.marquee__track { display: flex; flex: none; gap: 0; animation: marquee var(--speed) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee li { display: flex; align-items: center; flex: none; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-size: clamp(30px, 4.4vw, 68px); white-space: nowrap; line-height: 1.1; }
.marquee--reverse li { -webkit-text-stroke: 1px rgba(244, 241, 236, .35); color: transparent; font-style: italic; }
.marquee li i { color: var(--orange); font-style: normal; font-size: .5em; -webkit-text-stroke: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Casos ---------- */
.cases { --cases-h: auto; }
.cases__pin { padding: var(--sec-y) 0; overflow: hidden; }
.cases__head { margin-bottom: 56px; display: grid; grid-template-columns: 1fr; }
.cases__head .section-lead { margin-top: 20px; }
.cases__viewport { overflow: hidden; }
.cases__track { display: flex; gap: clamp(18px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.case { flex: none; width: min(62vw, 760px); }
.case__link { display: block; }
.case__browser { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-2); border-radius: var(--radius-s) var(--radius-s) 0 0; border: 1px solid var(--line); border-bottom: 0; }
.case__browser i { width: 10px; height: 10px; border-radius: 50%; background: #3a3b40; }
.case__browser i:first-child { background: #ff5f57; } .case__browser i:nth-child(2) { background: #febc2e; } .case__browser i:nth-child(3) { background: #28c840; }
.case__browser em { margin-left: 14px; font-style: normal; font-size: 12px; color: var(--muted); padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case__media { display: block; overflow: hidden; border-radius: 0 0 var(--radius-s) var(--radius-s); border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.case__media img { width: 100%; aspect-ratio: 1024 / 490; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.35) brightness(.85); }
.case__link:hover .case__media img { transform: scale(1.05); filter: none; }
.case__meta { display: flex; align-items: center; gap: 16px; padding: 20px 4px 0; }
/* Última diapositiva: CTA */
.case--cta { display: flex; }
.case-cta {
	position: relative; overflow: hidden; isolation: isolate; flex: 1;
	display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px;
	min-height: 100%; aspect-ratio: 1024 / 560; padding: clamp(28px, 3.6vw, 56px);
	border-radius: var(--radius-s); border: 1px solid rgba(253, 122, 40, .45);
	background: linear-gradient(150deg, #24170f 0%, var(--surface) 60%);
	transition: border-color .4s;
}
.case-cta:hover { border-color: var(--orange); }
.case-cta__glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -15%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(253, 122, 40, .45), transparent 65%); filter: blur(20px); transition: transform 1s var(--ease); }
.case-cta:hover .case-cta__glow { transform: scale(1.25); }
.case-cta__ring { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; right: 8%; top: 10%; border-radius: 50%; border: 1px dashed rgba(253, 122, 40, .4); animation: spin 30s linear infinite; }
.case-cta__text { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -.02em; max-width: 12ch; }
.case-cta__btn { pointer-events: none; }
.case-cta:hover .case-cta__btn::before { transform: translateY(0); }
.case-cta:hover .case-cta__btn svg { transform: rotate(45deg); }
.case__name { font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); }
.case__meta svg { width: 22px; margin-left: auto; transition: transform .5s var(--ease); }
.case__link:hover .case__meta svg { transform: rotate(45deg); color: var(--orange); }
.cases__progress { margin-top: 48px; height: 1px; background: var(--line); position: relative; }
.cases__progress span { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--cp, 0)); }
/* Fijado a la altura real del contenido (centrado con --pin-top desde JS): sin hueco vacío al terminar. */
.cases.is-pinned .cases__pin { position: sticky; top: var(--pin-top, var(--header-h)); display: flex; flex-direction: column; padding: calc(var(--sec-y) * .6) 0 40px; }
.cases.is-pinned .cases__head { margin-bottom: 40px; }
.cases.is-pinned .cases__head .section-title { font-size: clamp(40px, 5vw, 80px); }
@media (max-width: 900px) {
	.cases__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.cases__viewport::-webkit-scrollbar { display: none; }
	.case { width: 84vw; scroll-snap-align: center; }
	.cases__progress { display: none; }
}

/* ---------- Big line ---------- */
.bigline { padding: var(--sec-y) 0; border-block: 1px solid var(--line); overflow: hidden; }
.bigline__text {
	margin: 0; font-family: var(--f-display); font-size: clamp(42px, 8.4vw, 150px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase;
	color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 236, .28);
	background: linear-gradient(90deg, var(--orange) 0%, var(--peach) 100%) 0 0 / var(--fill, 0%) 100% no-repeat;
	-webkit-background-clip: text; background-clip: text;
}
html.no-js .bigline__text { color: var(--text); }

/* ---------- Sobre nosotros ---------- */
.about { padding: var(--sec-y) 0; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__copy p { color: rgba(244, 241, 236, .75); font-size: clamp(16px, 1.2vw, 18px); }
.about__copy .section-title { margin-bottom: 36px; }
.about__cta-text { color: var(--text) !important; font-weight: 500; margin: 32px 0 30px; padding-left: 18px; border-left: 2px solid var(--orange); }
/* Foto del equipo: sale de un «sol» naranja, con anillo 360° y etiquetas con los nombres. */
.team-photo { position: relative; margin: 0 auto; width: 100%; max-width: 560px; aspect-ratio: 1; transform-style: preserve-3d; }
.team-photo__ring { position: absolute; inset: 3% 3% 11%; border-radius: 50%; border: 1px solid var(--line-2); }
.team-photo__ring--dash { inset: -1% -1% 7%; border: 1px dashed rgba(253, 122, 40, .4); animation: spin 50s linear infinite; }
.team-photo__orbit { position: absolute; inset: 3% 3% 11%; border-radius: 50%; animation: spin 16s linear infinite; }
.team-photo__orbit i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 24px 4px var(--glow); }
.team-photo__sun {
	position: absolute; inset: 1% 14% 31%; border-radius: 50%;
	background: radial-gradient(circle at 40% 30%, #ffb27a 0%, var(--orange) 45%, #a8410c 100%);
	box-shadow: 0 0 120px 10px rgba(253, 122, 40, .35);
}
.team-photo__img {
	position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 97%); mask-image: linear-gradient(180deg, #000 70%, transparent 97%);
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}
.team-photo__tag {
	position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
	font-size: 13px; color: rgba(244, 241, 236, .8); white-space: nowrap;
	background: rgba(17, 18, 20, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7);
}
.team-photo__tag b { font-weight: 600; color: var(--text); }
.team-photo__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.team-photo__tag--1 { left: -6%; top: 58%; }
.team-photo__tag--2 { right: -6%; top: 74%; }

/* Entrada (cuando la sección aparece): el sol crece, la foto sube y las etiquetas entran. */
.js .about__visual.reveal { opacity: 1; transform: none; }
.js .team-photo__sun { transform: scale(.4); opacity: 0; transition: transform 1.3s var(--ease), opacity .8s; }
.js .team-photo__img { transform: translateY(14%); opacity: 0; transition: transform 1.3s var(--ease) .2s, opacity 1s .2s; }
.js .team-photo__tag { opacity: 0; transition: opacity .7s, transform .9s var(--ease); }
.js .team-photo__tag--1 { transform: translateX(-30px); transition-delay: .7s; }
.js .team-photo__tag--2 { transform: translateX(30px); transition-delay: .9s; }
.js .is-in .team-photo__sun, .js .is-in .team-photo__img { transform: none; opacity: 1; }
.js .is-in .team-photo__tag { opacity: 1; transform: none; }
.is-in .team-photo__tag { animation: tag-float 6s ease-in-out 1.8s infinite; }
.is-in .team-photo__tag--2 { animation-delay: 3.2s; }
@keyframes tag-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
	.team-photo { max-width: 420px; }
	.team-photo__tag { font-size: 12px; padding: 7px 12px; }
	.team-photo__tag--1 { left: 0; }
	.team-photo__tag--2 { right: 0; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
/* CTA «Hablemos» (bloque reutilizable, no fijo en el pie) */
.cta-talk { padding: var(--sec-y-lg) 0; border-bottom: 1px solid var(--line); }
.entry-content .cta-talk { margin-block: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); }
.cta-talk__link { display: inline-block; text-decoration: none; color: inherit; }
.cta-talk__label { display: block; color: var(--muted); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.cta-talk__big { display: inline-flex; align-items: center; gap: .2em; font-family: var(--f-display); font-size: clamp(60px, 12vw, 200px); line-height: .9; letter-spacing: -.04em; transition: color .4s; }
.cta-talk__big svg { width: .55em; height: .55em; color: var(--orange); transition: transform .7s var(--ease); }
.cta-talk__link:hover .cta-talk__big { color: var(--orange); }
.cta-talk__link:hover svg { transform: rotate(45deg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 70px; }
.footer-brand .custom-logo { height: 52px; margin-bottom: 26px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.social a:hover { background: var(--orange); color: #111; border-color: var(--orange); transform: translateY(-3px); }
.social svg { width: 18px; }
.footer-title { font-family: var(--f-body); font-size: 13px; letter-spacing: .26em; font-weight: 600; color: var(--orange); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(244, 241, 236, .75); transition: color .3s, padding .4s var(--ease); }
.footer-col ul a:hover { color: var(--text); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 15px; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--text); }
.footer-contact svg { width: 20px; color: #25d366; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }
.footer-word { display: flex; justify-content: center; gap: .15em; font-family: var(--f-display); font-size: 19vw; line-height: .78; letter-spacing: -.05em; color: rgba(255, 255, 255, .035); user-select: none; pointer-events: none; margin-bottom: -.06em; white-space: nowrap; }
.footer-word .accent { color: rgba(253, 122, 40, .14); font-style: italic; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-contact { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 700; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .6); transition: transform .4s var(--ease); }
.wa-float svg { width: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 6, .88); backdrop-filter: blur(8px); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: var(--radius-s); animation: pop .5s var(--ease); }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #111; display: grid; place-items: center; z-index: 2; }
.lightbox__close svg { width: 20px; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }

/* ==========================================================================
   Páginas internas, blog y contenido de bloques
   ========================================================================== */
.page-main, .single-main, .archive-main { padding-top: var(--header-h); min-height: 70vh; }
.page-hero { position: relative; padding: clamp(70px, 10vw, 140px) 0 clamp(50px, 6vw, 80px); overflow: hidden; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 80px); }
.page-hero__title { font-size: clamp(42px, 7vw, 110px); max-width: 16ch; margin: 0; letter-spacing: -.03em; }
.page-hero__desc { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.page-hero__ring { position: absolute; right: -10vw; top: 50%; width: 46vw; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(253, 122, 40, .25); pointer-events: none; }
.page-hero__ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(253, 122, 40, .2); animation: spin 50s linear infinite; }
.page-hero__ring::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 30px var(--orange); }
.page-hero--post { margin-bottom: 40px; }
.page-hero--post .page-hero__title { font-size: clamp(36px, 5vw, 72px); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 24px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-meta a { color: var(--orange); border: 1px solid rgba(253, 122, 40, .35); padding: 4px 12px; border-radius: 999px; }
.rank-math-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.rank-math-breadcrumb a { color: var(--muted); } .rank-math-breadcrumb a:hover { color: var(--orange); }
.post-cover { margin: 0 auto 60px; }
.post-cover img { width: 100%; border-radius: var(--radius); }

.entry-content { padding-bottom: clamp(60px, 8vw, 120px); }
.entry--builder .entry-content { padding-bottom: 0; }
.entry-content:not(.post-body) > *:not(.alignfull):not(.alignwide):not(.wp-block-uagb-container):not(.uagb-is-root-container):not(.wp-block-cover):not(.wp-block-group.alignfull) {
	max-width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto;
}
.entry-content--prose > *:not(.alignfull):not(.alignwide):not(figure):not(.wp-block-image) { max-width: min(760px, calc(100% - var(--gutter) * 2)); }
.entry-content .alignwide { max-width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.entry-content .alignfull { width: 100%; max-width: none; }
.entry-content h2 { font-size: clamp(30px, 3.6vw, 52px); margin-top: 1.4em; }
.entry-content h3 { font-size: clamp(24px, 2.4vw, 34px); margin-top: 1.3em; }
.entry-content h4 { font-size: 22px; }
.entry-content--prose p, .entry-content--prose li { color: rgba(244, 241, 236, .82); font-size: clamp(17px, 1.15vw, 19px); line-height: 1.8; }
.entry-content ul:not([class]), .entry-content ol:not([class]) { padding-left: 1.2em; }
.entry-content li::marker { color: var(--orange); }
.entry-content blockquote, .wp-block-quote { border-left: 2px solid var(--orange); margin: 2em auto; padding: 4px 0 4px 26px; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; font-style: italic; }
.entry-content img { border-radius: var(--radius-s); }
.entry-content figure { margin-block: 2em; }
.entry-content figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; }
.entry-content th { color: var(--orange); font-weight: 600; }
.entry-content hr { border: 0; height: 1px; background: var(--line-2); margin: 3em auto; }
.entry-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.entry-content pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 20px; overflow: auto; }
.wp-block-button__link, .wp-element-button { border-radius: 999px; padding: 16px 30px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; transition: transform .4s var(--ease), background .3s, color .3s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--orange); color: #140b05; }
.is-style-outline .wp-block-button__link { border: 1px solid currentColor; background: transparent; }

/* Formularios (Contact Form 7, comentarios, búsqueda) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="password"], select, textarea {
	width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius-s);
	padding: 15px 18px; font: inherit; transition: border-color .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(253, 122, 40, .15); }
input[type="submit"], .wpcf7-submit { background: var(--orange); color: #140b05; border: 0; border-radius: 999px; padding: 16px 34px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
input[type="submit"]:hover, .wpcf7-submit:hover { background: var(--text); transform: translateY(-2px); }
.wpcf7 label { display: block; font-size: 14px; color: var(--muted); }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form .btn { flex: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 60px; }
.post-card { border-radius: var(--radius); }
.post-card__link { display: flex; flex-direction: column; height: 100%; border-radius: calc(var(--radius) - 1px); background: var(--surface); overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-size: 48px; color: rgba(253, 122, 40, .4); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px; flex: 1; }
.post-card__body time { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-size: clamp(22px, 1.8vw, 28px); margin: 0; line-height: 1.15; transition: color .3s; }
.post-card__link:hover .post-card__title { color: var(--peach); }
.post-card__excerpt { color: rgba(244, 241, 236, .65); font-size: 15px; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.post-card__more svg { width: 16px; transition: transform .4s var(--ease); }
.post-card__link:hover .post-card__more svg { transform: translateX(5px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { padding-bottom: 100px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--orange); color: #111; border-color: var(--orange); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-display); font-size: 20px; line-height: 1.2; }
.post-nav span { font-family: var(--f-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.post-nav__next { text-align: right; }

.comments { padding-bottom: 80px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-respond { margin-top: 40px; }
.comment-form p { margin-bottom: 16px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; align-items: center; padding-top: var(--header-h); text-align: center; }
.notfound__num { display: flex; justify-content: center; align-items: center; gap: .05em; font-family: var(--f-display); font-size: clamp(120px, 24vw, 300px); line-height: 1; }
.notfound__o { width: .72em; height: .72em; border-radius: 50%; border: .08em solid var(--orange); position: relative; animation: spin 6s linear infinite; }
.notfound__o::after { content: ""; position: absolute; top: -.1em; left: 50%; width: .12em; height: .12em; border-radius: 50%; background: var(--text); transform: translateX(-50%); }
.notfound__title { font-size: clamp(28px, 3.4vw, 48px); margin-top: 20px; }
.notfound p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.empty { padding: 40px 0 100px; }

/* Split lines (títulos internos) */
/* Sin ocultar: son el LCP de las páginas internas. */
.split-lines { animation: rise-in 1s var(--ease) both; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .hero__title .line__in, .split-lines { opacity: 1; transform: none; animation: none; }
	.split-words .w { opacity: 1; }
	.grain, .loader { display: none; }
	.bigline__text { color: var(--text); }
}
