/* =========================================================
   Inversiones STD Supply — rediseño a pantalla completa
   Paleta: #063B2E · #0B7A4B · #42C81A · #6B2E16 · #8F161E · #FF3B00 · #FF8500 · #F3EBDD
   Degradados: verdes sólo entre verdes; cálidos sólo entre cálidos y únicamente en acentos.
   ========================================================= */
:root {
  --pine: #063B2E;
  --forest: #0B7A4B;
  --vivid: #42C81A;
  --wood: #6B2E16;
  --bark: #8F161E;
  --resin: #FF3B00;
  --amber: #FF8500;
  --ivory: #F3EBDD;
  --greens: linear-gradient(145deg, var(--pine), var(--forest));
  --warm: linear-gradient(120deg, var(--resin), var(--amber));
  --title: 'Encode Sans Semi Expanded', 'Outfit', system-ui, sans-serif;

  --fs: clamp(14px, 1.02vw, 17px);
  --pad: clamp(18px, 3vw, 48px);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --t: 1.5s;
  --line: rgba(255, 255, 255, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: var(--fs);
  line-height: 1.55;
  color: #fff;
  background: var(--pine);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3, .ring-content .name, .center-title, .s-faq .number, .menu-grid a { font-family: var(--title); }
h2 {
  font-weight: 300;
  font-size: clamp(28px, 3.05vw, 56px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.eyebrow { font-size: clamp(15px, 1.3vw, 22px); margin-bottom: .3em; }

/* Enlace con flecha (como «Visit Website →» de la referencia) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 400; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  white-space: nowrap;
}
.link-arrow::after {
  content: ""; flex: none; width: 44px; height: 9px; background: currentColor; transition: width .4s var(--ease);
  --head: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 9'%3E%3Cpath d='M1 .5l5 4-5 4' fill='none' stroke='black'/%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(#000, #000) left center / calc(100% - 1px) 1px no-repeat, var(--head) right center / 7px 9px no-repeat;
          mask: linear-gradient(#000, #000) left center / calc(100% - 1px) 1px no-repeat, var(--head) right center / 7px 9px no-repeat;
}
.link-arrow:hover::after { width: 64px; }

/* ---------- Animaciones de entrada ---------- */
[data-a] {
  opacity: 0; translate: 0 34px;
  transition: opacity 1s var(--ease), translate 1.1s var(--ease), scale 1.2s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--base, .55s));
}
[data-a="pop"] { translate: none; scale: .8; }
[data-a="img"] { translate: 6vw 0; }
[data-a="num"] { translate: 0 10vh; }
[data-a="ring"] { translate: 8vw 0; }
[data-a].show { opacity: 1; translate: none; scale: 1; }
.slide [data-a] { --base: .3s; }
[data-a]:not(.show) { transition-delay: 0s; transition-duration: .4s; }

@keyframes spin { to { rotate: 360deg; } }
@keyframes pulse { 0% { scale: .96; opacity: 0; } 30% { opacity: .5; } 100% { scale: 1.12; opacity: 0; } }

/* ---------- Preloader ---------- */
/* Preloader: el logo grande se va «llenando» con la carga y late con luz; al terminar viaja a su sitio en la cabecera.
   Mientras carga, el colibrí vuela por delante. */
#preloader { position: fixed; inset: 0; z-index: 100; overflow: hidden; }
.pre-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, #0a4a36 0%, var(--pine) 36%, #020d0a 100%); transition: opacity 1.2s ease; }
.pre-logo {
  position: absolute; left: 50%; top: 46%; width: min(62vw, 560px); translate: -50% -50%;
  transform-origin: 0 0; transition: transform 1.2s cubic-bezier(.6, 0, .2, 1);
}
.pre-logo img { display: block; width: 100%; height: auto; }
.pre-logo .base { opacity: 0; transition: opacity .7s ease; }
/* El contorno del logo se va trazando con la carga (cada trazo avanza a la vez) y late con luz */
.pre-logo .draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: outline-breathe 2.4s ease-in-out infinite; transition: opacity .7s ease; }
.pre-logo .draw path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
@keyframes outline-breathe {
  0%, 100% { filter: drop-shadow(0 0 1px #eafff4) drop-shadow(0 0 4px rgba(127, 227, 180, .6)); }
  50% { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 9px #9af0c6) drop-shadow(0 0 22px rgba(43, 179, 122, 1)) drop-shadow(0 0 46px rgba(24, 150, 100, .9)); }
}
/* Barra del ancho del logo, centrada y abajo del todo (a la altura del contador de la web), con el porcentaje pequeño debajo */
.pre-bar { position: absolute; left: 50%; bottom: calc(clamp(18px, 4vh, 40px) + 26px); width: min(62vw, 560px); height: 2px; translate: -50% 0; border-radius: 2px; background: rgba(255, 255, 255, .92); overflow: hidden; transition: opacity .5s ease; }
.pre-bar i { display: block; height: 100%; width: 100%; background: var(--warm); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pre-count { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); translate: -50% 0; font-size: 12px; line-height: 1; font-weight: 400; letter-spacing: .34em; padding-left: .34em; font-variant-numeric: tabular-nums; opacity: .85; transition: opacity .5s ease; }
.pre-count small { font-size: 1em; margin-left: .1em; }
/* Fase de salida: el fondo se desvanece y el logo viaja a la cabecera */
#preloader.moving { pointer-events: none; }
#preloader.moving .pre-bg, #preloader.moving .pre-count, #preloader.moving .pre-bar { opacity: 0; }
#preloader.moving .pre-logo .base { opacity: 1; }
#preloader.moving .pre-logo .draw { opacity: 0; animation: none; }
#preloader.done { visibility: hidden; }
body.loading #bird { z-index: 101; }
body.loading #top { opacity: 0; }
body.loading #cookies { opacity: 0; pointer-events: none; }
.top-actions { transition: opacity .8s ease; }

/* ---------- Colibrí ---------- */
#bird {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 20;
  pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
#bird.ready { opacity: 1; }
body.film-open #bird, body.modal-open #bird { opacity: 0; }

/* ---------- Cabecera ---------- */
#top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.4vw, 38px) var(--pad);
  pointer-events: none; transition: opacity .6s ease, color .6s ease;
}
#top > * { pointer-events: auto; }
.brand img { height: clamp(38px, 4.4vw, 64px); width: auto; }
.brand .logo-dark { display: none; }
body.invert:not(.menu-open) .brand .logo-light { display: none; }
body.invert:not(.menu-open) .brand .logo-dark { display: block; }
body.invert.logo-white:not(.menu-open) .brand .logo-light { display: block; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .45)); }
body.invert.logo-white:not(.menu-open) .brand .logo-dark { display: none; }
body.invert:not(.menu-open) #top, body.invert #dots, body.invert #counter, body.invert #scrollhint { color: var(--pine); }

.burger { width: 46px; height: 46px; position: relative; }
.burger span {
  position: absolute; right: 4px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), width .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 18px; width: 38px; }
