/* =========================================================
   VILARE · Landing
   Una sola atmósfera continua (referencias: "Japan Tours" y "Start your adventure"):
   foto de apertura que se funde en negro carbón, contenido flotando con líneas finas,
   fotos enmarcadas y desplazadas, y una foto de cierre que vuelve a abrir la escena.
   Colores de marca: carbón, naranja #f58220 y crema.
   Tipografía: Red Hat Display (títulos, trazo fino) + Red Hat Text (texto).
   ========================================================= */

:root {
  --bg: #0c0c0c;
  --ink: #f3efe9;
  --muted: #b3ada4;
  --dim: rgb(243 239 233 / .55);
  --hair: rgb(243 239 233 / .22);
  --hair-2: rgb(243 239 233 / .4);
  --accent: #f58220;
  --accent-2: #ff9439;
  --accent-soft: #ffb877;
  --accent-ink: #1c1206;
  --wa: #25d366;
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Red Hat Text", system-ui, sans-serif;
  --display: "Red Hat Display", "Red Hat Text", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
strong { font-weight: 600; color: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
mark.todo { background: rgb(245 130 32 / .14); color: var(--accent-soft); border: 1px dashed rgb(245 130 32 / .55); border-radius: 6px; padding: 0 .35em; font-size: .85em; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Botones: contorno fino o sólido, como en las referencias ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: 0 1.35em; border-radius: 999px; border: 1px solid transparent; font: 500 .92rem/1 var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn:active { transform: scale(.96); }
.btn-sm { min-height: 38px; padding: 0 1.05em; font-size: .84rem; }
.btn-line { border-color: var(--hair-2); color: var(--ink); background: rgb(12 12 12 / .2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn-solid { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-solid:hover { background: var(--accent-2); }

/* ---------- Header: invisible, con difuminado al bajar y pastilla de sección ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); animation: navIn .7s var(--ease) backwards; }
.nav::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(12 12 12 / .85), rgb(12 12 12 / 0)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); opacity: 0; transition: opacity .4s var(--ease); }
.nav.is-solid::before { opacity: 1; }
/* fondo sólido translúcido + línea y sombra: el menú no se pierde sobre fotos ni textos */
.nav::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgb(12 12 12 / .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgb(243 239 233 / .08), 0 12px 32px -12px rgb(0 0 0 / .7); opacity: 0; transition: opacity .4s var(--ease); }
.nav.is-solid::after { opacity: 1; }
/* Lenis */
html.lenis-on, html.lenis-on body { height: auto; }
.lenis-on.lenis-smooth { scroll-behavior: auto !important; }
.nav-in { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
@media (min-width: 768px) { .nav-in { padding: 0 40px; } }
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: none; position: relative; list-style: none; margin: 0; padding: 4px; gap: 2px; border-radius: 999px; }
.nav-links a { position: relative; z-index: 1; display: block; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: .84rem; color: rgb(243 239 233 / .8); transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--accent-soft); }
.nav-pill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(245 130 32 / .45); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.nav-pill.on { opacity: 1; }
@media (min-width: 980px) { .nav-links { display: flex; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Títulos con línea (—— TÍTULO ——) ---------- */
.rule-title { display: flex; align-items: center; gap: 24px; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--hair-2); transform-origin: center; transition: transform 1.2s var(--ease) .15s; }
.rule-title--left::before { display: none; }
.rule-title--left::after { transform-origin: left; }
.js .rule-title.reveal::before, .js .rule-title.reveal::after { transform: scaleX(0); }
.js .rule-title.reveal.in::before, .js .rule-title.reveal.in::after, .reveal-all .rule-title::before, .reveal-all .rule-title::after { transform: none; }
.lead { color: var(--muted); max-width: 44ch; }

/* ---------- Inicio: gráfica de productos de VILARE, el logotipo solo y las líneas de producto ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100dvh; display: grid; padding-block: calc(var(--nav-h) + 6vh) 40px; }
.hero-bg { position: absolute; left: 0; top: 0; z-index: -2; width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; filter: blur(28px) brightness(.55) saturate(1.1); transform: translate3d(0, var(--py, 0px), 0) scale(1.15); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 42%, rgb(12 12 12 / .15), rgb(12 12 12 / .55) 80%), linear-gradient(180deg, rgb(12 12 12 / .35) 0%, transparent 35%, rgb(12 12 12 / .5) 70%, var(--bg) 100%); }
.hero-in { display: grid; grid-template-rows: 1fr auto; gap: 48px; }
.hero-h1 { align-self: center; justify-self: center; }
.hero-logo { width: min(980px, 88vw); height: auto; filter: drop-shadow(0 10px 40px rgb(0 0 0 / .55)); }
.hero.play .hero-logo { animation: logoIn 1.6s var(--ease) .2s both; }
@keyframes logoIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }

/* tarjetas verticales como las de la referencia (foto + rótulo abajo) */
.who { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.who-card { position: relative; width: clamp(130px, 15vw, 170px); aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 20px 40px -20px rgb(0 0 0 / .8); transition: transform .5s var(--ease), box-shadow .4s; }
.who-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.who-card span { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; font-size: .8rem; font-weight: 500; line-height: 1.3; background: linear-gradient(180deg, transparent, rgb(12 12 12 / .85)); }
.who-card:nth-child(even) { translate: 0 18px; }
@media (hover: hover) and (pointer: fine) { .who-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--accent), 0 24px 40px -20px rgb(0 0 0 / .9); } .who-card:hover img { transform: scale(1.06); } }
@media (max-width: 640px) { .who { display: grid; grid-template-columns: repeat(2, 1fr); } .who-card { width: 100%; } }
.hero.play .hv { animation: hvIn .9s var(--ease) var(--d, 0s) both; }
@keyframes hvIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Cómo trabajamos: texto a la izquierda, recorrido con fotos a la derecha ---------- */
.how { padding-block: clamp(80px, 10vw, 130px) clamp(40px, 6vw, 80px); }
.how-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 48px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.how-text { display: grid; align-content: space-between; gap: 32px; max-width: 40ch; }
.how-text p { color: var(--muted); font-weight: 400; font-size: 1.05rem; }
@media (min-width: 900px) { .how-text { padding-block: 8px 40px; } }

.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--hair-2); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.step::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); transition: background-color .4s, box-shadow .4s; }
.step.in::before { background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 0 9px rgb(245 130 32 / .25); }
.step-txt h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.step-txt p { margin-top: 4px; font-size: .88rem; color: var(--muted); }
.step > .step-txt:first-child { text-align: right; }
.step-ph img { width: 100%; max-width: 180px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px var(--hair), 0 18px 30px -16px rgb(0 0 0 / .9); }
.step-ph--l img { margin-left: auto; }
.step-ph--pair { display: flex; }
.step-ph--pair img { max-width: 140px; }
.step-ph--pair img + img { margin: 34px 0 0 -40px; }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .step { grid-template-columns: 1fr; gap: 14px; padding-left: 32px; }
  .step::before { left: 6px; top: 10px; margin-top: 0; }
  .step > .step-txt:first-child { text-align: left; }
  .step > figure { order: 2; }
  .step-ph--l img { margin-left: 0; }
}

/* ---------- Qué ofrecemos: tarjetas con contorno fino ---------- */
.offer { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 120px); }
.offer-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.offer-card { padding: 24px 22px; border-radius: 14px; border: 1px solid var(--hair-2); background: rgb(255 255 255 / .02); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.offer-card svg { width: 30px; height: 30px; fill: var(--accent); }
.offer-card h3 { margin-top: 14px; font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.offer-card p { margin-top: 6px; font-size: .88rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .offer-card:hover { border-color: var(--accent); background: rgb(245 130 32 / .05); transform: translateY(-4px); } }

/* ---------- Productos: foto enmarcada y desplazada + texto (referencia "Mountain") ---------- */
.products { position: relative; padding-block: clamp(80px, 10vw, 130px); background: radial-gradient(50% 60% at 20% 40%, rgb(245 130 32 / .07), transparent 70%); }
.feat { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .feat { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.feat-media { position: relative; max-width: 420px; padding: 0 0 0 26px; }
@media (min-width: 860px) { .feat-media { justify-self: end; width: 100%; } }
.feat-frame { position: absolute; left: 0; top: -26px; width: calc(100% - 26px); height: calc(100% - 70px); border: 1px solid var(--hair-2); pointer-events: none; }
.feat-stack { position: relative; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 40px 70px -40px rgb(0 0 0 / .95); }
.feat-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.feat-stack img.is-on { opacity: 1; transform: none; }
.feat-ctrl { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, background-color .25s, transform .2s var(--ease); }
.round:hover { border-color: var(--ink); background: rgb(255 255 255 / .06); }
.round:active { transform: scale(.94); }
.dots { display: flex; gap: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--hair-2); transition: background-color .3s, transform .3s; }
.dots i.on { background: var(--ink); transform: scale(1.3); }
.feat-copy { display: grid; justify-items: start; }
.feat-item { display: grid; justify-items: start; gap: 14px; }
.feat-item[hidden] { display: none; }
.feat-item:not([hidden]) > * { animation: copyIn .7s var(--ease) both; }
.feat-item:not([hidden]) > *:nth-child(2) { animation-delay: .06s; }
.feat-item:not([hidden]) > *:nth-child(3) { animation-delay: .12s; }
.feat-item:not([hidden]) > *:nth-child(4) { animation-delay: .18s; }
@keyframes copyIn { from { opacity: 0; transform: translateY(14px); } }
.tag { padding: 5px 12px; border: 1px solid var(--hair-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feat-item h3 { font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; }
.feat-sub { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.feat-sub::after { content: ""; width: 72px; height: 1px; background: var(--hair-2); }
.feat-item p:last-child { color: var(--muted); max-width: 42ch; font-weight: 400; }
.feat-copy .btn { margin-top: 30px; }

/* Marcas */
.brands { margin-top: clamp(80px, 10vw, 120px); padding-top: 40px; border-top: 1px solid var(--hair); }
.brands-title { text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.brands ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; align-items: center; justify-items: center; }
@media (min-width: 768px) { .brands ul { grid-template-columns: repeat(4, 1fr); } }
.brands img { height: clamp(32px, 4vw, 48px); width: auto; opacity: .65; transition: opacity .25s; }
.brands li:last-child img { height: clamp(44px, 5.5vw, 64px); }
.brands img:hover { opacity: 1; }

/* ---------- Alcance: globo 3D ---------- */
.globe-card { position: relative; overflow: hidden; isolation: isolate; height: 620px; background: radial-gradient(45% 70% at 85% 100%, rgb(77 166 255 / .1), transparent 70%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); }
@media (min-width: 768px) { .globe-card { height: 600px; } }
.globe-copy { position: relative; z-index: 2; padding: 72px 0; pointer-events: none; max-width: 520px; }
.globe-copy > * { pointer-events: auto; }
.big-line { margin-top: 28px; font-family: var(--display); font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.globe-copy .lead { margin-top: 16px; }
.globe-wrap { position: absolute; z-index: 1; right: -190px; bottom: -330px; width: 640px; height: 640px; }
@media (min-width: 768px) { .globe-wrap { right: max(-170px, calc((100vw - 1240px) / 2 - 170px)); bottom: -280px; width: 720px; height: 720px; } }
.globe { position: relative; width: 100%; height: 100%; }
.globe canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.globe.is-dragging canvas { cursor: grabbing; }
.globe-pins { position: absolute; inset: 0; pointer-events: none; }
.g-pin { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; pointer-events: auto; transition: opacity .15s ease-out; }
.g-pin img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #171717; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .55), 0 6px 14px rgb(0 0 0 / .5); transition: transform .2s var(--ease); }
.g-pin.home { width: 34px; height: 34px; }
.g-pin.home img { object-fit: contain; padding: 4px; box-shadow: 0 0 0 2px var(--accent), 0 6px 14px rgb(0 0 0 / .5); }
.g-pin b { position: absolute; left: 50%; bottom: calc(100% + 6px); padding: 4px 8px; border-radius: 6px; white-space: nowrap; font: 600 .72rem/1 var(--font); color: var(--ink); background: rgb(12 12 12 / .85); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); opacity: 0; transform: translate(-50%, 4px); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; }
.g-pin:hover img { transform: scale(1.25); }
.g-pin:hover b, .g-pin.home b { opacity: 1; transform: translate(-50%, 0); }
.g-pin.hidden, .g-pin.wait { opacity: 0; pointer-events: none; }
.globe.no-webgl { display: none; }
.globe-hint { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--dim); transition: opacity .4s ease-out; }
.globe-hint::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.globe-hint.off { opacity: 0; }

/* ---------- Nosotros: imagen de productos con el logo, difuminada; texto + foto enmarcada (referencia "Back to Nature") ---------- */
.about { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 13vw, 170px); }
.about-bg { position: absolute; left: 0; top: -10%; z-index: -2; width: 100%; height: 120%; object-fit: cover; object-position: 50% 40%; filter: blur(14px) saturate(1.1) brightness(.8); transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.about::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgb(12 12 12 / .6) 22%, rgb(12 12 12 / .55) 78%, var(--bg) 100%), rgb(12 12 12 / .25); }
.about-in { display: grid; gap: 56px; align-items: center; }
@media (min-width: 860px) { .about-in { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.about-copy { display: grid; gap: 16px; justify-items: end; text-align: right; }
@media (max-width: 859px) { .about-copy { justify-items: start; text-align: left; } }
.serif-title { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.01em; }
.about-sub { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.about-sub::before { content: ""; width: 90px; height: 1px; background: var(--hair-2); }
@media (max-width: 859px) { .about-sub::before { display: none; } }
.about-copy p:not(.about-sub) { max-width: 46ch; color: #d9d3ca; font-weight: 400; }
.about-ph { position: relative; max-width: 380px; padding: 26px 26px 0 0; }
.about-ph .feat-frame { left: auto; right: 0; top: 0; width: calc(100% - 26px); height: calc(100% - 40px); }
.about-ph img { position: relative; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 70px -40px rgb(0 0 0 / .95); }

/* ---------- Preguntas: líneas finas, sin cajas ---------- */
.faq { padding-block: clamp(80px, 10vw, 120px) clamp(60px, 8vw, 100px); }
.faq-in { display: grid; gap: 40px; }
.acc { border-top: 1px solid var(--hair); }
.acc-item { border-bottom: 1px solid var(--hair); }
.acc-item h3 { font: inherit; }
.acc-q { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; font: 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.35 var(--font); color: var(--ink); transition: color .25s; }
.acc-q:hover { color: var(--accent-soft); }
.acc-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.acc-q .ic { width: 22px; height: 22px; color: var(--accent); transition: transform .45s var(--ease); }
.acc-item.open .acc-q .ic { transform: rotate(45deg); }
.acc-a { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.acc-a p { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; font-weight: 400; }

/* ---------- Cierre: campo al atardecer, panel de vidrio y pie ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(140px, 18vw, 220px); }
.closing-bg { position: absolute; left: 0; top: 0; z-index: -2; width: 100%; height: 115%; object-fit: cover; object-position: 50% 55%; filter: blur(6px); transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgb(12 12 12 / .35) 30%, rgb(12 12 12 / .35) 75%, rgb(12 12 12 / .6) 100%); }
.glass { max-width: 470px; padding: clamp(28px, 4vw, 40px); border-radius: 22px; background: rgb(12 12 12 / .5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 30px 70px -30px rgb(0 0 0 / .7); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.glass h2 { font-family: var(--display); font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.15; }
.glass > p { margin: 14px 0 24px; color: rgb(243 239 233 / .85); font-weight: 400; }
.glass-contact { font-style: normal; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .25); display: grid; gap: 4px; }
.glass-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: .9rem; text-decoration: none; }
.glass-contact a:hover { color: var(--accent-soft); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgb(20 20 20 / .9); } }

/* ---------- Footer: franja naranja a todo el ancho ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-top: clamp(52px, 6vw, 76px); background: radial-gradient(70% 120% at 0% 0%, #ff9640 0%, transparent 55%), linear-gradient(135deg, #ec7416 0%, #c94f0a 55%, #9c3c07 100%); }
.footer-mark { position: absolute; z-index: -1; right: -6%; bottom: -10%; width: 70%; height: auto; opacity: .08; pointer-events: none; }
.footer-in { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-in { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; } }
.f-brand img { width: 170px; height: auto; }
.f-brand p { margin-top: 16px; max-width: 32ch; font-size: .92rem; color: rgb(255 255 255 / .9); }
.f-h { font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .75); margin-bottom: 14px; line-height: 1.4; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.f-col a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; text-decoration: none; text-underline-offset: 3px; }
.f-col a:hover { text-decoration: underline; }
.f-col address { font-style: normal; display: grid; gap: 2px; justify-items: start; }
.f-col address p { font-size: .92rem; margin-bottom: 4px; }
.footer mark.todo { background: rgb(0 0 0 / .2); color: #fff; border-color: rgb(255 255 255 / .6); }
.f-bottom { margin-top: 40px; padding-block: 20px 96px; border-top: 1px solid rgb(255 255 255 / .3); font-size: .84rem; color: rgb(255 255 255 / .85); }
@media (min-width: 768px) { .f-bottom { padding-bottom: 28px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #0b2a17; box-shadow: 0 12px 30px rgb(0 0 0 / .45); transition: transform .3s var(--ease); animation: waIn .6s var(--ease) 1.8s both; }
.wa-float svg { width: 29px; height: 29px; fill: currentColor; }
.wa-float:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.07); } }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s ease-out 3.5s infinite; }
@keyframes waIn { from { opacity: 0; transform: scale(.6); } }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Aparición al scrollear ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in, .reveal-all .reveal { opacity: 1; transform: none; }
.js .rule-title.reveal { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; }
  .hero-bg, .about-bg, .closing-bg { transform: none; }
}
