/* ═══════════════════════════════════════════════════════
   AD Ingeniería — Shared Stylesheet
   Usado por todas las páginas internas
═══════════════════════════════════════════════════════ */

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

:root {
  --blue:       #1a3bcc;
  --blue-dark:  #1530a8;
  --blue-light: #2a4de0;
  --navy:       #0d1b3e;
  --navy-deep:  #08122b;
  --text:       #1a1a2e;
  --muted:      #5a6073;
  --bg-soft:    #f4f6fb;
  --bg-mid:     #eef1f9;
  --border:     #e2e6f0;
  --white:      #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ─── NAVBAR ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 60px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo img { height: 40px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13.5px; color: var(--text); text-decoration: none;
  font-weight: 500; opacity: 0.8; transition: opacity .2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--blue); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--blue); color: var(--white); border: none;
  padding: 9px 20px; border-radius: 6px; font-size: 13.5px;
  font-weight: 600; cursor: pointer; text-decoration: none; transition: background .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 9px 20px; border-radius: 6px; font-size: 13.5px;
  font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s;
  display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-sm {
  display: inline-block; background: transparent; color: var(--text);
  border: 1.5px solid var(--border); padding: 8px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s;
}
.btn-sm:hover { border-color: var(--blue); color: var(--blue); }

/* ─── PAGE HERO (interior) ─── */
.page-hero {
  position: relative; min-height: 320px;
  display: flex; align-items: center;
  background: var(--navy-deep); overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,18,43,0.6) 0%, rgba(13,27,62,0.25) 70%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; width: 100%;
  margin: 0 auto; padding: 72px 48px;
}
.page-hero-breadcrumb {
  font-size: 11.5px; color: rgba(255,255,255,0.5);
  margin-bottom: 14px; letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 6px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.page-hero-breadcrumb span { opacity: 0.4; }
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  color: var(--white); line-height: 1.18; margin-bottom: 16px;
}
.page-hero p {
  font-size: 15px; color: rgba(255,255,255,0.72);
  max-width: 540px; line-height: 1.65;
}
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ─── SECTION UTILITIES ─── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px; display: block;
}
.section-title {
  font-size: 28px; font-weight: 800; color: var(--text);
  line-height: 1.25; margin-bottom: 16px;
}
.section-lead {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  max-width: 600px;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #112466 100%);
  padding: 72px 48px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 100% at 95% 50%, rgba(26,59,204,0.22) 0%, transparent 70%);
}
.cta-band-inner {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.cta-band-inner h2 {
  font-size: 26px; font-weight: 800; color: var(--white);
  margin-bottom: 10px; line-height: 1.25;
}
.cta-band-inner p { font-size: 15px; color: rgba(255,255,255,0.68); line-height: 1.65; }
.cta-band-inner .btn-primary { white-space: nowrap; padding: 12px 28px; font-size: 14px; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 52px 48px 28px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 13.5px; color: rgba(255,255,255,0.38);
  line-height: 1.65; margin-top: 12px; max-width: 280px;
}
.footer-brand .socials { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s;
}
.social-icon:hover { background: rgba(255,255,255,0.13); }
.social-icon svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); }
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13.5px; color: rgba(255,255,255,0.48);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: 1100px; margin: 22px auto 0;
  font-size: 12px; color: rgba(255,255,255,0.22); text-align: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero-content { padding: 56px 20px; }
  .cta-band { padding: 52px 20px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 40px 20px 24px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
