/* ==========================================================================
   AEGIS EPINOIA — ARQUITECTURA WEB CORPORATIVA TIER-1 (V102.3 ELITE UHD)
   Header Blanco Fijo • Hero Desvanecido en Blanco • Ondas Multi-Capa • 4K UHD
   ========================================================================== */

:root {
  --obsidian: #07140D;
  --emerald-900: #0C2115;
  --emerald-800: #153924;
  --green: #20623B;
  --brass: #B89146;
  --brass-dark: #94712E;
  --brass-light: #D6B56F;
  --brass-muted: rgba(184, 145, 70, 0.35);
  --stone: #F4F1EA;
  --stone-alt: #EBE6DC;
  --white: #FFFFFF;
  --ink: #111815;
  --charcoal: #2B3831;
  --muted: #5F6D65;
  --hairline: #DCD7CC;
  --hairline-dark: rgba(214, 181, 111, 0.24);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
svg { shape-rendering: geometricPrecision; }
a { color: var(--green); text-decoration: none; transition: color 0.22s ease, opacity 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease; }

.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 28px; }
.ico { width: 17px; height: 17px; flex-shrink: 0; }
.ico-sm { width: 15px; height: 15px; flex-shrink: 0; }
.ico-wa { width: 17px; height: 17px; flex-shrink: 0; }

.reveal { opacity: 1; transform: none; transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.js-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HEADER EJECUTIVO BLANCO PERMANENTE (SIN CAMBIO DE COLOR AL BAJAR)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(220, 215, 204, 0.55);
  box-shadow: 0 2px 14px rgba(7, 20, 13, 0.03);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: #FFFFFF;
  border-bottom-color: rgba(184, 145, 70, 0.34);
  box-shadow: 0 12px 34px rgba(7, 20, 13, 0.08);
}

.header-accent-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #0C2115 0%, #20623B 58%, #B89146 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 6px 0;
}
.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 215px;
  object-fit: contain;
  display: block;
}
.brand-sep {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(184, 145, 70, 0.15) 0%, rgba(184, 145, 70, 0.65) 50%, rgba(184, 145, 70, 0.15) 100%);
  flex-shrink: 0;
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.42;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D2D24;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--brass));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-mobile-cta-item { display: none !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0C2115 0%, #19452B 100%);
  border: 1px solid rgba(184, 145, 70, 0.55);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(12, 33, 21, 0.16);
}
.nav-cta-btn .ico { color: var(--brass-light); transition: color 0.22s ease; }
.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: linear-gradient(135deg, #20623B 0%, #154528 100%);
  border-color: var(--brass-light);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(32, 98, 59, 0.24);
}
.nav-cta-btn:hover .ico { color: #FFFFFF; }
.nav-cta-btn::after { display: none !important; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--brass); background: #FAF8F4; }
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--emerald-900);
  border-radius: 2px;
  transition: transform 0.24s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BOTONES ARQUITECTÓNICOS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.btn-brass { background: var(--brass); color: var(--obsidian); border-color: var(--brass); }
