/* =========================================================
   ORION INNOVΛ — Editorial / cartografía celeste
   Paper & ink, vermellón como única acentuación.
   ========================================================= */

:root{
  /* Superficies */
  --paper:      #F4F1E9;
  --paper-2:    #EDE8DC;
  --card:       #FBF9F4;
  --night:      #12141B;
  --night-2:    #1A1E28;

  /* Tinta */
  --ink:        #14120F;
  --ink-2:      #3B372F;
  --ink-3:      #6E6659;
  --line:       #DCD5C6;
  --line-soft:  #E6E0D3;

  /* Acento */
  --accent:     #C93B18;
  --accent-ink: #A32E11;
  --accent-wash:#F3E2D9;

  /* Tipografía */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:    "Archivo", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", "Consolas", monospace;

  /* Métrica */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 10vw, 148px);
  --r: 4px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` en vez de `hidden`: contiene el desbordamiento lateral sin
     convertir el body en contenedor de scroll (eso rompe sticky y
     el observador de aparición al hacer scroll). */
  overflow-x: clip;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,p,dl,dd,dt,figure{ margin: 0; }
button, input, select, textarea{ font: inherit; color: inherit; }

.wrap{
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono{
  font-family: var(--mono);
  font-size: .715rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

em{ font-style: italic; }

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 300;
}
.skip-link:focus{ left: 0; }

:where(a, button, input, select, textarea):focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Reveal (contenido legible sin JS) ===== */
.reveal{ opacity: 1; transform: none; }
.js .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.on{ opacity: 1; transform: none; }

/* ===== Topbar ===== */
.topbar{
  background: var(--ink);
  color: rgba(244,241,233,.72);
  border-bottom: 1px solid var(--ink);
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
}
.topbar .mono{ font-size: .66rem; letter-spacing: .18em; white-space: nowrap; }
.topbar-mid{ color: rgba(244,241,233,.5); }

/* ===== Header ===== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,241,233,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.logo{
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  min-height: 44px;              /* objetivo táctil mínimo */
}
.logo-mark{ width: 32px; height: 32px; flex: none; }
.logo-text{
  font-family: var(--sans);
  font-size: .82rem; font-weight: 600; letter-spacing: .3em;
}

.main-nav ul{ display: flex; align-items: center; gap: 34px; }
.main-nav a{
  position: relative;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;              /* objetivo táctil mínimo */
  transition: color .25s var(--ease);
}
.nav-idx{ font-size: .6rem; color: var(--ink-3); letter-spacing: .1em; transition: color .25s var(--ease); }
.main-nav a:not(.nav-cta)::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:not(.nav-cta):hover{ color: var(--ink); }
.main-nav a:not(.nav-cta):hover .nav-idx{ color: var(--accent); }
.main-nav a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.nav-cta{
  background: var(--ink); color: var(--paper) !important;
  padding: 0 22px; min-height: 44px; font-weight: 500;
  transition: background .25s var(--ease);
}
.nav-cta:hover{ background: var(--accent); }

.nav-toggle{
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer;
}
.nav-toggle span{
  display: block; height: 1.5px; width: 20px; margin-inline: auto;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Botones ===== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 15px 30px;
  font-size: .95rem; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.arw{ display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arw{ transform: translateX(5px); }
.btn-ink{ background: var(--ink); color: var(--paper); }
.btn-ink:hover{ background: var(--accent); }
.btn-line{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover{ background: var(--ink); color: var(--paper); }
.btn-paper{ background: var(--paper); color: var(--ink); }
.btn-paper:hover{ background: var(--ink); color: var(--paper); }
.btn-lg{ min-height: 60px; padding: 18px 38px; font-size: 1.02rem; }
.btn-block{ width: 100%; }

/* ===== Cabeceras de sección ===== */
.eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow .rule{ width: 34px; height: 1px; background: currentColor; opacity: .5; }

h1, h2{
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "SOFT" 12, "WONK" 1;
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--ink);
}
h2{
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  max-width: 18ch;
  line-height: 1.06;
}
h2 em{ color: var(--accent); }
.sec-head{ margin-bottom: clamp(40px, 6vw, 76px); }

h3{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.01em;
  line-height: 1.14;
  color: var(--ink);
}

/* ===== Hero ===== */
.hero{
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.hero > .wrap{ position: relative; }

.hero-grid{
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.avail{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-3);
  margin-bottom: 26px;
  animation: rise .8s var(--ease-out) both;
}
.avail .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
@media (prefers-reduced-motion: no-preference){
  .avail .dot{ animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse{
    0%,100%{ box-shadow: 0 0 0 0 rgba(201,59,24,.45); }
    60%{ box-shadow: 0 0 0 8px rgba(201,59,24,0); }
  }
}

h1{
  font-size: clamp(3.05rem, 8.2vw, 6.4rem);
  line-height: .96;
  letter-spacing: -.035em;
}
h1 .l{ display: block; }
h1 em{
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--accent);
}
h1 .l1{ animation: rise .9s .05s var(--ease-out) both; }
h1 .l2{ animation: rise .9s .14s var(--ease-out) both; padding-left: .11em; }
h1 .l3{ animation: rise .9s .23s var(--ease-out) both; }
h1 .star{
  font-family: var(--sans);
  font-size: .2em;
  font-weight: 400;
  color: var(--accent);
  vertical-align: super;
  margin-left: .28em;
}

@keyframes rise{
  from{ opacity: 0; transform: translateY(28px); }
  to{ opacity: 1; transform: none; }
}

.hero-lead{
  margin-top: 30px;
  max-width: 46ch;
  font-size: 1.06rem;
  color: var(--ink-2);
  animation: rise .9s .32s var(--ease-out) both;
}
.hero-actions{
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
  animation: rise .9s .4s var(--ease-out) both;
}

.hero-media{
  position: relative;
  animation: rise 1.1s .18s var(--ease-out) both;
}
.hero-photo{
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  will-change: transform;
}
.hero-photo::after{
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(20,18,15,.10);
  pointer-events: none;
}
.hero-photo img{
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}
.tag{
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: .62rem;
  white-space: nowrap;
}
.tag-1{ top: 22px; left: -14px; }
.tag-2{ top: 50%; right: -18px; }
.tag-3{ bottom: 66px; left: -22px; }
.tag-4{ bottom: -14px; right: 26px; background: var(--accent); color: #fff; border-color: var(--accent); }

@media (prefers-reduced-motion: no-preference){
  .tag{ animation: drift 7s ease-in-out infinite; }
  .tag-2{ animation-delay: -2.3s; }
  .tag-3{ animation-delay: -4.6s; }
  .tag-4{ animation-delay: -1.2s; }
  @keyframes drift{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-8px); }
  }
}

/* Cifras bajo el hero */
.figures{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(52px, 7vw, 96px);
  background: var(--line);
  border-block: 1px solid var(--line);
}
.fig{
  background: var(--paper);
  padding: 26px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.fig dt{ color: var(--ink-3); font-size: .64rem; }
.fig dd{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.fig .unit{ color: var(--accent); }

/* ===== Marquee ===== */
.marquee{
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--ink);
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee-track span{
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.01em;
  padding-right: 1.2em;
  white-space: nowrap;
}
.marquee-track i{ font-style: normal; color: var(--accent); padding-inline: .5em; font-size: .62em; vertical-align: middle; }
@keyframes slide{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ===== Servicios (índice editorial) ===== */
.services{ padding-block: var(--sec); }

.idx{
  display: grid;
  grid-template-columns: 1fr minmax(280px, 42%);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(38px, 5vw, 62px);
  border-top: 1px solid var(--line);
}
.index .idx:last-child{ border-bottom: 1px solid var(--line); }
.idx:nth-child(even) .idx-media{ order: -1; }

.idx-num{ margin-bottom: 18px; }
.idx-num span{
  display: inline-block;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 5px 11px;
  font-size: .64rem;
}
.idx h3{ font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.022em; }
.idx-desc{
  margin-top: 16px;
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.idx-list{
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--ink-3);
  font-size: .66rem;
}
.idx-list li{ position: relative; padding-left: 22px; }
.idx-list li::before{
  content: "✦";
  position: absolute; left: 0; top: -1px;
  color: var(--accent);
  font-size: .8em;
}
.idx-link{
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px;
  font-size: .95rem; font-weight: 500;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--line);
  min-height: 44px;              /* objetivo táctil mínimo */
  transition: color .3s var(--ease), box-shadow .3s var(--ease);
}
.idx-link:hover{ color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }

.idx-media{
  overflow: hidden;
  background: var(--paper-2);
}
.idx-media img{
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
  transition: transform .9s var(--ease-out), filter .6s var(--ease);
}
.idx:hover .idx-media img{ transform: scale(1.045); filter: saturate(1.02) contrast(1.03); }

/* ===== Estudio (noche + constelación) ===== */
.studio{
  position: relative;
  background: var(--night);
  color: rgba(244,241,233,.74);
  padding-block: var(--sec);
  overflow: hidden;
}
.constel{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 118%);
  height: auto;
  aspect-ratio: 1;
  color: rgba(244,241,233,.30);
  pointer-events: none;
}
.constel-lines{ opacity: .5; }
.constel-stars circle{ filter: drop-shadow(0 0 3px rgba(255,240,220,.55)); }
@media (prefers-reduced-motion: no-preference){
  .constel-stars circle{ animation: twinkle 4.5s ease-in-out infinite; }
  .constel-stars circle:nth-child(2){ animation-delay: -1.1s; }
  .constel-stars circle:nth-child(3){ animation-delay: -2.2s; }
  .constel-stars circle:nth-child(5){ animation-delay: -3.3s; }
  .constel-stars circle:nth-child(6){ animation-delay: -.6s; }
  @keyframes twinkle{ 0%,100%{ opacity: .95; } 50%{ opacity: .35; } }
}
.studio-inner{ position: relative; }
.studio .eyebrow{ color: var(--accent); }

.manifesto{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.9vw, 3.05rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--paper);
  max-width: 20ch;
}
.manifesto em{
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid rgba(244,241,233,.16);
}
.pillar .p-num{
  display: block;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: .68rem;
}
.pillar h3{ color: var(--paper); margin-bottom: 10px; }
.pillar p{ font-size: .97rem; color: rgba(244,241,233,.6); }

/* ===== Proceso ===== */
.process{ padding-block: var(--sec); background: var(--paper); }
.steps{ border-top: 1px solid var(--line); }
.step{
  display: grid;
  grid-template-columns: 108px 1fr 120px;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.step:hover{ background: var(--card); }
.step-n{
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 500;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-3);
  letter-spacing: -.03em;
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
}
.step:hover .step-n{ color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step-b h3{ margin-bottom: 10px; }
.step-b p{ max-width: 56ch; color: var(--ink-2); font-size: 1rem; }
.step-t{ color: var(--ink-3); text-align: right; font-size: .64rem; padding-top: 8px; }

/* ===== CTA ===== */
.cta{
  background: var(--accent);
  color: #fff;
  padding-block: clamp(72px, 9vw, 118px);
  text-align: center;
}
.cta .eyebrow{ color: rgba(255,255,255,.72); }
.cta h2{
  color: #fff;
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
}
.cta h2 em{ color: rgba(255,255,255,.62); }
.cta-lead{
  margin: 24px auto 0;
  max-width: 46ch;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}
.cta .btn{ margin-top: 38px; }

/* ===== Contacto ===== */
.contact{ padding-block: var(--sec); }
.contact-grid{
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-lead{ margin-top: 20px; max-width: 40ch; color: var(--ink-2); }
.contact-data{
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-data li{
  display: flex; flex-direction: column; gap: 5px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-data .mono{ color: var(--ink-3); font-size: .62rem; }
.contact-data .cd{ font-size: 1.04rem; color: var(--ink); }

.form{ display: flex; flex-direction: column; gap: 26px; }
.f-row{ display: flex; flex-direction: column; gap: 9px; }
.f-row label{ color: var(--ink-3); font-size: .62rem; }
.f-row input, .f-row select, .f-row textarea{
  min-height: 50px;
  padding: 13px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
  border-radius: 0;
  transition: border-color .3s var(--ease);
}
.f-row textarea{ resize: vertical; min-height: 110px; }
.f-row input::placeholder, .f-row textarea::placeholder{ color: var(--ink-3); opacity: 1; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus{
  outline: none;
  border-bottom-color: var(--accent);
}
.f-row select{ appearance: none; cursor: pointer; }
.f-note{ min-height: 20px; color: var(--accent); font-size: .92rem; margin: 0; }

/* ===== Footer ===== */
.site-footer{
  background: var(--night);
  color: rgba(244,241,233,.6);
  padding-top: clamp(56px, 7vw, 84px);
  padding-bottom: 30px;
  overflow: hidden;
}
.foot-top{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(40px, 5vw, 60px);
}
.logo-foot{ color: var(--paper); }
.foot-nav{ display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-nav a{
  display: inline-flex; align-items: center;
  min-height: 44px;              /* objetivo táctil mínimo */
  color: rgba(244,241,233,.6);
  transition: color .25s var(--ease);
}
.foot-nav a:hover{ color: var(--accent); }

.wordmark{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.2rem, 15.5vw, 13rem);
  line-height: .85;
  letter-spacing: -.035em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,241,233,.20);
  white-space: nowrap;
  text-align: center;
  user-select: none;
}
.foot-bottom{
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(244,241,233,.14);
  color: rgba(244,241,233,.58);   /* contraste AA sobre fondo noche */
  font-size: .62rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px){
  .hero-grid{ grid-template-columns: 1fr; align-items: start; gap: clamp(40px, 7vw, 64px); }
  .hero-media{ order: -1; max-width: 620px; }
  .tag-1{ left: 12px; }
  .tag-3{ left: 4px; }
  .tag-2{ right: 10px; }
  .idx{ grid-template-columns: 1fr; gap: 28px; }
  .idx:nth-child(even) .idx-media{ order: 0; }
  .idx-media img{ aspect-ratio: 16 / 10; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .topbar-mid{ display: none; }
  .pillars{ grid-template-columns: 1fr; gap: 32px; }
  .figures{ grid-template-columns: repeat(2, 1fr); }
  .step{ grid-template-columns: 76px 1fr; }
  .step-t{ display: none; }
}

@media (max-width: 780px){
  body{ font-size: 16px; }
  .main-nav{
    position: fixed;
    inset: 110px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 26px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    box-shadow: 0 30px 60px -30px rgba(20,18,15,.4);
  }
  .main-nav.is-open{ transform: none; opacity: 1; pointer-events: auto; }
  .main-nav ul{ flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li{ border-bottom: 1px solid var(--line); }
  .main-nav a{ padding: 18px 2px; font-size: 1.05rem; }
  .main-nav a:not(.nav-cta)::after{ display: none; }
  .nav-cta{ margin-top: 18px; justify-content: center; padding: 16px; }
  .nav-toggle{ display: flex; }

  .hero::before{ background-size: calc(100% / 3) 100%; }
  h1{ letter-spacing: -.028em; }
  h1 .l2{ padding-left: 0; }
}

@media (max-width: 520px){
  .btn{ width: 100%; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .figures{ grid-template-columns: 1fr; }
  .fig{ flex-direction: row; align-items: baseline; justify-content: space-between; padding-block: 18px; }
  .tag-1, .tag-3{ left: 8px; }
  .tag-2{ right: 8px; }
  .tag-4{ right: 12px; bottom: -12px; }
  .logo-text{ font-size: .7rem; letter-spacing: .22em; }
  .step{ grid-template-columns: 1fr; gap: 10px; }
  .step-n{ font-size: 2rem; }
  .foot-top{ flex-direction: column; align-items: flex-start; }
}

/* Fallback si Fraunces no carga: mantener jerarquía */
@supports not (font-variation-settings: "wght" 400){
  h1, h2, h3, .manifesto, .wordmark, .fig dd, .step-n{ font-weight: 700; }
}
