/* ==========================================================================
   TORREONCO — main.css
   1. Tokens   2. Base   3. Utilidades   4. Animación de texto   5. Header
   6. Hero     7. Quiénes somos   8. Banda   9. Sistema   10. Resultados
   11. Prueba social   12. Beneficios + Servicios   13. CTA   14. Footer
   15. Cursor / Intro / Menú móvil   16. Responsive   17. Movimiento reducido
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
	--ink: #060908;
	--deep: #0a1311;
	--moss: #10201c;
	--line: rgba(237, 234, 227, .1);
	--line-2: rgba(237, 234, 227, .18);
	--text: #edeae3;
	--muted: rgba(237, 234, 227, .6);
	--faint: rgba(237, 234, 227, .34);
	--teal: #3f7f73;
	--mist: #9fd8cb;
	--amber: #e9b46a;
	--amber-2: #f2c27b;

	/* SF Pro en dispositivos Apple (fuente del sistema) · Inter en el resto */
	--serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

	--radius: 28px;
	--radius-sm: 18px;
	--gutter: clamp(20px, 4vw, 56px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-in-out: cubic-bezier(.76, 0, .24, 1);
	--header-h: 84px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 4px; border-radius: 6px; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 999; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 99px; }

/* 3. UTILIDADES ------------------------------------------------------------ */
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }

.display {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -.035em;
	font-feature-settings: "ss01", "cv11";
}
.display em { font-style: normal; color: var(--mist); }
/* Títulos y cifras con la tipografía display */
.op-card__title, .stage__name, .metric__name, .band__item, .slide__quote, .site-footer__logo, .intro__word,
.hero__stat-n, .slide__avatar, .loss__before, .loss__after { font-weight: 600; letter-spacing: -.025em; }
.slide__quote, .loss__before, .loss__after { font-weight: 500; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: pulse 2.4s ease-in-out infinite; }

.label { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.label__num { font-family: var(--serif); font-size: 15px; letter-spacing: 0; color: var(--amber); }
.label::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--line-2); }

.chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px; border-radius: 99px;
	font-size: 12px; font-weight: 500; letter-spacing: .02em;
	background: rgba(237, 234, 227, .08); border: 1px solid var(--line); color: var(--text);
	white-space: nowrap;
}
.chip--line { background: transparent; color: var(--muted); }
.chip--amber { background: rgba(233, 180, 106, .12); border-color: rgba(233, 180, 106, .35); color: var(--amber-2); }
.chip--warn { background: rgba(233, 180, 106, .1); border: 1px dashed rgba(233, 180, 106, .5); color: var(--amber-2); margin-bottom: 28px; white-space: normal; }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mist); }

/* Botones */
.btn {
	--bg: var(--text); --fg: var(--ink);
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	height: 54px; padding: 0 26px; border-radius: 99px;
	background: var(--bg); color: var(--fg);
	font-size: 15px; font-weight: 500;
	transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s;
	will-change: transform;
}
.btn--primary { --bg: var(--amber); --fg: #1a120a; }
.btn--primary:hover { --bg: var(--amber-2); }
.btn--ghost { --bg: transparent; --fg: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--text); }
.btn--glass { --bg: rgba(237, 234, 227, .08); --fg: var(--text); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { --bg: var(--text); --fg: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }

/* Texto que "rueda" en hover */
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.roll > span { display: inline-block; transition: transform .55s var(--ease); }
.roll::after {
	content: attr(data-text); position: absolute; left: 0; top: 100%;
	transition: transform .55s var(--ease);
}
a:hover > .roll > span, button:hover > .roll > span { transform: translateY(-100%); }
a:hover > .roll::after, button:hover > .roll::after { transform: translateY(-100%); }

.round-btn {
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center; font-size: 24px; line-height: 1;
	background: rgba(237, 234, 227, .06); border: 1px solid var(--line);
	transition: background .3s, color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--text); color: var(--ink); }
.round-btn:active { transform: scale(.92); }

/* Spotlight que sigue el cursor (JS escribe --mx / --my) */
.spot { position: relative; isolation: isolate; }
.spot::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(159, 216, 203, .12), transparent 60%);
	opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* 4. ANIMACIÓN DE TEXTO ---------------------------------------------------- */
