:root {
  --white: #FFFFFF;
  --blue: #084478;
  --gray: #656A70; /* Neutro: SOLO para bordes y divisores sutiles (no para texto) */
  --ink: #111418;  /* Negro de alto contraste para textos de lectura */
  --teal: #167277;
  /* Variaciones tonales derivadas estrictamente de los 4 colores base */
  --bg-surface: rgba(8, 68, 120, 0.03);
  --bg-surface-alt: rgba(22, 114, 119, 0.04);
  --border-light: rgba(101, 106, 112, 0.22);
  --border-blue: rgba(8, 68, 120, 0.25);
  --text-dark: #084478;
  --text-body: #111418;
  --shadow-soft: 0 14px 36px rgba(8, 68, 120, 0.08);
  --shadow-card: 0 8px 24px rgba(8, 68, 120, 0.06);
  --max: 1240px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.icon {
  width: 18px; height: 18px; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Tipografía y utilidades */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; font-weight: 800;
}
.eyebrow::before { content: ""; height: 2px; width: 24px; background: var(--teal); }
.section { padding: 88px 0; }
.section-heading {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  font-weight: 800;
  color: var(--blue);
}
.lead { color: var(--ink); font-size: 16px; max-width: 720px; margin: 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid transparent; padding: 13px 24px; border-radius: 5px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  transition: all 0.22s ease; min-height: 46px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--teal); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--teal); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Espacios de reemplazo (Placeholders visuales limpios e identificables) */
.asset-placeholder {
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px; color: var(--blue); gap: 8px;
  position: relative; overflow: hidden;
}
.asset-placeholder .ph-badge {
  background: var(--blue); color: var(--white); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 3px;
}
.asset-placeholder .ph-title { font-size: 13px; font-weight: 700; color: var(--blue); }
.asset-placeholder .ph-path {
  font-family: monospace; font-size: 11px; color: var(--teal);
  background: var(--white); padding: 3px 8px; border-radius: 4px; border: 1px solid var(--border-light);
}

/* Barra superior corporativa */
.topbar {
  background: var(--blue); color: var(--white); font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.topbar-inner {
  min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.contact-points { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.contact-points span { display: inline-flex; align-items: center; gap: 7px; opacity: 0.92; }
.contact-points .icon { color: var(--white); width: 14px; height: 14px; }
.contact-points a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.contact-points a:hover { color: var(--white); text-decoration-thickness: 2px; }
.top-status {
  border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white);
  border-radius: 30px; padding: 3px 11px; white-space: nowrap; font-size: 11px; font-weight: 600;
}

/* Navegación principal */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(8, 68, 120, 0.05);
}
.navbar { min-height: 78px; display: flex; align-items: center; gap: 24px; }
/* Logotipo: el archivo gráfico ya incluye el nombre de la empresa (sin texto duplicado) */
.brand { display: inline-flex; align-items: center; white-space: nowrap; color: var(--blue); flex: none; }
.brand-logo {
  display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; object-position: left center;
}
/* Fallback limpio mientras carga el archivo */
.brand-logo:not(.is-ready) {
  width: 150px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(8, 68, 120, 0.06), rgba(22, 114, 119, 0.14), rgba(8, 68, 120, 0.06));
  background-size: 200% 100%; animation: logoSkeleton 1.4s ease-in-out infinite;
}
@keyframes logoSkeleton { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
/* Si el archivo aún no existe: solo el símbolo, sin texto */
.brand-symbol {
  display: none; width: 44px; height: 44px; background: var(--blue); color: var(--white);
  place-items: center; border-radius: 6px;
}
.brand-symbol .icon { width: 24px; height: 24px; color: var(--white); }
.brand.logo-missing .brand-logo { display: none; }
.brand.logo-missing .brand-symbol { display: grid; }
.nav-links { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.nav-links a {
  font-size: 13px; color: var(--ink); font-weight: 650;
  transition: color 0.18s; white-space: nowrap; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--teal); }
.header-action { margin-left: 6px; padding: 11px 18px; font-size: 12px; min-height: 42px; }
.menu-toggle {
  display: none; margin-left: auto; background: var(--white);
  border: 1.5px solid var(--blue); color: var(--blue); border-radius: 5px;
  padding: 8px 13px; font-weight: 750; font-size: 13px;
}
.mobile-cta { display: none; }


/* Aumento exclusivo del logo superior, sin alterar el pie de página. */
.navbar .brand-logo { height: 78px; max-width: 360px; }
.navbar { min-height: 94px; }