.btn-brass:hover { background: var(--brass-light); border-color: var(--brass-light); color: var(--obsidian); transform: translateY(-1px); }
.btn-hairline-light { background: rgba(7, 20, 13, 0.35); color: var(--white); border-color: rgba(244, 241, 234, 0.52); }
.btn-hairline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); color: var(--white); transform: translateY(-1px); }
.btn-dark { background: var(--emerald-900); color: var(--brass-light); border-color: var(--emerald-900); }
.btn-dark:hover { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-1px); }
.btn-hero-primary {
  background: linear-gradient(135deg, #0C2115 0%, #1B4A2E 100%);
  color: #FFFFFF;
  border-color: rgba(184, 145, 70, 0.55);
  box-shadow: 0 14px 32px rgba(12, 33, 21, 0.22);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #20623B 0%, #154528 100%);
  border-color: var(--brass-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(32, 98, 59, 0.28);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--emerald-900);
  border-color: rgba(12, 33, 21, 0.34);
  box-shadow: 0 8px 22px rgba(7, 20, 13, 0.08);
}
.btn-hero-secondary:hover {
  background: #FFFFFF;
  border-color: var(--brass);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-outline-dark { background: transparent; color: var(--emerald-900); border-color: var(--emerald-900); }
.btn-outline-dark:hover { background: var(--emerald-900); color: var(--white); }
.btn-full { width: 100%; }

/* ==========================================================================
   HERO EDITORIAL 4K UHD: BLANCO SUPERIOR FUSIONADO -> DESVANECE A EDIFICIOS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 98vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 90px;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #FFFFFF 17%,
      rgba(255, 255, 255, 0.94) 29%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.24) 56%,
      rgba(255, 255, 255, 0.00) 68%,
      rgba(7, 20, 13, 0.36) 83%,
      rgba(7, 20, 13, 0.94) 100%
    ),
    radial-gradient(
      ellipse 78% 58% at 22% 27%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.62) 52%,
      rgba(255, 255, 255, 0.00) 100%
    ),
    url("hero-architecture.jpg"),
    url("arch-fallback.svg");
  background-size: cover;
  background-position: center 46%;
  color: var(--ink);
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 46px 0 148px;
}
.hero-content { max-width: 780px; }

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.eyebrow-line::before { content: ""; width: 38px; height: 2px; background: var(--brass); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.1vw, 4.7rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--emerald-900);
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--green); }

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.74;
  color: #24332B;
  max-width: 645px;
  margin: 0 0 34px;
}
.hero-lead strong { color: var(--emerald-900); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-credentials {
  border-top: 1px solid rgba(214, 181, 111, 0.36);
  background: linear-gradient(180deg, rgba(7, 20, 13, 0.80) 0%, #07140D 100%);
  backdrop-filter: blur(12px);
  color: var(--white);
}
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-col { padding: 26px 24px; border-right: 1px solid var(--hairline-dark); }
.cred-col:first-child { padding-left: 0; }
.cred-col:last-child { border-right: none; padding-right: 0; }
.cred-roman { display: block; font-family: var(--font-serif); font-size: 0.95rem; color: var(--brass-light); letter-spacing: 0.1em; margin-bottom: 4px; }
.cred-val { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--white); line-height: 1.15; }
.cred-desc { display: block; font-size: 0.76rem; color: rgba(244, 241, 234, 0.72); margin-top: 4px; line-height: 1.42; }

/* ==========================================================================
   DIVISORES ONDULADOS MULTI-CAPA (CERO CORTES RECTOS EN TODA LA PÁGINA)
   ========================================================================== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  margin-top: -2px;
  margin-bottom: -2px;
  z-index: 3;
  pointer-events: none;
}
.wave-divider svg {
  display: block;
  width: calc(100% + 4px);
  margin-left: -2px;
  height: clamp(50px, 6.2vw, 96px);
}
.wave-divider.wave-subtle svg {
  height: clamp(36px, 4.4vw, 68px);
}

/* ==========================================================================
   SECCIONES (SIN BORDES RECTOS ENTRE BLOQUES DE COLOR)
   ========================================================================== */
.section { padding: 86px 0; position: relative; }
.section-white { background: var(--white); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--obsidian); color: var(--stone); }

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 14px;
}
.sec-kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--brass); }
.section-dark .sec-kicker { color: var(--brass-light); }
.section-dark .sec-kicker::before { background: var(--brass-light); }

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--emerald-900);
  margin: 0 0 18px;
}
.section-dark .sec-title { color: var(--white); }
.sec-lead { font-size: 1rem; color: var(--charcoal); max-width: 640px; margin: 0; line-height: 1.72; }
.section-dark .sec-lead { color: rgba(244, 241, 234, 0.78); }

.sec-head-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 52px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}
.section-dark .sec-head-split { border-bottom-color: var(--hairline-dark); }

