/* ============================================================
   AGENCIA DRM — Sistema de diseño
   Dark · Neon lime · Editorial moderno
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #060607;
  --bg-2: #0b0c0d;
  --surface: #101113;
  --surface-2: #15171a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f0;
  --muted: #9aa1a5;
  --muted-2: #6b7278;
  --accent: #b8ff29;
  --accent-2: #2ee6a8;
  --accent-glow: rgba(184, 255, 41, 0.28);
  --danger: #ff5c5c;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
em { font-style: normal; }

::selection { background: var(--accent); color: #0a0b06; }

.font-mono { font-family: var(--font-mono); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26282b; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33363a; }

/* ---------- Decoración global ---------- */
.fx-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -5%, rgba(184, 255, 41, 0.05), transparent 60%),
    var(--bg);
}

.fx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.35;
}

.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}
.fx-orb-a { width: 560px; height: 560px; top: -180px; right: -120px; background: var(--accent); animation: orbFloat 18s var(--ease) infinite alternate; }
.fx-orb-b { width: 460px; height: 460px; bottom: -140px; left: -140px; background: var(--accent-2); animation: orbFloat 22s var(--ease) infinite alternate-reverse; }

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 50px, 0) scale(1.12); }
}

/* ---------- Layout ---------- */
.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }
.shell-narrow { --shell: 860px; }

.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 40%, rgba(255,255,255,0.015) 60%, transparent); border-block: 1px solid var(--line); }

/* ---------- Tipografía ---------- */
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.stroke {
  color: transparent;
  -webkit-text-stroke: 1px var(--text);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 600;
  max-width: 20ch;
}
.section-title em {
  color: var(--muted);
  font-weight: 400;
}

.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-top: 18px;
}

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head-center .section-title,
.section-head-center .section-lede { margin-inline: auto; }

.section-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}
.section-index { color: var(--accent); font-size: 0.8rem; }
.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0b06;
  box-shadow: 0 0 0 0 rgba(184, 255, 41, 0);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -10px var(--accent-glow);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(5px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(6, 6, 7, 0.78);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #0a0b06;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 10px;
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(0deg) scale(1.06); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}
.brand-text em { color: var(--accent); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.3s;
  font-weight: 500;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 20; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(130px, 16vh, 190px) 0 80px;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(184, 255, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 41, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero-foot {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  max-width: 900px;
}
.hero-lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  grid-column: 1 / -1;
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.stat {
  flex: 1;
  padding: 22px 28px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  display: flex;
  align-items: baseline;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.3s;
}
.marquee span:hover { color: var(--accent); }
.marquee i {
  color: var(--accent);
  font-style: normal;
  font-size: 0.55rem;
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Servicios ---------- */
.services {
  border-top: 1px solid var(--line);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1.2fr 1.6fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, padding 0.4s var(--ease);
  cursor: default;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-row:hover { background: rgba(255, 255, 255, 0.025); padding-inline: 30px; }
.service-row:hover::before { transform: scaleX(1); }
.service-row:hover .service-name { color: var(--accent); }
.service-row:hover .service-arrow { transform: translateX(8px); color: var(--accent); }

.service-num { font-size: 0.85rem; color: var(--muted-2); }
.service-name {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  transition: color 0.3s;
}
.service-desc { color: var(--muted); font-size: 0.95rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.service-arrow { font-size: 1.5rem; transition: transform 0.4s var(--ease), color 0.3s; }

/* ---------- Método ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 255, 41, 0.45);
}
.step::after {
  content: "";
  position: absolute;
  inset: auto -40% -70% auto;
  width: 90%; height: 90%;
  background: radial-gradient(circle at 50% 100%, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.step:hover::after { opacity: 1; }
.step-num {
  font-size: 2.6rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  display: block;
  margin-bottom: 20px;
  transition: -webkit-text-stroke 0.3s;
}
.step:hover .step-num { -webkit-text-stroke: 1px var(--accent); }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--muted); position: relative; z-index: 1; }

/* ---------- Resultados ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  background: linear-gradient(160deg, var(--surface), transparent);
  text-align: left;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.metric-card:hover { transform: translateY(-6px); border-color: rgba(184, 255, 41, 0.4); }
.metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  display: block;
}
.metric-label { color: var(--muted); font-size: 0.92rem; display: block; margin-top: 8px; }

.awards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 30px;
  flex-wrap: wrap;
}
.awards-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.awards-years { display: flex; gap: 12px; }
.award-year {
  border: 1px solid rgba(184, 255, 41, 0.4);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.3s, color 0.3s;
}
.award-year:hover { background: var(--accent); color: #0a0b06; }

/* ---------- Valores ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.value {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.value:hover { transform: translateY(-5px); border-color: rgba(184, 255, 41, 0.4); }
.value-icon {
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Nosotros ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.member:hover { transform: translateY(-5px); border-color: rgba(184, 255, 41, 0.4); }
.member-photo {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 28px;
  padding: 4px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.member-photo::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  filter: blur(18px);
  opacity: 0.35;
  z-index: -1;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: var(--surface-2);
}
.member-name { font-size: 1.4rem; }
.member-role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 6px 0 16px;
}
.member-bio { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.member-social { font-size: 0.85rem; color: var(--text); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.member-social:hover { color: var(--accent); border-color: var(--accent); }

/* Bloque legal */
.legal-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px;
  background: linear-gradient(135deg, rgba(184, 255, 41, 0.05), transparent 55%);
}
.legal-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.legal-card-head strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.01em; }
.legal-card-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0a0b06;
  border-radius: 999px;
  padding: 4px 12px;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}
.legal-grid dt { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.legal-grid dd { font-weight: 500; font-size: 0.95rem; }
.legal-grid a { color: var(--accent); }
.legal-card-note { font-size: 0.85rem; color: var(--muted); }
.legal-card-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Testimonios ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.quote:hover { transform: translateY(-5px); border-color: rgba(184, 255, 41, 0.35); }
.quote-text { font-size: 1.02rem; line-height: 1.55; color: var(--text); flex: 1; }
.quote-author { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 2px; }
.quote-name { font-family: var(--font-display); font-weight: 600; }
.quote-role { font-size: 0.72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(184, 255, 41, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 75ch;
}

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(184, 255, 41, 0.035)); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-channels {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  width: fit-content;
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.3s;
}
.channel:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}
.channel-icon { color: var(--accent); font-size: 1rem; }

.contact-form {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-label { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.form-optional { color: var(--muted-2); font-weight: 400; }
.form-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input::placeholder { color: var(--muted-2); }
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 255, 41, 0.12);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.72rem; color: var(--muted-2); text-align: center; margin-top: -6px; }
.form-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.15) !important;
}
.form-status { font-size: 0.88rem; text-align: center; font-weight: 500; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }

