/* ==========================================================================
   Xtrategy Consultants Int Corp — estilos del sitio
   ========================================================================== */

:root {
  --bg: #070c16;
  --bg-2: #0b1322;
  --surface: #0f1a2d;
  --surface-2: #13213a;
  --border: rgba(148, 170, 205, 0.14);
  --border-strong: rgba(148, 170, 205, 0.26);
  --text: #e8edf5;
  --text-2: #a9b6c9;
  --text-3: #7d8ba1;
  --green: #9cc84b;
  --green-2: #7fa63a;
  --green-3: #5e7a2e;
  --green-glow: rgba(156, 200, 75, 0.22);
  --cyan: #4fd1c5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #b5dc6a; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #0b1322; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
.gradient-text {
  background: linear-gradient(100deg, #c4e88a 0%, var(--green) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-2); font-size: .94rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links .btn { margin-left: 10px; color: #0b1322; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 44px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #b0d866, var(--green) 50%, var(--green-2)); color: #0b1322; box-shadow: 0 10px 30px -10px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { color: #0b1322; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(156,200,75,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: #fff; border-color: rgba(156,200,75,.6); background: rgba(156,200,75,.06); }
.btn-sm { padding: 10px 18px; font-size: .9rem; border-radius: 10px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
section { position: relative; padding: 112px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--green); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--green); }
.lead { font-size: 1.15rem; color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,170,205,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,170,205,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px;
  background: radial-gradient(circle, rgba(156,200,75,.20), transparent 60%);
  pointer-events: none;
}
.hero-glow-2 { position: absolute; width: 700px; height: 700px; left: -320px; bottom: -420px; background: radial-gradient(circle, rgba(79,209,197,.12), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(15,26,45,.7); font-size: .85rem; color: var(--text-2); margin-bottom: 28px;
}
.hero .badge b { background: var(--green); color: #0b1322; font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.hero p.lead { max-width: 600px; }
.hero-tagline { font-family: var(--font-display); font-size: 1.08rem; color: #fff; margin: 26px 0 34px; font-weight: 600; }
.hero-tagline span { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stats dt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: .86rem; color: var(--text-3); }

/* Hero visual: arquitectura */
.stack-card {
  position: relative; border-radius: 20px; padding: 22px;
  background: linear-gradient(180deg, rgba(19,33,58,.92), rgba(11,19,34,.92));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.stack-card .window-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.stack-card .window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a55; }
.stack-card .window-bar i:first-child { background: #ff6b6b99; }
.stack-card .window-bar i:nth-child(2) { background: #ffd16699; }
.stack-card .window-bar i:nth-child(3) { background: #9cc84b99; }
.stack-card .window-bar span { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--text-3); }
.layer {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
}
.layer + .connector { height: 22px; margin-left: 33px; border-left: 1px dashed rgba(156,200,75,.5); position: relative; }
.connector::after { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: translateY(-8px); } 50% { opacity: 1; transform: translateY(4px); } }
.layer .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(156,200,75,.12); color: var(--green); }
.layer .ico svg { width: 20px; height: 20px; }
.layer h4 { font-family: var(--font); font-size: .95rem; font-weight: 600; margin: 0; letter-spacing: 0; }
.layer p { margin: 0; font-size: .8rem; color: var(--text-3); line-height: 1.4; }
.layer .tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-family: var(--font-mono); font-size: .68rem; padding: 3px 8px; border-radius: 6px; background: rgba(79,209,197,.1); color: var(--cyan); border: 1px solid rgba(79,209,197,.2); white-space: nowrap; }
.status-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: .76rem; color: var(--text-3); }
.status-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-row b { color: var(--green); font-weight: 500; }

/* ---------- Enfoque ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.02); font-size: .88rem; color: var(--text-2); }
.statement {
  position: relative; padding: 44px; border-radius: 20px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(156,200,75,.16), transparent 55%), var(--surface);
  border: 1px solid var(--border-strong);
}
.statement blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.3; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.statement blockquote em { font-style: normal; color: var(--green); }
.statement .quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--green); opacity: .5; display: block; height: 36px; }

/* ---------- Servicios ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(15,26,45,.6));
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(156,200,75,.10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(156,200,75,.35); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; color: var(--green); background: rgba(156,200,75,.1); border: 1px solid rgba(156,200,75,.22); }
.card .ico svg { width: 24px; height: 24px; }
.card .num { position: absolute; top: 28px; right: 28px; font-family: var(--font-mono); font-size: .78rem; color: var(--text-3); }
.card p { font-size: .96rem; }
.card p:last-child { margin-bottom: 0; }
.card .highlight { color: var(--text); font-size: .93rem; border-left: 2px solid var(--green); padding-left: 14px; margin-top: 18px; }

/* ---------- Productos ---------- */
.lifecycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 56px; padding: 0; list-style: none; justify-content: center; }
.lifecycle li { font-family: var(--font-mono); font-size: .8rem; color: var(--text-2); padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); }
.lifecycle li.sep { border: 0; background: none; padding: 0 2px; color: var(--green); }
.product { display: flex; flex-direction: column; }
.product .product-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product .product-top .ico { margin: 0; }
.product .kind { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.product h3 { margin: 2px 0 0; font-size: 1.35rem; }
.product .features { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--border); }
.product .features li { font-size: .76rem; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.04); color: var(--text-2); }

