/* =========================================================
   ÁVILA, LARES & ASOCIADOS
   PROPUESTA 3 — "ESTRATEGA" · Dossier / Magazine brutalista oscuro
   Layout: NAVEGACIÓN LATERAL fija · índice de informe numerado ·
           display alto contraste + metadatos mono · movimiento seco
   Paleta: Negro azulado + Ámbar
   ========================================================= */

:root {
  --bg-900: #08090D;
  --bg-800: #0B0E14;
  --bg-700: #0F1219;
  --bg-600: #141925;
  --surface: #11151D;
  --surface-2: #161B26;
  --amber:     #E0A458;
  --amber-600: #C8862F;
  --amber-300: #F0C792;
  --text:      #ECEAE3;
  --text-soft: #B8B7B0;
  --muted:     #7E8088;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --line-amber:rgba(224, 164, 88, 0.32);

  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "Space Mono", ui-monospace, "Courier New", monospace;

  --rail: 252px;
  --container: 1080px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 3px;
  --radius-sm: 2px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg-800);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  counter-reset: sec;
}
/* Desplazamiento del contenido para la barra lateral (desktop) */
@media (min-width: 761px) {
  body { padding-left: var(--rail); }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
::selection { background: var(--amber); color: var(--bg-900); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); position: relative; counter-increment: sec; }

.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--amber); margin-bottom: 1.4rem; }
.eyebrow::before { content: "// "; color: var(--amber-600); }
.section .eyebrow::before { content: "// " counter(sec, decimal-leading-zero) " · "; color: var(--amber-600); }
.section-head { max-width: 820px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5.2vw, 3.7rem); line-height: 1.06; letter-spacing: -0.01em; color: var(--text); }
.section-title em { color: var(--amber-300); font-style: italic; }
.section-intro { margin-top: 1.5rem; font-size: 1.1rem; color: var(--text-soft); max-width: 60ch; font-weight: 300; }
.section-head.center .section-intro { margin-inline: auto; }
.lead-muted { color: var(--text-soft); font-size: 1.12rem; max-width: 52ch; font-weight: 300; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--mono); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.06em; padding: 1.05rem 1.9rem; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn-primary { background: var(--amber); color: var(--bg-900); }
.btn-primary:hover { background: var(--amber-300); transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(224,164,88,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-300); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Switcher */
.prop-switcher { position: fixed; z-index: 200; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.7rem 0.5rem 1rem; background: rgba(8,9,13,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-amber); border-radius: 100px; box-shadow: 0 18px 50px -20px rgba(0,0,0,.7); }
.prop-switcher .ps-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prop-switcher a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--mono); font-size: 0.85rem; font-weight: 700; color: var(--text-soft); transition: all .3s var(--ease); }
.prop-switcher a:hover { background: rgba(255,255,255,.1); color: #fff; }
.prop-switcher a.active { background: var(--amber); color: var(--bg-900); }
.prop-switcher .ps-name { font-family: var(--display); font-style: italic; font-size: 0.95rem; color: var(--amber-300); padding-left: 0.5rem; margin-left: 0.2rem; border-left: 1px solid var(--line-2); white-space: nowrap; }
@media (max-width: 480px) { .prop-switcher .ps-name { display: none; } }

/* =================== BARRA LATERAL (side-rail, desktop) =================== */
.site-header { position: fixed; inset: 0 auto 0 0; z-index: 100; width: var(--rail); height: 100vh; background: var(--bg-900); border-right: 1px solid var(--line); transition: background .3s var(--ease); padding-block: 0; }
.site-header.scrolled { background: var(--bg-900); box-shadow: none; padding-block: 0; }
.nav-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: 100%; gap: 2.4rem; padding: 2.4rem 1.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: var(--amber); border: 1px solid var(--line-amber); font-family: var(--display); font-weight: 500; font-size: 1.05rem; border-radius: var(--radius-sm); transition: background .3s var(--ease), color .3s var(--ease); }
.brand:hover .brand-mark { background: var(--amber); color: var(--bg-900); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--text); }
.brand-sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
/* Enlaces verticales numerados */
.nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; counter-reset: navi; border-top: 1px solid var(--line); }
.nav-links a { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--text-soft); position: relative; padding: 0.85rem 0; border-bottom: 1px solid var(--line); transition: color .25s var(--ease), padding-left .25s var(--ease); counter-increment: navi; }
.nav-links a::before { content: counter(navi, decimal-leading-zero); font-size: 0.66rem; color: var(--amber-600); margin-right: 0.7rem; }
.nav-links a::after { content: ""; position: absolute; left: -1.9rem; top: 0; bottom: 0; width: 2px; background: var(--amber); transform: scaleY(0); transform-origin: center; transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--amber-300); padding-left: 0.4rem; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleY(1); }
.nav-links .nav-cta { background: var(--amber); color: var(--bg-900) !important; text-align: center; padding: 0.7rem 0; border-radius: var(--radius-sm); border-bottom: 0; margin-top: 0.9rem; }
.nav-links .nav-cta::before { content: ""; margin: 0; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--amber-300); padding-left: 0; }
/* Pie de barra: metadatos mono */
.nav-inner::after { content: "VE · US · CO · PA\A EST. 1988"; white-space: pre; margin-top: auto; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--muted); line-height: 1.8; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.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 (dossier editorial) =================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--text); overflow: hidden; padding-top: 6rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg-900); background-image: radial-gradient(120% 130% at 70% 10%, var(--bg-600) 0%, var(--bg-800) 40%, var(--bg-900) 100%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(110% 90% at 60% 20%, #000 20%, transparent 90%); -webkit-mask-image: radial-gradient(110% 90% at 60% 20%, #000 20%, transparent 90%); }
.hero-glow { position: absolute; top: -15%; right: -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(224,164,88,.22) 0%, transparent 62%); filter: blur(30px); }
.hero-inner { position: relative; z-index: 2; max-width: 920px; }
/* Línea de metadatos mono sobre el eyebrow */
.hero-inner::before { content: "EST. 1988  //  CARACAS  //  VE·US·CO·PA"; display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { content: "// "; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7.2vw, 5.8rem); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.8rem; }
.hero-title em { color: var(--amber-300); font-style: italic; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-soft); max-width: 58ch; margin-bottom: 2.6rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem 1.3rem 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--display); font-size: clamp(2.1rem, 3.8vw, 3.1rem); font-weight: 500; color: var(--amber-300); line-height: 1; }
.stat-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span { display: block; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 100px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--amber); border-radius: 4px; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0;top:8px} 30%{opacity:1} 60%{opacity:1;top:22px} 100%{opacity:0;top:22px} }

