/* =========================================================
   Yacufrut · Hoja de estilos
   Diseño limpio inspirado en las páginas de producto de Apple
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Todo en negro, estilo Apple */
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --paper: #000000;
  --paper-2: #0b0b0d;
  --surface: #141416;
  --surface-2: #1d1d20;
  --night: #000000;
  --night-2: #101012;
  --night-3: #1c1c1e;
  --line: #2a2a2e;
  --orange: #f39200;
  --orange-2: #ff6a13;
  --kaki: #ff7a1a;
  --green: #8dc63f;
  --gold: #e8c547;
  --radius: 28px;
  --radius-sm: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  color-scheme: dark;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-bottom: 14px; }
.eyebrow--orange { color: var(--orange); }
.h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink-2); font-weight: 500; max-width: 720px; margin-top: 22px; letter-spacing: -0.01em; }
.lead--dark { color: #a1a1a6; }
.grad {
  background: linear-gradient(100deg, #ffb347 0%, var(--orange) 35%, var(--orange-2) 70%, #ff3d00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px; padding: 13px 26px; border-radius: 980px;
  border: 0; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #ff9f1a; transform: translateY(-1px); }
.btn--sm { font-size: 14px; padding: 7px 15px; }
.btn--light { background: #fff; color: #1d1d1f; }
.btn--light:hover { background: #f0f0f0; }
.link-arrow { color: var(--orange); text-decoration: none; font-weight: 500; font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.35em; line-height: 1; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.pill--pro { color: #d6d6d8; border: 1px solid rgba(255,255,255,.22); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: rgba(16, 16, 18, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #e8e8ed;
}
.nav__in { height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__logo { flex: none; display: flex; align-items: center; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav__links a { font-size: 13px; text-decoration: none; color: #d2d2d7; opacity: .9; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; opacity: 1; }
.nav__emp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.08); }
.nav__emp svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 38px; height: 38px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav-open .nav__burger span:nth-child(1) { top: 18.5px; transform: rotate(45deg); }
.nav-open .nav__burger span:nth-child(2) { top: 18.5px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--night); color: #f5f5f7;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: calc(var(--nav-h) + 40px) max(20px, calc((100% - var(--wrap)) / 2)) 80px;
  overflow: hidden; isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -1; right: -10%; top: 50%; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255,122,26,.34), rgba(243,146,0,.10) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__text { position: relative; z-index: 2; }
.hero__title { font-size: clamp(56px, 9vw, 124px); line-height: .98; font-weight: 700; letter-spacing: -0.045em; }
.hero__sub { margin-top: 28px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: #a1a1a6; max-width: 520px; font-weight: 500; }
.hero__cta { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__stage { position: relative; height: min(78vh, 720px); }
.hero__stage canvas { position: absolute; inset: -10% -20% -10% -10%; width: 130%; height: 120%; }
.hero__fallback { display: none; }
.no-webgl .hero__stage canvas { display: none; }
.no-webgl .hero__fallback { display: block; position: absolute; inset: 15% 0 auto; border-radius: var(--radius); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- MANIFIESTO ---------- */
.manifesto { background: var(--night); color: #fff; padding: 18vh 20px 22vh; }
.manifesto__text {
  width: min(1000px, 100%); margin-inline: auto;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em;
}
.manifesto__text .w { color: #333336; transition: color .4s var(--ease); }
.manifesto__text .w.on { color: #f5f5f7; }
.manifesto__text .w.hot.on { color: var(--orange); }

/* ---------- Secciones ---------- */
.sec { padding: clamp(96px, 14vw, 170px) 0; }
.sec--alt { background: var(--paper-2); }
.sec + .sec:not(.sec--alt) { border-top: 1px solid #111114; }
.sec__head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec__head--center { text-align: center; }
.sec__head--center .lead { margin-inline: auto; }

/* Especificaciones */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-bottom: 72px; }
.spec { background: var(--paper); padding: 30px 26px 30px 0; }
.spec + .spec { padding-left: 26px; }
.spec strong { display: block; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.03em; margin-bottom: 6px; }
.spec span { color: var(--ink-2); font-size: 15px; }

.showcase { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: #1a120c; }
.showcase img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 60%; }
.showcase figcaption { position: absolute; left: 32px; bottom: 28px; color: #fff; font-size: clamp(20px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.duo__card { background: var(--surface); border-radius: var(--radius); padding: 44px; }
.duo__card h3 { font-size: 28px; margin-bottom: 12px; }
.duo__card p { color: var(--ink-2); font-size: 18px; }

/* Bento de marcas */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; flex-direction: column; isolation: isolate; }
.tile--big { grid-column: span 2; min-height: 520px; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.bento .tile--big img { position: static; height: 100%; min-height: 520px; z-index: 0; }
.tile--big.tile--dark::after { background: linear-gradient(90deg, #0b0b0c 0%, rgba(11,11,12,.6) 44%, transparent 60%); z-index: 1; pointer-events: none; }
.tile--big .tile__txt { z-index: 2; padding: 56px; }
.tile--dark { background: #0b0b0c; color: #fff; }
.tile--light { background: var(--surface); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 38%, transparent 60%); }
.tile--light img { position: static; height: auto; margin-top: auto; z-index: 0; }
.tile__txt { padding: 40px 44px 24px; position: relative; }
.tile h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.04em; }
.tile p { margin-top: 8px; font-size: 18px; color: inherit; opacity: .78; max-width: 420px; }
.tile .tile__kicker { margin: 0 0 4px; font-size: 15px; font-weight: 600; opacity: 1; color: #ff5fa2; }
.tile__kicker--gold { color: var(--gold) !important; }
.tile__kicker--green { color: var(--green) !important; }
.tile--cta { background: linear-gradient(145deg, #ffb347, var(--orange) 45%, var(--orange-2)); color: #fff; padding: 44px; justify-content: flex-end; }
.tile--cta p { opacity: .92; margin-bottom: 20px; }
.tile--cta .link-arrow { color: #fff; }

/* Frutas */
.fruits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fruit { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid #1c1c1f; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.fruit:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 55%, transparent); }
.fruit__img { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.fruit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fruit:hover .fruit__img img { transform: scale(1.06); }
.fruit__body { padding: 26px 30px 30px; }
.fruit h3 { font-size: 26px; }
.fruit__time { color: var(--c, var(--orange)); font-weight: 600; font-size: 15px; margin: 6px 0 10px; }
.fruit p:last-child { color: var(--ink-2); }

/* ---------- CALENDARIO 3D ---------- */
.cal { background: radial-gradient(ellipse 80% 60% at 70% 50%, #1d130a 0%, #000 70%); color: #fff; padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; }
.cal__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 40px; }
.legend { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: #a1a1a6; font-size: 15px; }
.legend b { color: #f5f5f7; font-weight: 600; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 10px; box-shadow: 0 0 14px var(--c); vertical-align: -1px; }
.cal__now { margin: 30px 0 34px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #f5f5f7; font-size: 16px; display: inline-block; }
.cal__now b { color: var(--orange); }
.cal__stage { position: relative; height: min(70vh, 640px); min-height: 420px; cursor: grab; touch-action: pan-y; }
.cal__stage:active { cursor: grabbing; }
.cal__stage canvas { width: 100%; height: 100%; display: block; }
.cal__hint { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); font-size: 13px; color: #86868b; }

/* ---------- INSTALACIONES ---------- */
.zoom { margin: 0 auto; width: min(1080px, 100% - 40px); border-radius: var(--radius); overflow: hidden; }
.zoom img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transform: scale(var(--z, 1.18)); transition: transform .1s linear; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px; }
.feat svg { width: 36px; height: 36px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feat h3 { font-size: 21px; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 16px; }
.markets { margin: 80px auto 0; text-align: center; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; max-width: 860px; color: var(--ink-2); }
.markets strong { color: var(--ink); }

/* ---------- HISTORIA ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story__img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(255,122,26,.25); }
.story__img img { width: 100%; }
.timeline { list-style: none; padding: 0; margin: 46px 0 0; display: grid; gap: 30px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.timeline__y { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; color: var(--orange); }
.timeline h3 { font-size: 21px; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); }

/* ---------- PROFESIONALES ---------- */
.pro { background: var(--night); color: #fff; text-align: center; padding: clamp(110px, 15vw, 190px) 0; position: relative; overflow: hidden; }
.pro::before { content: ""; position: absolute; left: 50%; bottom: -55%; width: 1100px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,122,26,.32), transparent 70%); pointer-events: none; }
.pro > .wrap { position: relative; }
.pro .lead { margin-inline: auto; }
.pro__who { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.pro__who span { padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); font-size: 15px; color: #e8e8ed; }
.pro__cta { margin-top: 44px; display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.foot { background: #000; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; padding: 64px 0 28px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__brand img { width: 90px; margin-bottom: 14px; }
.foot__brand p { line-height: 1.6; }
.foot h4 { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; }
.foot__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Páginas interiores ---------- */
.page-hero { background: var(--night); color: #fff; padding: calc(var(--nav-h) + clamp(80px, 11vw, 140px)) 0 clamp(70px, 9vw, 110px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(255,122,26,.28), transparent 70%); pointer-events: none; }
.page-hero .lead { color: #a1a1a6; }

/* Legales */
.legal { padding: 80px 0 120px; }
.legal__body { width: min(780px, 100% - 40px); margin-inline: auto; }
.legal__body h2 { font-size: 26px; margin: 52px 0 14px; }
.legal__body h3 { font-size: 19px; margin: 30px 0 10px; }
.legal__body p, .legal__body li { color: #c7c7cc; font-size: 17px; line-height: 1.7; }
.legal__body p + p { margin-top: 14px; }
.legal__body ul { padding-left: 22px; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { color: var(--orange); }
.legal__meta { color: var(--ink-3) !important; font-size: 14px !important; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.datos { background: var(--surface); border-radius: var(--radius-sm); padding: 26px 28px; margin: 20px 0; }
.datos dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; margin: 0; font-size: 16px; }
.datos dt { color: var(--ink-2); }
.datos dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Contacto */
.contact { padding: 80px 0 130px; }
.contact__grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 40px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label small { color: var(--ink-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #232327; }
.field .err { color: #ff6b6b; font-size: 13px; margin-top: 6px; display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #d70015; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 99px; background: var(--surface-2); border: 1.5px solid transparent; font-size: 15px; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: rgba(243,146,0,.14); border-color: var(--orange); color: #ffb24d; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--orange); }
.check a { color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 16px; padding: 18px 20px; margin-bottom: 26px; font-size: 16px; }
.alert--ok { background: rgba(48,209,88,.12); color: #5fe38a; border: 1px solid rgba(48,209,88,.25); }
.alert--ko { background: rgba(255,69,58,.12); color: #ff8a80; border: 1px solid rgba(255,69,58,.25); }
.info { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }
.info__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info__card h3 { font-size: 20px; margin-bottom: 10px; }
.info__card p, .info__card a { color: var(--ink-2); font-size: 16px; }
.info__card a { text-decoration: none; }
.info__card a:hover { color: var(--orange); }
.info__big { font-size: 28px !important; font-weight: 700; color: var(--ink) !important; letter-spacing: -0.03em; display: block; margin: 4px 0; }
.info__card--dark { background: linear-gradient(150deg, #2a1606, #140b03); border-color: rgba(243,146,0,.25); color: #fff; }
.info__card--dark p { color: #a1a1a6; }
.info__card--dark h3 { color: #fff; }
.mini-map { display: block; margin-top: 16px; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 55% 48%, rgba(243,146,0,.25) 0 10%, transparent 11%),
    linear-gradient(115deg, transparent 46%, #3a3a3f 46% 49%, transparent 49%),
    linear-gradient(25deg, transparent 58%, #3a3a3f 58% 60.5%, transparent 60.5%),
    linear-gradient(160deg, transparent 30%, #3a3a3f 30% 32%, transparent 32%),
    #1d1d20; }
.mini-map::after { content: ""; position: absolute; left: 55%; top: 48%; width: 22px; height: 22px; margin: -22px 0 0 -11px; background: var(--orange); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.mini-map span { position: absolute; left: 14px; bottom: 12px; background: #fff; color: #1d1d1f !important; font-size: 14px !important; font-weight: 600; padding: 7px 12px; border-radius: 99px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* Registro horario (portal) */
.portal { min-height: 100svh; background: radial-gradient(ellipse 70% 60% at 50% 0%, #2a1707 0%, #000 65%); color: #fff; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 20px 60px; text-align: center; }
.portal__card { width: min(460px, 100%); background: rgba(28,28,30,.72); border: 1px solid rgba(255,255,255,.08); border-radius: 32px; padding: 44px 36px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.portal__clock { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 8px 0 2px; }
.portal__date { color: #a1a1a6; }
.portal__date::first-letter { text-transform: uppercase; }
.portal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.portal__btns button { font: inherit; font-weight: 600; font-size: 17px; padding: 16px; border-radius: 18px; border: 0; color: #fff; opacity: .45; cursor: not-allowed; }
.portal__in { background: #1f9d55; }
.portal__out { background: #3a3a3c; }
.portal__soon { margin-top: 26px; font-size: 14px; color: #86868b; }

/* 404 */
.e404 { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) 20px 80px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .zoom img { transform: none !important; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 28px;
    background: rgba(16,16,18,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); height: calc(100svh - var(--nav-h)); }
  .nav-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-size: 26px; font-weight: 600; padding: 12px 0; color: #f5f5f7; width: 100%; }
  .nav__emp { background: none; padding: 12px 0 !important; }
  .nav__emp svg { width: 22px; height: 22px; }
  .nav__burger { display: block; }
  .nav__right { margin-left: auto; }
  .pill--pro { display: none; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--nav-h) + 50px); align-content: start; gap: 0; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stage { height: 52vh; order: -1; margin-bottom: -20px; }
  .hero__stage canvas { inset: -10%; width: 120%; height: 120%; }
  .hero__glow { right: auto; left: 50%; top: 30%; transform: translate(-50%, -50%); width: 140vw; height: 140vw; }
  .hero__scroll { display: none; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec, .spec + .spec { padding: 24px 16px 24px 0; }
  .spec:nth-child(even) { padding-left: 16px; }
  .duo, .bento, .story, .cal__grid, .contact__grid { grid-template-columns: 1fr; }
  .tile--big { grid-column: auto; min-height: 480px; grid-template-columns: 1fr; }
  .bento .tile--big img { min-height: 300px; height: 320px; }
  .tile--big.tile--dark::after { background: linear-gradient(180deg, #0b0b0c 30%, transparent 55%); }
  .tile--big .tile__txt { padding: 36px 30px 10px; }
  .fruits { grid-template-columns: 1fr 1fr; }
  .cal__stage { height: 440px; }
  .info { position: static; }
  .showcase figcaption { left: 20px; bottom: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn--sm { display: none; }
  .fruits { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 30px; }
  .form { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .duo__card, .tile__txt, .tile--cta { padding: 30px 26px; }
  .timeline li { grid-template-columns: 72px 1fr; }
  .timeline__y { font-size: 24px; }
  .datos dl { grid-template-columns: 1fr; gap: 2px; }
  .datos dd { margin-bottom: 10px; }
  .showcase img { aspect-ratio: 4/3; }
}

/* ---------- PANTALLA DE CARGA ---------- */
.loader { display: none; }
.is-loading body { overflow: hidden; }
.is-loading .loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 22px;
  background-color: #000; background-image: radial-gradient(circle at 50% 42%, rgba(255,122,26,.22) 0%, rgba(255,122,26,.06) 22%, rgba(0,0,0,0) 48%);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader.is-done .loader__stage { transform: scale(1.35); filter: blur(6px); }
.loader__stage { position: relative; width: min(380px, 72vw); aspect-ratio: 1; transition: transform .9s var(--ease), filter .9s var(--ease); }
.loader__stage canvas { position: absolute; inset: -15%; width: 130%; height: 130%; opacity: 0; transition: opacity .5s; }
.loader.has-3d canvas { opacity: 1; }
.loader.has-3d .loader__css { opacity: 0; }
/* Caqui de reserva mientras carga el 3D */
.loader__css { position: absolute; inset: 22%; border-radius: 48% 48% 50% 50% / 46% 46% 54% 54%;
  background: radial-gradient(circle at 35% 30%, #ffc27a, #ff7a1a 45%, #c9400a 100%);
  box-shadow: 0 0 80px rgba(255,122,26,.45), inset -18px -22px 40px rgba(0,0,0,.3);
  animation: kakiCss 1.6s ease-in-out infinite; transition: opacity .5s; }
@keyframes kakiCss { 0%, 100% { transform: scale(1) rotate(-6deg); } 50% { transform: scale(1.05) rotate(6deg); } }
.loader__txt { font-size: 15px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #f5f5f7; margin: 0; padding-left: .32em; }
.loader__txt span { animation: dot 1.4s infinite; opacity: .2; }
.loader__txt span:nth-child(2) { animation-delay: .2s; }
.loader__txt span:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.loader__bar { width: min(220px, 50vw); height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb347, var(--orange), var(--orange-2)); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
@media (prefers-reduced-motion: reduce) { .loader__css { animation: none; } .loader__txt span { animation: none; opacity: 1; } }