/* EDITORIAL 50/50 + MARCO PANORÁMICO EN "POR QUÉ ELEGIRNOS" */
.editorial-split { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 56px; align-items: center; }
.photo-frame {
  position: relative;
  background: var(--emerald-900);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 22px 48px rgba(7, 20, 13, 0.12);
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(214, 181, 111, 0.38);
  border-radius: 3px;
  pointer-events: none;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.photo-frame-why::after {
  inset: 10px;
}
.photo-frame-why img {
  aspect-ratio: auto;
  height: auto;
  object-fit: cover;
  object-position: center center;
}
.photo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(7, 20, 13, 0.88);
  color: var(--brass-light);
  padding: 10px 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.photo-frame-why .photo-caption {
  padding: 8px 14px;
  font-size: 0.63rem;
}
.manifesto-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--hairline); }
.m-pillar h3 { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 600; color: var(--emerald-900); margin: 0 0 6px; }
.m-pillar p { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* SERVICIOS INTERACTIVOS */
.dossier-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; background: var(--white); box-shadow: 0 18px 42px rgba(7, 20, 13, 0.05); }
.dossier-nav { border-right: 1px solid var(--hairline); background: var(--stone); display: flex; flex-direction: column; }
.dossier-tab {
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 28px 30px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: background 0.22s ease, border-left 0.22s ease;
  border-left: 3px solid transparent;
  font-family: var(--font-sans);
}
.dossier-tab:last-child { border-bottom: none; }
.dossier-tab:hover { background: rgba(255, 255, 255, 0.72); }
.dossier-tab.active { background: var(--emerald-900); border-left-color: var(--brass-light); }
.dossier-num { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--brass); line-height: 1; margin-top: 2px; }
.dossier-tab.active .dossier-num { color: var(--brass-light); }
.dossier-tab-title { display: block; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--emerald-900); line-height: 1.15; }
.dossier-tab.active .dossier-tab-title { color: var(--white); }
.dossier-tab-sub { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }
.dossier-tab.active .dossier-tab-sub { color: rgba(244, 241, 234, 0.72); }

.dossier-body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: space-between; }
.dossier-panel { display: none; }
.dossier-panel.active { display: block; animation: fadeInPanel 0.35s ease; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.dossier-kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 10px; display: block; }
.dossier-panel h3 { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.12; color: var(--emerald-900); margin: 0 0 16px; }
.dossier-lead { font-size: 0.96rem; color: var(--charcoal); margin: 0 0 24px; }
.dossier-highlight { font-size: 0.84rem; color: var(--green); font-weight: 600; background: var(--stone); border-left: 2px solid var(--brass); padding: 12px 16px; margin-bottom: 24px; border-radius: 0 4px 4px 0; }
.dossier-list { list-style: none; margin: 0 0 30px; padding: 0; }
.dossier-list li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid #EFECE5; font-size: 0.9rem; color: var(--charcoal); }
.dossier-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--brass); }

/* TABLA DE TARIFAS */
.tarifas-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
.tarifa-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tarifa-tab:hover { color: var(--emerald-900); }
.tarifa-tab.active { color: var(--emerald-900); border-bottom-color: var(--brass); }

.tarifas-list { background: var(--white); border-left: 1px solid var(--hairline); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); border-radius: 0 0 6px 6px; overflow: hidden; }
.tarifa-row { border-bottom: 1px solid var(--hairline); transition: background 0.2s ease; }
.tarifa-row:last-child { border-bottom: none; }
.tarifa-row.hidden { display: none; }
.tarifa-row.is-featured { background: #FCFBF7; }

.tarifa-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 28px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 54px 1.5fr 0.55fr 0.65fr 34px;
  gap: 16px;
  align-items: center;
  font-family: var(--font-sans);
}
.tarifa-trigger:hover { background: rgba(244, 241, 234, 0.55); }
.tr-code { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--brass-dark); letter-spacing: 0.06em; }
.tr-name { display: block; font-family: var(--font-serif); font-size: 1.32rem; font-weight: 600; color: var(--emerald-900); line-height: 1.18; }
.tr-sub { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.tr-time { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal); }
.tr-price-wrap { text-align: right; }
.tr-price { display: block; font-size: 1.12rem; font-weight: 700; color: var(--emerald-900); font-variant-numeric: tabular-nums; }
.tr-tax { display: block; font-size: 0.71rem; font-weight: 600; color: var(--green); letter-spacing: 0.04em; }
.tr-toggle-icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-900);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.tarifa-row.open .tr-toggle-icon { transform: rotate(45deg); background: var(--emerald-900); border-color: var(--emerald-900); color: var(--brass-light); }