.burger span:nth-child(2) { top: 27px; width: 24px; }
.burger:hover span:nth-child(2) { width: 38px; }
body.menu-open .burger span { top: 22px; width: 34px; }
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Menú ---------- */
#menu {
  position: fixed; inset: 0; z-index: 35;
  background: linear-gradient(100deg, var(--bark), var(--amber));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 16vh;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
  overflow-y: auto;
}
body.menu-open #menu { opacity: 1; visibility: visible; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.menu-grid li { position: relative; text-align: center; padding: clamp(18px, 6.5vh, 70px) 10px; }
.menu-grid li::before {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: rgba(255, 255, 255, .55); transform-origin: left; transform: scaleX(0);
  transition: transform 1.2s var(--ease) .15s;
}
.menu-grid a {
  display: inline-block; text-decoration: none; font-size: clamp(18px, 1.7vw, 30px);
  opacity: 0; translate: 0 20px; transition: opacity .8s ease, translate .8s var(--ease), letter-spacing .4s ease;
}
.menu-grid a:hover { letter-spacing: .06em; }
body.menu-open #menu .menu-grid li::before, .s-footer.active .menu-grid li::before { transform: none; }
body.menu-open #menu .menu-grid a, .s-footer.active .menu-grid a { opacity: 1; translate: none; transition-delay: .35s; }
.menu-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 3vh var(--pad) 4vh; text-align: center; font-size: 12px; }

.menu-foot .sub-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.menu-foot .sub-links a { text-underline-offset: 4px; }
.menu-foot .sub-links button { text-decoration: underline; text-underline-offset: 4px; }
.social { display: inline-flex; transition: scale .3s ease; }
.social:hover { scale: 1.15; }

/* ---------- Navegación lateral ---------- */
#dots {
  position: fixed; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 30;
  transition: opacity .8s ease, color .6s ease;
}
#dots ul { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 8px 0; }
#dots ul::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: currentColor; opacity: .35; }
#dots li { position: relative; width: 24px; height: 24px; display: grid; place-items: center; }
#dots a { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .5s ease, background-color .5s ease; }
#dots a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: scale .4s ease; }
#dots li:hover a::before { scale: 1.35; }
#dots li.active a { border-color: currentColor; background: rgba(255, 255, 255, .14); }
/* El punto de la sección actual emite ondas */
#dots li.active::before, #dots li.active::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid currentColor;
  animation: ripple 2.6s cubic-bezier(.2, .6, .3, 1) infinite; pointer-events: none;
}
#dots li.active::after { animation-delay: 1.3s; }
@keyframes ripple { 0% { scale: 1; opacity: .75; } 100% { scale: 2.9; opacity: 0; } }
#dots .tip {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: 16px; font-weight: 400; opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
#dots li.active .tip, #dots li:hover .tip { opacity: 1; }
#counter {
  position: fixed; left: 50%; bottom: clamp(18px, 4vh, 40px); transform: translateX(-50%); z-index: 30;
  font-size: 15px; font-weight: 400; letter-spacing: .28em; transition: opacity .6s ease, color .6s ease;
}
#scrollhint {
  position: fixed; right: calc(var(--pad) + 3px); bottom: 0; z-index: 30;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 16px; font-weight: 400; letter-spacing: .04em; text-decoration: none;
  display: flex; align-items: center; gap: 14px; transition: opacity .6s ease, color .6s ease;
}
#scrollhint::before { content: ""; width: 1px; height: 56px; background: currentColor; }
body.film-open #top, body.film-open #dots, body.film-open #counter, body.film-open #scrollhint,
body.hide-chrome #dots, body.hide-chrome #counter, body.on-slides #dots { opacity: 0; pointer-events: none; }
body.menu-open #dots, body.menu-open #counter, body.menu-open #scrollhint { opacity: 0; pointer-events: none; }

/* =========================================================
   Secciones — base (flujo normal / móvil)
   ========================================================= */
.section { position: relative; overflow: hidden; min-height: 100svh; padding: 118px 22px 80px; }
.section[data-theme="light"] { color: var(--pine); --line: rgba(6, 59, 46, .5); }
.bg { position: absolute; inset: 0; z-index: 0; }
.copy { position: relative; z-index: 2; }
.cols { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.col { padding-left: 18px; border-left: 1px solid var(--line); }
.col p + p, .col p + a, .right-block p + p { margin-top: 1.1em; }
.col .link-arrow { margin-top: 2em; }

/* 01 Inicio — escena por capas: fondo · forma luminosa · árbol · texto */
.s-hero { display: grid; place-items: center; padding: 0; height: 100svh; --mx: 0; --my: 0; }
.s-hero .bg { background: #020d0a; }
.hero-layer { position: absolute; inset: -4%; will-change: transform; }
.hero-layer > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.l-back { transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -7px), 0); }
.l-tree { transform: translate3d(calc(var(--mx) * 26px), calc(var(--my) * 16px), 0); }
.l-forma {
  inset: auto; left: 50%; top: 45%; width: min(66vh, 86vw); aspect-ratio: 1101 / 1090; margin: calc(min(66vh, 86vw) * -.495) 0 0 calc(min(66vh, 86vw) * -.5);
  transform: perspective(900px) translate3d(calc(var(--mx) * 12px), calc(var(--my) * 8px), 0) rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -6deg));
}
.l-forma .float { position: relative; animation: floaty 9s ease-in-out infinite; }
.l-forma img { width: 100%; height: auto; }
/* Luz base tenue + una capa de resplandor que respira (sube y baja de intensidad) */
.l-forma .line { filter: drop-shadow(0 0 1px #eafff4) drop-shadow(0 0 4px rgba(127, 227, 180, .8)) drop-shadow(0 0 12px rgba(43, 179, 122, .55)); opacity: .85; }
.l-forma .pulse {
  position: absolute; inset: 0;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px #9af0c6) drop-shadow(0 0 20px rgba(43, 179, 122, 1)) drop-shadow(0 0 44px rgba(24, 150, 100, .9)) drop-shadow(0 0 90px rgba(11, 122, 75, .7));
  animation: breathe 6.5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .04; } 50% { opacity: 1; } }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, -1.3vh, 0) rotate(-1.2deg); }
  50% { transform: translate3d(.5vh, 1.3vh, 0) rotate(1.4deg); }
}
@keyframes glow { 50% { opacity: .82; } }
.s-hero .bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 13, 10, .45), transparent 22%, transparent 78%, rgba(2, 13, 10, .5));
}
.hero-copy {
  position: absolute; left: 50%; top: 45%; width: min(96vw, 110vh); text-align: center; z-index: 2;
  transform: translate(-50%, -50%) translate3d(calc(var(--mx) * 40px), calc(var(--my) * 24px), 0);
}
.s-hero h1 { font-weight: 300; line-height: 1; font-size: min(10vh, 13vw); letter-spacing: -.005em; }
.s-hero h1 strong { display: block; font-weight: 300; line-height: .93; text-shadow: 0 .04em .25em rgba(0, 0, 0, .5), 0 0 .6em rgba(0, 0, 0, .3); }
.s-hero h1 .sub { display: block; font-family: 'Outfit', system-ui, sans-serif; font-size: .235em; font-weight: 400; letter-spacing: .1em; margin-top: 1.3em; text-shadow: 0 2px 6px rgba(0, 0, 0, .8), 0 0 18px rgba(0, 0, 0, .6); }