/* Split por caracteres: cada letra sube al entrar en pantalla */
[data-split] .w { display: inline-block; white-space: nowrap; }
[data-split="chars"] .w { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.js [data-split="chars"] .c {
	display: inline-block;
	transform: translateY(105%) rotate(6deg);
	transform-origin: 0 100%;
	transition: transform 1s var(--ease), color .3s;
	transition-delay: calc(var(--ci, 0) * 22ms + var(--d, 0ms));
}
[data-split="chars"].is-in .c { transform: none; }

/* Onda de letras al pasar el cursor */
[data-hover-wave] .c.is-wave { animation: wave .6s var(--ease); }
@keyframes wave {
	0% { transform: none; }
	40% { transform: translateY(-12%); color: var(--amber-2); }
	100% { transform: none; }
}

/* Reveal genérico */
/* Se usa la propiedad "translate" para no chocar con los transform de hover. */
.js [data-reveal]:not([data-split]) {
	opacity: 0; translate: 0 28px;
	transition: opacity 1s var(--ease), translate 1s var(--ease), transform .7s var(--ease), border-color .4s, background .4s, color .5s;
	transition-delay: calc(var(--rd, 0) * 110ms), calc(var(--rd, 0) * 110ms), 0s, 0s, 0s, 0s;
}
.js [data-reveal].is-in:not([data-split]) { opacity: 1; translate: 0 0; }
[data-delay="1"] { --rd: 1; } [data-delay="2"] { --rd: 2; } [data-delay="3"] { --rd: 3; }
[data-delay="4"] { --rd: 4; } [data-delay="5"] { --rd: 5; } [data-delay="6"] { --rd: 6; }

/* Scrub: palabras que se iluminan con el scroll */
[data-scrub] .w { opacity: var(--o, .14); transition: opacity .25s linear; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
	position: fixed; z-index: 50; top: 24px; left: 0; right: 0;
	padding: 0 calc(12px + clamp(16px, 2.4vw, 36px));
	transition: transform .6s var(--ease), top .5s var(--ease);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: 60px; padding: 0 10px 0 18px; border-radius: 99px;
	border: 1px solid transparent;
	transition: background .5s, border-color .5s, backdrop-filter .5s;
}
.site-header.is-solid { top: 12px; }
.site-header.is-solid .site-header__inner {
	background: rgba(8, 14, 12, .62); border-color: var(--line);
	backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-140%); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; }
.brand__mark { width: 19px; height: 24px; color: var(--amber); overflow: visible; }
.brand__name { letter-spacing: -.01em; }

