/* ==========================================================================
   Tuscania Ecosistema — estilos principales
   Paleta y tipografías: manual de línea gráfica Tuscania / AtLoft.
   ========================================================================== */

/* ---------- Fuentes incluidas ---------- */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Antipasto"; src: url("../fonts/antipasto-200.woff2") format("woff2"); font-weight: 100 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Antipasto"; src: url("../fonts/antipasto-400.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Antipasto"; src: url("../fonts/antipasto-800.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Variables ---------- */
:root {
	--t-green: #424f31;
	--t-olive: #7b8548;
	--t-terra: #b2745b;
	--t-gray: #4e4f49;
	--t-light: #f2f2f2;
	--t-cream: #f5f2ec;
	--a-navy: #444a5c;
	--a-gold: #c2952e;
	--a-gold2: #d2b269;
	--a-stone: #d9dad5;
	--a-olive: #767732;
	--a-sage: #aea670;
	--a-cream: #f4f1ea;

	--ink: #2c2d29;
	--muted: #6a6b64;
	--line: rgba(44, 45, 41, .12);
	--white: #fff;
	--accent: var(--t-terra);

	--f-title: "Cinzel", "Trajan Pro", Georgia, serif;
	--f-body: "Montserrat", "Museo Sans", system-ui, sans-serif;
	--f-atloft: "Antipasto", "Montserrat", sans-serif;

	--header-h: 84px;
	--radius: 20px;
	--radius-sm: 12px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--shadow: 0 30px 70px -35px rgba(30, 32, 26, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
::selection { background: var(--t-olive); color: #fff; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--t-green); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.container--narrow { max-width: 900px; }

.tsc-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Tipografía ---------- */
.display {
	font-family: var(--f-title);
	font-weight: 400;
	line-height: 1.14;
	letter-spacing: .015em;
	color: var(--t-green);
	text-wrap: balance;
}
.display--lg { font-size: clamp(2rem, 3.3vw, 2.9rem); }
.display--md { font-size: clamp(1.65rem, 2.6vw, 2.3rem); }
.display--lines br { display: block; }
.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
	color: var(--t-terra); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head--center .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1rem, 1.15vw, 1.075rem); color: var(--muted); max-width: 640px; line-height: 1.8; margin-top: 18px; }
.lead--wide { max-width: 780px; }
.prose p { color: var(--muted); line-height: 1.85; }
.prose strong { color: var(--ink); font-weight: 600; }
.badge {
	display: inline-block; background: var(--t-terra); color: #fff;
	font-size: .72rem; font-weight: 600; letter-spacing: .03em; line-height: 1;
	padding: 7px 12px; border-radius: 6px; white-space: nowrap;
}
.badge--tilt { transform: rotate(-3deg); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.rule { display: block; width: 44px; height: 1px; background: var(--t-terra); margin: 20px auto; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
	font-size: .88rem; font-weight: 600; letter-spacing: .02em; line-height: 1; cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
	white-space: nowrap;
}
.btn .tsc-icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .tsc-icon { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--t-cream); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(4px); background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--green { background: var(--t-green); color: #fff; }
.btn--green:hover { background: #333d26; box-shadow: 0 14px 30px -14px rgba(66, 79, 49, .8); }
.btn--gold { background: var(--a-gold); color: #fff; }
.btn--gold:hover { background: #a97f22; box-shadow: 0 14px 30px -14px rgba(194, 149, 46, .9); }
.btn--navy { background: var(--a-navy); color: #fff; }
.btn--navy:hover { background: #363b4a; }
.btn--outline-navy { border-color: rgba(68, 74, 92, .35); color: var(--a-navy); }
.btn--outline-navy:hover { background: var(--a-navy); color: #fff; }
.btn--whatsapp { background: #1f9d55; color: #fff; }
.btn--whatsapp:hover { background: #178347; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .8rem; }
.btn--block { display: flex; width: 100%; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
	font-weight: 600; font-size: .9rem; color: var(--t-green); border-bottom: 1px solid currentColor;
}
.link-arrow .tsc-icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--t-terra); }
.link-arrow:hover .tsc-icon { transform: translate(3px, -3px); }

/* ---------- Encabezado ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 60;
	color: var(--ink);
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__bar {
	position: relative; height: var(--header-h); max-width: 1640px; margin-inline: auto;
	display: flex; align-items: center; gap: 24px; padding: 0 clamp(18px, 3vw, 40px);
}
.has-hero .site-header:not(.is-scrolled) {
	color: #fff; background: linear-gradient(180deg, rgba(14, 16, 12, .42), rgba(14, 16, 12, 0)); border-color: transparent; backdrop-filter: none;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .35); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo img { height: 32px; width: auto; max-width: 190px; object-fit: contain; }
.brand--atloft .brand__logo img { height: 44px; }
.brand__logo--light { display: none; }
.has-hero .site-header:not(.is-scrolled) .brand__logo--light { display: block; }
.has-hero .site-header:not(.is-scrolled) .brand__logo--dark { display: none; }
.brand-sep { width: 1px; height: 30px; background: currentColor; opacity: .25; }

.nav--desktop { margin-inline: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
	display: inline-flex; align-items: center; gap: 5px; padding: 9px 15px;
	font-size: .86rem; font-weight: 500; letter-spacing: .01em; border-radius: 999px;
	border: 1px solid transparent; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.nav__link:hover { background: rgba(127, 127, 120, .1); }
.nav__item.is-current > .nav__link { border-color: currentColor; }
.nav__chev { width: 14px; height: 14px; opacity: .7; transition: transform .3s var(--ease); }
.nav__item.has-drop:hover > .nav__link .nav__chev { transform: rotate(180deg); }
.nav__toggle { display: none; }

.nav__drop {
	position: absolute; top: 100%; left: 50%; z-index: 5; padding-top: 14px;
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
	color: var(--ink);
}
.nav--desktop .has-drop:hover > .nav__drop,
.nav--desktop .has-drop:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__mega, .nav__sub {
	background: #fff; border-radius: 18px; border: 1px solid var(--line);
	box-shadow: 0 34px 70px -30px rgba(30, 32, 26, .45); padding: 14px; list-style: none;
}
.nav__sub { min-width: 230px; }
.nav__sub a, .nav__drop:not(.nav__drop--mega) .nav__col a {
	display: block; padding: 9px 14px; border-radius: 10px; font-size: .88rem; transition: background-color .25s, color .25s;
}
.nav__sub a:hover, .nav__drop:not(.nav__drop--mega) .nav__col a:hover { background: var(--t-cream); color: var(--t-green); }
.nav__sub .nav__link { padding: 9px 14px; width: 100%; border-radius: 10px; }
.nav__drop .nav__col ul { list-style: none; }
.nav__drop--2col .nav__col ul { columns: 2; column-gap: 8px; min-width: 380px; }
.nav__drop:not(.nav__drop--mega) .nav__mega { min-width: 220px; }
.nav--desktop .has-mega { position: static; }
.nav--desktop .has-mega > .nav__drop { left: 50%; }
.nav__drop--mega .nav__mega {
	display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px 30px;
	width: min(1040px, 94vw); padding: 30px 34px;
}
.nav__col-title {
	font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
	color: var(--t-terra); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.nav__drop--mega .nav__col a { display: block; padding: 6px 0; font-size: .88rem; color: var(--ink); transition: color .2s, transform .2s; }
.nav__drop--mega .nav__col a:hover { color: var(--t-terra); transform: translateX(3px); }

.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav--desktop + .header-tools { margin-left: 0; }
.header-tools__sep { width: 1px; height: 24px; background: currentColor; opacity: .2; margin: 0 6px; }
.icon-btn {
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	border: 0; background: transparent; cursor: pointer; transition: background-color .3s;
}
.icon-btn:hover { background: rgba(127, 127, 120, .14); }
.burger .tsc-icon { width: 24px; height: 24px; }

/* Panel lateral */
.panel { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.panel.is-open { visibility: visible; }
.panel__backdrop { position: absolute; inset: 0; background: rgba(18, 20, 16, .5); opacity: 0; transition: opacity .45s var(--ease); }
.panel.is-open .panel__backdrop { opacity: 1; }
.panel__box {
	position: absolute; inset: 0 0 0 auto; width: min(440px, 92vw); background: #fff; color: var(--ink);
	display: flex; flex-direction: column; overflow-y: auto; padding: 18px 30px 36px;
	transform: translateX(100%); transition: transform .55s var(--ease);
}
.panel.is-open .panel__box { transform: none; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel__logo img { height: 28px; width: auto; }
.nav--panel .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.nav--panel .nav__item { border-bottom: 1px solid var(--line); }
.nav--panel .nav__link { padding: 16px 44px 16px 0; font-family: var(--f-title); font-size: 1.22rem; border: 0; border-radius: 0; width: 100%; }
.nav--panel .nav__link:hover { background: none; color: var(--t-terra); }
.nav--panel .nav__item.is-current > .nav__link { color: var(--t-terra); }
.nav--panel .nav__chev { display: none; }
.nav--panel .nav__toggle {
	display: grid; place-items: center; position: absolute; right: 0; top: 10px; width: 40px; height: 40px;
	border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer;
}
.nav--panel .nav__toggle .tsc-icon { width: 16px; height: 16px; transition: transform .3s; }
.nav--panel .is-open > .nav__toggle .tsc-icon { transform: rotate(180deg); }
.nav--panel .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 16px; display: none; }
.nav--panel .is-open > .nav__drop { display: block; }
.nav--panel .nav__mega, .nav--panel .nav__sub { box-shadow: none; border: 0; padding: 0; width: auto; display: block; background: none; }
.nav--panel .nav__col { margin-bottom: 10px; }
.nav--panel .nav__col-title { border: 0; padding: 0; margin: 10px 0 4px; }
.nav--panel .nav__col a, .nav--panel .nav__sub a { padding: 6px 0; font-size: .95rem; color: var(--muted); }
.nav--panel .nav__drop--2col .nav__col ul { columns: 1; min-width: 0; }
.nav--panel .nav__sub .nav__link { font-family: var(--f-body); font-size: .95rem; padding: 6px 0; color: var(--muted); }
.panel__foot { margin-top: auto; padding-top: 30px; }
.panel .contact-list { color: var(--muted); font-size: .88rem; }
.panel .socials a { border-color: var(--line); color: var(--ink); }

/* Búsqueda */
.search { position: fixed; inset: 0; z-index: 85; visibility: hidden; background: rgba(18, 20, 16, 0); transition: background-color .4s, visibility .4s; }
.search.is-open { visibility: visible; background: rgba(18, 20, 16, .45); }
.search__box { background: #fff; padding: 26px clamp(20px, 4vw, 40px); transform: translateY(-100%); transition: transform .5s var(--ease); }
.search.is-open .search__box { transform: none; }
.search__form { max-width: 980px; margin: auto; display: flex; align-items: center; gap: 16px; }
.search__form > .tsc-icon { width: 26px; height: 26px; color: var(--t-terra); }
.search__form input {
	flex: 1; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; font-family: var(--f-title);
	font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--ink); background: none; outline: none;
}

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
	color: #fff; overflow: hidden; background: var(--t-gray); isolation: isolate;
}
.hero--zone { min-height: 88vh; min-height: 88svh; }
.hero--corso { min-height: 80vh; min-height: 80svh; }
.hero--sost { align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media picture, .hero__video, .hero__media .tsc-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: tsc-zoom 24s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(16, 18, 14, .55) 0%, rgba(16, 18, 14, .18) 32%, rgba(16, 18, 14, .22) 62%, rgba(16, 18, 14, .72) 100%);
}
.hero--sost .hero__shade { background: linear-gradient(90deg, rgba(22, 28, 18, .82) 0%, rgba(22, 28, 18, .45) 48%, rgba(22, 28, 18, .05) 78%), linear-gradient(0deg, rgba(16, 18, 14, .55), rgba(16, 18, 14, 0) 45%); }
.hero__inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }
.hero__content { max-width: 920px; margin-inline: auto; text-align: center; }
.hero--sost .hero__content { margin: 0; max-width: 660px; text-align: left; }
.hero__kicker { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 14px; font-size: clamp(.92rem, 1.2vw, 1.05rem); font-weight: 500; letter-spacing: .02em; }
.hero--sost .hero__kicker { justify-content: flex-start; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.hero__title { margin: 22px 0 18px; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.07; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, .28); }
.hero--sost .hero__title { font-size: clamp(2rem, 4vw, 3.4rem); }
.hero__text { max-width: 580px; margin: 0 auto 34px; font-size: 1.04rem; line-height: 1.8; opacity: .92; }
.hero--sost .hero__text { margin-left: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero--sost .hero__actions { justify-content: flex-start; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 58px; background: rgba(255, 255, 255, .3); overflow: hidden; z-index: 2; }
.hero__scroll span { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: #fff; animation: tsc-drop 2.2s var(--ease) infinite; }

.hero-anim { opacity: 0; transform: translateY(22px); animation: tsc-rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 130ms + 250ms); }

@keyframes tsc-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes tsc-rise { to { opacity: 1; transform: none; } }
@keyframes tsc-drop { 0% { top: -20px; } 70%, 100% { top: 60px; } }
@keyframes tsc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Imagen faltante */
.tsc-ph {
	position: relative; width: 100%; height: 100%; min-height: 160px;
	background:
		radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, .12), transparent 60%),
		linear-gradient(140deg, var(--t-olive) 0%, var(--t-green) 70%);
	display: grid; place-items: center;
}
.tsc-ph::before {
	content: ""; position: absolute; inset: 0; opacity: .12;
	background: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 22px);
}
.tsc-ph__label {
	position: relative; z-index: 1; display: inline-flex; flex-direction: column; gap: 4px; align-items: center; text-align: center;
	padding: 12px 18px; border-radius: 12px; background: rgba(0, 0, 0, .32); color: #fff;
	font: 600 .78rem/1.3 var(--f-body); letter-spacing: .04em; max-width: 90%;
}
.tsc-ph__label small { font-weight: 400; opacity: .85; }
.admin-note { border: 1px dashed var(--t-terra); color: var(--t-terra); background: rgba(178, 116, 91, .06); padding: 14px 18px; border-radius: 12px; font-size: .85rem; text-align: center; margin: 20px auto; max-width: 760px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(76px, 9vw, 132px) 0; }
.section--cream { background: var(--t-cream); }
.section--dark { background: var(--t-gray); color: rgba(255, 255, 255, .86); }
.section--dark .display { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .72); }
.section--dark .kicker { color: #dca88f; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-cta { text-align: center; margin: 48px 0 0; }

/* Video */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #111; box-shadow: var(--shadow); }
.yt__btn { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt__poster { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.yt__btn:hover .yt__poster { transform: scale(1.04); }
.yt__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .35)); }
.yt__play {
	position: absolute; left: 50%; top: 50%; z-index: 2; width: 92px; height: 92px; margin: -46px 0 0 -46px;
	display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--t-green);
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); transition: transform .4s var(--ease);
}
.yt__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: tsc-pulse 2.4s var(--ease) infinite; }
.yt__play .tsc-icon { width: 30px; height: 30px; margin-left: 4px; }
.yt__btn:hover .yt__play { transform: scale(1.07); }
.yt__btn:focus-visible .yt__play { outline: 2px solid #fff; outline-offset: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes tsc-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Ecosistema */
.eco__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.eco__grid--3, .eco__grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.eco-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; background: #3d3e39; }
.eco__grid--3 .eco-card, .eco__grid:has(> :nth-child(3):last-child) .eco-card { aspect-ratio: 4 / 5; }
.eco-card__media { position: absolute; inset: 0; z-index: -2; }
.eco-card__media img, .eco-card__media .tsc-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.eco-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 18, 14, 0) 38%, rgba(16, 18, 14, .84) 100%); transition: opacity .5s; }
.eco-card:hover .eco-card__media img { transform: scale(1.06); }
.eco-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.eco-card__title { font-family: var(--f-title); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; margin-bottom: 10px; }
.eco-card__text { font-size: .9rem; line-height: 1.65; opacity: .86; margin: 0; max-width: 480px; }
.eco-card__arrow {
	position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; background: var(--t-terra); color: #fff; transition: transform .5s var(--ease), background-color .3s;
}
.eco-card:hover .eco-card__arrow { transform: rotate(45deg); background: #9b604a; }

/* Logos */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 42px; }
.tabs__btn {
	padding: 12px 24px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	font-size: .95rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.tabs__btn:hover { border-color: var(--t-green); }
.tabs__btn.is-active { background: var(--t-green); border-color: var(--t-green); color: #fff; }
.js .logos__panel:not(.is-active) { display: none; }
.logos__panel.is-active { animation: tsc-fade .5s var(--ease); }
.logos__grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; max-width: 1100px; margin-inline: auto; }
.logo-cell { flex: 0 0 236px; display: flex; justify-content: center; }
.logo-cell__in {
	display: flex; align-items: center; justify-content: center; width: 100%; height: calc(var(--logo-h, 120px) + 16px); padding: 8px;
	border-radius: 18px; border: 1px solid transparent; background: transparent;
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, background-color .45s;
}
a.logo-cell__in:hover { transform: translateY(-4px); }
.logos--frame .logo-cell__in { border-color: var(--line); background: #fff; padding: 22px; }
.logos--frame a.logo-cell__in:hover { border-color: rgba(178, 116, 91, .5); box-shadow: 0 22px 40px -26px rgba(30, 32, 26, .45); }
.logo-cell__img { display: block; max-width: 100%; max-height: var(--logo-h, 120px); width: auto; height: auto; margin: auto; object-fit: contain; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logos--gray .logo-cell__img { filter: grayscale(1); opacity: .8; }
.logos--gray a.logo-cell__in:hover .logo-cell__img { filter: none; opacity: 1; }
.logo-cell__name { font-family: var(--f-title); font-size: 1.02rem; line-height: 1.25; text-align: center; color: var(--t-green); transition: color .3s; }
a.logo-cell__in:hover .logo-cell__name { color: var(--t-terra); }
.logos-block--alt { background: var(--t-cream); }

/* Banner */
.banner { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--t-green); isolation: isolate; padding: 110px 0; }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img, .banner__media .tsc-ph { width: 100%; height: 100%; object-fit: cover; }
.banner__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 28, 18, .88) 0%, rgba(22, 28, 18, .62) 42%, rgba(22, 28, 18, .08) 78%); }
.banner__content { max-width: 560px; }
.banner .display { color: #fff; margin: 22px 0 22px; }
.banner__text { font-size: 1.02rem; line-height: 1.85; opacity: .9; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Sostenibilidad */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.feature { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__media { aspect-ratio: 16 / 10; overflow: hidden; }
.feature__media img, .feature__media .tsc-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__body { padding: 30px 32px 34px; }
.feature__big { font-family: var(--f-title); font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--t-green); line-height: 1.1; margin: 0 0 6px; }
.feature__sub { font-weight: 600; font-size: .9rem; color: var(--t-olive); margin: 0 0 14px; }
.feature__text { font-size: .93rem; color: var(--muted); line-height: 1.75; margin: 0; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; text-align: center; padding: 18px 22px; display: flex; flex-direction: column; align-items: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.stat__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--t-terra); color: #fff; margin-bottom: 22px; box-shadow: 0 16px 30px -16px rgba(178, 116, 91, .9); }
.stat__icon .tsc-icon { width: 32px; height: 32px; stroke-width: 1.4; }
.stat__value { display: block; font-family: var(--f-title); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1; color: var(--t-green); }
.stat__label { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); max-width: 200px; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split .display { margin-bottom: 24px; }
.split .btn { margin-top: 12px; }
.frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.split__media { aspect-ratio: 4 / 3; }
.split__media img, .split__media .tsc-ph { width: 100%; height: 100%; object-fit: cover; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__item { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 26px; }
.steps__num { font-family: var(--f-title); color: #dca88f; font-size: 1.05rem; }
.steps__title { font-weight: 600; font-size: 1rem; color: #fff; margin: 14px 0 10px; }
.steps__text { font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .7); margin: 0; }

/* Vía del Corso / fichas */
.residence__top, .biz__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.residence__top { margin-bottom: 48px; }
.residence__name, .biz__title { margin-bottom: 16px; }
.residence .badge, .biz .badge { margin-bottom: 22px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.fact { border-bottom: 1px solid var(--line); }
.fact__link { display: flex; align-items: center; gap: 18px; padding: 20px 4px; color: inherit; }
.fact__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--t-cream); color: var(--t-green); }
.section--cream .fact__icon { background: #fff; }
.fact__icon .tsc-icon { width: 19px; height: 19px; }
.fact__body small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact__body strong { font-weight: 500; font-size: 1.06rem; line-height: 1.35; color: var(--ink); }
.fact__go { margin-left: auto; color: var(--t-terra); transition: transform .35s var(--ease); }
a.fact__link:hover .fact__go { transform: translate(3px, -3px); }
a.fact__link:hover strong { color: var(--t-green); }
.residence__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.listcard { background: var(--t-cream); border-radius: var(--radius); padding: 32px 34px; }
.section--cream .listcard { background: #fff; }
.listcard__title { font-weight: 600; font-size: 1.02rem; color: var(--t-green); margin-bottom: 16px; }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 12px; padding: 7px 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.checklist .tsc-icon { width: 17px; height: 17px; color: var(--t-olive); margin-top: 2px; }

.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 15vw, 200px); gap: 12px; }
.mosaic__item { all: unset; position: relative; grid-column: span 3; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #ddd; }
.mosaic__item:first-child { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item:focus-visible { outline: 2px solid var(--t-terra); outline-offset: 3px; }
.mosaic__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 22, 18, .55); color: #fff; font-family: var(--f-title); font-size: 1.8rem; }
.mosaic--biz { grid-template-columns: repeat(3, 1fr); }
.mosaic--biz .mosaic__item { grid-column: span 1; }
.mosaic--biz .mosaic__item:first-child { grid-column: span 2; }

.biz { padding: calc(var(--header-h) + 36px) 0 clamp(70px, 8vw, 110px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: clamp(32px, 4vw, 52px); }
.crumbs a:hover { color: var(--t-terra); }
.biz__logo { height: 110px; margin: -8px 0 16px -28px; }
.biz__logo img { height: 100%; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.biz__desc { margin-top: 4px; }
.biz__strip { display: flex; align-items: center; gap: 24px; margin: clamp(40px, 5vw, 60px) 0 26px; padding: 22px 26px 22px 30px; background: var(--t-cream); border: 1px solid var(--line); border-radius: 18px; }
.biz__strip-k { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t-terra); max-width: 200px; line-height: 1.5; }
.biz__strip-t { flex: 1; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-weight: 500; color: var(--ink); line-height: 1.4; }
.biz__strip-go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--t-olive); color: #fff; flex-shrink: 0; transition: transform .4s var(--ease); }
.biz__strip-go:hover { transform: translateY(3px); }
.biz__main { aspect-ratio: 2 / 1; margin: 0 0 12px; }
.biz__main img { width: 100%; height: 100%; object-fit: cover; }
.biz__ph { aspect-ratio: 2 / 1; border-radius: 24px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: auto; }
.chip { padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--t-green); border-color: var(--t-green); color: #fff; }

/* Páginas genéricas */
.page-head { padding: calc(var(--header-h) + clamp(50px, 7vw, 90px)) 0 clamp(36px, 5vw, 60px); background: var(--t-cream); margin-bottom: clamp(40px, 5vw, 64px); }
.page-head--404 { min-height: 70vh; display: flex; align-items: center; margin: 0; }
.page-head .lead { margin-bottom: 28px; }
.entry { padding-bottom: 90px; font-size: 1.02rem; line-height: 1.85; color: #44453f; }
.entry h2, .entry h3 { font-family: var(--f-title); color: var(--t-green); margin: 1.6em 0 .6em; line-height: 1.2; }
.entry h2 { font-size: 1.8rem; }
.entry h3 { font-size: 1.35rem; }
.entry a { color: var(--t-terra); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 14px; }
.entry ul, .entry ol { padding-left: 1.3em; margin-bottom: 1em; }
.results { display: grid; gap: 12px; padding-bottom: 60px; }
.result { position: relative; display: grid; gap: 4px; padding: 22px 60px 22px 26px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.result:hover { border-color: var(--t-terra); box-shadow: var(--shadow); }
.result__type { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t-terra); }
.result__title { font-family: var(--f-title); font-size: 1.3rem; color: var(--t-green); }
.result__text { font-size: .9rem; color: var(--muted); }
.result__go { position: absolute; right: 24px; top: 50%; margin-top: -10px; color: var(--t-terra); }
.searchform { display: flex; gap: 10px; max-width: 560px; }
.searchform input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.nav-links { display: flex; gap: 8px; justify-content: center; padding-bottom: 60px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.nav-links .current { background: var(--t-green); color: #fff; }

/* ---------- Pie ---------- */
.site-footer { background: var(--t-gray); color: rgba(255, 255, 255, .8); font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1.25fr .8fr .8fr; gap: 48px; padding-top: clamp(64px, 7vw, 90px); padding-bottom: 56px; }
.footer__logo img { width: 160px; height: auto; }
.footer__tagline { margin: 18px 0 24px; font-family: var(--f-title); letter-spacing: .05em; color: #fff; opacity: .85; }
.footer__title { font-family: var(--f-title); font-size: 1.08rem; letter-spacing: .03em; color: #fff; margin-bottom: 20px; }
.footer__menu { list-style: none; }
.footer__menu a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .76); transition: color .25s, transform .25s; }
.footer__menu a:hover { color: #fff; transform: translateX(3px); }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; padding: 6px 0; line-height: 1.55; }
.contact-list .tsc-icon { width: 18px; height: 18px; margin-top: 2px; opacity: .65; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.panel .contact-list a:hover { color: var(--t-green); }
.socials { list-style: none; display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); color: #fff; transition: background-color .3s, border-color .3s, color .3s; }
.socials a:hover { background: var(--t-terra); border-color: var(--t-terra); color: #fff; }
.socials .tsc-icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; color: rgba(255, 255, 255, .6); }
.footer__bottom p { margin: 0; }
.to-top { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--t-terra); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.to-top:hover { transform: translateY(-3px); }
.to-top .tsc-icon { width: 18px; height: 18px; }

/* ---------- Pop-up ---------- */
.popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility .5s; }
.popup.is-open { visibility: visible; opacity: 1; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(18, 20, 16, .55); backdrop-filter: blur(4px); }
.popup__box { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; width: min(880px, 100%); max-height: calc(100vh - 40px); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); transform: translateY(24px) scale(.98); transition: transform .6s var(--ease); }
.popup.is-open .popup__box { transform: none; }
.popup__media { min-height: 460px; background: var(--t-gray); }
.popup__media { position: relative; overflow: hidden; }
.popup__media img, .popup__media .tsc-ph { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; }
/* Recorrido lento de lado a lado alrededor del punto central (--fx). */
.popup__media--motion img { position: absolute; inset: 0; animation: tsc-walk 26s ease-in-out infinite; will-change: object-position; }
@keyframes tsc-walk {
	0%, 100% { object-position: var(--fx, 50%) 50%; }
	25% { object-position: clamp(0%, calc(var(--fx, 50%) - 22%), 100%) 50%; }
	75% { object-position: clamp(0%, calc(var(--fx, 50%) + 22%), 100%) 50%; }
}
@media (prefers-reduced-motion: reduce) { .popup__media--motion img { animation: none; } }
.popup__body { padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.popup__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 22px; }
.popup__text { color: var(--muted); font-size: .95rem; line-height: 1.75; max-width: 360px; margin-bottom: 28px; }
.popup__title--big { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.popup__big { font-size: clamp(4rem, 8vw, 5.6rem); line-height: .9; color: var(--t-green); letter-spacing: -.01em; }
.popup__title--big .popup__title-text { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
.popup__units { list-style: none; display: flex; width: min(300px, 100%); margin: 24px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.popup__units li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; }
.popup__units li + li { border-left: 1px solid var(--line); }
.popup__units strong { font-family: var(--f-title); font-size: 1.85rem; font-weight: 400; line-height: 1; color: var(--t-terra); }
.popup__units span { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.popup__link { margin-top: 16px; font-size: .84rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.popup__link:hover { color: var(--t-terra); border-color: var(--t-terra); }
.popup__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; cursor: pointer; transition: transform .3s; }
.popup__close:hover { transform: rotate(90deg); }

/* ---------- Galería (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; background: rgba(14, 15, 13, .99); color: #fff; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__top { display: flex; align-items: flex-start; gap: 20px; padding: 18px clamp(16px, 3vw, 30px); }
.lightbox__meta { flex: 1; min-width: 0; }
.lightbox__meta p { margin: 0; }
.lightbox__cat { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #dca88f; }
.lightbox__title { font-family: var(--f-title); font-size: 1.35rem; margin-top: 4px !important; }
.lightbox__desc { font-size: .84rem; opacity: .65; max-width: 640px; margin-top: 4px !important; }
.lightbox__count { font-size: .8rem; opacity: .7; padding-top: 12px; white-space: nowrap; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .3s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 clamp(12px, 7vw, 96px); }
.lightbox__stage img { max-width: 100%; max-height: 100%; max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); width: auto; height: auto; object-fit: contain; border-radius: 10px; animation: tsc-fade .45s var(--ease); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lightbox__prev { left: clamp(10px, 2vw, 26px); }
.lightbox__next { right: clamp(10px, 2vw, 26px); }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(16px, 3vw, 30px) 20px; scrollbar-width: thin; }
.lightbox__thumbs button { all: unset; flex-shrink: 0; width: 78px; height: 56px; border-radius: 8px; overflow: hidden; opacity: .45; cursor: pointer; transition: opacity .3s; outline: 2px solid transparent; outline-offset: 2px; }
.lightbox__thumbs button.is-active { opacity: 1; outline-color: #dca88f; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Animación al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav--desktop { display: none; }
	.header-tools { margin-left: auto !important; }
	.nav__drop--mega .nav__mega { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.split, .residence__top, .biz__top { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.feature-grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.stat:nth-child(3)::before { display: none; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.eco__grid--3, .eco__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr 1fr; }
	.eco__grid--3 .eco-card, .eco__grid:has(> :nth-child(3):last-child) .eco-card { aspect-ratio: 4 / 3; }
	.residence__lists { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 15px; }
	.brand__logo img { height: 26px; }
	.header-cta { display: none; }
	.hero__inner { padding-bottom: 84px; }
	.hero__title { font-size: clamp(2rem, 9vw, 2.7rem); }
	.hero__actions .btn, .banner__actions .btn { flex: 1 1 auto; }
	.eco__grid, .eco__grid--3, .eco__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
	.eco-card, .eco__grid--3 .eco-card { aspect-ratio: 4 / 4.2; }
	.logos__grid { gap: 8px 10px; }
	.logo-cell { flex-basis: calc(50% - 5px); }
	.logo-cell__in { height: calc(var(--logo-h, 120px) * .8 + 8px); padding: 4px; }
	.logo-cell__img { max-height: calc(var(--logo-h, 120px) * .8); }
	.tabs { gap: 8px; }
	.tabs__btn { padding: 10px 16px; font-size: .88rem; }
	.banner { padding: 90px 0; align-items: flex-end; }
	.banner__shade { background: linear-gradient(0deg, rgba(22, 28, 18, .92) 0%, rgba(22, 28, 18, .6) 55%, rgba(22, 28, 18, .2) 100%); }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 10px; }
	.stat__icon { width: 60px; height: 60px; }
	.steps { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
	.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
	.mosaic__item, .mosaic--biz .mosaic__item { grid-column: span 1; }
	.mosaic__item:first-child, .mosaic--biz .mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
	.biz__strip { flex-wrap: wrap; gap: 10px 16px; padding: 20px; }
	.biz__strip-k { max-width: none; width: 100%; }
	.popup__box { grid-template-columns: 1fr; max-width: 420px; overflow-y: auto; }
	.popup__media { min-height: 0; aspect-ratio: 16 / 10; }
	.popup__media--motion { aspect-ratio: 4 / 3; }
	.popup__body { padding: 30px 24px 34px; }
	.lightbox__stage { padding: 0 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 10px; margin: 0; }
	.result { padding-right: 46px; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hero-anim { opacity: 1; transform: none; }
}
.elementor-holder { padding-top: var(--header-h); }