/* =================== MARQUEE =================== */
.marquee { background: var(--bg-900); color: var(--amber-300); padding-block: 1.15rem; overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.2rem; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.25rem; font-style: italic; }
.marquee-track span:nth-child(even) { color: var(--amber-600); font-family: var(--mono); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =================== FIRMA =================== */
.firma { background: var(--bg-800); }
.firma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.firma-text p { font-size: 1.12rem; color: var(--text-soft); margin-bottom: 1.4rem; font-weight: 300; }
.firma-text strong { color: var(--amber-300); font-weight: 500; }
.pillars { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.pillar { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.7rem 0; position: relative; transition: padding-left .25s var(--ease); }
.pillar:hover { padding-left: 0.8rem; }
.pillar-num { font-family: var(--mono); font-size: 0.8rem; color: var(--amber); }
.pillar h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; color: var(--text); margin: 0.4rem 0 0.5rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

/* =================== ÁREAS — ÍNDICE DE INFORME numerado =================== */
.areas { background: var(--bg-700); }
.areas-grid { counter-reset: area; display: block; border-top: 1px solid var(--line-2); }
.area-card {
  counter-increment: area;
  position: relative; display: block;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 1.9rem 9rem 1.9rem 5.5rem;
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.area-card::before {
  content: counter(area, decimal-leading-zero);
  position: absolute; left: 0.5rem; top: 1.95rem;
  font-family: var(--mono); font-size: 1.2rem; color: var(--amber);
}
/* Etiqueta de categoría mono (metadatos de dossier) */
.area-card::after {
  position: absolute; right: 1.5rem; top: 2.1rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color .25s var(--ease);
}
.area-card:nth-child(1)::after { content: "Transaccional"; }
.area-card:nth-child(2)::after { content: "Regulatorio"; }
.area-card:nth-child(3)::after { content: "Recursos"; }
.area-card:nth-child(4)::after { content: "Territorio"; }
.area-card:nth-child(5)::after { content: "Organizacional"; }
.area-card:nth-child(6)::after { content: "Patrimonial"; }
.area-card:nth-child(7)::after { content: "Intangibles"; }
.area-card:nth-child(8)::after { content: "Logística"; }
.area-card:nth-child(9)::after { content: "Calidad"; }
.area-card:nth-child(10)::after { content: "Peritajes"; }
.area-ico { display: none !important; }
.area-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; line-height: 1.16; transition: color .25s var(--ease); }
.area-card p { color: var(--muted); font-size: 0.98rem; max-width: 70ch; }
.area-card:hover { background: var(--surface-2); padding-left: 6rem; }
.area-card:hover h3 { color: var(--amber-300); }
.area-card:hover::after { color: var(--amber); }

/* =================== TRIBUTARIA =================== */
.tributaria { background: var(--bg-900); color: var(--text); overflow: hidden; }
.tributaria-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tributaria .lead-muted { margin-top: 1.4rem; }
.trib-list { display: flex; flex-direction: column; }
.trib-list li { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-family: var(--display); }
.trib-list li:first-child { border-top: 1px solid var(--line); }
.trib-list li::before { content: "→"; font-family: var(--mono); color: var(--amber); transition: transform .25s var(--ease); }
.trib-list li:hover::before { transform: translateX(6px); }
.trib-list li:hover { color: var(--amber-300); }

/* =================== ENFOQUE =================== */
.enfoque { background: var(--bg-800); }
.enfoque-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.enfoque-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 2.4rem 2rem; background: transparent; border-top: 2px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease); }
.enfoque-card:hover { background: var(--surface); border-top-color: var(--amber); }
.enfoque-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--text); margin-bottom: 0.6rem; }
.enfoque-card p { color: var(--muted); font-size: 0.97rem; }

