
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #001548;
    --blue: #0481FD;
    --blue-deep: #225AB8;
    --blue-soft: #5FA8FF;
    --bg: #F0F3F9;
    --bg-card: #FFFFFF;
    --muted: #5B6478;
    --border: rgba(0, 21, 72, 0.1);
    --border-strong: rgba(4, 129, 253, 0.35);
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--navy);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }
  /* NAV: menú compartido (includes/nav.php) */

  /* HERO */
  .hero {
    padding: 5.5rem 2rem 5rem;
    max-width: 1100px; margin: 0 auto;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero-logo {
    height: 110px; width: auto; margin-bottom: 2rem;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-deep);
    background: rgba(4,129,253,0.08); border: 1px solid var(--border-strong);
    padding: 6px 14px; border-radius: 100px; margin-bottom: 1.5rem;
  }
  .hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
  .hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.25; letter-spacing: -0.02em;
    color: var(--navy); margin-bottom: 1.5rem;
    max-width: 760px;
  }
  .hero h1 span { color: var(--blue); }
  .hero-desc {
    font-size: 17px; color: var(--muted); font-weight: 400;
    line-height: 1.75; margin-bottom: 2.5rem; max-width: 680px;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .btn-primary {
    background: var(--navy); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 13px 26px; border-radius: 100px;
    text-decoration: none; transition: background 0.2s;
  }
  .btn-primary:hover { background: var(--blue); }
  .btn-secondary {
    background: transparent; color: var(--navy);
    font-size: 14px; font-weight: 500;
    padding: 13px 26px; border-radius: 100px;
    border: 1px solid var(--border-strong);
    text-decoration: none; transition: border-color 0.2s;
  }
  .btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

  /* SECTION COMMON */
  section { padding: 5rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue-deep);
    margin-bottom: 0.75rem;
  }
  .section-title {
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em; line-height: 1.25;
    color: var(--navy); margin-bottom: 1rem;
  }
  .section-desc {
    font-size: 16px; color: var(--muted); font-weight: 400;
    max-width: 620px; line-height: 1.7;
  }
  .section-header { text-align: center; margin: 0 auto 3rem; }
  .section-header .section-desc { margin: 0 auto; }

  /* PROPOSITO / MISION / VISION */
  .pillars-section { background: #fff; }
  .pillars-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3rem;
  }
  .pillar-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
  }
  .pillar-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(4,129,253,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
  }
  .pillar-card h3 {
    font-weight: 600; font-size: 1.05rem;
    color: var(--navy); margin-bottom: 0.75rem;
  }
  .pillar-card p {
    font-size: 14px; color: var(--muted); font-weight: 400;
    line-height: 1.65;
  }

  /* LINEAS DE TRABAJO */
  .lines-section { background: var(--navy); }
  .lines-section .section-label { color: var(--blue-soft); }
  .lines-section .section-title { color: #fff; }
  .lines-section .section-desc { color: rgba(255,255,255,0.55); }
  .lines-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3rem;
  }
  .line-card {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 2rem;
    position: relative; overflow: hidden;
    transition: border-color 0.2s;
  }
  .line-card:hover { border-color: var(--blue-soft); }
  .line-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue);
  }
  .line-tag {
    display: inline-block;
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-soft); background: rgba(4,129,253,0.14);
    padding: 4px 10px; border-radius: 100px; margin-bottom: 1.25rem;
  }
  .line-card h3 {
    font-weight: 600;
    font-size: 1.3rem; color: #fff; margin-bottom: 0.85rem; line-height: 1.3;
  }
  .line-card p {
    font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 400;
    line-height: 1.65;
  }

  /* QUICK LINKS */
  .links-section { background: #fff; }
  .links-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem; margin-top: 3rem;
  }
  .link-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.5rem;
    text-decoration: none; color: var(--navy);
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex; flex-direction: column; gap: 0.75rem;
  }
  .link-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 8px 28px rgba(0,21,72,0.08);
  }
  .link-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(4,129,253,0.1);
    display: flex; align-items: center; justify-content: center;
  }
  .link-card h3 {
    font-weight: 600; font-size: 0.95rem;
    color: var(--navy); line-height: 1.3;
  }
  .link-card span.cta {
    font-size: 12.5px; color: var(--blue-deep); font-weight: 500;
    margin-top: auto;
  }

  /* CTA FINAL */
  .cta-section { background: var(--navy); text-align: center; padding: 6rem 2rem; }
  .cta-section h2 {
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    color: #fff; margin-bottom: 1rem; letter-spacing: -0.02em;
  }
  .cta-section h2 span { color: var(--blue-soft); }
  .cta-section p { color: rgba(255,255,255,0.55); font-size: 16px; margin-bottom: 2.5rem; font-weight: 400; }
  .cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
  .btn-cta-primary {
    background: var(--blue); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 14px 28px; border-radius: 100px;
    text-decoration: none; transition: background 0.2s;
  }
  .btn-cta-primary:hover { background: var(--blue-soft); }
  .btn-cta-secondary {
    background: transparent; color: rgba(255,255,255,0.75);
    font-size: 14px; font-weight: 500; padding: 14px 28px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.18);
    text-decoration: none; transition: border-color 0.2s;
  }
  .btn-cta-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

  /* FOOTER */
  footer {
    background: #000C2E; padding: 2.5rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  footer .logo-f {
    display: flex; align-items: center;
    text-decoration: none;
  }
  footer .logo-f img {
    height: 30px; width: auto; display: block;
  }
  footer .contact-f {
    font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 400;
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  }
  footer .contact-f a.contact-text { color: rgba(255,255,255,0.45); text-decoration: none; white-space: nowrap; }
  footer .contact-f a.contact-text:hover { color: var(--blue-soft); }
  footer .social-icons { display: flex; align-items: center; gap: 14px; }
  footer .social-icons a { color: rgba(255,255,255,0.45); display: flex; transition: color 0.2s; }
  footer .social-icons a:hover { color: var(--blue-soft); }
  footer .copy { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 400; }

  @media (max-width: 900px) {
    .pillars-grid, .lines-grid { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    footer {
      flex-direction: column; align-items: flex-start; text-align: left;
      gap: 1.25rem; padding: 2rem 1.25rem;
    }
    footer .contact-f { flex-direction: column; align-items: flex-start; gap: 0.6rem; width: 100%; }
    footer .social-icons { margin-top: 0.4rem; }
    section { padding: 3.5rem 1.25rem; }
    .hero { padding: 3.5rem 1.25rem 3rem; }
    .hero-logo { height: 80px; }
    .links-grid { grid-template-columns: 1fr; }
  }