.tarifa-drawer { display: none; padding: 0 28px 28px 98px; border-top: 1px solid #EFECE5; background: #FAF8F3; }
.tarifa-row.open .tarifa-drawer { display: block; }
.drawer-inner { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 28px; padding-top: 20px; align-items: center; }
.drawer-bullets { list-style: none; margin: 0; padding: 0; }
.drawer-bullets li { position: relative; padding-left: 18px; font-size: 0.87rem; color: var(--charcoal); margin-bottom: 7px; }
.drawer-bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 1px; background: var(--brass); }
.drawer-side { border-left: 1px solid var(--hairline); padding-left: 24px; }
.drawer-rights { font-size: 0.79rem; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }

/* CALCULADORA DE INVERSIÓN */
.quote-sheet { margin-top: 56px; background: var(--emerald-900); border: 1px solid var(--hairline-dark); border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 0.95fr; color: var(--white); box-shadow: 0 24px 52px rgba(7, 20, 13, 0.16); }
.quote-left { padding: 46px 48px; border-right: 1px solid var(--hairline-dark); }
.quote-left h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; margin: 0 0 12px; color: var(--white); line-height: 1.1; }
.quote-left p { font-size: 0.9rem; color: rgba(244, 241, 234, 0.78); margin: 0 0 24px; }
.quote-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 10px; }
.quote-select { width: 100%; padding: 15px 16px; background: var(--obsidian); color: var(--white); border: 1px solid rgba(214, 181, 111, 0.45); font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; border-radius: 4px; cursor: pointer; }
.quote-select:focus { outline: none; border-color: var(--brass-light); }

.quote-right { padding: 42px 46px; background: rgba(7, 20, 13, 0.55); }
.q-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(244, 241, 234, 0.12); font-size: 0.87rem; color: rgba(244, 241, 234, 0.82); }
.q-line strong { color: var(--white); font-variant-numeric: tabular-nums; font-weight: 600; }
.q-line.q-total { padding: 18px 0 14px; border-bottom: 1px solid rgba(214, 181, 111, 0.35); color: var(--brass-light); font-weight: 600; }
.q-line.q-total strong { font-family: var(--font-serif); font-size: 1.95rem; color: var(--brass-light); line-height: 1; }
.q-note { font-size: 0.77rem; color: rgba(244, 241, 234, 0.66); margin: 14px 0 22px; line-height: 1.5; }

/* SECTORES + ENFOQUE PREVENTIVO */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); margin-bottom: 72px; }
.sector-col { padding: 36px 26px; border-right: 1px solid var(--hairline-dark); }
.sector-col:first-child { padding-left: 0; }
.sector-col:last-child { border-right: none; padding-right: 0; }
.sector-idx { font-family: var(--font-serif); font-size: 1.15rem; color: var(--brass-light); display: block; margin-bottom: 14px; }
.sector-col h3 { font-family: var(--font-serif); font-size: 1.48rem; font-weight: 600; color: var(--white); margin: 0 0 10px; line-height: 1.18; }
.sector-col p { font-size: 0.86rem; color: rgba(244, 241, 234, 0.76); margin: 0; line-height: 1.65; }

.focus-spread { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.focus-item { padding: 22px 0; border-bottom: 1px solid var(--hairline-dark); }
.focus-item:first-child { padding-top: 0; }
.focus-item:last-child { border-bottom: none; padding-bottom: 0; }
.focus-item h3 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--brass-light); margin: 0 0 8px; }
.focus-item p { margin: 0; font-size: 0.9rem; color: rgba(244, 241, 234, 0.84); line-height: 1.68; }