/* =================== SECTORES =================== */
.sectores { background: var(--bg-900); color: var(--text); }
.sectores-list { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.sectores-list span { font-family: var(--mono); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0.8rem 1.5rem; font-size: 0.86rem; color: var(--text-soft); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); cursor: default; }
.sectores-list span:hover { background: var(--amber); border-color: var(--amber); color: var(--bg-900); transform: translateY(-3px); }

/* =================== EQUIPO (expediente) =================== */
.equipo { background: var(--bg-700); }
.equipo-note { margin-top: 1rem; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.equipo-grid { counter-reset: mem; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.1rem; }
.member { counter-increment: mem; display: flex; gap: 1.4rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.member::after { content: counter(mem, decimal-leading-zero); position: absolute; top: 1rem; right: 1.2rem; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.member:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -30px rgba(0,0,0,.7); border-color: var(--line-amber); }
.member-avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: var(--radius-sm); background: var(--bg-600); display: grid; place-items: center; border: 1px solid var(--line-amber); overflow: hidden; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: grayscale(0.25) contrast(1.05); transition: filter .4s var(--ease); }
.member:hover .member-avatar img { filter: none; }
.member-info h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--text); line-height: 1.2; }
.member-role { display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin: 0.4rem 0 0.7rem; }
.member-info p { color: var(--muted); font-size: 0.94rem; }

/* =================== INTERNACIONAL =================== */
.internacional { background: var(--bg-800); }
.paises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-bottom: 3.5rem; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.pais { background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 2.6rem 1.5rem; text-align: center; transition: background .25s var(--ease); }
.pais:hover { background: var(--surface); }
.pais-code { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--bg-600); color: var(--amber-300); font-family: var(--display); font-weight: 500; font-size: 1.3rem; border: 1px solid var(--line-amber); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.pais:hover .pais-code { background: var(--amber); color: var(--bg-900); transform: scale(1.06); }
.pais h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--text); }
.pais p { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; margin-top: 0.4rem; }
.aliados { text-align: center; }
.aliados-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.4rem; }
.aliados-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1rem; }
.aliados-list span { font-family: var(--mono); font-size: 0.82rem; color: var(--text-soft); padding: 0.6rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }

