  :root{
    --blue:#1e3a8a;
    --blue-deep:#162a63;
    --blue-light:#3b5bb8;
    --blue-soft:#e8edf8;
    --orange:#f37021;
    --orange-deep:#d85c10;
    --orange-soft:#fef0e6;
    --white:#ffffff;
    --cream:#fbfaf7;
    --gray-bg:#f5f6f8;
    --ink:#0f172a;
    --ink-soft:#374151;
    --muted:#64748b;
    --line:#e5e7eb;
    --line-strong:#cbd5e1;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    font-family:'Manrope',sans-serif;
    background:var(--white);
    color:var(--ink);
    line-height:1.6;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  ::selection{background:var(--orange);color:var(--white)}
  h1,h2,h3,h4{font-family:'Playfair Display',serif;font-weight:600;letter-spacing:-0.02em;line-height:1.1}
  .mono{font-family:'Manrope',sans-serif;font-size:0.72rem;letter-spacing:0.18em;text-transform:uppercase;font-weight:600}

  /* ============ BRAND ============ */
  .brand{display:flex;align-items:center;gap:0.85rem;text-decoration:none}
  .brand-mark{width:44px;height:44px;position:relative;flex-shrink:0}
  .brand-mark svg{width:100%;height:100%;display:block}
  .brand-mark img{width:100%;height:100%;object-fit:contain;display:block}
  .footer-brand .brand-mark{background:var(--white);border-radius:10px;padding:5px}
  .brand-text{display:flex;flex-direction:column;line-height:1.05}
  .brand-name{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:700;color:var(--blue);letter-spacing:-0.01em}
  .brand-sub{font-size:0.66rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--orange);font-weight:600;margin-top:2px}

  /* ============ TOP BAR ============ */
  .topbar{
    background:var(--blue-deep);color:var(--white);
    padding:0.55rem 3rem;
    display:flex;justify-content:space-between;align-items:center;
    font-size:0.82rem;font-weight:400;
  }
  .topbar-left{display:flex;gap:2rem}
  .topbar-item{display:flex;align-items:center;gap:0.5rem;opacity:0.92}
  .topbar-item svg{width:14px;height:14px;stroke:var(--orange);stroke-width:2;fill:none}
  .topbar-right a{color:var(--white);text-decoration:none;opacity:0.85;transition:opacity 0.2s;margin-left:1.5rem}
  .topbar-right a:hover{opacity:1;color:var(--orange)}

  /* ============ NAV ============ */
  nav{
    position:sticky;top:0;z-index:100;
    padding:1.1rem 3rem;
    display:flex;justify-content:space-between;align-items:center;
    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(20px);
    border-bottom:1px solid var(--line);
    transition:all 0.3s ease;
  }
  .nav-links{display:flex;gap:2.2rem;list-style:none;align-items:center}
  .nav-links a{color:var(--ink);text-decoration:none;font-size:0.92rem;font-weight:500;position:relative;transition:color 0.2s}
  .nav-links a::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--orange);transition:width 0.3s ease}
  .nav-links a:hover{color:var(--blue)}
  .nav-links a:hover::after{width:100%}
  .nav-links a.active{color:var(--blue)}
  .nav-links a.active::after{width:100%}
  .nav-cta{
    background:var(--orange);color:var(--white);
    padding:0.75rem 1.4rem;border-radius:6px;
    font-size:0.88rem;font-weight:600;text-decoration:none;
    transition:all 0.3s;display:inline-flex;align-items:center;gap:0.5rem;
  }
  .nav-cta:hover{background:var(--orange-deep);transform:translateY(-1px);box-shadow:0 6px 16px rgba(243,112,33,0.3)}
  .nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;border:none;background:transparent;cursor:pointer;padding:0}
  .nav-toggle span{display:block;width:24px;height:2px;margin:0 auto;background:var(--blue-deep);border-radius:2px;transition:all 0.3s ease}
  .nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle.is-open span:nth-child(2){opacity:0}
  .nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  /* ============ SECTION HEAD ============ */
  section{padding:6rem 3rem;position:relative}
  .section-head.centered{
    grid-template-columns:1fr;text-align:center;
    max-width:760px;margin:0 auto 4rem;
    align-items:center;
  }
  .section-label{color:var(--orange);margin-bottom:1.2rem;display:flex;align-items:center;gap:0.8rem;justify-content:center}
  .section-label::before, .section-label::after{content:"";width:24px;height:2px;background:var(--orange)}
  h2.section-title{font-size:clamp(2.2rem,4vw,3.5rem);color:var(--blue-deep)}
  h2 em{font-style:italic;color:var(--orange);font-weight:500}
  .section-intro{font-size:1.05rem;color:var(--ink-soft);max-width:540px;line-height:1.75;margin:0 auto}

  /* ============ NOTICIAS ============ */
  .news{background:var(--cream)}
  .news-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.8rem;
    max-width:1100px;margin:0 auto;
  }
  .news-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    transition:all 0.4s ease;
    display:flex;flex-direction:column;
  }
  .news-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(30,58,138,0.1);border-color:transparent}
  .news-img{width:100%;height:220px;object-fit:cover;display:block;background:var(--blue-soft);transition:transform 0.4s ease}
  .news-card:hover .news-img{transform:scale(1.04)}
  .news-body{padding:1.8rem;display:flex;flex-direction:column;flex:1}
  .news-date{
    display:inline-flex;align-items:center;gap:0.5rem;
    font-size:0.78rem;color:var(--orange);font-weight:600;
    letter-spacing:0.06em;text-transform:uppercase;
    margin-bottom:0.8rem;
  }
  .news-card h3{font-size:1.35rem;color:var(--blue-deep);margin-bottom:0.7rem}
  .news-card p{font-size:0.92rem;color:var(--ink-soft);line-height:1.65;margin-bottom:1.2rem}
  .news-more{
    margin-top:auto;
    color:var(--blue);font-weight:600;font-size:0.9rem;
    display:inline-flex;align-items:center;gap:0.4rem;
  }
  .news-card:hover .news-more{color:var(--orange)}

  /* ============ MODAL ============ */
  .news-modal{
    position:fixed;inset:0;z-index:1000;
    display:none;align-items:center;justify-content:center;
    padding:1.5rem;
    background:rgba(15,23,42,0.72);
    -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  }
  .news-modal.is-open{display:flex;animation:nFade 0.25s ease}
  @keyframes nFade{from{opacity:0}to{opacity:1}}
  .news-modal-card{
    background:var(--white);border-radius:18px;
    max-width:680px;width:100%;max-height:90vh;overflow:hidden;
    display:flex;flex-direction:column;
    box-shadow:0 30px 60px rgba(15,23,42,0.35);position:relative;
  }
  .news-modal-card img{width:100%;height:320px;object-fit:cover;display:block;background:var(--blue-soft)}
  .news-modal-body{padding:2rem;overflow-y:auto}
  .news-modal-body .news-date{margin-bottom:1rem}
  .news-modal-body h3{font-size:1.8rem;color:var(--blue-deep);margin-bottom:1rem}
  .news-modal-body p{color:var(--ink-soft);line-height:1.75;font-size:0.98rem;margin-bottom:1rem}
  .news-modal-close{
    position:absolute;top:1rem;right:1rem;
    width:42px;height:42px;border-radius:50%;border:none;cursor:pointer;
    background:rgba(255,255,255,0.92);color:var(--blue-deep);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 14px rgba(15,23,42,0.18);transition:all 0.2s;
  }
  .news-modal-close:hover{background:var(--white);transform:rotate(90deg)}
  .news-modal-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.2;fill:none}

  /* ============ FOOTER ============ */
  footer{background:var(--blue-deep);color:var(--white);padding:5rem 3rem 2rem;position:relative}
  footer::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--orange)}
  .footer-grid{
    display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;
    margin-bottom:3.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,0.15);
  }
  .footer-brand .brand{margin-bottom:1.2rem}
  .footer-brand .brand-name{color:var(--white)}
  .footer-brand p{color:rgba(255,255,255,0.7);font-size:0.92rem;line-height:1.7;margin-bottom:1.5rem;max-width:320px}
  .footer-col h4{font-family:'Manrope',sans-serif;font-size:0.82rem;font-weight:700;color:var(--white);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:1.3rem}
  .footer-col ul{list-style:none}
  .footer-col li{margin-bottom:0.7rem}
  .footer-col a{color:rgba(255,255,255,0.7);text-decoration:none;font-size:0.92rem;transition:color 0.2s}
  .footer-col a:hover{color:var(--orange)}
  .footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:0.83rem;color:rgba(255,255,255,0.5);flex-wrap:wrap;gap:1rem}
  .footer-bottom-links a{color:rgba(255,255,255,0.5);text-decoration:none;margin-left:1.5rem;font-size:0.83rem;display:inline-flex;align-items:center}
  .footer-bottom-links a:hover{color:var(--orange)}
  .footer-bottom-links a svg{width:15px;height:15px;margin-right:0.35rem}
  .footer-credit a{color:var(--white);font-weight:600;text-decoration:none}
  .footer-credit a:hover{color:var(--orange)}

  /* ============ RESPONSIVE ============ */
  @media (max-width:980px){
    .news-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr 1fr;gap:2.5rem}
    .nav-toggle{display:flex}
    .nav-cta{display:none}
    .nav-links{
      display:flex;flex-direction:column;align-items:stretch;gap:0;
      position:absolute;top:100%;left:0;right:0;
      background:var(--white);
      border-bottom:1px solid var(--line);
      box-shadow:0 12px 30px rgba(15,23,42,0.08);
      padding:0.4rem 1.5rem 1rem;
      transform:translateY(-12px);opacity:0;pointer-events:none;
      transition:opacity 0.25s ease, transform 0.25s ease;
    }
    nav.nav-open .nav-links{transform:translateY(0);opacity:1;pointer-events:auto}
    .nav-links li{width:100%}
    .nav-links a{display:block;padding:0.9rem 0;border-bottom:1px solid var(--line);font-size:1rem}
    .nav-links li:last-child a{border-bottom:none}
    .nav-links a::after{display:none}
    nav{padding:0.9rem 1.5rem}
    section{padding:4rem 1.5rem}
    footer{padding:4rem 1.5rem 2rem}
  }
  @media (max-width:640px){
    .topbar{display:none}
    .footer-grid{grid-template-columns:1fr;gap:2rem}
    .footer-bottom{flex-direction:column;text-align:center}
    .footer-bottom-links a{margin:0 0.5rem}
    .brand-name{font-size:1rem}
    .brand-sub{font-size:0.6rem}
  }