/* NOSOTROS Y ALIANZAS */
.firm-spread { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: stretch; }
.director-panel { background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--emerald-900); border-radius: 6px; padding: 46px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 34px rgba(7, 20, 13, 0.05); }
.director-header { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.director-logo-box { width: 88px; height: 88px; background: var(--white); border: 1px solid var(--brass); border-radius: 4px; padding: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.director-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.director-ced { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 6px; }
.director-panel h3 { font-family: var(--font-serif); font-size: 1.95rem; font-weight: 600; line-height: 1.1; color: var(--emerald-900); margin: 0; }
.director-panel p { font-size: 0.93rem; color: var(--charcoal); margin: 0 0 16px; }

.alliance-panel { background: var(--emerald-900); color: var(--white); border: 1px solid var(--hairline-dark); border-top: 3px solid var(--brass); border-radius: 6px; padding: 46px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 42px rgba(7, 20, 13, 0.14); }
.alliance-panel h3 { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.12; color: var(--white); margin: 0 0 16px; }
.alliance-panel p { font-size: 0.9rem; color: rgba(244, 241, 234, 0.82); margin: 0 0 22px; }
.alliance-terms { list-style: none; margin: 0 0 28px; padding: 0; }
.alliance-terms li { padding: 12px 0; border-top: 1px solid var(--hairline-dark); font-size: 0.88rem; color: var(--stone); }
.alliance-terms li:last-child { border-bottom: 1px solid var(--hairline-dark); }
.alliance-terms strong { color: var(--brass-light); }

/* CÓMO FUNCIONA + FAQ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); }
.process-step { padding: 34px 26px 10px 26px; border-right: 1px solid var(--hairline); }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: none; padding-right: 0; }
.process-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; color: var(--brass); line-height: 1; display: block; margin-bottom: 16px; }
.process-step h3 { font-family: var(--font-serif); font-size: 1.38rem; color: var(--emerald-900); margin: 0 0 10px; }
.process-step p { font-size: 0.88rem; color: var(--charcoal); margin: 0; }

.faq-list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.36rem;
  font-weight: 600;
  color: var(--emerald-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.25rem; font-weight: 400; color: var(--brass); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 24px; font-size: 0.94rem; color: var(--charcoal); max-width: 820px; line-height: 1.72; }

/* CIERRE + FOOTER */
.closing-cta { background: var(--emerald-900); padding: 78px 0 84px; text-align: center; color: var(--white); }
.closing-cta h2 { font-family: var(--font-serif); font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 600; line-height: 1.08; margin: 10px auto 16px; max-width: 780px; color: var(--white); }
.closing-cta p { max-width: 600px; margin: 0 auto 34px; color: rgba(244, 241, 234, 0.8); font-size: 0.97rem; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.site-footer { background: var(--obsidian); color: rgba(244, 241, 234, 0.74); padding: 56px 0 34px; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hairline-dark); }
.footer-logo-plate { display: inline-flex; background: var(--white); padding: 8px 14px; border: 1px solid var(--brass); border-radius: 4px; margin-bottom: 16px; }
.footer-logo-plate img { height: 56px; width: auto; object-fit: contain; }
.footer-heading { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(244, 241, 234, 0.88); }
.site-footer a:hover { color: var(--brass-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: 0.77rem; color: rgba(244, 241, 234, 0.56); }
.footer-bottom-compact { padding-top: 0; }

.wa-concierge {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--obsidian);
  color: var(--brass-light);
  border: 1px solid var(--brass);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(7, 20, 13, 0.42);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.wa-concierge:hover { background: var(--brass); color: var(--obsidian); transform: translateY(-2px); }

/* PRIVACIDAD */
.legal-hero { background: var(--obsidian); color: var(--white); padding: 148px 0 60px; }
.legal-hero h1 { font-family: var(--font-serif); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 600; margin: 10px 0 12px; line-height: 1.08; }
.legal-hero p { margin: 0; color: rgba(244, 241, 234, 0.78); font-size: 0.92rem; max-width: 820px; }
.legal-doc { background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--emerald-900); border-radius: 6px; padding: 48px 54px; margin: 44px auto 64px; max-width: 920px; box-shadow: 0 16px 40px rgba(7, 20, 13, 0.05); }
.legal-doc h2 { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; color: var(--emerald-900); margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { font-size: 0.93rem; color: var(--charcoal); text-align: justify; }
.legal-callout { background: var(--stone); border-left: 3px solid var(--brass); padding: 18px 22px; margin: 22px 0; border-radius: 0 4px 4px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.87rem; }
.legal-table th { background: var(--green); color: #FFFFFF; text-align: left; padding: 12px 14px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-table td { border: 1px solid var(--hairline); padding: 12px 14px; color: var(--charcoal); vertical-align: top; }
.legal-table tr:nth-child(even) td { background: #FAF8F4; }

.not-found-box { padding: 148px 24px 96px; text-align: center; max-width: 640px; }
.not-found-logo { margin: 0 auto 24px; height: 96px; width: auto; object-fit: contain; background: var(--white); padding: 10px; border: 1px solid var(--brass); border-radius: 4px; }

/* ==========================================================================
   ESCALADO NITIDEZ 4K / MONITORES ULTRA-ANCHO (2K / 4K UHD)
   ========================================================================== */
@media (min-width: 1680px) {
  html { font-size: 17px; }
  .container { max-width: 1380px; }
}

@media (min-width: 2400px) {
  html { font-size: 18.5px; }
  .container { max-width: 1520px; }
}

/* ==========================================================================
   RESPONSIVE (CERO DESBORDAMIENTOS NI RECORTES EN LAPTOPS, TABLETS Y MÓVIL)
   ========================================================================== */
@media (max-width: 1180px) {
  .brand-sep, .brand-sub { display: none; }
  .nav-links { gap: 18px; }
}

@media (max-width: 1080px) {
  .editorial-split, .dossier-grid, .quote-sheet, .focus-spread, .firm-spread { grid-template-columns: 1fr; }
  .dossier-nav { border-right: none; border-bottom: 1px solid var(--hairline); }
  .quote-left { border-right: none; border-bottom: 1px solid var(--hairline-dark); }
  .cred-grid, .sectors-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-col, .sector-col, .process-step { padding: 24px; border-right: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); }
  .process-step { border-color: var(--hairline); }
}

@media (max-width: 960px) {
  .nav-center { flex: 0 0 auto; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile-cta-item { display: flex !important; padding-top: 8px; }
  .nav-mobile-cta-item .nav-cta-btn { width: 100%; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 28px 26px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid rgba(184, 145, 70, 0.35);
    box-shadow: 0 22px 44px rgba(7, 20, 13, 0.12);
    gap: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; width: 100%; }
  .nav-links a::after { bottom: 4px; }
}

@media (max-width: 780px) {
  .container { padding: 0 20px; }
  .nav-inner { min-height: 76px; }
  .brand-logo-img { height: 48px; max-width: 170px; }
  .section { padding: 58px 0; }
  .hero {
    min-height: auto;
    padding-top: 82px;
    background-image:
      linear-gradient(
        180deg,
        #FFFFFF 0%,
        #FFFFFF 26%,
        rgba(255, 255, 255, 0.92) 44%,
        rgba(255, 255, 255, 0.35) 64%,
        rgba(7, 20, 13, 0.25) 78%,
        rgba(7, 20, 13, 0.94) 100%
      ),
      url("hero-architecture.jpg"),
      url("arch-fallback.svg");
  }
  .hero-main { padding: 28px 0 92px; }
  .btn { white-space: normal; text-align: center; }
  .cred-grid, .sectors-grid, .process-grid, .manifesto-pillars, .footer-grid, .drawer-inner { grid-template-columns: 1fr; }
  .cred-col, .sector-col, .process-step { padding: 20px 0; border-right: none; }
  .tarifa-trigger { grid-template-columns: 44px 1fr 30px; gap: 10px; padding: 20px 18px; }
  .tr-time { display: none; }
  .tr-price-wrap { grid-column: 2 / 3; text-align: left; }
  .tarifa-drawer { padding: 0 18px 22px 18px; }
  .drawer-side { border-left: none; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 16px; }
  .dossier-body, .quote-left, .quote-right, .director-panel, .alliance-panel, .legal-doc { padding: 28px 22px; }
  .wa-concierge span { display: none; }
  .wa-concierge { padding: 14px; }
}
