/* =========================================================
   B2IAMX — Landing premium
   Editorial dark, acento lima eléctrico, tipografía protagonista
   ========================================================= */

:root{
  --black: #0a0a0a;
  --charcoal: #131311;
  --panel: #17171490;
  --line: rgba(245,245,240,.10);
  --line-strong: rgba(245,245,240,.18);
  --fg: #f3f2ec;
  --muted: #96958c;
  --muted-dim: #6b6a63;
  --accent: #cdfb3a;
  --accent-dim: rgba(205,251,58,.14);
  --accent-ink: #17210a;

  --font-display: "Clash Display", "General Sans", sans-serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(80px, 12vw, 160px);

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

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -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; }
h1,h2,h3,h4{ margin:0; font-family: var(--font-display); font-weight:600; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; }

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

.accent{ color: var(--accent); }

/* ---------- texture layers ---------- */
.grain{
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-overlay{
  position: fixed; inset:0; z-index:1; pointer-events:none;
  max-width: var(--container); margin: 0 auto;
  left: var(--gutter); right: var(--gutter);
}
.grid-overlay::before,.grid-overlay::after{
  content:""; position:absolute; top:0; bottom:0; width:1px;
  background: var(--line);
}
.grid-overlay::before{ left:0; }
.grid-overlay::after{ right:0; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float{
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 500;
  display:flex; align-items:center; justify-content:center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .35s var(--ease);
}
.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.05);
  background: #e2ff70;
  box-shadow: 0 18px 36px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.06);
}
.whatsapp-float svg{ position: relative; z-index:1; }
.whatsapp-float-ring{
  position:absolute; inset:0; border-radius:50%;
  border: 1px solid var(--accent);
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse{
  0%{ transform: scale(1); opacity:.55; }
  100%{ transform: scale(1.85); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float-ring{ animation: none; display:none; }
}
/* tooltip */
.whatsapp-float::after{
  content: "Escríbenos por WhatsApp";
  position:absolute; right: calc(100% + 14px); top:50%; transform: translateY(-50%) translateX(6px);
  background: var(--black); color: var(--fg); border:1px solid var(--line-strong);
  padding:.6em 1em; border-radius: 6px; font-size:.82rem; font-weight:500;
  white-space: nowrap; pointer-events:none;
  opacity:0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.whatsapp-float:hover::after{ opacity:1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px){
  .whatsapp-float{ width:52px; height:52px; }
  .whatsapp-float::after{ display:none; }
}

.cursor-dot{
  position: fixed; width:8px; height:8px; border-radius:50%;
  background: var(--accent); z-index: 999; pointer-events:none;
  transform: translate(-50%,-50%); opacity:0;
  transition: opacity .3s var(--ease), width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
  mix-blend-mode: difference;
}
@media (hover:none){ .cursor-dot{ display:none; } }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display:flex; align-items:center; gap:.6em;
  font-family: var(--font-body);
  font-size: .8rem; font-weight:600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.eyebrow .dot{
  width:7px; height:7px; border-radius:50%; background: var(--accent);
  flex: none; box-shadow: 0 0 12px 1px var(--accent);
}

/* ---------- buttons ---------- */
.btn{
  position: relative;
  display:inline-flex; align-items:center; gap:.6em;
  font-weight:600; font-size:.95rem; letter-spacing:-.01em;
  padding: 1em 1.7em; border-radius: 100px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg{ transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{ background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover{ transform: translateY(-2px); background:#e2ff70; }
.btn-ghost{ border:1px solid var(--line-strong); color: var(--fg); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg{ padding: 1.05em 2em; font-size:1rem; }
.btn-sm{ padding:.75em 1.4em; font-size:.85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled{ border-color: var(--line); }

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}

.logo-mark{
  font-family: var(--font-display); font-weight:600;
  font-size: 1.35rem; letter-spacing:-.02em;
}

.main-nav{ display:flex; align-items:center; gap: 2.4rem; }
.main-nav a{
  position: relative;
  display:flex; align-items:center; gap:.5em;
  font-size: .92rem; font-weight:500; color: var(--muted);
  transition: color .25s var(--ease);
}
.main-nav a:hover{ color: var(--fg); }
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after{ transform: scaleX(1); }
.nav-index{
  font-size:.68rem; color: var(--muted-dim); font-variant-numeric: tabular-nums;
}

.header-cta{ flex:none; }

.menu-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:none; cursor:pointer; flex:none;
}
.menu-toggle span{
  height:1px; background: var(--fg); width:100%;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child{ transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child{ transform: translateY(-3px) rotate(-45deg); }

.mobile-nav{
  display:none; flex-direction:column; gap:0;
  max-height:0; overflow:hidden;
  border-top: 1px solid transparent;
  transition: max-height .45s var(--ease), border-color .45s var(--ease);
}
.mobile-nav.open{ max-height: 420px; border-color: var(--line); }
.mobile-nav a{
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem; font-weight:500;
}
.mobile-nav .btn{ margin: 1.2rem var(--gutter); justify-content:center; border-bottom:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  padding: clamp(60px,10vw,120px) 0 clamp(40px,6vw,80px);
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,60px);
  align-items:center;
}
.hero-title{
  font-size: clamp(2.6rem, 6.2vw, 5.3rem);
  line-height: .98;
  margin: 0 0 1.7rem;
}
.hero-title-outline{
  color: transparent; -webkit-text-stroke: 1.5px var(--fg);
}
.hero-sub{
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 2.4rem;
  line-height:1.6;
}
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.hero-visual{ position: relative; }
.hero-image-frame{
  position: relative; border-radius: 6px; overflow:hidden;
  aspect-ratio: 4/5;
  border:1px solid var(--line);
}
.hero-image-frame img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(1) contrast(1.15) brightness(.75);
  transform: scale(1.02);
}
.hero-image-tint{
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(205,251,58,.22), rgba(10,10,10,.55) 55%, rgba(10,10,10,.9));
  mix-blend-mode: multiply;
}
.hero-image-tint::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(10,10,10,.7), transparent 45%);
}
.hero-stat-card{
  position:absolute; left: -8%; bottom: -8%;
  background: var(--black); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 1.5rem 1.7rem;
  width: min(230px, 60%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.hero-stat-num{
  display:block; font-family: var(--font-display); font-weight:600;
  font-size: 2.6rem; color: var(--accent); line-height:1;
  margin-bottom:.5rem;
}
.hero-stat-label{ font-size:.8rem; color: var(--muted); line-height:1.4; }

.scroll-cue{
  display:flex; flex-direction:column; align-items:center; gap:.6rem;
  position:absolute; bottom: -10px; left:50%; transform: translateX(-50%);
  color: var(--muted-dim); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase;
}
.scroll-line{ width:1px; height:44px; background: var(--line-strong); position:relative; overflow:hidden; }
.scroll-line i{
  position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--accent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown{
  0%{ top:-100%; } 50%{ top:0; } 100%{ top:100%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip{
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow:hidden; padding: 1.5rem 0;
  background: var(--charcoal);
}
.marquee-track{
  display:flex; align-items:center; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span{
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight:500; white-space:nowrap; color: var(--muted);
  padding: 0 1.4rem;
}
.marquee-track .sep{ color: var(--accent); font-family: var(--font-body); padding:0 1.4rem; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ============================================================
   SECTIONS — general
   ============================================================ */
.section{ padding: var(--section-pad) 0; position: relative; }
.section-dark{ background: var(--charcoal); }

.section-head{ max-width: 720px; margin-bottom: clamp(48px,7vw,88px); }
.section-title{ font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height:1.05; }
.section-sub{ margin-top:1.3rem; color: var(--muted); font-size:1.08rem; max-width:38em; }

/* reveal-on-scroll */
[data-reveal]{
  opacity:0; transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in-view{ opacity:1; transform:none; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-list{ display:flex; flex-direction:column; }
.service-row{
  display:grid; grid-template-columns: 1fr 280px;
  gap: clamp(24px,4vw,56px);
  padding: clamp(36px,5vw,56px) 0;
  border-top: 1px solid var(--line);
  align-items:center;
}
.services-list .service-row:last-child{ border-bottom: 1px solid var(--line); }

.service-row-main{ display:flex; gap: clamp(20px,3vw,40px); }
.service-num{
  font-family: var(--font-display); font-size:1rem; color: var(--muted-dim);
  padding-top:.3rem; flex:none; font-variant-numeric: tabular-nums;
}
.service-copy h3{ font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom:1rem; transition: color .3s var(--ease); }
.service-copy p{ color: var(--muted); max-width: 46em; line-height:1.65; margin-bottom:1.4rem; }
.service-tags{ display:flex; flex-wrap:wrap; gap:.6rem; }
.service-tags li{
  font-size:.8rem; color: var(--fg); border:1px solid var(--line-strong);
  border-radius: 100px; padding:.5em 1em;
}

.service-row-media{
  aspect-ratio: 4/3; border-radius:6px; overflow:hidden; border:1px solid var(--line);
  position:relative;
}
.service-row-media img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(1) contrast(1.1) brightness(.8);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.service-row:hover .service-row-media img{
  filter: grayscale(.15) contrast(1.05) brightness(.85);
  transform: scale(1.04);
}
.service-row:hover .service-num{ color: var(--accent); }

@media (min-width: 860px){
  .service-row:nth-child(even){ direction: rtl; }
  .service-row:nth-child(even) > *{ direction: ltr; }
}

/* ============================================================
   PROCESO
   ============================================================ */
.process-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px; overflow:hidden;
}
.process-step{
  background: var(--charcoal); padding: clamp(28px,3vw,40px) clamp(22px,2.6vw,32px);
  transition: background .35s var(--ease);
}
.process-step:hover{ background: #1b1b17; }
.process-num{
  display:block; font-family: var(--font-display); font-size:1.6rem;
  color: var(--accent); margin-bottom: 1.6rem;
}
.process-step h3{ font-size:1.2rem; margin-bottom:.8rem; }
.process-step p{ color: var(--muted); font-size:.92rem; line-height:1.6; }

/* ============================================================
   RESULTADOS
   ============================================================ */
.stats-grid{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(20px,3vw,32px);
  padding-bottom: clamp(56px,7vw,96px);
  margin-bottom: clamp(56px,7vw,96px);
  border-bottom: 1px solid var(--line);
}
.stat{ display:flex; flex-direction:column; gap:.9rem; }
.stat-num{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(2.6rem,5vw,4rem); color: var(--accent); line-height:1;
  font-variant-numeric: tabular-nums;
}
.stat-label{ color: var(--muted); font-size:.92rem; line-height:1.5; max-width:20em; }

.cases-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,32px);
}
.case-card{ display:flex; flex-direction:column; }
.case-media{
  aspect-ratio: 4/5; border-radius:6px; overflow:hidden; margin-bottom:1.6rem;
  border:1px solid var(--line);
}
.case-media img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform .6s var(--ease);
}
.case-card:hover .case-media img{ transform: scale(1.05); }
.case-tag{
  font-size:.75rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--accent); margin-bottom:.9rem; font-weight:600;
}
.case-card h3{ font-size:1.25rem; line-height:1.3; margin-bottom:.9rem; }
.case-desc{ color: var(--muted); font-size:.92rem; line-height:1.6; margin-bottom:1.3rem; }
.case-metric{
  font-family: var(--font-display); font-size:1.3rem; margin-top:auto;
  padding-top:1.2rem; border-top:1px solid var(--line);
}
.case-metric span{ display:block; font-family: var(--font-body); font-size:.78rem; color: var(--muted); font-weight:400; margin-top:.3rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final{
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  padding: var(--section-pad) 0;
  position: relative; overflow:hidden;
}
.cta-grid{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px,6vw,80px);
  align-items:start;
}
.cta-inner{ max-width: 560px; }
.cta-title{ font-size: clamp(2.1rem,4.4vw,3.6rem); line-height:1.05; margin-bottom:1.6rem; }
.cta-sub{ color: var(--muted); font-size:1.1rem; max-width:36em; margin-bottom:3rem; line-height:1.6; }

.cta-email{
  display:inline-flex; align-items:center; gap:1rem;
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  line-height: 1.25;
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: .3em; margin-bottom: 3.2rem;
  max-width: 100%;
  word-break: break-word;
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.cta-email svg{ margin-top:.15em; }
.cta-email svg{ color: var(--accent); flex:none; }
.cta-email:hover{ color: var(--accent); border-color: var(--accent); gap:1.4rem; }

.cta-details{
  display:flex; gap: clamp(28px,5vw,64px); flex-wrap:wrap;
  padding-top: 2.4rem; border-top:1px solid var(--line);
}
.cta-details > div{ display:flex; flex-direction:column; gap:.5rem; }
.cta-details-label{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--muted-dim); }
.cta-details span:last-child{ font-size:1rem; }

/* ---------- Formulario de leads ---------- */
.lead-form-wrap{ position: relative; }
.lead-form{
  position: relative;
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: clamp(28px,3vw,40px);
}
.lead-form-title{
  font-family: var(--font-display); font-weight:600;
  font-size: 1.4rem; margin-bottom:.6rem;
}
.lead-form-sub{ color: var(--muted); font-size:.92rem; line-height:1.55; margin-bottom:2rem; }

.field{ margin-bottom: 1.4rem; }
.field label{
  display:block; font-size:.78rem; font-weight:600; letter-spacing:.04em;
  color: var(--fg); margin-bottom:.6rem;
}
.field input, .field textarea{
  width:100%; background: var(--charcoal); color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 6px;
  padding: .9em 1em; font-family: var(--font-body); font-size:.95rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder{ color: var(--muted-dim); }
.field input:hover, .field textarea:hover{ border-color: var(--muted); }
.field input:focus, .field textarea:focus{
  outline:none; border-color: var(--accent); background: #101008;
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea{ resize: vertical; min-height: 96px; }

.field.field-invalid input, .field.field-invalid textarea{
  border-color: #ff6a5a;
}
.field-error{
  display:none; color:#ff8a7d; font-size:.78rem; margin-top:.5rem;
}
.field.field-invalid .field-error{ display:block; }

.lead-form-honeypot{
  position:absolute !important; width:1px !important; height:1px !important;
  overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important;
  border:0 !important; padding:0 !important; margin:-1px !important;
}

.lead-form-submit{ width:100%; justify-content:center; margin-top:.4rem; }
.lead-form-submit:disabled{ opacity:.6; cursor:not-allowed; transform:none; }
.lead-form-note{
  color: var(--muted-dim); font-size:.76rem; line-height:1.5;
  margin-top:1.1rem; text-align:center;
}

.lead-form-submit-error{
  display:none; color:#ff8a7d; font-size:.85rem; line-height:1.5;
  text-align:center; margin-top:1.1rem;
  border:1px solid rgba(255,106,90,.35); border-radius:6px; padding:.9em 1em;
}
.lead-form-submit-error a{ color:#ff8a7d; text-decoration:underline; }
.lead-form.has-error .lead-form-submit-error{ display:block; }

.lead-form-success{
  display:none; flex-direction:column; align-items:center; text-align:center; gap:1.1rem;
  position:absolute; inset:0; background: var(--black); border-radius:10px;
  padding: clamp(28px,3vw,40px);
}
.lead-form-success svg{ color: var(--accent); }
.lead-form-success p{ color: var(--muted); font-size:.98rem; line-height:1.6; }
.lead-form.is-success .lead-form-success{ display:flex; }
.lead-form.is-success > *:not(.lead-form-success){ visibility:hidden; }

@media (max-width: 900px){
  .cta-grid{ grid-template-columns: 1fr; }
  .cta-inner{ max-width:none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ padding: clamp(56px,7vw,88px) 0 0; }
.footer-inner{
  display:grid; grid-template-columns: 1.6fr .8fr .8fr .8fr;
  gap: clamp(32px,4vw,40px);
  padding-bottom: clamp(48px,6vw,72px);
  border-bottom: 1px solid var(--line);
}
.footer-brand p{ color: var(--muted); font-size:.92rem; line-height:1.6; margin-top:1.2rem; max-width:30em; }
.footer-col{ display:flex; flex-direction:column; gap:.9rem; }
.footer-col-title{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--muted-dim); margin-bottom:.4rem; }
.footer-col a{ color: var(--muted); font-size:.92rem; transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--accent); }

.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  padding: 1.8rem 0 2.2rem;
  color: var(--muted-dim); font-size:.82rem;
}

/* ============================================================
   PÁGINAS LEGALES (Privacidad / Términos)
   ============================================================ */
.legal-page{ padding-top: clamp(48px,7vw,80px); }
.legal-container{ max-width: 760px; }

.legal-back{
  display:inline-flex; align-items:center; gap:.5em;
  color: var(--muted); font-size:.88rem; margin-bottom: 2.4rem;
  transition: color .25s var(--ease);
}
.legal-back:hover{ color: var(--accent); }

.legal-title{
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height:1.05; margin-bottom: 1rem;
}
.legal-updated{ color: var(--muted-dim); font-size:.85rem; margin-bottom: 3rem; }

.legal-body{
  padding-top: 2.4rem; border-top: 1px solid var(--line);
}
.legal-body > p{ color: var(--muted); font-size:1.02rem; line-height:1.75; margin-bottom:1.6rem; }
.legal-body h2{
  font-size:1.3rem; margin: 2.6rem 0 1.1rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type{ margin-top:0; padding-top:0; border-top:none; }
.legal-body ul{
  margin: 0 0 1.6rem; padding-left: 1.3rem; color: var(--muted);
  font-size:1.02rem; line-height:1.75;
}
.legal-body ul li{ margin-bottom:.7rem; list-style: disc; }
.legal-body ul li::marker{ color: var(--accent); }
.legal-body strong{ color: var(--fg); font-weight:600; }
.legal-body a{ color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover{ color: #e2ff70; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width: 420px; margin: 0 auto; }
  .process-grid{ grid-template-columns: repeat(2,1fr); }
  .cases-grid{ grid-template-columns: 1fr 1fr; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); row-gap: 2.4rem; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1/-1; }
}

@media (max-width: 760px){
  .main-nav, .header-cta{ display:none; }
  .menu-toggle{ display:flex; }
  .mobile-nav{ display:flex; }

  .service-row{ grid-template-columns: 1fr; }
  .service-row-media{ order:-1; aspect-ratio: 16/10; }
  .service-row:nth-child(even){ direction: ltr; }

  .process-grid{ grid-template-columns: 1fr; }
  .cases-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }

  .hero-stat-card{ left: 4%; bottom: 6%; }
}