.footer-legal {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  gap: 6px;
}
.footer-legal p { font-size: 0.88rem; color: var(--muted); }
.footer-legal strong { color: var(--text); font-family: var(--font-display); }
.footer-legal a { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.page-hero {
  padding: clamp(130px, 16vh, 160px) 0 30px;
}
.page-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 16px 0 12px;
}
.page-meta { color: var(--muted); font-size: 0.95rem; }
.page-meta time { color: var(--text); font-family: var(--font-mono); font-size: 0.85rem; }

.legal-body {
  padding: 30px 0 90px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}
.legal-body h2 {
  color: var(--text);
  font-size: 1.45rem;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { color: var(--text); font-size: 1.12rem; margin: 26px 0 10px; }
.legal-body p { margin-bottom: 14px; max-width: 80ch; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--text); }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 0.92rem;
}
.legal-body th, .legal-body td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}
.legal-body th { background: var(--surface); color: var(--text); }
.legal-body .legal-note {
  border-left: 3px solid var(--accent);
  background: rgba(184, 255, 41, 0.05);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-row {
    grid-template-columns: 50px 1fr 1.4fr;
  }
  .service-tags { grid-column: 2 / -1; }
  .service-arrow { grid-column: 3; grid-row: 1; justify-self: end; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .metrics, .quotes { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 7, 0.97);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links .nav-link { font-size: 1.4rem; font-family: var(--font-display); }
  .nav-links .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .hero-stats { flex-direction: column; }
  .stat + .stat::before { display: none; }
  .service-row {
    grid-template-columns: 40px 1fr;
    padding: 26px 14px;
    gap: 16px;
  }
  .service-name { grid-column: 1 / -1; grid-row: 1; padding-left: 0; }
  .service-num { grid-row: 1; }
  .service-desc { grid-column: 1 / -1; }
  .service-tags { grid-column: 1 / -1; }
  .service-arrow { display: none; }
  .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .marquee span { font-size: 0.9rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
