/* ============================================
   NOMAD ZERO — Corporate Movement Partner
   Design tokens
   ============================================ */
:root{
  --orange: #F64D24;
  --brown-deep: #463A16;
  --gold: #B7893E;
  --cream: #FFD489;
  --olive: #ADA066;
  --black: #211906;
  --off-white: #FAF6EF;
  --white: #FFFFFF;

  --display: "Helvetica Neue Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(.16,.84,.32,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

.container{
  max-width: var(--container);
  margin:0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight:700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin:0;
}

.eyebrow{
  font-family: var(--display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:26px;
  height:2px;
  background: var(--orange);
  display:inline-block;
}

:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

/* ============================================
   Signature motif: vector de movimiento
   Diagonal line + arrow that marks section seams
   ============================================ */
.vector-seam{
  position:relative;
  height: 64px;
  overflow:hidden;
}
.vector-seam svg{ position:absolute; inset:0; width:100%; height:100%; }

/* ============================================
   Buttons
   ============================================ */
.btn{
  font-family: var(--display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:14px;
  padding: 16px 30px;
  border-radius: 2px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space:nowrap;
}
.btn svg{ width:14px; height:14px; transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(4px); }
.btn:hover{ transform: translateY(-2px); }

.btn-primary{ background: var(--orange); color: var(--white); }
.btn-primary:hover{ background:#e2431d; }

.btn-outline-light{ border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover{ background: rgba(255,255,255,.1); border-color:#fff; }

.btn-outline-dark{ border-color: rgba(33,25,6,.35); color: var(--black); }
.btn-outline-dark:hover{ background: var(--black); color: var(--white); border-color: var(--black); }

.btn-ghost-cta{ background: var(--cream); color: var(--black); }
.btn-ghost-cta:hover{ background:#ffc766; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding: 20px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }
.site-header.scrolled{
  background: rgba(33,25,6,.92);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.logo{ display:flex; align-items:center; gap:10px; }
.logo-img{ height:30px; width:auto; display:block; }
.footer-logo-img{ height:34px; margin-bottom:16px; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-family: var(--display);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color: rgba(255,255,255,.82);
  position:relative;
  padding-bottom:4px;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0;
  background: var(--orange); transition: width .3s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-links a:hover{ color:#fff; }

.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none; background:none; border:none; padding:6px; z-index:110;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:#fff; margin:5px 0; transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 940px){
  .nav-links{
    position:fixed; inset:0; top:0; background: var(--black);
    flex-direction:column; justify-content:center; gap:28px;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size:20px; }
  .nav-cta .btn-primary{ display:none; }
  .nav-toggle{ display:block; }
  body.menu-open{ overflow:hidden; }
}

/* ============================================
   1. HERO
   ============================================ */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex; align-items:flex-end;
  color:#fff;
  background: var(--black);
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(33,25,6,.35) 0%, rgba(33,25,6,.25) 40%, rgba(33,25,6,.92) 100%);
}
.hero-vector{
  position:absolute; top:0; right:6%; height:100%; width:2px;
  background: linear-gradient(180deg, transparent, rgba(246,77,36,.7) 30%, rgba(246,77,36,.7) 70%, transparent);
  opacity:.5;
}
.hero-content{
  position:relative; z-index:2;
  padding: 0 var(--gutter) clamp(56px,8vw,96px);
  width:100%;
}
.hero-content .eyebrow{ color: var(--cream); margin-bottom:22px; }
.hero-content .eyebrow::before{ background: var(--cream); }
.hero h1{
  font-size: clamp(40px, 7vw, 92px);
  max-width: 15ch;
  color:#fff;
}
.hero-sub{
  font-family: var(--body);
  font-size: clamp(15px,1.6vw,19px);
  line-height:1.6;
  max-width:560px;
  color: rgba(255,255,255,.82);
  margin: 26px 0 38px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:44px; }
.hero-ticks{
  display:flex; flex-wrap:wrap; gap: 10px 28px;
  padding-top:28px; border-top:1px solid rgba(255,255,255,.18);
  font-size:13px; color: rgba(255,255,255,.72);
  font-family: var(--display); text-transform:uppercase; letter-spacing:.03em;
}
.hero-ticks span{ display:inline-flex; align-items:center; gap:8px; }
.hero-ticks svg{ width:13px; height:13px; color: var(--orange); flex-shrink:0; }

.scroll-cue{
  position:absolute; right: var(--gutter); bottom: 40px; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color: rgba(255,255,255,.6); font-size:11px; letter-spacing:.2em;
  font-family: var(--display); text-transform:uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after{
  content:""; writing-mode:horizontal-tb; width:1px; height:46px; background: rgba(255,255,255,.4);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue{ 0%{ transform: scaleY(0); transform-origin:top;} 50%{ transform: scaleY(1); transform-origin:top;} 51%{ transform-origin:bottom;} 100%{ transform: scaleY(0); transform-origin:bottom;} }
@media (max-width: 700px){ .scroll-cue{ display:none; } }

/* ============================================
   Generic section spacing
   ============================================ */
.section{ padding: var(--section-pad) 0; }
.section-dark{ background: var(--black); color:#fff; }
.section-brown{ background: var(--brown-deep); color:#fff; }
.section-light{ background: var(--off-white); color: var(--black); }

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow{ color: var(--orange); margin-bottom:18px; }
.section-dark .section-head .eyebrow,
.section-brown .section-head .eyebrow{ color: var(--cream); }
.section-dark .section-head .eyebrow::before,
.section-brown .section-head .eyebrow::before{ background: var(--cream); }
.section-head h2{ font-size: clamp(30px, 4vw, 50px); margin-bottom:18px; }
.section-head p{ font-family: var(--body); font-size:17px; line-height:1.65; opacity:.78; max-width:56ch; }

.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform:none; }

/* ============================================
   2. QUÉ ES NOMAD ZERO
   ============================================ */
.about{ display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,6vw,90px); align-items:center; }
.about-copy .eyebrow{ margin-bottom:20px; }
.about-copy h2{ font-size: clamp(28px,4vw,44px); margin-bottom:22px; max-width:14ch; }
.about-copy p{ font-family:var(--body); font-size:17px; line-height:1.7; opacity:.8; max-width:52ch; }
.about-media{ position:relative; }
.about-media img{ width:100%; aspect-ratio: 4/5; object-fit:cover; }
.about-media .frame-mark{
  position:absolute; top:-16px; left:-16px; width:64px; height:64px;
  border-top:2px solid var(--orange); border-left:2px solid var(--orange);
}
@media (max-width: 860px){
  .about{ grid-template-columns:1fr; }
  .about-media{ order:-1; }
}

/* ============================================
   3. POR QUÉ CONFÍAN — cards
   ============================================ */
.trust-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(33,25,6,.1); }
.trust-card{
  background: var(--off-white);
  padding: 40px 34px;
  transition: background .35s ease, transform .35s ease;
}
.trust-card:hover{ background:#fff; transform: translateY(-4px); box-shadow: 0 22px 44px rgba(33,25,6,.08); }
.trust-num{ font-family:var(--display); font-size:13px; color: var(--orange); letter-spacing:.1em; margin-bottom:18px; display:block; }
.trust-card h3{ font-size:19px; text-transform:none; letter-spacing:0; margin-bottom:12px; line-height:1.25; }
.trust-card p{ font-family:var(--body); font-size:15px; line-height:1.6; opacity:.72; margin:0; }
@media (max-width: 860px){ .trust-grid{ grid-template-columns:1fr; } }

/* ============================================
   4. SERVICIOS — accordion
   ============================================ */
.services-intro{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; flex-wrap:wrap; margin-bottom:56px; }
.services-list{ border-top:1px solid rgba(33,25,6,.15); }
.service-item{ border-bottom:1px solid rgba(33,25,6,.15); }
.service-trigger{
  width:100%; background:none; border:none; text-align:left;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding: 30px 4px; color: var(--black);
}
.service-num{ font-family:var(--display); font-size:13px; color: var(--gold); width:34px; flex-shrink:0; }
.service-title{ flex:1; display:flex; flex-direction:column; gap:6px; }
.service-title .name{ font-family:var(--display); font-weight:700; font-size:clamp(19px,2.4vw,28px); text-transform:uppercase; letter-spacing:0; }
.service-title .tagline{ font-family:var(--body); font-size:14px; opacity:.62; font-weight:400; text-transform:none; letter-spacing:0; }
.service-plus{
  width:32px; height:32px; border-radius:50%; border:1.5px solid rgba(33,25,6,.3);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative;
  transition: border-color .3s ease, background .3s ease;
}
.service-plus::before, .service-plus::after{
  content:""; position:absolute; background: var(--black); transition: transform .35s var(--ease), background .3s ease;
}
.service-plus::before{ width:12px; height:1.5px; }
.service-plus::after{ width:1.5px; height:12px; }
.service-item.open .service-plus{ background: var(--orange); border-color: var(--orange); }
.service-item.open .service-plus::before,
.service-item.open .service-plus::after{ background:#fff; }
.service-item.open .service-plus::after{ transform: rotate(90deg) scaleY(0); }

.service-panel{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease); }
.service-panel-inner{ padding: 0 4px 34px 58px; display:flex; flex-wrap:wrap; gap:10px 12px; }
.service-panel-inner .tag{
  font-family:var(--body); font-size:13.5px;
  padding:8px 16px; border:1px solid rgba(33,25,6,.2); border-radius:999px; opacity:.82;
}

/* ============================================
   5. CÓMO TRABAJAMOS — dark, sequential steps
   ============================================ */
.method-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.14); }
.method-card{ background: var(--black); padding: 44px 30px; }
.method-step{ font-family:var(--display); font-size:44px; color: var(--orange); opacity:.9; margin-bottom:26px; }
.method-card h3{ font-size:15px; text-transform:uppercase; letter-spacing:.1em; color: var(--cream); margin-bottom:10px; }
.method-card h4{ font-family:var(--body); font-weight:700; text-transform:none; font-size:19px; letter-spacing:0; line-height:1.3; margin-bottom:12px; }
.method-card p{ font-family:var(--body); font-size:14.5px; line-height:1.6; opacity:.68; margin:0; }
@media (max-width: 940px){ .method-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .method-grid{ grid-template-columns:1fr; } }

/* ============================================
   6. EMPRESAS / stats
   ============================================ */
.logos-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap: 30px 50px; padding: 44px 0; border-top:1px solid rgba(33,25,6,.15); border-bottom:1px solid rgba(33,25,6,.15);
  margin: 40px 0 46px;
}
.logo-mark{
  font-family: var(--display); font-weight:700; font-size:20px; letter-spacing:.02em;
  opacity:.45; text-transform:uppercase; transition: opacity .3s ease;
}
.logo-mark:hover{ opacity:1; color: var(--orange); }
.trust-quote{ font-family: var(--body); font-size:18px; line-height:1.6; max-width:62ch; opacity:.75; font-style:italic; margin-bottom:52px; }
.stats-row{ display:flex; gap: clamp(40px,8vw,110px); flex-wrap:wrap; }
.stat .num{ font-family:var(--display); font-size:clamp(44px,6vw,72px); color: var(--orange); line-height:1; }
.stat .label{ font-family:var(--display); font-size:13px; letter-spacing:.08em; text-transform:uppercase; opacity:.62; margin-top:10px; }

/* ============================================
   7. POR QUÉ ELEGIRNOS — checklist
   ============================================ */
.diff-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px 34px; }
.diff-item{ display:flex; align-items:flex-start; gap:14px; padding: 22px 0; border-top:1px solid rgba(33,25,6,.15); }
.diff-item svg{ width:18px; height:18px; color: var(--orange); flex-shrink:0; margin-top:3px; }
.diff-item span{ font-family:var(--display); font-size:15px; text-transform:uppercase; letter-spacing:.02em; line-height:1.35; }
@media (max-width: 940px){ .diff-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .diff-grid{ grid-template-columns: 1fr; } }

/* ============================================
   8. CTA final
   ============================================ */
.cta-final{ background: var(--black); color:#fff; text-align:center; position:relative; overflow:hidden; }
.cta-final::before{
  content:""; position:absolute; width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle, rgba(246,77,36,.16), transparent 70%);
  top:-160px; left:50%; transform:translateX(-50%);
}
.cta-inner{ position:relative; max-width:760px; margin:0 auto; }
.cta-final .eyebrow{ color: var(--cream); justify-content:center; margin-bottom:24px; }
.cta-final .eyebrow::before{ display:none; }
.cta-final h2{ font-size: clamp(34px,6vw,64px); margin-bottom:22px; }
.cta-final p{ font-family:var(--body); font-size:18px; line-height:1.6; opacity:.75; margin-bottom:40px; }

/* ============================================
   Footer
   ============================================ */
.site-footer{ background: var(--black); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-top{ display:flex; justify-content:space-between; gap:50px; flex-wrap:wrap; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand p{ font-family:var(--body); font-size:14px; max-width:34ch; line-height:1.6; opacity:.7; }
.footer-socials{ display:flex; gap:12px; margin-top:22px; }
.social-icon{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.75);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease);
}
.social-icon svg{ width:17px; height:17px; }
.social-icon:hover{ background: var(--orange); border-color: var(--orange); color:#fff; transform: translateY(-3px); }
.footer-cols{ display:flex; gap: clamp(30px,6vw,90px); flex-wrap:wrap; }
.footer-col h4{ font-size:12px; letter-spacing:.12em; color: var(--cream); margin-bottom:16px; text-transform:uppercase; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-family:var(--body); font-size:14.5px; opacity:.75; transition: opacity .25s ease, color .25s ease; }
.footer-col a:hover{ opacity:1; color: var(--orange); }
.footer-bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding: 26px 0; font-family:var(--body); font-size:13px; opacity:.55; }

/* Utility */
.mt-lg{ margin-top:56px; }
.text-center{ text-align:center; }