/* 02 Nosotros — atardecer con aros luminosos sobre el pino */
.s-about .bg { background: #0a0f0c; container-type: size; }
/* La escena reproduce un «cover» para que los aros queden siempre anclados al pino (31,9 % · 38 %) */
.about-scene {
  --w: max(100cqw, 100cqh * 2.0502); --h: max(100cqh, 100cqw / 2.0502);
  position: absolute; width: var(--w); height: var(--h);
  left: clamp(100cqw - var(--w), 50cqw - var(--w) * .319, 0px); top: calc((100cqh - var(--h)) * .5);
}
.about-scene img { width: 100%; height: 100%; object-fit: cover; }
.s-about .bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 10, 8, .5), transparent 24%), linear-gradient(0deg, rgba(4, 10, 8, .55), transparent 40%);
}
.halo {
  position: absolute; left: 32%; top: 36.5%; width: 21%; aspect-ratio: 5; translate: -50% -50%; border-radius: 50%;
  rotate: -1.5deg; z-index: 1; --gap: 15%;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px rgba(255, 133, 0, .95)) drop-shadow(0 0 34px rgba(255, 59, 0, .6));
  opacity: 0; scale: .6; transition: opacity 1.8s ease .5s, scale 2.2s var(--ease) .5s;
  animation: halo-float 8s ease-in-out infinite;
}
/* El aro se interrumpe abajo en el centro: parece pasar por detrás del árbol y rodearlo */
.halo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: max(2px, .16cqw) solid #fff;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .8), inset 0 0 24px rgba(255, 133, 0, .7);
  -webkit-mask: radial-gradient(ellipse var(--gap) 62% at 50% 100%, transparent 55%, #000 100%);
          mask: radial-gradient(ellipse var(--gap) 62% at 50% 100%, transparent 55%, #000 100%);
}
.halo-2 { --gap: 20%; left: 31.5%; top: 40.5%; width: 15.5%; rotate: 1deg; transition-delay: .8s; animation-duration: 10s; animation-direction: reverse; }
/* Destello que recorre el aro */
.halo::after {
  content: ""; position: absolute; left: 76%; top: 2%; width: 22%; height: 26%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 200, 120, .5) 45%, transparent); filter: blur(3px); rotate: 18deg;
  animation: glow 4s ease-in-out infinite;
}
.halo-2::after { left: 4%; top: 58%; rotate: 14deg; animation-delay: 2s; }
.s-about.active .halo { opacity: 1; scale: 1; }
@keyframes halo-float { 0%, 100% { translate: -50% -56%; } 50% { translate: -50% -44%; } }
.s-about { padding-top: 60svh; }
.s-about .copy { text-shadow: 0 1px 14px rgba(4, 10, 8, .7); }

/* 03 Catálogo */
.s-catalog .bg { background: var(--ivory); }
.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 34vh; z-index: 1; opacity: .7; pointer-events: none; }
.slides { position: relative; z-index: 2; overflow: hidden; margin: 0 -22px; }
.slides-track { display: flex; transition: transform 1s var(--ease); }
.slide { flex: 0 0 100%; position: relative; padding: 0 22px; min-width: 0; }
.s-catalog .lead { margin-top: 1.2em; max-width: 34em; }
.ring { margin-top: 34px; }
.ring-content { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; row-gap: 4px; text-align: left; width: 100%; padding: 4px 0 4px 18px; border-left: 1px solid var(--line); }
.ring-content .thumb { grid-row: span 3; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; }
.ring-content .thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.ring-content:hover .thumb img { scale: 1.15; }
.ring-content .name { font-size: clamp(19px, 1.4vw, 26px); font-weight: 400; line-height: 1.12; }
.ring-content .tag { font-size: .92em; }
.ring-content .link-arrow { color: var(--forest); margin-top: 8px; justify-self: start; }