/* =================== POR QUÉ =================== */
.porque { background: var(--bg-900); color: var(--text); }
.porque-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.porque-list { display: grid; }
.porque-list li { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: var(--text-soft); }
.porque-list li:first-child { border-top: 1px solid var(--line); }
.porque-list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(224,164,88,.18); }

/* =================== CONTACTO =================== */
.contacto { background: var(--bg-800); }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contacto-details { margin-top: 2.5rem; display: grid; gap: 1.6rem; }
.cdetail-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 0.4rem; }
.cdetail p { color: var(--text-soft); font-size: 1rem; }
.cdetail a { transition: color .25s var(--ease); }
.cdetail a:hover { color: var(--amber-300); }
.contacto-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 30px 70px -40px rgba(0,0,0,.8); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-soft); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 0.96rem; padding: 0.85rem 0.95rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-700); color: var(--text); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(224,164,88,.16); }
.field select option { background: var(--bg-700); color: var(--text); }
.contacto-form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--amber-300); }
.form-note.err { color: #e0795f; }

/* =================== FOOTER =================== */
.site-footer { background: var(--bg-900); color: var(--text-soft); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3.5rem; }
.footer-tagline { margin-top: 1.3rem; max-width: 42ch; font-size: 0.96rem; color: var(--muted); font-weight: 300; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-nav > div { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col-title { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem; }
.footer-nav a { font-size: 0.92rem; color: var(--muted); transition: color .25s var(--ease); width: fit-content; }
.footer-nav a:hover { color: var(--amber-300); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* =================== IMÁGENES =================== */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,14,20,.80), rgba(8,9,13,.92)), radial-gradient(120% 130% at 70% 10%, rgba(224,164,88,.16), transparent 55%); }
.hero-grid, .hero-glow { z-index: 2; }
.firma-photo { margin-top: 1.8rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.firma-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: saturate(.92) contrast(1.02); transition: transform .8s var(--ease); }
.firma-photo:hover img { transform: scale(1.04); }
.imageband { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.imageband-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.imageband-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,9,13,.80), rgba(11,14,20,.90)), radial-gradient(100% 120% at 80% 10%, rgba(224,164,88,.14), transparent 55%); }
.imageband-inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6rem); }
.imageband-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.imageband-eyebrow::before { content: "// "; color: var(--amber-600); }
.imageband-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.1; color: var(--text); max-width: 22ch; }
.imageband-title em { color: var(--amber-300); font-style: italic; }
.porque-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .22; }
.porque > .container { position: relative; z-index: 1; }
@media (max-width: 600px) { .imageband { min-height: 48vh; } }

/* =================== REVEAL (preciso, seco) =================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.areas-grid .reveal.in, .equipo-grid .reveal.in, .enfoque-grid .reveal.in { transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .scroll-hint span::after { animation: none; } html { scroll-behavior: auto; } }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
  .firma-grid, .tributaria-inner, .porque-inner, .contacto-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat:nth-child(2) { border-right: 0; }
}
/* Móvil: la barra lateral vuelve a header superior + drawer */
@media (max-width: 760px) {
  body { padding-left: 0; }
  .site-header { position: fixed; inset: 0 0 auto 0; width: 100%; height: auto; border-right: 0; padding-block: 1.4rem; background: transparent; }
  .site-header.scrolled { background: rgba(8,9,13,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
  .nav-inner { flex-direction: row; align-items: center; justify-content: space-between; height: auto; gap: 2rem; padding: 0 var(--gutter); }
  .nav-inner::after { display: none; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; background: var(--bg-700); padding: 3rem 2.5rem; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px -30px rgba(0,0,0,.7); border-top: 0; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; border-bottom: 0; padding: 0.3rem 0; }
  .nav-links a::after { left: -1.2rem; }
  .nav-links .nav-cta { width: 100%; margin-top: 0.5rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .area-card { padding: 1.7rem 1.2rem 1.7rem 3rem; }
  .area-card::after { position: static; display: block; margin-top: 0.6rem; }
  .contacto-form { grid-template-columns: 1fr; }
  .field-full, .contacto-form .btn, .form-note { grid-column: 1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 440px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .member { flex-direction: column; gap: 1rem; }
}
