/* ============================================
   NOMAD ZERO — Home (v3)
   ============================================ */
:root{
  --ink:#141210;
  --cream:#EFEBE3;
  --cream-ink:#1c1915;
  --orange:#F64D24;
  --amber:#E8A33D;
  --muted:#5a5244;
  --display:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --body:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.16,.84,.32,1);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:#000; color:#fff; font-family:var(--body); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
h1,h2,h3,h4{ font-family:var(--display); font-weight:700; margin:0; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }
.container{ max-width:1180px; margin:0 auto; padding:0 28px; }
:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; }

/* grano y duotono */
.grain{ position:relative; }
.grain::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.08; mix-blend-mode:overlay; z-index:5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.duo{ filter:grayscale(1) contrast(1.12) brightness(.92) sepia(.35) saturate(2.4) hue-rotate(var(--hue,8deg)); }
@keyframes kenburns{ from{ transform:scale(1); } to{ transform:scale(1.08); } }
@keyframes heroIn{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }
@keyframes logoIn{ from{ opacity:0; transform:translateY(-8px) scale(.94); filter:blur(8px); } to{ opacity:1; transform:none; filter:blur(0); } }
@keyframes fadeSlow{ from{ opacity:0; } to{ opacity:1; } }

/* ============ NAV ============ */
.site-nav{
  position:sticky; top:0; z-index:50; background:rgba(10,9,8,.86); backdrop-filter:blur(10px);
  padding:14px 28px; display:flex; align-items:center; justify-content:space-between; gap:14px 28px; flex-wrap:wrap;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.brand-logo{ height:36px; width:auto; display:block; animation:logoIn 1.8s var(--ease) .15s both; }
.switch{ display:flex; gap:26px; flex-wrap:wrap; }
.switch a{ font-size:13px; color:rgba(255,255,255,.55); transition:color .25s ease; }
.switch a:hover{ color:#fff; }
.switch a.current{ color:#fff; font-weight:700; }
@media (max-width:760px){
  .site-nav{ justify-content:center; padding:12px 18px; }
  .brand-logo{ height:30px; }
  .switch{ justify-content:center; gap:10px 18px; }
}

/* ============ HERO — póster ============ */
.stage-a{ padding:56px 24px; background:radial-gradient(ellipse at 50% 20%, #221d18, #000 72%); display:flex; justify-content:center; }
.poster{ position:relative; width:100%; max-width:460px; aspect-ratio:4/5; border-radius:26px; overflow:hidden; box-shadow:0 50px 90px rgba(0,0,0,.55); animation:heroIn 1s var(--ease) .1s both; }
.poster .photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; animation:kenburns 20s ease-in-out infinite alternate; }
.poster .shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.08) 28%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.86) 100%); z-index:2; }
.poster .top-row{ position:absolute; top:22px; left:22px; right:22px; z-index:4; display:flex; justify-content:flex-end; }
.poster .stats{ display:flex; gap:22px; }
.poster .stat{ text-align:right; }
.poster .stat .k{ font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.poster .stat .v{ font-weight:700; font-size:15px; }
.poster .mid{ position:absolute; top:40%; left:24px; right:24px; z-index:4; }
.poster .mid > *{ animation:heroIn .9s var(--ease) both; }
.poster .tagline{ font-size:10.5px; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.78); margin-bottom:10px; animation-delay:.45s; }
.poster h1{ font-size:clamp(32px,7vw,42px); line-height:1.05; letter-spacing:-.005em; animation-delay:.6s; text-shadow:0 2px 20px rgba(0,0,0,.4); }
.poster .bottom{ position:absolute; left:24px; right:24px; bottom:22px; z-index:4; display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.poster .mark-iso{ height:40px; width:auto; flex-shrink:0; animation:fadeSlow 2s ease 1.1s both; }
.poster .blurb{ font-size:10.5px; line-height:1.55; color:rgba(255,255,255,.78); text-align:justify; max-width:210px; }
.poster .expand{ position:absolute; top:20px; left:20px; width:32px; height:32px; border-radius:50%; background:var(--amber); display:flex; align-items:center; justify-content:center; z-index:4; }
.poster .expand svg{ width:14px; height:14px; color:#141414; }

/* ============ Animaciones de entrada (solo con JS activo) ============ */
.js .reveal-up{ opacity:0; transform:translateY(30px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-left{ opacity:0; transform:translateX(-26px); transition:opacity .65s var(--ease), transform .65s var(--ease); }
.js .reveal-scale{ opacity:0; transform:scale(.92); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-fade{ opacity:0; transition:opacity 1s var(--ease); }
.js .reveal-up.in-view, .js .reveal-left.in-view, .js .reveal-scale.in-view{ opacity:1; transform:none; }
.js .reveal-fade.in-view{ opacity:1; }
.stagger-1{ transition-delay:.05s !important; } .stagger-2{ transition-delay:.12s !important; } .stagger-3{ transition-delay:.19s !important; }
.stagger-4{ transition-delay:.26s !important; } .stagger-5{ transition-delay:.33s !important; } .stagger-6{ transition-delay:.4s !important; }

/* íconos que se "dibujan" */
.js .draw-icon path, .js .draw-icon circle, .js .draw-icon rect, .js .draw-icon line{
  stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.5s var(--ease) .35s;
}
.js .in-view .draw-icon path, .js .in-view .draw-icon circle, .js .in-view .draw-icon rect, .js .in-view .draw-icon line,
.js .draw-icon.in-view path, .js .draw-icon.in-view circle, .js .draw-icon.in-view rect, .js .draw-icon.in-view line{ stroke-dashoffset:0; }

/* ============ Títulos de sección ============ */
.head{ max-width:560px; margin-bottom:46px; }
.eyebrow{ display:inline-flex; align-items:center; gap:12px; font-size:12px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:14px; font-weight:700; }
.eyebrow::before{ content:""; height:1.5px; width:28px; background:currentColor; opacity:.7; transition:width .9s var(--ease) .25s; }
.js .head:not(.in-view) .eyebrow::before{ width:0; }
.head h2{ font-size:clamp(24px,3.4vw,34px); line-height:1.1; margin-bottom:14px; }
.head p{ font-size:15px; line-height:1.6; }

/* ============ CAPÍTULO — manifiesto ============ */
.chapter{ position:relative; min-height:72vh; display:flex; align-items:center; overflow:hidden; }
.chapter .photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.chapter .shade{ position:absolute; inset:0; background:linear-gradient(100deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.08) 78%); z-index:2; }
.chapter .container{ position:relative; z-index:3; width:100%; }
.chapter .content{ padding:80px 0; max-width:620px; }
.chapter .num{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--amber); margin-bottom:18px; display:block; }
.chapter h2{ font-size:clamp(26px,4vw,40px); line-height:1.08; margin-bottom:22px; max-width:14ch; }
.chapter p{ font-size:15.5px; line-height:1.7; color:rgba(255,255,255,.8); text-align:justify; max-width:52ch; }
.chapter p + p{ margin-top:14px; }

/* ============ QUÉ NOS MUEVE — crema ============ */
.values{ background:var(--cream); color:var(--cream-ink); padding:84px 0; }
.values .eyebrow{ color:#8a7f6c; }
.values .head p{ color:var(--muted); }
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(28,25,21,.12); }
.card{ position:relative; background:var(--cream); padding:34px 28px 36px; transition:transform .45s var(--ease), background .45s ease, box-shadow .45s ease; }
.card:hover{ transform:translateY(-8px); background:#fff; box-shadow:0 26px 50px rgba(28,25,21,.12); z-index:2; }
.card .ico{ width:30px; height:30px; margin-bottom:20px; color:var(--cream-ink); transition:transform .5s var(--ease), color .35s ease; }
.card:hover .ico{ transform:scale(1.14) rotate(-5deg); color:var(--orange); }
.card h3{ font-size:18px; margin-bottom:10px; }
.card p{ font-size:14px; color:var(--muted); line-height:1.65; text-align:justify; }
@media (max-width:860px){ .cards{ grid-template-columns:1fr; } }

/* ============ CÓMO NOS MOVEMOS — blanco y naranja ============ */
.method{ background:#fff; color:var(--orange); padding:84px 0; }
.method .eyebrow{ color:var(--orange); }
.method .head h2{ color:var(--orange); }
.method .head p{ color:#6b6258; }
.method-flow{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:30px; margin-top:6px; }
.m-line{ position:absolute; top:32px; left:32px; right:32px; height:1px; background:rgba(246,77,36,.4); transform-origin:left center; }
.js .m-line{ transform:scaleX(0); transition:transform 1.8s var(--ease) .3s; }
.js .method-flow.in-view .m-line{ transform:scaleX(1); }
.m-step{ position:relative; z-index:1; }
.m-icon{
  width:64px; height:64px; border-radius:50%; background:#fff; border:1.5px solid var(--orange); color:var(--orange);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  transition:background .35s ease, color .35s ease, transform .4s var(--ease);
}
.m-icon svg{ width:28px; height:28px; }
.m-step:hover .m-icon{ background:var(--orange); color:#fff; transform:translateY(-5px); }
.m-num{ display:block; font-size:11px; letter-spacing:.14em; font-weight:700; color:rgba(246,77,36,.75); margin-bottom:6px; }
.m-step h3{ font-size:20px; color:var(--orange); margin-bottom:8px; }
.m-step p{ font-size:13.5px; line-height:1.65; color:#4a4339; text-align:justify; }
@media (max-width:900px){ .method-flow{ grid-template-columns:1fr 1fr; gap:36px 24px; } .m-line{ display:none; } }
@media (max-width:560px){ .method-flow{ grid-template-columns:1fr; } }

/* ============ QUÉ MOVEMOS — lista ============ */
.services{ background:var(--cream); color:var(--cream-ink); padding:84px 0; }
.services .eyebrow{ color:#8a7f6c; }
.services .head p{ color:var(--muted); }
.service-list{ border-top:1px solid rgba(28,25,21,.15); }
.s-row{ display:flex; align-items:center; gap:20px; padding:18px 0; border-bottom:1px solid rgba(28,25,21,.15); transition:padding-left .3s var(--ease); }
.s-row:hover{ padding-left:10px; }
.s-thumb{ width:52px; height:52px; border-radius:10px; overflow:hidden; flex-shrink:0; }
.s-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.s-row:hover .s-thumb img{ transform:scale(1.15); }
.s-name{ font-family:var(--display); font-weight:700; font-size:14.5px; width:140px; flex-shrink:0; }
.s-desc{ font-size:13.5px; color:var(--muted); flex:1; text-align:justify; }
.s-arrow{ width:16px; height:16px; color:var(--cream-ink); opacity:.4; flex-shrink:0; transition:transform .3s ease, opacity .3s ease; }
.s-row:hover .s-arrow{ transform:translateX(4px); opacity:.9; }
@media (max-width:640px){ .s-row{ flex-wrap:wrap; } .s-name{ width:auto; } .s-desc{ width:100%; order:3; } }

/* ============ CONFIANZA — negro ============ */
.clients{ background:#0a0908; color:#fff; padding:84px 0 76px; }
.clients .eyebrow{ color:rgba(255,255,255,.55); }
.clients .head p{ color:rgba(255,255,255,.65); }
.clients-row{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:46px 56px; padding:44px 0 6px; border-top:1px solid rgba(255,255,255,.14); }
.clients-row img{ height:34px; width:auto; max-width:150px; object-fit:contain; filter:brightness(0) invert(1); opacity:.55; transition:opacity .35s ease, transform .4s var(--ease); }
.clients-row img:hover{ opacity:1; transform:scale(1.08); }

/* ============ RESEÑAS — blanco ============ */
.reviews{ background:#fff; color:var(--cream-ink); padding:72px 0 84px; }
.reviews-teaser{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:22px 26px; border:1px solid rgba(28,25,21,.14); border-radius:16px; }
.teaser-left{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.teaser-stars{ color:var(--orange); font-size:20px; letter-spacing:3px; }
.teaser-left p{ font-size:14.5px; color:#4a4339; }
.reviews-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.toggle-btn{
  display:inline-flex; align-items:center; gap:8px; background:none; border:1px solid rgba(28,25,21,.3); color:var(--cream-ink);
  font-size:13px; padding:11px 20px; border-radius:999px; cursor:pointer; transition:border-color .25s ease, background .25s ease, color .25s ease;
}
.toggle-btn:hover{ border-color:var(--orange); background:rgba(246,77,36,.06); color:var(--orange); }
.toggle-btn svg{ width:14px; height:14px; transition:transform .35s var(--ease); }
.toggle-btn.is-open svg{ transform:rotate(180deg); }
.panel{ max-height:0; overflow:hidden; transition:max-height .6s var(--ease); }

.rc-wrap{ padding-top:38px; }
.rc-track{ position:relative; min-height:220px; max-width:540px; margin:0 auto; }
.rcard{
  position:absolute; inset:0; opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
  text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px;
}
.rcard.is-active{ opacity:1; visibility:visible; transform:none; position:relative; transition:opacity .5s var(--ease), transform .5s var(--ease); }
.rcard .avatar{ width:56px; height:56px; border-radius:50%; object-fit:cover; }
.rcard .tag{ font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); border:1px solid var(--orange); border-radius:999px; padding:4px 12px; }
.rcard .stars{ color:var(--orange); font-size:22px; letter-spacing:4px; }
.rcard p{ font-size:15px; line-height:1.65; color:#2f2a23; font-style:italic; text-align:justify; max-width:450px; }
.rcard .author strong{ display:block; font-size:13.5px; }
.rcard .author span{ color:#7a7164; font-size:12.5px; }
.rc-nav{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:26px; }
.rc-arrow{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(28,25,21,.25); background:none; color:var(--cream-ink); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:border-color .25s ease, color .25s ease, background .25s ease; }
.rc-arrow:hover{ border-color:var(--orange); color:var(--orange); background:rgba(246,77,36,.06); }
.rc-arrow svg{ width:14px; height:14px; }
.rc-dots{ display:flex; gap:8px; }
.rc-dot{ width:7px; height:7px; border-radius:50%; background:rgba(28,25,21,.22); border:none; padding:0; cursor:pointer; transition:background .3s ease, transform .3s ease; }
.rc-dot.is-active{ background:var(--orange); transform:scale(1.3); }

.form-inner{ padding-top:30px; max-width:560px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.f-field{ display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.form-row .f-field{ margin-bottom:0; }
.f-field label, .f-label{ font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#7a7164; }
.f-field input[type="text"], .f-field input[type="tel"], .f-field textarea{
  background:#faf8f4; border:1px solid rgba(28,25,21,.2); border-radius:8px; color:var(--cream-ink);
  font-family:var(--body); font-size:14px; padding:12px 13px; resize:vertical; width:100%;
}
.f-field input:focus, .f-field textarea:focus{ outline:none; border-color:var(--orange); }
.star-input{ display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:4px; }
.star-input input{ position:absolute; opacity:0; pointer-events:none; }
.star-input label{ font-size:26px; line-height:1; color:rgba(28,25,21,.2); cursor:pointer; transition:color .2s ease, transform .2s ease; letter-spacing:0; text-transform:none; }
.star-input label:hover{ transform:scale(1.15); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label{ color:var(--orange); }
.star-input input:focus-visible + label{ outline:2px solid var(--orange); outline-offset:2px; border-radius:4px; }
.consent{ font-size:12px; color:#7a7164; line-height:1.55; margin:4px 0 18px; }
.consent a{ color:var(--orange); }
.submit-btn{ background:var(--orange); color:#fff; border:none; font-family:var(--display); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.04em; padding:14px 28px; border-radius:999px; cursor:pointer; transition:transform .3s var(--ease), box-shadow .3s ease; }
.submit-btn:hover{ transform:translateY(-3px); box-shadow:0 14px 26px rgba(246,77,36,.3); }
.form-msg{ font-size:13.5px; margin-top:14px; }
.form-ok{ color:#2e7d4f; }
.form-fail{ color:#c0392b; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; gap:0; } .form-row .f-field{ margin-bottom:16px; } }

/* ============ CTA final ============ */
.cta{ position:relative; min-height:62vh; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
.cta .photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; animation:kenburns 22s ease-in-out infinite alternate; }
.cta .shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.7) 100%); z-index:2; }
.cta .content{ position:relative; z-index:3; padding:40px 24px; }
.cta .tagline{ font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--amber); margin-bottom:18px; }
.cta h2{ font-size:clamp(28px,5vw,48px); line-height:1.08; margin-bottom:18px; }
.cta p{ font-size:15px; color:rgba(255,255,255,.82); max-width:420px; margin:0 auto 28px; }
.btn{ display:inline-block; background:#fff; color:var(--ink); font-family:var(--display); font-weight:700; font-size:13.5px; text-transform:uppercase; letter-spacing:.04em; padding:15px 30px; border-radius:999px; transition:transform .35s var(--ease), box-shadow .35s ease; }
.btn:hover{ transform:translateY(-3px); box-shadow:0 16px 30px rgba(0,0,0,.3); }

/* ============ FOOTER — naranja ============ */
.site-footer{ background:var(--orange); color:#fff; padding:84px 0 0; }
.footer-hero{ display:flex; justify-content:space-between; align-items:flex-end; gap:32px; flex-wrap:wrap; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.38); }
.footer-logo{ height:84px; width:auto; }
.footer-tag{ font-size:15px; line-height:1.6; max-width:340px; margin-top:22px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:42px; height:42px; border-radius:50%; border:1.5px solid rgba(255,255,255,.75); display:flex; align-items:center; justify-content:center; color:#fff; transition:background .25s ease, color .25s ease, transform .3s var(--ease); }
.footer-social a:hover{ background:#fff; color:var(--orange); transform:translateY(-4px); }
.footer-social svg{ width:17px; height:17px; }
.footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:36px; padding:48px 0; }
.footer-col h4{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:16px; opacity:.85; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-col a, .footer-col p{ font-size:14.5px; line-height:1.65; color:#fff; }
.footer-col a{ transition:opacity .25s ease; }
.footer-col a:hover{ opacity:.7; }
.footer-bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:22px 0 26px; border-top:1px solid rgba(255,255,255,.38); font-size:13px; }
@media (max-width:860px){ .footer-cols{ grid-template-columns:1fr 1fr; } .footer-logo{ height:64px; } }
@media (max-width:520px){ .footer-cols{ grid-template-columns:1fr; } }

/* ============ Páginas legales ============ */
.legal-hero{ background:var(--ink); padding:90px 0 56px; }
.legal-hero .eyebrow{ color:var(--amber); }
.legal-hero h1{ font-size:clamp(32px,5vw,52px); line-height:1.05; margin-bottom:14px; }
.legal-hero p{ font-size:14px; color:rgba(255,255,255,.6); }
.legal{ background:#fff; color:var(--cream-ink); padding:64px 0 96px; }
.legal .wrap{ max-width:760px; margin:0 auto; padding:0 28px; }
.legal h2{ font-size:20px; color:var(--orange); margin:44px 0 12px; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ font-size:15px; line-height:1.78; color:#3d372e; text-align:justify; }
.legal p + p{ margin-top:12px; }
.legal ul{ padding-left:20px; margin:10px 0; }
.legal li + li{ margin-top:6px; }
.legal a{ color:var(--orange); border-bottom:1px solid currentColor; }

@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