/* ---------- Trayectoria ---------- */
.since { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.since-year {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 14vw, 11rem); line-height: .9; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 0%, rgba(156,200,75,.9) 55%, rgba(156,200,75,.05) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.since-label { font-family: var(--font-mono); color: var(--text-3); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; }
.since blockquote { margin: 28px 0 0; padding: 22px 26px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 1.08rem; color: var(--text); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(156,200,75,.55), rgba(79,209,197,.55), transparent); }
.steps li { text-align: center; padding: 0 18px; position: relative; }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--green);
  background: var(--bg); border: 1px solid rgba(156,200,75,.5); box-shadow: 0 0 0 6px var(--bg), 0 0 30px -6px var(--green-glow);
}
.section-alt .steps li::before { background: var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2), 0 0 30px -6px var(--green-glow); }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .93rem; }
.closing-line { margin-top: 64px; text-align: center; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.3; }
.closing-line span { display: block; color: var(--green); }

/* ---------- Contacto ---------- */
.contact-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow);
}
.contact-info { padding: 52px 48px; background: radial-gradient(140% 100% at 0% 0%, rgba(156,200,75,.18), transparent 55%), linear-gradient(180deg, #102038, #0c172a); border-right: 1px solid var(--border); }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div.item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(7,12,22,.35); color: var(--text); transition: border-color .2s, background .2s;
}
.contact-list a:hover { border-color: rgba(156,200,75,.5); background: rgba(156,200,75,.06); color: #fff; }
.contact-list .ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(156,200,75,.12); color: var(--green); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .76rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.contact-list span.val { font-weight: 500; word-break: break-word; }
.contact-form { padding: 52px 48px; }
.contact-form h3 { margin-bottom: 6px; }
.contact-form > p { font-size: .95rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 500; color: var(--text); }
.field label .opt { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  background: rgba(7,12,22,.6); border: 1px solid var(--border-strong); border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a9b6c9' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { background: #0f1a2d; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f6d84; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(156,200,75,.15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: .92rem; padding: 12px 16px; border-radius: 10px; display: none; width: 100%; }
.form-status.ok { display: block; background: rgba(156,200,75,.12); border: 1px solid rgba(156,200,75,.4); color: #d4ef9f; }
.form-status.err { display: block; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: #ffb3b3; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Información corporativa ---------- */
.corp { padding: 88px 0; }
.corp-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.corp-table { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.corp-table div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.corp-table div:last-child { border-bottom: 0; }
.corp-table dt { font-size: .84rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .03em; }
.corp-table dd { margin: 0; color: var(--text); font-size: .97rem; }
.corp-table dd a { color: var(--text); border-bottom: 1px dashed rgba(156,200,75,.5); }

/* ---------- CTA final ---------- */
.cta {
  text-align: center; padding: 96px 0; overflow: hidden;
  background: radial-gradient(60% 120% at 50% 0%, rgba(156,200,75,.18), transparent 60%), var(--bg);
}
.cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 620px; margin: 0 auto 32px; }
.cta .brandline { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #050911; border-top: 1px solid var(--border); padding: 72px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; max-width: 340px; }
.site-footer h4 { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-2); }
.site-footer ul a:hover { color: var(--green); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: .84rem; }
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Páginas legales ---------- */
.legal-hero { padding: 150px 0 56px; border-bottom: 1px solid var(--border); background: radial-gradient(70% 140% at 100% 0%, rgba(156,200,75,.12), transparent 60%), var(--bg-2); }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal-hero p { margin: 0; }
.legal-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px !important; font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 64px; padding-top: 64px; padding-bottom: 100px; align-items: start; }
.legal-toc { position: sticky; top: 104px; font-size: .88rem; }
.legal-toc h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.legal-toc a { display: block; padding: 6px 0 6px 16px; color: var(--text-2); margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; }
.legal-toc a:hover { color: #fff; border-left-color: var(--green); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.45rem; margin: 48px 0 16px; padding-top: 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 1rem; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--green); }
.legal-body .note { padding: 18px 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green); }
.legal-body .note p:last-child { margin-bottom: 0; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .connector::after { animation: none; }
  .card, .btn { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 24px; background: rgba(7,12,22,.97); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-links .btn { margin: 10px 0 0; }
  .split, .since, .corp-grid, .legal-layout { grid-template-columns: 1fr; gap: 44px; }
  .legal-toc { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding: 124px 0 80px; }
  .brand img { height: 46px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stats dt { font-size: 1.45rem; }
  .grid-3, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .layer .tags { display: none; }
  .statement { padding: 30px 24px; }
  .contact-info, .contact-form { padding: 36px 22px; }
  .corp-table div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .hero-actions .btn { width: 100%; }
}
