/* ═══════════════════════════════════════════════════════════
   ARKIVA INTEGRAL — Landing page
   Paleta y tipografía heredadas del PDF "Estilo Clásico"
   ═══════════════════════════════════════════════════════════ */

:root{
  /* Color */
  --navy:        #182c3e;
  --navy-deep:   #12212f;
  --navy-soft:   #22394d;
  --cream:       #f6f2e9;
  --white:       #fffdf7;
  --gold:        #9b7a46;
  --gold-soft:   #b9945a;
  --slate:       #6a746b;
  --blue:        #58697b;
  --ink:         #182c3e;
  --ink-soft:    #45566a;
  --light-text:  #d9e1ee;
  --line:        rgba(24,44,62,.14);
  --line-light:  rgba(246,242,233,.18);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:var(--sans);
  font-size:clamp(1rem,.97rem + .15vw,1.075rem);
  line-height:1.65;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--serif); font-weight:600; line-height:1.12; letter-spacing:-.01em; }

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

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--gold); color:#fff; padding:.75rem 1.25rem; font-weight:600;
}
.skip-link:focus{ left:0; }

/* ─────────── Top bar ─────────── */
.topbar{
  background:var(--navy-deep);
  color:var(--light-text);
  font-size:.78rem;
  letter-spacing:.02em;
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; min-height:38px;
}
.topbar p{ margin:0; }
.topbar .dot{ color:var(--gold); padding:0 .25rem; }
.topbar__cta{
  color:var(--gold-soft); font-weight:600; white-space:nowrap;
  border-bottom:1px solid rgba(185,148,90,.4); padding-bottom:1px;
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.topbar__cta:hover{ color:#e3c48f; border-color:#e3c48f; }

/* ─────────── Header ─────────── */
.header{
  position:sticky; top:0; z-index:100;
  background:var(--navy);
  transition:box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck{ box-shadow:0 10px 30px rgba(10,20,30,.28); background:var(--navy-deep); }
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; min-height:74px;
}

.brand{ display:inline-flex; align-items:center; gap:.65rem; color:var(--white); }
.brand__mark{
  width:34px; height:34px; display:grid; place-items:center;
  border:1px solid rgba(185,148,90,.55); border-radius:3px;
}
.brand__mark svg{ width:22px; height:22px; fill:none; stroke-linecap:round; stroke-width:3; }
.brand__mark svg path:nth-child(1){ stroke:var(--gold-soft); }
.brand__mark svg path:nth-child(2){ stroke:var(--white); }
.brand__mark svg path:nth-child(3){ stroke:var(--gold-soft); }
.brand__text{
  font-family:var(--serif); font-size:1.32rem; letter-spacing:.02em;
}
.brand--light .brand__text{ color:var(--white); }

.nav{ display:flex; align-items:center; gap:1.85rem; }
.nav a{
  color:var(--light-text); font-size:.9rem; font-weight:500; position:relative; padding:.25rem 0;
  transition:color .25s var(--ease);
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold-soft); transition:width .3s var(--ease);
}
.nav a:hover{ color:var(--white); }
.nav a:hover::after,.nav a.is-active::after{ width:100%; }
.nav a.is-active{ color:var(--white); }
.nav__cta::after{ display:none; }
.nav__cta.is-active{ background:#b08a52; border-color:#b08a52; }

.burger{
  display:none; width:44px; height:40px; background:none; border:0; cursor:pointer;
  padding:9px 8px; flex-direction:column; justify-content:space-between;
}
.burger span{
  display:block; height:2px; width:100%; background:var(--white); border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ─────────── Buttons ─────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--sans); font-weight:600; font-size:.95rem; letter-spacing:.01em;
  padding:.95rem 1.7rem; border:1px solid transparent; border-radius:2px;
  cursor:pointer; text-align:center; transition:all .28s var(--ease);
}
.btn--gold{ background:var(--gold); color:#fff; border-color:var(--gold); }
.btn--gold:hover{ background:#866839; border-color:#866839; transform:translateY(-2px); }
.btn--ghost{ color:var(--white); border-color:rgba(246,242,233,.38); background:transparent; }
.btn--ghost:hover{ border-color:var(--gold-soft); color:var(--gold-soft); transform:translateY(-2px); }
.btn--outline-light{ color:var(--white); border-color:rgba(246,242,233,.4); }
.btn--outline-light:hover{ border-color:var(--gold-soft); color:var(--gold-soft); }
.btn--sm{ padding:.62rem 1.15rem; font-size:.85rem; }
.btn--block{ width:100%; }

/* ─────────── Type helpers ─────────── */
.eyebrow{
  margin:0 0 1rem; color:var(--gold-soft);
  font-size:.74rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
}
.eyebrow--gold{ color:var(--gold); }

.sec-title{
  font-size:clamp(1.9rem,1.2rem + 2.6vw,3.15rem);
  max-width:16ch; color:var(--ink);
}
.sec-title em{ font-style:italic; color:var(--gold); }
.sec-title--light{ color:var(--white); }
.sec-title--light em{ color:var(--gold-soft); }

.sec-head{ margin-bottom:clamp(2.5rem,5vw,4rem); }
.sec-head--center{ text-align:center; }
.sec-head--center .sec-title{ max-width:none; margin-inline:auto; }
.sec-head__rule{
  display:block; width:72px; height:1px; margin-top:1.6rem;
  background:var(--gold);
}
.sec-head--center .sec-head__rule{ margin-inline:auto; }

/* ─────────── Sections ─────────── */
.section{ position:relative; padding:var(--sec-y) 0; }
.section--cream{ background:var(--cream); }
.section--white{ background:var(--white); }
.section--navy{ background:var(--navy); color:var(--light-text); }
.section--navy .sec-head__rule{ background:var(--gold-soft); }

.sectnum{
  position:absolute; right:var(--gutter); bottom:1.5rem;
  font-size:.75rem; letter-spacing:.22em; color:rgba(246,242,233,.42); font-weight:500;
}
.sectnum--dark{ color:rgba(24,44,62,.3); }

.grid{ display:grid; gap:clamp(1.5rem,3vw,2.5rem); }
.grid--3{ grid-template-columns:repeat(3,1fr); }

/* ─────────── Hero ─────────── */
.hero{
  position:relative; overflow:hidden;
  background:var(--navy); color:var(--light-text);
  padding:clamp(3.5rem,7vw,6.5rem) 0 clamp(4rem,8vw,7rem);
}
.hero__bg{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(155,122,70,.22), transparent 62%),
    radial-gradient(700px 420px at -10% 110%, rgba(88,105,123,.3), transparent 60%);
}
.hero__inner{
  position:relative; display:grid; grid-template-columns:1.08fr .92fr;
  gap:clamp(2rem,5vw,4.5rem); align-items:center;
}
.hero__title{
  font-size:clamp(2.6rem,1.4rem + 5.2vw,4.6rem);
  color:var(--white); line-height:1.04; letter-spacing:-.015em;
}
.hero__title .line{ display:block; }
/* La línea de marca ("Arkiva Integral") es más larga: entra en una línea en dorado */
.hero__title .line--brand{
  font-size:.62em; color:var(--gold-soft); letter-spacing:.01em; margin-top:.06em;
}
.hero__lead{
  margin:1.6rem 0 0; max-width:44ch;
  font-size:clamp(1.05rem,1rem + .35vw,1.28rem); color:var(--light-text); line-height:1.6;
}
/* Resumen factual: la frase que las IAs necesitan para "saber qué es esto" */
.hero__summary{
  margin:1.1rem 0 0; max-width:58ch;
  font-size:.95rem; line-height:1.65; color:rgba(217,225,238,.72);
}
.hero__summary strong{ color:var(--gold-soft); font-weight:600; }

.pillars{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1rem;
  margin:clamp(2rem,4vw,3rem) 0 0;
}
.pillars li{
  font-size:.86rem; font-weight:600; color:var(--white);
  letter-spacing:.03em; padding-top:.9rem;
  border-top:1px solid var(--line-light); position:relative;
}
.pillars__rule{
  position:absolute; top:-1px; left:0; width:42px; height:2px; background:var(--gold);
}

.hero__actions{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:clamp(2rem,4vw,2.8rem); }

.frame{ position:relative; }
.frame::before{
  content:""; position:absolute; inset:0; border-top:2px solid var(--gold);
  transform:translate(-14px,-14px); pointer-events:none;
}
.frame img{
  width:100%; aspect-ratio:3/2; object-fit:cover;
  border:1px solid var(--line-light);
}
.hero__figure figcaption{
  margin-top:1.1rem; font-size:.85rem; color:rgba(217,225,238,.62); letter-spacing:.02em;
}

/* ─────────── Necesidad ─────────── */
.card{
  background:var(--white); border:1px solid var(--line);
  padding:clamp(1.75rem,3vw,2.5rem);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover{ transform:translateY(-5px); border-color:rgba(155,122,70,.5); box-shadow:0 18px 40px -22px rgba(24,44,62,.45); }
.need__icon{
  display:grid; place-items:center; width:54px; height:54px; margin-bottom:1.4rem;
  border:1px solid rgba(155,122,70,.45); border-radius:3px;
}
.need__icon svg{
  width:28px; height:28px; fill:none; stroke:var(--gold); stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;
}
.card__title{ font-size:1.4rem; margin-bottom:.7rem; }
.card__text{ margin:0; color:var(--ink-soft); font-size:.98rem; }

/* ─────────── Solución (navy) ─────────── */
.pillar{ text-align:center; padding:clamp(1.5rem,3vw,2rem) 1rem; position:relative; }
.pillar::before{
  content:""; display:block; width:38px; height:1px; background:var(--gold);
  margin:0 auto 1.6rem;
}
.pillar__num{
  display:block; font-family:var(--serif); font-size:.9rem; color:var(--gold-soft);
  letter-spacing:.18em; margin-bottom:.75rem;
}
.pillar__title{ color:var(--white); font-size:1.65rem; margin-bottom:.6rem; }
.pillar__text{ margin:0; color:var(--light-text); font-size:.96rem; }

.strip{
  margin-top:clamp(2.5rem,5vw,4rem);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1.5rem; padding:1.6rem 1.9rem;
  border:1px solid var(--line-light); background:rgba(246,242,233,.04);
}
.strip__text{ margin:0; color:var(--light-text); font-size:.98rem; max-width:56ch; }

/* ─────────── Servicios ─────────── */
.svc__media{ overflow:hidden; margin-bottom:1.5rem; background:var(--cream); }
.svc__media img{
  width:100%; aspect-ratio:3/2; object-fit:cover;
  transition:transform .6s var(--ease);
}
.svc:hover .svc__media img{ transform:scale(1.045); }
.svc__title{ font-size:1.62rem; margin-bottom:.9rem; }
.svc__title--gold{ color:var(--gold); }
.svc__title--slate{ color:var(--slate); }
.svc__title--blue{ color:var(--blue); }
.svc__rule{ display:block; height:1px; background:var(--line); margin-bottom:1.2rem; }

.ticks li{
  position:relative; padding-left:1.35rem; margin-bottom:.62rem;
  color:var(--ink); font-size:.96rem; line-height:1.5;
}
.ticks li::before{
  content:""; position:absolute; left:0; top:.62em;
  width:9px; height:1px; background:var(--gold);
}

/* ─────────── Beneficios ─────────── */
.ben{
  padding:clamp(1.5rem,2.6vw,2.1rem);
  border-top:2px solid var(--gold);
  background:var(--cream);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ben:hover{ transform:translateY(-4px); box-shadow:0 16px 34px -24px rgba(24,44,62,.5); }
.ben__icon{ display:block; width:34px; height:34px; margin-bottom:1.1rem; color:var(--gold); }
.ben__icon svg{ width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ben__title{ font-size:1.3rem; margin-bottom:.5rem; }
.ben__text{ margin:0; color:var(--ink-soft); font-size:.95rem; }

/* ─────────── Proceso ─────────── */
.steps{
  display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.25rem,2.5vw,2rem);
  counter-reset:step;
}
.step{ position:relative; padding-top:1.6rem; border-top:1px solid var(--line-light); }
.step__num{
  display:block; font-family:var(--serif); font-size:2.1rem; color:var(--gold-soft);
  line-height:1; margin-bottom:.9rem;
}
.step__title{ color:var(--white); font-size:1.28rem; margin-bottom:.5rem; }
.step__text{ margin:0; color:var(--light-text); font-size:.94rem; }

.pay-note{
  margin:clamp(2.5rem,5vw,3.5rem) auto 0; max-width:760px; text-align:center;
  padding:1.4rem 1.8rem; border:1px solid var(--line-light); background:rgba(246,242,233,.05);
  color:var(--light-text); font-size:.97rem;
}
.pay-note__label{ color:var(--gold-soft); font-weight:600; }

/* ─────────── Paquetes ─────────── */
.pkg{
  background:var(--white); border:1px solid var(--line);
  padding:clamp(1.75rem,3vw,2.4rem);
  display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pkg:hover{ transform:translateY(-5px); box-shadow:0 20px 44px -26px rgba(24,44,62,.5); }
.pkg--featured{ border-top:3px solid var(--gold); }
.pkg .ticks{ flex:1 0 auto; }
.pkg__title{ font-size:1.5rem; margin-bottom:1rem; }
.pkg__title--gold{ color:var(--gold); }
.pkg__title--slate{ color:var(--slate); }
.pkg__title--blue{ color:var(--blue); }
.pkg__rule{ display:block; height:1px; background:var(--line); margin-bottom:1.3rem; }
.pkg__price{
  margin:1.8rem 0 0; padding-top:1.3rem; border-top:1px solid var(--line);
  font-family:var(--serif); font-size:1.28rem; color:var(--ink);
}
.pkg-note{ margin:2.5rem 0 0; text-align:center; color:var(--ink-soft); font-size:.96rem; }
.pkg-note a{ color:var(--gold); font-weight:600; border-bottom:1px solid rgba(155,122,70,.4); }
.pkg-note a:hover{ color:var(--ink); }

/* Marcadores pendientes de completar (WhatsApp, Instagram, correo, precios) */
.is-placeholder{
  color:#9a7f52 !important;
  border-bottom:1px dashed rgba(155,122,70,.55);
  padding-bottom:1px;
}
.pkg__price .is-placeholder{ color:#9a7f52; border-bottom:1px dashed rgba(155,122,70,.55); }

/* ─────────── Clientes ─────────── */
.chips{ display:flex; flex-wrap:wrap; gap:.75rem; max-width:900px; }
.chip{
  padding:.72rem 1.25rem; border:1px solid var(--line); background:var(--cream);
  font-size:.95rem; font-weight:500; color:var(--ink);
  transition:all .25s var(--ease);
}
.chip:hover{ border-color:var(--gold); color:var(--gold); background:var(--white); transform:translateY(-2px); }

/* ─────────── Preguntas frecuentes ─────────── */
.faq{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:0 clamp(2rem,4vw,3.5rem);
}
.faq__item{
  padding:1.6rem 0 1.7rem; border-top:1px solid var(--line);
}
.faq__q{
  font-size:1.16rem; line-height:1.35; margin-bottom:.6rem;
  display:flex; gap:.7rem; align-items:baseline;
}
.faq__q::before{
  content:"?"; flex:none;
  font-family:var(--serif); font-size:1.05rem; color:var(--gold);
  line-height:1;
}
.faq__a p{ margin:0; color:var(--ink-soft); font-size:.96rem; line-height:1.65; }
.faq__a strong{ color:var(--ink); font-weight:600; }

/* ─────────── Páginas de error (404 / 500) ─────────── */
.error{
  min-height:100vh; display:grid; place-items:center;
  background:var(--navy); color:var(--light-text);
  padding:clamp(2rem,6vw,4rem) var(--gutter); text-align:center;
}
.error__inner{ max-width:640px; }
.error__code{
  font-family:var(--serif); font-size:clamp(4rem,14vw,8rem); line-height:1;
  color:var(--gold-soft); letter-spacing:.02em; margin:0 0 .4rem;
}
.error__title{
  font-size:clamp(1.5rem,1.1rem + 1.8vw,2.4rem); color:var(--white); margin-bottom:1rem;
}
.error__text{ color:rgba(217,225,238,.78); font-size:1.02rem; margin:0 0 2rem; }
.error__rule{
  width:72px; height:1px; background:var(--gold); margin:0 auto 2rem;
}
.error__actions{
  display:flex; flex-wrap:wrap; gap:.9rem; justify-content:center; margin-bottom:2.4rem;
}
.error__contact{ font-size:.9rem; color:rgba(217,225,238,.6); }
.error__contact a{ color:var(--gold-soft); border-bottom:1px solid rgba(185,148,90,.4); }
.error__brand{ display:inline-flex; margin-bottom:2.4rem; }

/* ─────────── Contacto ─────────── */
.section--contact{ padding-bottom:clamp(5rem,9vw,8rem); }
.contact-grid{ display:grid; grid-template-columns:1fr .92fr; gap:clamp(2.5rem,5vw,4.5rem); align-items:start; }
.contact__lead{
  margin:1.5rem 0 0; max-width:42ch; color:var(--light-text);
  font-size:clamp(1.02rem,1rem + .3vw,1.2rem); line-height:1.6;
}
.contact-list{ margin:clamp(2rem,4vw,2.8rem) 0 0; display:grid; gap:1.1rem; }
.contact-list li{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem 1.25rem;
  padding-bottom:1.1rem; border-bottom:1px solid var(--line-light);
}
.contact-list__label{
  min-width:96px; color:var(--gold-soft); font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase; font-weight:600;
}
.contact-list__value{ color:var(--white); font-size:1.05rem; transition:color .25s var(--ease); }
.contact-list__value:hover{ color:var(--gold-soft); }
.contact__foot{ margin:2rem 0 0; color:rgba(217,225,238,.72); font-size:.92rem; }

.form{
  background:var(--white); padding:clamp(1.75rem,3.2vw,2.6rem);
  border-top:3px solid var(--gold);
  box-shadow:0 26px 60px -34px rgba(0,0,0,.65);
}
.form__title{ font-size:1.42rem; margin-bottom:1.6rem; color:var(--ink); }
.field{ margin-bottom:1.05rem; }
.field label{
  display:block; font-size:.76rem; font-weight:600; letter-spacing:.13em;
  text-transform:uppercase; color:var(--ink-soft); margin-bottom:.45rem;
}
.field input,.field select,.field textarea{
  width:100%; padding:.85rem 1rem; background:var(--cream);
  border:1px solid var(--line); border-radius:2px;
  color:var(--ink);
  transition:border-color .25s var(--ease), background .25s var(--ease);
  font-size:.97rem;
}
.field textarea{ resize:vertical; min-height:104px; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--gold); background:var(--white);
}
.field input::placeholder,.field textarea::placeholder{ color:#6b7683; }
.form__status{ margin:1rem 0 0; font-size:.9rem; min-height:1.2em; }
.form__status.is-error{ color:#a4402f; }
.form__status.is-ok{ color:#2f6b4f; }
.form__legal{ margin:.9rem 0 0; font-size:.78rem; color:#87919c; }

/* ─────────── Footer ─────────── */
.footer{ background:var(--navy-deep); color:var(--light-text); padding-top:clamp(3rem,6vw,4.5rem); }
.footer__inner{
  display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:clamp(2rem,4vw,3.5rem);
  padding-bottom:clamp(2rem,4vw,3rem);
}
.footer__brand p{ margin:1.1rem 0 0; font-size:.92rem; color:rgba(217,225,238,.7); max-width:38ch; }
.footer__nav{ display:grid; gap:.55rem; align-content:start; }
.footer__nav a{ font-size:.93rem; color:rgba(217,225,238,.78); transition:color .25s var(--ease); }
.footer__nav a:hover{ color:var(--gold-soft); }
.footer__contact{ display:grid; gap:.55rem; align-content:start; }
.footer__contact p{ margin:0; }
.footer__contact a{ font-size:.93rem; color:rgba(217,225,238,.78); transition:color .25s var(--ease); }
.footer__contact a:hover{ color:var(--gold-soft); }
.footer__label{
  color:var(--gold-soft); font-size:.72rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; margin-right:.45rem;
}
.footer__contact > span{ margin-top:.5rem; font-size:.88rem; color:rgba(217,225,238,.55); }
.footer__bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.75rem;
  padding-block:1.4rem; border-top:1px solid rgba(246,242,233,.12);
  font-size:.8rem; color:rgba(217,225,238,.5);
}
.footer__bottom p{ margin:0; }

/* ─────────── Accesibilidad ─────────── */
:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:2px;
}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ─────────── Impresión / PDF ─────────── */
@media print{
  .topbar,.header,.footer__nav,.hero__actions,.form,.sectnum,.burger{ display:none !important; }
  body{ background:#fff; color:#000; }
  .section{ padding:1.5rem 0; break-inside:avoid; }
  .section--navy,.hero{ background:#fff !important; color:#000 !important; }
  .sec-title,.hero__title,.pillar__title,.step__title{ color:#000 !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* ─────────── Reveal animation (solo si hay JS: nunca oculta contenido sin JS) ─────────── */
.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible{ opacity:1; transform:none; }

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

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width:1020px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__figure{ order:-1; max-width:640px; }
  .contact-grid{ grid-template-columns:1fr; }
  .grid--3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .footer__inner{ grid-template-columns:1fr 1fr; }
  .footer__brand{ grid-column:1 / -1; }
}

@media (max-width:860px){
  .burger{ display:flex; }
  .faq{ grid-template-columns:1fr; }
  .nav{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--navy-deep); padding:.5rem 0 1.25rem;
    border-top:1px solid var(--line-light);
    box-shadow:0 20px 40px -18px rgba(0,0,0,.55);
    display:none;
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding:.85rem var(--gutter); font-size:1rem; border-bottom:1px solid rgba(246,242,233,.07); }
  .nav a::after{ display:none; }
  .nav__cta{ margin:.9rem var(--gutter) 0; text-align:center; border:0; }
}

@media (max-width:640px){
  .grid--3{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .pillars{ grid-template-columns:1fr; gap:.9rem; }
  .footer__inner{ grid-template-columns:1fr; }
  .hero__actions .btn{ width:100%; }
  .strip{ flex-direction:column; align-items:flex-start; }
  .contact-list li{ flex-direction:column; gap:.3rem; }
  .contact-list__label{ min-width:0; }
  .frame::before{ transform:translate(-8px,-8px); }
  .topbar__hide-sm{ display:none; }
  .topbar p{ white-space:nowrap; }
  .topbar__inner{ gap:.75rem; }
}