.arr { position: absolute; z-index: 5; top: 50%; width: 46px; height: 92px; margin-top: -46px; border: 1px solid currentColor; display: grid; place-items: center; transition: background-color .4s ease; }
.arr.prev { left: 0; border-left: 0; border-radius: 0 92px 92px 0; }
.arr.next { right: 0; border-right: 0; border-radius: 92px 0 0 92px; }
.arr:hover { background: rgba(255, 255, 255, .16); }
.arr svg { width: 34%; height: auto; }
/* FAQ: la flecha derecha queda sobre la foto, así que lleva fondo marrón con trazo blanco */
.s-faq .arr.next { background: var(--wood); color: #fff; border-color: #fff; }
.s-faq .arr.next:hover { background: #7d3a1e; }
.slide-dots { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 16px; }
.slide-dots button { width: 14px; height: 14px; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: scale .4s ease; }
.slide-dots button.active::before { scale: 2.2; }

/* 04 Paletas */
.s-circle .bg { background: var(--forest); }
.s-circle .small { margin-top: .8em; font-size: .92em; max-width: 22em; }
.diagram { position: relative; z-index: 2; width: min(92vw, 62vh); aspect-ratio: 1; margin: 40px auto; }
.layer { position: absolute; inset: 0; transition: transform .5s ease-out; }
.diagram-forma { position: absolute; inset: -11%; width: 122%; max-width: none; height: 122%; opacity: .17; animation: spin 160s linear infinite; }
.circle { position: absolute; border-radius: 50%; }
.circle.outer { inset: 0; background: var(--pine); }
.circle.inner { inset: 22%; background: var(--forest); display: grid; place-items: center; }
.center-title { width: 52%; text-align: center; font-size: clamp(13px, 2.3vh, 24px); line-height: 1.2; }
/* Elementos en órbita: los modelos giran alrededor del centro (los textos se mantienen derechos) y el aro exterior gira en sentido contrario */
.minis { animation: spin 90s linear infinite; }
.mini { animation: spin 90s linear infinite reverse; }
.orbit-inner, .orbit-outer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-inner circle { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: .28; stroke-dasharray: 1 1.1; }
.orbit-inner .heads, .orbit-outer .heads { fill: #fff; }
.orbit-outer { animation: spin 150s linear infinite reverse; }
.orbit-outer path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: .3; }
.orbit-outer text { fill: #fff; font-size: 2.35px; font-weight: 400; letter-spacing: .06px; }
.diagram:hover .minis, .diagram:hover .mini, .diagram:hover .orbit-outer { animation-play-state: paused; }
.mini {
  position: absolute; width: 21.5%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: -10.75% 0 0 -10.75%;
  background: var(--ivory); color: var(--pine); cursor: pointer; box-shadow: 0 6px 20px rgba(6, 59, 46, .28);
}
.mini.show { transition-delay: 0s; transition-duration: .45s; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini figcaption {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12%;
  background: var(--ivory); font-size: clamp(9.5px, 1.5vh, 14px); line-height: 1.25; font-weight: 400; transition: opacity .45s ease;
}
.mini:hover, .mini.on { scale: 1.9; z-index: 4; }
.mini:hover figcaption, .mini.on figcaption { opacity: 0; }
.m1 { left: 50%; top: 22%; }
.m2 { left: 76.6%; top: 41.3%; }
.m3 { left: 66.5%; top: 72.7%; }
.m4 { left: 33.5%; top: 72.7%; }
.m5 { left: 23.4%; top: 41.3%; }
.right-block { padding-left: 18px; border-left: 1px solid var(--line); font-size: .92em; }
.right-block .link-arrow { margin-top: 1.4em; }

/* 05 FAQ */
.s-faq .bg { background: var(--wood); }
.s-faq .bg img { position: absolute; left: -22vh; top: -18vh; width: 120vh; max-width: none; opacity: .06; }
.s-faq .image-circle { width: 44vw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 26px; }
.s-faq .image-circle img { width: 100%; height: 100%; object-fit: cover; }
.s-faq .number { position: absolute; right: 22px; top: -6vw; font-size: 46vw; line-height: 1; font-weight: 500; }
.qa { margin-top: 24px; padding-left: 18px; border-left: 1px solid var(--line); }
.qa details { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.qa summary { list-style: none; cursor: pointer; padding: .85em 2em .85em 0; position: relative; font-weight: 400; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: .2em; top: .62em; font-size: 1.3em; font-weight: 300; transition: rotate .4s ease; }
.qa details[open] summary::after { rotate: 45deg; }
.qa details p { padding-bottom: 1.1em; font-size: .94em; opacity: .92; }

/* 06 Video */
.s-film { padding: 0; height: 100svh; }
.s-film .bg { background: var(--pine); }
.film-rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); translate: -50% -50%; aspect-ratio: 1; }
.film-rings i:nth-child(1) { width: min(86vh, 96vw); border-color: rgba(255, 255, 255, .5); }
.film-rings i:nth-child(2) { width: 150vh; }
.film-rings i:nth-child(3) { width: 215vh; }
.keyhole { position: absolute; inset: 0; z-index: 2; clip-path: circle(min(31vh, 40vw) at 50% 50%); transition: clip-path 1.3s var(--ease), opacity 1s var(--ease), scale 1.2s var(--ease); background: #032419; }
.keyhole video { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: calc(2 * min(31vh, 40vw) + 4px); height: calc(2 * min(31vh, 40vw) + 4px); max-width: none; object-fit: cover; }
/* Órbitas alrededor del vídeo: puntos, trazos y flechas girando a distinto ritmo */
.film-orbit { position: absolute; left: 50%; top: 50%; width: calc(min(31vh, 40vw) * 3.24); aspect-ratio: 1; translate: -50% -50%; z-index: 1; pointer-events: none; transition: opacity .8s ease; }
.film-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.film-orbit circle, .film-orbit path { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: .28; }
.film-orbit .dots { stroke-width: .55; stroke-linecap: round; stroke-dasharray: 0 1.75; }
.film-orbit .dots.wide { stroke-width: .3; stroke-dasharray: 0 2.4; stroke: rgba(255, 255, 255, .6); }
.film-orbit .tips polyline { fill: none; stroke: #fff; stroke-width: .28; stroke-linecap: round; stroke-linejoin: round; }
.film-orbit .dash { stroke-dasharray: 3.2 2.2; stroke: rgba(255, 255, 255, .65); }
.film-orbit .heads { fill: #fff; }
.film-orbit .o1 { animation: spin 70s linear infinite; }
.film-orbit .o2 { animation: spin 55s linear infinite reverse; }
.film-orbit .o3 { animation: spin 38s linear infinite; }
.film-orbit .o4 { animation: spin 110s linear infinite reverse; }
.s-film.unmasked .film-orbit { opacity: 0; }
.s-film .film-rings i:nth-child(1) { display: none; }
/* Botón de play grande y «vivo» para invitar a pulsarlo */
.film-play {
  position: absolute; inset: 0; margin: auto; z-index: 3; width: clamp(96px, 15vh, 140px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid #fff; background: rgba(3, 30, 22, .5); backdrop-filter: blur(5px);
  transition: background-color .3s ease, opacity .6s ease;
}
.film-play svg { width: 38%; height: auto; margin-left: 6%; animation: play-beat 1.6s ease-in-out infinite; }
.film-play::before, .film-play::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid #fff; animation: ripple-play 2.4s ease-out infinite; pointer-events: none; }
.film-play::after { animation-delay: 1.2s; }
.film-play:hover { background: var(--warm); }
@keyframes ripple-play { 0% { scale: 1; opacity: .85; } 100% { scale: 1.9; opacity: 0; } }
@keyframes play-beat { 0%, 100% { scale: 1; } 50% { scale: 1.22; } }
.film-close { position: absolute; z-index: 6; top: clamp(14px, 2.4vw, 38px); right: var(--pad); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); background: rgba(3, 30, 22, .55); backdrop-filter: blur(4px); transition: rotate .4s var(--ease), background-color .3s ease; }
.film-close[hidden] { display: none; }
.film-close:hover { rotate: 90deg; background: rgba(3, 30, 22, .85); }
.film-close span { position: absolute; left: 12px; top: 25px; width: 26px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.film-close span + span { transform: rotate(-45deg); }
.s-film.unmasked .keyhole { clip-path: circle(150vmax at 50% 50%); }
.s-film.unmasked .keyhole video { width: 100%; height: 100%; object-fit: contain; }
.s-film.unmasked .film-play { opacity: 0 !important; pointer-events: none; }

/* 07 Ubicación */
.s-place .bg { background: var(--ivory); }
.image-container { position: relative; z-index: 1; width: 62vw; aspect-ratio: 1; margin-bottom: 30px; }
.image-content { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.image-content img { width: 100%; height: 100%; object-fit: cover; }
.border-ring { position: absolute; inset: -4.5%; border-radius: 50%; border: 1px solid var(--line); }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--forest); animation: pulse 4.5s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.5s; }
.rings i:nth-child(3) { animation-delay: 3s; }

/* 08 Términos */
.s-terms .bg { background: var(--bark); }
.s-terms .bg img { position: absolute; right: -30vh; top: -22vh; width: 150vh; max-width: none; opacity: .08; }
.orb {
  position: relative; z-index: 1; width: 62vw; aspect-ratio: 1; margin: 0 auto 30px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(200deg, var(--amber), var(--resin));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 90px rgba(255, 133, 0, .55);
}
.orb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.orb-rings { position: absolute; inset: 0; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 16px rgba(255, 190, 110, .95)) drop-shadow(0 0 38px rgba(255, 133, 0, .8)); }
/* Aros de luz alrededor del tronco: se abren hacia el espectador y la luz sube por el árbol */
.orb-rings i {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 2.3; translate: -50% -50%; border-radius: 50%;
  border: max(1.5px, .45vh) solid #fff;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .9), inset 0 0 26px rgba(255, 170, 80, .75);
  -webkit-mask: linear-gradient(180deg, #000 46%, transparent 78%); mask: linear-gradient(180deg, #000 46%, transparent 78%);
  animation: ring-wave 4.8s ease-in-out infinite; animation-delay: var(--t);
}
.orb-rings i:nth-child(1) { --x: 52%; --y: 104%; --w: 128%; --t: 0s; }
.orb-rings i:nth-child(2) { --x: 51%; --y: 76%; --w: 70%; --t: .5s; }
.orb-rings i:nth-child(3) { --x: 50%; --y: 55%; --w: 40%; --t: 1s; }
.orb-rings i:nth-child(4) { --x: 49.5%; --y: 39%; --w: 23%; --t: 1.5s; border-width: max(1px, .3vh); }
.orb-rings i:nth-child(5) { --x: 49%; --y: 27%; --w: 12%; --t: 2s; border-width: max(1px, .22vh); }
@keyframes ring-wave { 0%, 100% { opacity: .35; } 35% { opacity: 1; } 70% { opacity: .35; } }
.s-terms .right-block { display: flex; gap: 14px; margin-top: 26px; border-left: 0; padding-left: 0; }
.scroller > p { margin-bottom: 1.6em; }
.terms li + li { margin-top: 1.5em; }
.terms h3 { font-size: 1.05em; font-weight: 500; margin-bottom: .35em; }
.terms h3 span { font-weight: 300; letter-spacing: .2em; margin-right: .9em; opacity: .8; }
.scrollbar { display: none; }

/* 09 Cotizar */
.s-quote .bg { background: linear-gradient(100deg, var(--forest) 0%, var(--forest) 38%, var(--vivid) 78%); }
.s-quote .image-container { display: none; }
.form { display: grid; grid-template-columns: 1fr; gap: 18px 28px; margin-top: 28px; }
.form label { display: block; }
.form label span { display: block; font-size: .82em; font-weight: 400; letter-spacing: .04em; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; font: inherit; font-weight: 400; color: inherit; background: transparent; border: 0;
  border-bottom: 1px solid currentColor; padding: .45em 0 .5em; border-radius: 0; outline: none; resize: none;
  transition: box-shadow .3s ease;
}
.form input:focus, .form textarea:focus { box-shadow: 0 1.5px 0 currentColor; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; min-height: 2.6em; }
.form .status { font-size: .88em; font-weight: 400; }
.form .status.error { color: var(--amber); }
.form button[disabled] { opacity: .5; cursor: not-allowed; }

/* 10 Contacto */
.s-contact { display: grid; place-items: center; }
.s-contact .bg { background: var(--ivory); }
.spinner {
  position: absolute; left: 50%; top: 50%; width: min(92vh, 130vw); max-width: none; translate: -50% -50%;
  filter: brightness(0); opacity: 0; rotate: -160deg; scale: .55; z-index: 1;
  transition: opacity 2.4s ease, rotate 2.8s var(--ease), scale 2.8s var(--ease);
}
.s-contact.active .spinner { opacity: .055; rotate: 0deg; scale: 1; }
.s-contact .copy { text-align: center; max-width: 46em; }
.s-contact .under { margin-top: 1.6em; font-weight: 400; }
.s-contact .info { margin-top: 1.8em; font-size: .9em; display: grid; gap: 1.1em; }
.s-contact .info a, .s-contact .under a { text-underline-offset: 4px; }
.s-contact .social { margin-top: 2em; }

/* Pie */
.s-footer { background: var(--greens); display: flex; flex-direction: column; justify-content: flex-end; padding: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 3.2vh var(--pad) 3.6vh; font-size: 14px; }
.foot-bottom a, .foot-bottom button { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom a:hover, .foot-bottom button:hover { opacity: .75; }

/* ---------- Catálogo de producto ---------- */
#modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: clamp(10px, 2vw, 28px); opacity: 0; transition: opacity .35s ease; }
#modal[hidden] { display: none; }
#modal.open { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 30, 22, .82); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: min(1280px, 100%); height: min(94dvh, 900px); background: var(--ivory); color: var(--pine);
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: hidden; translate: 0 30px; transition: translate .5s var(--ease);
  --line: rgba(6, 59, 46, .22);
}
#modal.open .modal-panel { translate: none; }
.modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); transition: rotate .4s var(--ease); }
.modal-close:hover { rotate: 90deg; }
.modal-close span { position: absolute; left: 11px; top: 22px; width: 24px; height: 1.5px; background: var(--pine); transform: rotate(45deg); }
.modal-close span + span { transform: rotate(-45deg); }
/* Columna de fotos: círculo grande + circulitos que van cambiando */
.modal-gallery { position: relative; overflow: hidden; background: var(--greens); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 26px 22px; }
.modal-forma { position: absolute; left: -22%; top: -16%; width: 120%; max-width: none; opacity: .07; pointer-events: none; }
.modal-main { position: relative; width: min(44vw, 34vh); aspect-ratio: 1; border-radius: 50%; overflow: hidden; outline: 1px solid rgba(255, 255, 255, .55); outline-offset: 12px; }
.modal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, scale .6s var(--ease); }
.modal-main img.swap { opacity: 0; scale: 1.06; }
.modal-thumbs { position: relative; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.modal-thumbs button { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; opacity: .6; outline: 1px solid transparent; outline-offset: 4px; transition: opacity .3s ease, outline-color .3s ease, scale .3s ease; }
.modal-thumbs button:hover { opacity: 1; scale: 1.08; }
.modal-thumbs button.active { opacity: 1; outline-color: #fff; }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* Columna de contenido */
.modal-body { padding: 30px 22px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(6, 59, 46, .35) transparent; }
.modal-body .eyebrow { font-size: clamp(14px, 1.1vw, 18px); margin: 0; }
.modal-body h2 { font-size: clamp(28px, 2.8vw, 48px); margin-top: -12px; }
.modal-desc { max-width: 40em; }
.modal-varieties { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.variety { display: grid; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.variety.has-photo { grid-template-columns: clamp(92px, 9vw, 132px) 1fr; align-items: center; }
.variety-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; outline: 1px solid var(--line); outline-offset: 5px; }
.variety-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.variety-photo:hover img { scale: 1.14; }
.variety h3 { font-size: clamp(17px, 1.35vw, 22px); font-weight: 400; margin-bottom: 8px; }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; font-size: .95em; }
.specs div + div { border-top: 1px dashed var(--line); }
.specs dt { opacity: .78; }
.specs dd { margin: 0; font-weight: 500; text-align: right; }
.variety .note { font-size: .95em; }
.bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bullets li { padding: .3em .95em; border: 1px solid var(--line); border-radius: 999px; font-size: .9em; }
.modal-use p:last-child { margin-top: .3em; }
.avail { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--vivid); }
@media (min-width: 820px) {
  .modal-panel { grid-template-columns: 1fr 1.15fr; grid-template-rows: 1fr; }
  .modal-gallery { gap: 34px; padding: 40px; }
  .modal-main { width: min(32vw, 54vh); outline-offset: 16px; }
  .modal-thumbs button { width: 64px; height: 64px; }
  .modal-body { padding: 56px clamp(28px, 4vw, 64px) 44px; gap: 24px; }
}

/* =========================================================
   Modo pantalla completa (escritorio) — html.fp
   ========================================================= */
html.fp { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.fp body { height: 100%; overflow: visible; }
html.fp #fp { will-change: transform; transition: transform var(--t) var(--ease); }
html.fp .section { height: 100vh; height: 100dvh; min-height: 0; }
html.wide .section { padding: 0; }
html.wide .s-footer .menu-grid li { padding: clamp(18px, 5.4vh, 60px) 10px; }
html.fp .bg { transition: transform var(--t) var(--ease); }
html.fp .section.above .bg { transform: translate3d(0, 50%, 0); }
html.fp .section.below .bg { transform: translate3d(0, -50%, 0); }
html.wide .copy { position: absolute; }
html.wide .cols { flex-direction: row; gap: 3vw; margin-top: 5vh; min-height: 52vh; }
html.wide .col { flex: 1; padding-left: 1.5vw; font-size: .93em; }

html.wide .s-about { padding: 0; }
html.wide .s-about .copy { left: 42vw; top: 19vh; width: 49vw; }
html.wide .about-scene { left: calc((100cqw - var(--w)) * .62); }

html.wide .slides { position: absolute; inset: 0; margin: 0; }
html.wide .slides-track, html.wide .slide { height: 100%; }
html.wide .slide { padding: 0; }
html.wide .arr { width: 11vh; height: 22vh; margin-top: -11vh; }
html.wide .arr.prev { border-radius: 0 22vh 22vh 0; }
html.wide .arr.next { border-radius: 22vh 0 0 22vh; }
html.wide .slide-dots { bottom: clamp(18px, 4vh, 40px); margin-bottom: 30px; }

html.wide .s-catalog .copy { left: 8vw; top: 50%; transform: translateY(-50%); width: 29vw; }
html.wide .ring {
  position: absolute; top: 50%; width: 132vh; height: 132vh; margin-top: -66vh; border-radius: 50%;
  border: 1px solid rgba(6, 59, 46, .42); pointer-events: none;
}
/* Al pasar por un producto, su aro se llena de naranja que se difumina hacia la derecha */
html.wide .ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .7s var(--ease);
  background: linear-gradient(90deg, var(--resin) 0%, var(--amber) 16%, rgba(255, 133, 0, .55) 34%, rgba(255, 133, 0, 0) 58%);
}
html.wide .ring:has(.ring-content:hover)::before, html.wide .ring:has(.ring-content:focus-visible)::before { opacity: 1; }
html.wide .ring-content { transition: color .5s ease; }
html.wide .ring-content:hover, html.wide .ring-content:focus-visible { color: #fff; }
html.wide .ring-content:hover .link-arrow, html.wide .ring-content:focus-visible .link-arrow { color: #fff; }
html.wide .slide-landing .ring-one { left: 41vw; }
html.wide .slide-landing .ring-two { left: 61vw; }
html.wide .ring-one { left: 16vw; }
html.wide .ring-two { left: 36vw; }
html.wide .ring-content {
  pointer-events: auto; position: absolute; left: max(5.2vw, 10vh); top: 32vh; width: 14.5vw; height: 43vh; padding: 0; border: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.6vh;
}
html.wide .ring-content .thumb { width: 10vh; height: 10vh; flex: none; }
/* La foto del producto crece al pasar por él */
html.wide .ring-content .thumb { transform-origin: left bottom; transition: scale .6s var(--ease), box-shadow .6s ease; }
html.wide .ring-content:hover .thumb, html.wide .ring-content:focus-visible .thumb { scale: 1.9; box-shadow: 0 14px 34px rgba(60, 20, 0, .35); }
html.wide .ring-content:hover .thumb img { scale: 1; }
html.wide .ring-content .link-arrow { margin-top: auto; }

html.wide .s-circle .bg { background: radial-gradient(circle at 50% 50%, var(--vivid) 0, var(--vivid) min(30vh, 17vw), var(--forest) min(50vh, 29vw)); }
html.wide .s-circle .copy:not(.right-block) { left: 5vw; top: 50%; transform: translateY(-50%); width: 18vw; }
html.wide .diagram { position: absolute; left: 50%; top: 50%; width: min(80vh, 46vw); margin: 0; translate: -50% -50%; }
html.wide .s-circle .right-block { left: 74vw; top: 56vh; width: 19vw; padding-left: 1.5vw; padding-bottom: 6vh; }

html.wide .s-faq .image-circle { position: absolute; left: 56vw; top: 50%; width: 160vh; height: 160vh; margin: -80vh 0 0; }
html.wide .s-faq .image-circle img { position: absolute; left: 0; top: 50%; width: 44vw; height: 100vh; margin-top: -50vh; max-width: none; }
html.wide .s-faq .number { right: auto; left: 47vw; top: 50%; font-size: min(62vh, 30vw); margin-top: -.5em; margin-left: -.3em; z-index: 2; pointer-events: none; }
html.wide .s-faq .copy { left: 8vw; top: 23vh; width: 29vw; }
html.wide .s-faq h2 { font-size: clamp(26px, 2.55vw, 48px); }
html.wide .qa { margin-top: 4vh; padding-left: 1.5vw; max-height: 44vh; overflow: hidden auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; font-size: .95em; }

html.wide .s-place .image-container { position: absolute; left: calc(52vw - 150vh); top: 50%; width: 150vh; height: 150vh; margin: -75vh 0 0; }
html.wide .s-place .image-content img { position: absolute; right: 0; left: auto; top: 50%; width: 52vw; height: 100vh; margin-top: -50vh; max-width: none; }
html.wide .s-place .copy { left: 60vw; top: 26vh; width: 31vw; }
html.wide .s-place .col { font-size: 1.05em; }

html.wide .orb { position: absolute; left: 50%; top: 50%; width: min(64vh, 36.5vw); margin: 0; translate: -50% -50%; }
html.wide .s-terms .left-block { left: 5vw; top: 50%; transform: translateY(-50%); width: 23vw; }
html.wide .s-terms .right-block { left: 70vw; top: 38vh; width: 24vw; height: 50vh; margin: 0; gap: 1.2vw; }
html.wide .scroller { flex: 1; overflow-y: auto; scrollbar-width: none; padding-right: 4px; font-size: .93em; outline: none; }
html.wide .scroller::-webkit-scrollbar { display: none; }
html.wide .scrollbar { display: block; position: relative; width: 5px; flex: none; background: rgba(0, 0, 0, .35); border-radius: 3px; }
html.wide .scrollbar i { position: absolute; left: 1px; right: 1px; top: 0; height: 30%; background: #fff; border-radius: 3px; }

html.wide .s-quote .image-container { display: block; position: absolute; left: 57vw; top: 50%; width: 160vh; height: 160vh; margin: -80vh 0 0; }
html.wide .s-quote .image-content img { position: absolute; left: 0; top: 50%; width: 43vw; height: 100vh; margin-top: -50vh; max-width: none; }
html.wide .s-quote .copy { left: 8vw; top: 19vh; width: 37vw; }
html.wide .s-quote h2 { font-size: clamp(26px, 2.6vw, 50px); }
html.wide .form { grid-template-columns: 1fr 1fr; margin-top: 5vh; gap: 3.2vh 2.4vw; }
html.wide .form .wide, html.wide .form-foot { grid-column: 1 / -1; }

html.wide .s-contact .copy { position: relative; }

/* ---------- Flujo normal (móvil / tablet) ---------- */
html:not(.wide) #dots, html:not(.wide) #counter, html:not(.wide) #scrollhint { display: none; }
html:not(.wide) .menu-grid { grid-template-columns: repeat(2, 1fr); }
html:not(.wide) .menu-grid li { padding: 3.4vh 8px; }
html:not(.wide) .s-terms .copy, html:not(.wide) .s-circle .copy { margin-bottom: 8px; }
html:not(.wide) .mini:hover, html:not(.wide) .mini.on { scale: 1.6; }
html:not(.wide) .s-catalog { padding-bottom: 110px; }
html:not(.wide) .s-faq { padding-bottom: 110px; }
html:not(.wide) .arr { top: auto; bottom: 92px; margin: 0; width: 34px; height: 68px; }
html:not(.wide) .mini { width: 26%; margin: -13% 0 0 -13%; }
html:not(.wide) .mini figcaption { font-size: min(2.7vw, 13px); padding: 6%; }
html:not(.wide) .center-title { width: 40%; font-size: min(4vw, 20px); }
html:not(.wide) .s-catalog .slide, html:not(.wide) .s-faq .slide { padding-bottom: 70px; }

@media (prefers-reduced-motion: reduce) {
  [data-a] { transition-duration: .01s !important; transition-delay: 0s !important; }
  .orb-rings i, .film-orbit svg, .film-play svg, .film-play::before, .film-play::after, .minis, .mini, .orbit-outer, .halo, .halo::after, .l-forma .float, .l-forma .pulse, #dots li.active::before, #dots li.active::after, .diagram-forma, .rings i, .film-play::before { animation: none; }
  html.fp #fp, html.fp .bg, .slides-track { transition-duration: .01s; }
}

/* Botón de acento (degradado cálido, sólo para acciones) */
.btn-warm {
  display: inline-flex; align-items: center; gap: 14px; padding: .95em 2em; border-radius: 999px;
  background: var(--warm); color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(255, 59, 0, .28); transition: scale .3s ease, box-shadow .3s ease;
}
.btn-warm::after { background: #fff; }
.btn-warm:hover { scale: 1.04; box-shadow: 0 12px 30px rgba(255, 59, 0, .4); }

/* ---------- Banner de cookies (abajo a la izquierda) ---------- */
#cookies {
  position: fixed; left: clamp(12px, 2vw, 30px); bottom: clamp(12px, 2vw, 30px); z-index: 70;
  width: min(410px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  background: #fff; color: var(--pine); padding: 22px 22px 20px; border-radius: 4px;
  box-shadow: 0 18px 50px rgba(3, 30, 22, .45); font-size: 14px; line-height: 1.5;
  opacity: 0; translate: 0 24px; transition: opacity .5s ease, translate .6s var(--ease);
}
#cookies.open { opacity: 1; translate: none; }
#cookies[hidden] { display: none; }
#cookies h2 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: .5em; }
#cookies a { text-underline-offset: 3px; }
#cookies .ck-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#cookies .ck-actions button { flex: 1 1 auto; padding: .7em 1.1em; border-radius: 999px; border: 1px solid var(--pine); font-weight: 500; font-size: 13.5px; transition: background-color .3s ease, color .3s ease, scale .3s ease; }
#cookies .ck-actions button:hover { background: var(--pine); color: #fff; }
#cookies .ck-actions .ck-accept { background: var(--warm); border-color: transparent; color: #fff; }
#cookies .ck-actions .ck-accept:hover { background: var(--warm); color: #fff; scale: 1.04; }
#cookies .ck-prefs { margin-top: 14px; border-top: 1px solid rgba(6, 59, 46, .2); }
#cookies .ck-prefs[hidden] { display: none; }
#cookies .ck-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid rgba(6, 59, 46, .2); }
#cookies .ck-row b { font-weight: 500; }
#cookies .ck-row small { grid-column: 1; font-size: 12.5px; opacity: .8; }
#cookies .ck-switch { grid-row: span 2; align-self: center; position: relative; width: 42px; height: 24px; }
#cookies .ck-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
#cookies .ck-switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(6, 59, 46, .25); transition: background-color .3s ease; pointer-events: none; }
#cookies .ck-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: translate .3s ease; }
#cookies .ck-switch input:checked + i { background: var(--forest); }
#cookies .ck-switch input:checked + i::after { translate: 18px 0; }
#cookies .ck-switch input:disabled { cursor: not-allowed; }
#cookies .ck-switch input:disabled + i { opacity: .55; }
#cookies .ck-switch input:focus-visible + i { outline: 2px solid var(--pine); outline-offset: 2px; }

/* ---------- Página legal ---------- */
.legal-page { background: #fff; color: var(--pine); }
.legal-head { background: var(--greens); color: #fff; padding: clamp(18px, 3vw, 40px) var(--pad) clamp(40px, 7vw, 90px); }
.legal-head .brand img { height: clamp(38px, 4.4vw, 64px); width: auto; }
.legal-head h1 { font-weight: 300; font-size: clamp(28px, 3.4vw, 56px); line-height: 1.1; margin-top: clamp(36px, 6vw, 80px); max-width: 18em; }
.legal-head p { margin-top: 1em; opacity: .85; }
.legal-body { max-width: 780px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) 22px 120px; font-size: 16px; line-height: 1.65; }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; margin: 2.4em 0 .7em; padding-top: 1.4em; border-top: 1px solid rgba(6, 59, 46, .25); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 1.05em; font-weight: 500; margin: 1.7em 0 .4em; }
.legal-body p + p { margin-top: .9em; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin: .7em 0; }
.legal-body li + li { margin-top: .35em; }
.legal-body .btn { display: inline-flex; margin-top: 1.4em; cursor: pointer; }
.legal-body .back { display: inline-block; margin-top: 3em; }

@media (prefers-reduced-motion: reduce) { .hero-layer, .hero-copy { transform: none; } .hero-copy { transform: translate(-50%, -50%); } }
.btn { display: inline-flex; justify-content: center; gap: 12px; padding: .8em 1.6em; border: 1px solid var(--pine); border-radius: 999px; text-decoration: none; font-weight: 400; transition: background-color .3s ease, color .3s ease; }
.btn:hover { background: var(--pine); color: #fff; }

/* ---------- Conmutador de idioma ES / EN ---------- */
.top-actions { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.lang { display: inline-flex; padding: 3px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.lang button { padding: .34em .85em; border-radius: 999px; opacity: .75; transition: background-color .3s ease, color .3s ease, opacity .3s ease; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--pine); opacity: 1; }
body.invert:not(.menu-open) .lang button[aria-pressed="true"] { background: var(--pine); color: #fff; }
.legal-head { position: relative; }
.legal-head .lang { position: absolute; right: var(--pad); top: clamp(22px, 3.4vw, 48px); }

/* Tablet y móvil (flujo normal): texto algo mayor para leer cómodo en iPad vertical */
html:not(.wide) { --fs: clamp(15px, 2.3vw, 19px); }
html:not(.wide) h2 { font-size: clamp(28px, 4.6vw, 44px); }

/* =========================================================
   Móvil y tablet vertical: mismas pantallas completas que en escritorio, con el contenido ajustado a una pantalla
   ========================================================= */
html:not(.wide) { --fs: clamp(13px, min(4vw, 2.15dvh), 19px); }
html:not(.wide) h2 { font-size: clamp(24px, min(7vw, 4.2dvh), 44px); }
html:not(.wide) .section { padding: clamp(84px, 13dvh, 118px) 22px 66px; display: flex; flex-direction: column; justify-content: center; }
html:not(.wide) .s-hero, html:not(.wide) .s-film, html:not(.wide) .s-footer { padding: 0; }
html:not(.wide) .s-hero, html:not(.wide) .s-film { display: block; }
html:not(.wide) .s-contact { display: grid; }
html:not(.wide) .s-footer { justify-content: flex-end; }
html:not(.wide) .menu-grid li { padding: 2.6dvh 8px; }
html:not(.wide) .cols { gap: 14px; margin-top: 18px; }

html:not(.wide) .s-about { justify-content: flex-end; padding-bottom: 46px; }

/* Catálogo y FAQ: las diapositivas ocupan todo el alto; flechas y puntos al pie */
html:not(.wide) .s-catalog, html:not(.wide) .s-faq { padding-bottom: 74px; justify-content: flex-start; }
html:not(.wide) .slides { flex: 1; min-height: 0; }
html:not(.wide) .slides-track, html:not(.wide) .slide { height: 100%; }
html:not(.wide) .s-catalog .slide, html:not(.wide) .s-faq .slide { padding-bottom: 0; display: flex; flex-direction: column; }
html:not(.wide) .s-catalog .slide { justify-content: center; }
html:not(.wide) .ring { margin-top: clamp(16px, 3.4dvh, 34px); }
html:not(.wide) .arr { top: auto; bottom: 8px; margin: 0; width: 30px; height: 60px; }
html:not(.wide) .slide-dots { bottom: 30px; }

html:not(.wide) .s-circle .small { display: none; }
html:not(.wide) .diagram { width: min(84vw, 40dvh); margin: clamp(10px, 2.4dvh, 26px) auto; flex: none; }
html:not(.wide) .s-circle .right-block { font-size: .9em; }
html:not(.wide) .right-block p + p { margin-top: .6em; }
html:not(.wide) .right-block .link-arrow { margin-top: .9em; }

html:not(.wide) .s-faq .image-circle { width: min(36vw, 21dvh); margin-bottom: clamp(10px, 2dvh, 22px); flex: none; }
html:not(.wide) .s-faq .number { top: 0; font-size: min(34vw, 21dvh); line-height: .9; }
html:not(.wide) .s-faq .copy { flex: 1; min-height: 0; display: flex; flex-direction: column; }
html:not(.wide) .qa { flex: 1; min-height: 0; overflow-y: auto; margin-top: 14px; scrollbar-width: none; }
html:not(.wide) .qa::-webkit-scrollbar { display: none; }

html:not(.wide) .s-place .image-container { width: min(58vw, 34dvh); margin-bottom: clamp(18px, 4dvh, 34px); flex: none; }

html:not(.wide) .s-terms { justify-content: flex-start; }
html:not(.wide) .orb { width: min(46vw, 25dvh); margin: 0 auto clamp(12px, 2.4dvh, 24px); flex: none; }
html:not(.wide) .s-terms .right-block { flex: 1; min-height: 0; margin-top: 12px; }
html:not(.wide) .scroller { flex: 1; overflow-y: auto; scrollbar-width: none; font-size: .95em; }
html:not(.wide) .scroller::-webkit-scrollbar { display: none; }
html:not(.wide) .scrollbar { display: block; position: relative; width: 4px; flex: none; background: rgba(0, 0, 0, .35); border-radius: 3px; }
html:not(.wide) .scrollbar i { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: #fff; border-radius: 3px; }

html:not(.wide) .form { gap: clamp(10px, 2dvh, 18px); margin-top: clamp(14px, 3dvh, 28px); }
html:not(.wide) .center-title { width: 36%; font-size: min(3.7vw, 2.1dvh, 18px); }