/* Isotipo: se dibuja trazo a trazo */
.mark__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.brand:hover .mark__line--1 { animation: drawMark .8s var(--ease) both; }
.brand:hover .mark__line--2 { animation: drawMark .5s var(--ease) .55s both; }
@keyframes drawMark { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.brand__name { font-size: 16px; }
.brand__img { max-height: 32px; width: auto; }

.nav__list { display: flex; gap: 6px; }
.nav__list a {
	display: block; padding: 8px 14px; border-radius: 99px; font-size: 14px; color: var(--muted);
	transition: color .3s, background .3s;
}
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--text); background: rgba(237, 234, 227, .07); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; display: flex; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: rgba(237, 234, 227, .04); }
.lang__item { position: relative; z-index: 1; width: 38px; height: 32px; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); transition: color .3s; }
.lang__item.is-active { color: var(--ink); }
.lang__pill { position: absolute; top: 4px; left: 4px; width: 38px; height: 32px; border-radius: 99px; background: var(--text); transition: transform .5s var(--ease); }
.lang:has(.lang__item:nth-child(2).is-active) .lang__pill { transform: translateX(38px); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger__line { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger__line:nth-of-type(1) { top: 19px; } .burger__line:nth-of-type(2) { top: 26px; }
.menu-open .burger__line:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger__line:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------------ */
.hero { height: 100svh; min-height: 760px; padding: 12px; }
.hero__frame {
	position: relative; height: 100%; border-radius: var(--radius); overflow: hidden;
	background: #081210; isolation: isolate;
	box-shadow: inset 0 0 0 1px var(--line);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__art, .hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { transform: scale(1.08); }
.hero__img + .hero__grain, .hero__video + .hero__grain { background-color: rgba(5, 9, 8, .35); }
.hero__layer { transition: transform 1.2s var(--ease); will-change: transform; }
.hero__fog { animation: fog 18s ease-in-out infinite alternate; }
.hero__beacon { animation: pulse 2.2s ease-in-out infinite; }
.hero__win--flick { animation: flick 6s steps(1) infinite; }
.hero__grain {
	position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero__content {
	position: absolute; left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px);
	bottom: clamp(200px, 26vh, 250px);
	max-width: 900px;
}
.hero__title { font-size: clamp(56px, 9vw, 148px); margin: 22px 0 30px; }
.hero__row { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 760px; }
.hero__stat { display: flex; align-items: center; gap: 12px; }
.hero__stat-n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--amber-2); }
.hero__stat-t { font-size: 12px; line-height: 1.4; color: var(--muted); }
.hero__lead { font-size: 16px; color: var(--muted); max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__scroll {
	position: absolute; right: clamp(24px, 4vw, 64px); bottom: clamp(220px, 28vh, 270px);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
	writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 70px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: drip 2.2s var(--ease-in-out) infinite; }

.hero__cards {
	position: absolute; left: clamp(16px, 2.6vw, 40px); right: clamp(16px, 2.6vw, 40px); bottom: clamp(16px, 2.6vw, 32px);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.glass-card {
	display: flex; gap: 16px; align-items: center; padding: 12px;
	border-radius: var(--radius-sm);
	background: rgba(10, 18, 16, .55); border: 1px solid var(--line);
	backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%);
	transition: border-color .4s, transform .6s var(--ease), background .4s;
}
.glass-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: rgba(14, 26, 23, .7); }
.glass-card__viz {
	flex: 0 0 112px; height: 96px; border-radius: 12px; overflow: hidden; position: relative;
	background: linear-gradient(160deg, #1b3a33, #0b1513);
}
.glass-card__viz--1 { display: flex; align-items: flex-end; gap: 6px; padding: 14px; }
.glass-card__viz--1 span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(159, 216, 203, .25), var(--mist)); transform-origin: bottom; transition: transform .8s var(--ease); }
.glass-card:hover .glass-card__viz--1 span { transform: scaleY(.6); }
.glass-card:hover .glass-card__viz--1 span:nth-child(even) { transform: scaleY(1.15); }
.glass-card__viz--2 { background: radial-gradient(circle at 70% 30%, rgba(242, 194, 123, .55), transparent 55%), linear-gradient(160deg, #2a3b2f, #0c1412); display: grid; place-items: center; }
.glass-card__play { width: 34px; height: 34px; border-radius: 50%; background: rgba(237, 234, 227, .9); position: relative; transition: transform .5s var(--ease); }
.glass-card__play::after { content: ""; position: absolute; left: 13px; top: 10px; border: 7px solid transparent; border-left: 11px solid var(--ink); border-right: 0; }
.glass-card:hover .glass-card__play { transform: scale(1.15); }
.glass-card__viz--3 { color: var(--amber-2); padding: 16px 10px; }
.glass-card__viz--3 svg { width: 100%; height: 100%; }
.glass-card__viz--3 path { stroke-dasharray: 200; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); }
.glass-card:hover .glass-card__viz--3 path { animation: draw 1.4s var(--ease); }
.glass-card__body { display: grid; gap: 10px; align-content: center; }
.glass-card__body .chip { justify-self: start; }
.glass-card__body p { font-size: 13.5px; line-height: 1.45; color: var(--text); }

/* 7. QUIÉNES SOMOS --------------------------------------------------------- */
.about__grid { display: block; }
.about__side .label { position: sticky; top: 130px; }
.about__statement { font-size: clamp(34px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -.025em; }
.about__cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.about__intro { font-size: 18px; color: var(--muted); max-width: 420px; }
.about__ops { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.op-card { padding: 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(237, 234, 227, .035), transparent); }
.op-card__kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.op-card__title { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; margin: 10px 0 18px; }
.op-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.about__parent { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.about__parent strong { color: var(--text); font-weight: 500; }

/* 8. BANDA ----------------------------------------------------------------- */
.band { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--deep); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__group { display: flex; align-items: center; flex-shrink: 0; }
.band__item { font-family: var(--serif); font-size: clamp(44px, 6vw, 92px); line-height: 1; padding: 0 28px; white-space: nowrap; transition: color .3s; }
.band__item--outline { color: transparent; -webkit-text-stroke: 1px rgba(237, 234, 227, .45); }
.band__item:hover { color: var(--amber-2); -webkit-text-stroke-color: transparent; }
.band__star { color: var(--amber); font-size: 24px; }

/* 9. SISTEMA --------------------------------------------------------------- */
.system { background: linear-gradient(180deg, var(--ink), var(--deep) 40%, var(--ink)); }
.system__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.system__sticky { position: sticky; top: 130px; }
.system__title { font-size: clamp(48px, 6.4vw, 104px); margin: 28px 0 24px; }
.system__lead { color: var(--muted); max-width: 400px; font-size: 17px; }
.system__progress { margin-top: 48px; height: 2px; background: var(--line); max-width: 320px; overflow: hidden; border-radius: 2px; }
.system__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .6s var(--ease); }

.stages { counter-reset: s; display: grid; gap: 14px; }
.stage {
	display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start;
	padding: 34px 30px; border-radius: var(--radius-sm);
	border: 1px solid var(--line); background: rgba(237, 234, 227, .02);
	opacity: .38; transform: scale(.98);
	transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s, background .6s;
}
.stage.is-active { opacity: 1; transform: none; border-color: var(--line-2); background: rgba(237, 234, 227, .045); }
.stage__name { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; }
.stage__text { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 440px; }
.stage .chip { margin-top: 4px; }

/* 10. RESULTADOS ----------------------------------------------------------- */
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split { gap: 28px; }
.section-head__title { font-size: clamp(46px, 6.4vw, 104px); }
.section-head__lead { color: var(--muted); font-size: 18px; max-width: 520px; }

.tabs__list { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; border: 1px solid var(--line); background: rgba(237, 234, 227, .03); }
.tabs__btn { position: relative; z-index: 1; padding: 12px 22px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .4s; }
.tabs__btn.is-active { color: var(--ink); }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 99px; background: var(--text); transition: transform .6s var(--ease), width .6s var(--ease); }
.tabs__panel { margin-top: 40px; }
.tabs__panel.is-active { animation: panelIn .8s var(--ease); }
.tabs__intro { font-size: 20px; max-width: 640px; color: var(--text); margin-bottom: 36px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
	display: flex; flex-direction: column; min-height: 280px; padding: 26px;
	border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(237, 234, 227, .025);
	transition: border-color .4s, transform .6s var(--ease);
}
.tabs__panel.is-active .metric { animation: panelIn .8s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.metric:hover { border-color: var(--line-2); transform: translateY(-6px); }
.metric__top { display: flex; justify-content: flex-start; align-items: center; gap: 8px; }
.metric__top .chip { font-size: 11px; padding: 4px 10px; }
.metric__name { margin-top: auto; padding-top: 48px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.metric__text { margin-top: 10px; color: var(--muted); font-size: 14px; }
.metric__bar { margin-top: 22px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.metric__bar i { display: block; height: 100%; width: 100%; background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.metric:hover .metric__bar i { transform: scaleX(1); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 36px 0 0; }
.stat + .stat { padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(64px, 8vw, 128px); line-height: .9; }
.stat__label { margin-top: 12px; color: var(--muted); font-size: 15px; }
.results__note { margin-top: 48px; font-size: 13px; color: var(--faint); }

/* 11. PRUEBA SOCIAL -------------------------------------------------------- */
.proof { background: var(--deep); }
.logos { overflow: hidden; border-block: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__group { display: flex; flex-shrink: 0; }
.logos__item { display: grid; place-items: center; height: 120px; min-width: 240px; padding: 0 40px; border-right: 1px solid var(--line); color: var(--muted); transition: color .3s, background .3s; }
.logos__item:hover { color: var(--text); background: rgba(237, 234, 227, .03); }
.logos__item img { max-height: 40px; width: auto; opacity: .7; filter: grayscale(1) brightness(1.6); transition: opacity .3s, filter .3s; }
.logos__item:hover img { opacity: 1; filter: none; }
.logos__item--text { font-family: var(--serif); font-size: 28px; }
.logos__item--placeholder { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.logos__item--placeholder::before { content: "◇"; color: var(--amber); }

.proof__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: stretch; }
.slider { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(63, 127, 115, .14), transparent 60%); display: flex; flex-direction: column; overflow: hidden; }
.slider__viewport { overflow: hidden; flex: 1; touch-action: pan-y; cursor: grab; }
.slider__viewport:active { cursor: grabbing; }
.slider__track { display: flex; transition: transform .9s var(--ease); }
.slide { flex: 0 0 100%; padding-right: 24px; user-select: none; }
.slide__quote { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.12; }
.slide__author { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.slide__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.slide__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); font-family: var(--serif); font-size: 22px; }
.slide__author strong { display: block; font-weight: 500; }
.slide__author em { font-style: normal; color: var(--muted); font-size: 14px; }
.slider__controls { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.slider__progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider__progress span { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.slider__count { font-size: 13px; color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.slider__count b { color: var(--text); font-weight: 500; }

.pilot { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); border: 1px solid rgba(233, 180, 106, .22); background: radial-gradient(circle at 90% 0%, rgba(233, 180, 106, .16), transparent 55%), rgba(237, 234, 227, .02); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pilot--wide { grid-column: 1 / -1; }
.pilot .chip { margin-bottom: auto; }
.pilot__title { font-size: clamp(32px, 3vw, 46px); line-height: 1.05; margin-top: 40px; }
.pilot__text { color: var(--muted); }

/* 12. BENEFICIOS + SERVICIOS ---------------------------------------------- */
.loss { border-top: 1px solid var(--line); }
.loss__head { display: grid; grid-template-columns: 1fr 120px 1fr; padding: 18px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.loss__head span:last-child { grid-column: 3; color: var(--mist); }
.loss__row {
	display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center;
	padding: 26px 0; border-top: 1px solid var(--line);
	--rd: calc(var(--i) * .6);
	cursor: default;
}
.loss__before { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; color: var(--muted); }
.loss__before span { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px; transition: background-size .7s var(--ease), color .5s; }
.loss__after { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; color: var(--muted); transition: color .5s, transform .7s var(--ease); }
.loss__arrow { position: relative; height: 1px; margin: 0 24px; background: var(--line-2); }
.loss__arrow i { position: absolute; right: -2px; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg); transition: border-color .5s; }
.loss__arrow::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.loss__row:hover .loss__before span { background-size: 100% 1.5px; color: var(--faint); }
.loss__row:hover .loss__after { color: var(--text); transform: translateX(10px); }
.loss__row:hover .loss__arrow::after { transform: scaleX(1); }
.loss__row:hover .loss__arrow i { border-color: var(--amber); }

.services { margin-top: clamp(110px, 14vw, 200px); scroll-margin-top: 100px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service {
	display: flex; flex-direction: column; min-height: 440px; padding: 32px;
	border-radius: var(--radius); border: 1px solid var(--line); background: rgba(237, 234, 227, .02);
	transition: transform .7s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-8px); border-color: var(--line-2); }
.service--featured { background: linear-gradient(170deg, rgba(63, 127, 115, .26), rgba(10, 19, 17, .4) 60%); border-color: rgba(159, 216, 203, .22); }
.service__top { display: flex; align-items: center; }
.service__name { font-size: clamp(36px, 3.2vw, 52px); margin-top: auto; padding-top: 80px; }
.service__text { margin-top: 16px; color: var(--muted); font-size: 15px; }
.service__model { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.service__model span { color: var(--faint); }

/* 13. CTA ------------------------------------------------------------------ */
.cta { padding-top: 0; }
.cta__box {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(40px, 6vw, 96px); border-radius: var(--radius);
	background: linear-gradient(150deg, #12302a, #0a1513 55%, #070c0b);
	border: 1px solid var(--line);
}
.cta__glow {
	position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%;
	left: var(--gx, 70%); top: var(--gy, 30%); transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(233, 180, 106, .28), transparent 62%);
	transition: left 1.2s var(--ease), top 1.2s var(--ease);
	pointer-events: none;
}
.cta__content { max-width: 760px; }
.cta__title { font-size: clamp(44px, 5.6vw, 88px); margin: 26px 0 22px; }
.cta__lead { color: var(--muted); font-size: 18px; max-width: 520px; }
.cta__actions, .cta__form { margin-top: 36px; }
.cta__big {
	display: block; margin-top: clamp(56px, 8vw, 120px);
	font-size: clamp(88px, 17vw, 280px); line-height: .85; letter-spacing: -.045em;
	color: var(--text); transition: color .5s;
}
.cta__big:hover { color: var(--amber-2); }

/* Formularios de plugins (CF7, WPForms, Fluent Forms) heredan el estilo */
.cta__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.cta__form textarea, .cta__form select {
	width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2);
	background: rgba(237, 234, 227, .04); color: var(--text); font: inherit;
}
.cta__form textarea { min-height: 120px; }
.cta__form input:focus, .cta__form textarea:focus, .cta__form select:focus { outline: none; border-color: var(--mist); }
.cta__form input[type="submit"], .cta__form button[type="submit"] {
	height: 54px; padding: 0 28px; border: 0; border-radius: 99px; background: var(--amber); color: #1a120a; font: 500 15px var(--sans); cursor: pointer;
}
.cta__form p { margin-bottom: 14px; }

/* 14. FOOTER --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__logo { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 40px; line-height: 1; }
.site-footer__mark { width: 30px; height: 38px; color: var(--amber); }
.site-footer__tagline { margin-top: 10px; color: var(--muted); }
.site-footer__title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.site-footer__list li { margin-bottom: 8px; }
.site-footer__list a { color: var(--muted); transition: color .3s; }
.site-footer__list a:hover { color: var(--text); }
.site-footer__legal { margin-top: 64px; max-width: 760px; font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.to-top:hover { color: var(--text); }
.site-footer__giant {
	font-family: var(--serif); font-weight: 700; font-size: 15.4vw; line-height: .8; letter-spacing: -.06em; text-align: center;
	margin-top: 20px; margin-bottom: -2.4vw;
	background: linear-gradient(180deg, rgba(237, 234, 227, .16), rgba(237, 234, 227, 0) 85%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	user-select: none; white-space: nowrap;
}
.site-footer__giant .c { background: inherit; -webkit-background-clip: text; background-clip: text; }
.widget { margin-bottom: 20px; color: var(--muted); }
.widget__title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; font-weight: 500; }

/* Páginas internas */
.section--page { padding-top: 180px; }
.entry__title { font-size: clamp(44px, 6vw, 88px); margin-bottom: 40px; }
.entry__content > * + * { margin-top: 1.2em; }
.entry__content a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }

/* 15. CURSOR / INTRO / MENÚ MÓVIL ----------------------------------------- */
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--amber); }
.cursor__ring {
	width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(237, 234, 227, .35);
	display: grid; place-items: center;
	transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--amber); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--text); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.intro {
	position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink);
	transition: transform 1.1s var(--ease-in-out);
}
.intro { align-content: center; gap: 22px; }
.intro__mark { width: clamp(44px, 5vw, 64px); height: auto; aspect-ratio: 32 / 40; color: var(--amber); }
.intro__mark .mark__line--1 { animation: drawMark 1.1s var(--ease) .1s both; }
.intro__mark .mark__line--2 { animation: drawMark .6s var(--ease) .9s both; }
.intro__word { font-family: var(--serif); font-size: clamp(44px, 8vw, 120px); letter-spacing: -.04em; }
.intro__line { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 1px; margin-left: -80px; background: var(--line); overflow: hidden; }
.intro__line::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; animation: load 1.2s var(--ease) .2s forwards; }
.intro.is-done { transform: translateY(-100%); }
.no-intro .intro { display: none; }

.mobile-menu {
	position: fixed; inset: 0; z-index: 40; padding: 130px var(--gutter) 40px;
	background: rgba(6, 9, 8, .97); backdrop-filter: blur(20px);
	display: flex; flex-direction: column; justify-content: space-between;
	clip-path: inset(0 0 100% 0); visibility: hidden;
	transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; font-size: clamp(40px, 10vw, 64px); line-height: 1; transform: translateY(100%); transition: transform .8s var(--ease) calc(.25s + var(--i) * 60ms); }
.menu-open .mobile-menu__list a { transform: none; }
.mobile-menu .btn { align-self: flex-start; }
.menu-open { overflow: hidden; }

/* KEYFRAMES */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes flick { 0%, 100% { opacity: .9; } 47% { opacity: .1; } 52% { opacity: .9; } 78% { opacity: .2; } }
@keyframes fog { from { transform: translateX(-60px); } to { transform: translateX(80px); } }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes load { to { transform: scaleX(1); } }


/* GALERÍA HORIZONTAL ------------------------------------------------------- */
.gallery { --gh: clamp(340px, 31vw, 460px); --gap: 20px; --inset: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter))); overflow: hidden; }
.gallery__title { font-size: clamp(40px, 4.6vw, 72px); margin-bottom: clamp(40px, 4vw, 64px); }
.gallery__viewport {
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
	scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -2px;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gallery__viewport.is-dragging * { pointer-events: none; }
.gallery__track { display: flex; gap: var(--gap); width: max-content; padding-inline: var(--inset); }
.g-card { flex: 0 0 auto; width: calc(var(--gh) * 1.15); scroll-snap-align: start; }
.g-card--wide { width: calc(var(--gh) * 1.55); }
.g-card--narrow { width: calc(var(--gh) * .83); }
.js .g-card { opacity: 0; translate: 80px 0; transition: opacity 1s var(--ease), translate 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.js .gallery.is-in .g-card { opacity: 1; translate: 0 0; }
.g-card__media {
	position: relative; height: var(--gh); border-radius: var(--radius); overflow: hidden;
	background: #0d1513; border: 1px solid var(--line); isolation: isolate;
	transform: translateZ(0);
}
.g-card__media img, .g-card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); user-select: none; }
.g-card:hover .g-card__media img { transform: scale(1.04); }
.g-card__replay {
	position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(30, 30, 30, .55); color: #fff;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease), background .3s;
}
.g-card__replay svg { width: 18px; height: 18px; }
.g-card__replay:hover { transform: rotate(-30deg); background: rgba(60, 60, 60, .7); }
.g-card__caption { max-width: 440px; padding: 24px 16px 0; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--muted); }
.g-card__caption strong { color: var(--text); font-weight: 600; }
.gallery__controls { display: flex; justify-content: center; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.round-btn--sm { width: 38px; height: 38px; background: rgba(237, 234, 227, .14); border: 0; }
.round-btn--sm svg { width: 16px; height: 16px; }
.round-btn--sm:disabled { opacity: .35; pointer-events: none; }

/* Escenas ilustradas (por defecto, mientras no haya fotos/videos reales) */
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__zoom { transform: scale(1.12); transition: transform 6s var(--ease); }
.is-visible .scene__zoom { transform: scale(1); }
.scene__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.is-visible .scene__flash { animation: flash .9s ease-out .3s; }
.scene__hud { position: absolute; left: 18px; top: 18px; display: flex; gap: 6px; }
.scene__hud span, .scene__chip, .scene__rec {
	padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .06em;
	background: rgba(10, 10, 10, .45); color: #f2f2f2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.scene__hud .scene__hud-on { background: #ffd60a; color: #111; }
.scene__pan { transform: scale(1.25) translateX(4%); }
.is-visible .scene__pan { animation: pan 14s ease-in-out infinite alternate; }
.scene__bars::before, .scene__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: #000; z-index: 1; }
.scene__bars::before { top: 0; } .scene__bars::after { bottom: 0; }
.scene__rec { position: absolute; left: 18px; top: calc(9% + 14px); z-index: 2; display: flex; align-items: center; gap: 8px; }
.scene__rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: pulse 1.2s infinite; }
.scene__rec span { opacity: .7; font-weight: 500; }
.scene__chip { position: absolute; right: 18px; top: 18px; }

.scene--chat { background: radial-gradient(circle at 80% 0%, rgba(233, 180, 106, .25), transparent 55%), linear-gradient(170deg, #1d3530, #0b1312); }
.chat { position: absolute; left: 16px; right: 16px; top: 22px; display: flex; flex-direction: column; gap: 8px; }
.chat__msg, .chat__typing {
	max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 13px; line-height: 1.35;
	opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom left;
	transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d) * .9s + .3s);
}
.chat__msg--in { align-self: flex-start; background: rgba(237, 234, 227, .12); color: var(--text); border-bottom-left-radius: 6px; }
.chat__msg--out { align-self: flex-end; background: var(--mist); color: #0b1513; border-bottom-right-radius: 6px; transform-origin: bottom right; }
.chat__typing { align-self: flex-end; display: flex; gap: 4px; background: rgba(159, 216, 203, .25); }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: pulse 1s infinite calc(var(--k, 0) * .2s); }
.chat__typing i:nth-child(2) { --k: 1; } .chat__typing i:nth-child(3) { --k: 2; }
.is-visible .chat__msg, .is-visible .chat__typing { opacity: 1; transform: none; }
.scene__modes { position: absolute; left: 0; right: 0; bottom: 84px; display: flex; justify-content: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.scene__modes .is-on { background: #ffd60a; color: #111; padding: 2px 8px; border-radius: 99px; }
.scene__toolbar {
	position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; gap: 4px; padding: 6px 8px; border-radius: 22px;
	background: rgba(245, 245, 240, .88); color: #222; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.scene__toolbar span { display: grid; justify-items: center; gap: 2px; padding: 4px 7px; font-size: 9.5px; font-weight: 500; }
.scene__toolbar svg { width: 20px; height: 20px; }
.scene__toolbar .is-on { color: #8a6a00; }

.scene--landing { background: linear-gradient(160deg, #233f38, #0b1412); display: grid; place-items: center; padding: 26px; }
.browser { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #f4f1ea; display: flex; flex-direction: column; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: translateY(24px); transition: transform 1.2s var(--ease); }
.is-visible .browser { transform: none; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e6e1d8; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c2b5; }
.browser__bar span { margin-left: 10px; font-size: 10.5px; color: #6b665e; background: #f4f1ea; padding: 3px 10px; border-radius: 99px; }
.browser__hero { position: relative; flex: 1.1; background: linear-gradient(180deg, #e7b27a, #a86a4e 60%, #3d2c2c); }
.browser__sun { position: absolute; left: 62%; top: 24%; width: 46px; height: 46px; border-radius: 50%; background: #ffe3b0; box-shadow: 0 0 40px #ffd08a; }
.browser__body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.browser__line { height: 9px; border-radius: 4px; background: #d6d0c4; width: 70%; }
.browser__line--lg { height: 14px; width: 82%; background: #1d1b18; }
.browser__line--sm { width: 45%; }
.browser__row { display: flex; gap: 6px; margin-top: 4px; }
.browser__pill { width: 46px; height: 18px; border-radius: 99px; background: #e6e1d8; }
.browser__btn { margin-top: auto; align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: #e9b46a; color: #1a120a; font-size: 11px; font-weight: 600; }

.scene--dash { background: linear-gradient(160deg, #13241f, #080e0d); padding: 22px; }
.dash { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpi { padding: 12px; border-radius: 12px; background: rgba(237, 234, 227, .05); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 12px; color: var(--muted); }
.dash__kpi i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--mist)); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.is-visible .dash__kpi i { transform: scaleX(1); }
.dash__chart { border-radius: 12px; background: rgba(237, 234, 227, .03); border: 1px solid var(--line); overflow: hidden; }
.dash__chart svg { width: 100%; height: 100%; }
.dash__line { stroke-dasharray: 800; stroke-dashoffset: 800; }
.dash__line--2 { stroke-dasharray: 4 6; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 1.4s; }
.is-visible .dash__line:not(.dash__line--2) { animation: drawLong 2.2s var(--ease) .4s forwards; }
.is-visible .dash__line--2 { opacity: .8; }
.dash__area { opacity: 0; transition: opacity 1.2s 1.2s; }
.is-visible .dash__area { opacity: 1; }
.dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.dash__bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(159, 216, 203, .35); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); transition-delay: calc(var(--b) * 50ms + .6s); }
.is-visible .dash__bars i { transform: scaleY(1); }

@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
@keyframes pan { from { transform: scale(1.25) translateX(4%); } to { transform: scale(1.25) translateX(-6%); } }
@keyframes drawLong { to { stroke-dashoffset: 0; } }

@media (max-width: 640px) {
	.gallery { --gap: 14px; }
	.g-card, .g-card--wide, .g-card--narrow { width: 84vw; }
	.g-card .g-card__media { height: 104vw; max-height: 520px; }
	.g-card__caption { padding: 18px 6px 0; font-size: 15px; }
}


/* PROPIEDADES ---------------------------------------------------------------- */
.props__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.props__title { font-size: clamp(40px, 4.6vw, 72px); }
.props__lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 460px; }
.props__tools { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: rgba(237, 234, 227, .03); }
.seg__btn { padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .4s var(--ease), color .4s; }
.seg__btn.is-active { background: var(--text); color: var(--ink); }
.link-arrow { font-size: 14px; font-weight: 500; color: var(--mist); white-space: nowrap; transition: color .3s; }
.link-arrow:hover { color: var(--text); }

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; border-radius: var(--radius); }
.p-card.is-hidden { display: none; }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d1513; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-card:hover .p-card__media img, .p-card:hover .p-card__ph-mark { transform: scale(1.05); }
.p-card__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.p-card__ph--amber { background: radial-gradient(circle at 70% 25%, rgba(242, 194, 123, .55), transparent 55%), linear-gradient(170deg, #4a3326, #120c0a); }
.p-card__ph--moss { background: radial-gradient(circle at 30% 20%, rgba(159, 216, 203, .35), transparent 55%), linear-gradient(170deg, #1f3a32, #0a1311); }
.p-card__ph--sea { background: radial-gradient(circle at 60% 15%, rgba(140, 200, 230, .35), transparent 55%), linear-gradient(170deg, #1c3443, #08111a); }
.p-card__ph-mark { width: 64px; height: 80px; color: rgba(237, 234, 227, .55); transition: transform 1.2s var(--ease); }
.p-card__badges { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.p-card__badges .chip--warn { margin: 0; }
.p-card__badges .chip--amber, .p-card__badges .chip--warn { background: rgba(10, 12, 11, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip--glass { background: rgba(10, 12, 11, .5); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.p-card__body { padding: 20px 8px 0; }
.p-card__price { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--amber-2); }
.p-card__title { margin-top: 6px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.p-card__title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .5s var(--ease); }
.p-card:hover .p-card__title a { background-size: 100% 1px; }
.p-card__loc { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.p-card__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.p-card__specs li + li::before { content: "·"; margin-right: 14px; color: var(--faint); }

.props__empty {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
	padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid rgba(233, 180, 106, .22);
	background: radial-gradient(circle at 0% 0%, rgba(233, 180, 106, .12), transparent 50%), rgba(237, 234, 227, .02);
}
.props__empty-mark { width: 52px; height: 65px; color: var(--amber); }
.props__empty h3 { font-size: clamp(26px, 2.6vw, 38px); }
.props__empty p { margin-top: 8px; color: var(--muted); }

/* Catálogo */
.catalog { padding-top: clamp(150px, 16vw, 200px); }
.catalog__title { font-size: clamp(56px, 8vw, 128px); }
.catalog__lead { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 18px; }
.filters {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-top: 48px; padding: 18px;
	border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(237, 234, 227, .03);
}
.field { display: grid; gap: 6px; flex: 1 1 170px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.field select {
	appearance: none; -webkit-appearance: none; width: 100%; height: 46px; padding: 0 40px 0 16px; border-radius: 12px;
	border: 1px solid var(--line-2); color: var(--text); font: 500 15px var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer;
	background: rgba(237, 234, 227, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23edeae3' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field select:focus { outline: none; border-color: var(--mist); }
.field select option { background: var(--deep); color: var(--text); }
.filters__actions { display: flex; align-items: center; gap: 16px; height: 46px; }
.catalog__count { margin: 28px 0 22px; font-size: 14px; color: var(--muted); }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; }
.pager .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.pager .page-numbers.current, .pager a.page-numbers:hover { background: var(--text); color: var(--ink); }

/* Ficha */
.property { padding-top: clamp(140px, 14vw, 180px); }
.property__back { display: inline-block; margin-bottom: 28px; color: var(--muted); }
.property__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.property__title { font-size: clamp(40px, 5.6vw, 88px); margin: 20px 0 18px; max-width: 1000px; }
.property__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.property__loc { font-size: 18px; color: var(--muted); }
.property__price { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.025em; color: var(--amber-2); }
.gallery--property { padding: clamp(36px, 4vw, 56px) 0 0; }
.g-card__embed, .g-card__embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.property__grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
.property__h { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.property__h:not(:first-child) { margin-top: 56px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.specs div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--faint); }
.specs dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.property__desc { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 680px; }
.property__aside { position: sticky; top: 110px; }
.contact-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(63, 127, 115, .22), rgba(10, 19, 17, .4) 70%); }
.contact-card__price { font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: var(--amber-2); }
.contact-card__title { margin-top: 22px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.contact-card__text { margin-top: 6px; color: var(--muted); font-size: 15px; }
.contact-card__actions { display: grid; gap: 10px; margin-top: 24px; }
.contact-card__actions .btn { justify-content: space-between; }
.contact-card .cta__form { margin-top: 24px; }
.contact-card__code { margin-top: 20px; font-size: 12.5px; color: var(--faint); }
.props--related { padding-top: 0; }

@media (max-width: 1180px) { .p-grid { grid-template-columns: repeat(2, 1fr); } .property__grid { grid-template-columns: 1fr 340px; } }
@media (max-width: 900px) {
	.property__grid { grid-template-columns: 1fr; }
	.property__aside { position: static; }
	.props__empty { grid-template-columns: 1fr; text-align: left; }
	.p-grid--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 14px; }
	.p-grid--rail::-webkit-scrollbar { display: none; }
	.p-grid--rail .p-card { flex: 0 0 80%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
	.p-grid { grid-template-columns: 1fr; }
	.specs { grid-template-columns: repeat(2, 1fr); }
	.filters { padding: 14px; }
	.field { flex-basis: calc(50% - 7px); }
}

/* 16. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
	.nav { display: none; }
	.burger { display: block; }
	.metrics { grid-template-columns: repeat(2, 1fr); }
	.about__cols { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.site-header { top: 18px; padding: 0 22px; }
	.site-header__cta { display: none; }
	.hero { height: auto; min-height: 100svh; }
	.hero__frame { display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 16px; min-height: calc(100svh - 24px); }
	.hero__content { position: relative; inset: auto; padding: 0 22px; }
	.hero__row { grid-template-columns: 1fr; gap: 18px; }
	.hero__scroll { display: none; }
	.hero__cards {
		position: relative; inset: auto; margin-top: 40px; padding: 0 16px;
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	}
	.hero__cards::-webkit-scrollbar { display: none; }
	.glass-card { flex: 0 0 84%; scroll-snap-align: start; }
	.about__grid, .section-head--split { grid-template-columns: 1fr; gap: 28px; }
	.about__side .label { position: static; }
	.system__grid { grid-template-columns: 1fr; }
	.system__sticky { position: relative; top: 0; }
	.system__progress { display: none; }
	.stage { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; opacity: 1; transform: none; }
	.stage .chip { justify-self: start; order: -1; }
	.gallery__title { margin-bottom: 36px; }
	.proof__grid { grid-template-columns: 1fr; }
	.services__grid { grid-template-columns: 1fr; }
	.service { min-height: 0; }
	.service__name { padding-top: 48px; }
	.loss__head { display: none; }
	.loss__row { grid-template-columns: 1fr; gap: 10px; }
	.loss__arrow { width: 60px; margin: 6px 0; }
	.loss__after { color: var(--text); }
}

@media (max-width: 640px) {
	.about__ops { grid-template-columns: 1fr; }
	.metrics { grid-template-columns: 1fr; }
	.metric { min-height: 0; }
	.metric__name { padding-top: 32px; }
	.stats { grid-template-columns: 1fr; }
	.stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
	.tabs__list { display: flex; width: 100%; }
	.tabs__btn { flex: 1; padding: 12px 10px; font-size: 12.5px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; }
	.lang__item { width: 34px; }
	.lang__pill { width: 34px; }
	.lang:has(.lang__item:nth-child(2).is-active) .lang__pill { transform: translateX(34px); }
}

/* 17. MOVIMIENTO REDUCIDO -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	[data-split="chars"] .c, [data-reveal] { transform: none !important; opacity: 1 !important; }
	[data-scrub] .w { opacity: 1 !important; }
	.intro { display: none; }
}
