:root{
    --navy:#1D3557;
    --navy-2:#2C4B78;
    --cream:#F0F6F8;
    --cream-2:#E1ECEF;
    --gold:#F8852B;
    --teal:#3B7A82;
    --coral:#D9600F;
    --paper:#F7FBFC;
    --line:rgba(29,53,87,0.12);
    --line-light:rgba(255,255,255,0.16);
    --radius:2px;
    --maxw:1180px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    background:var(--paper);
    color:var(--navy);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:-0.02em; line-height:1.05;}
  .mono{font-family:'IBM Plex Mono',monospace; letter-spacing:0.04em; text-transform:uppercase; font-size:12px;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  img,svg{display:block; max-width:100%;}
  button{font-family:inherit; cursor:pointer;}
  ::selection{background:var(--gold); color:var(--navy);}
  :focus-visible{outline:3px solid var(--teal); outline-offset:3px;}

  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(255,253,246,0.95); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; min-height:48px;}
  .brand{display:flex; align-items:center; gap:12px; flex-shrink:0;}
  .brand-mark{height:38px; width:auto;}
  .brand-name{
    font-family:'Space Grotesk'; font-weight:700; font-size:13px; line-height:1.25;
    color:var(--navy); letter-spacing:0.01em;
  }
  .nav-links{display:flex; align-items:center; gap:24px;}
  .nav-links a{color:var(--navy); font-size:16px; font-weight:500; opacity:0.75; transition:opacity .2s; white-space:nowrap;}
  .nav-links a:hover{opacity:1;}
  .nav-right{display:flex; align-items:center; gap:16px; flex-shrink:0;}
  .nav-cta-wrap{display:flex; flex-direction:column; align-items:center; gap:4px;}
  .nav-cta-note{
    font-size:9.5px; line-height:1.25; color:rgba(29,53,87,0.55);
    text-align:center; max-width:150px;
  }
  .menu-toggle{
    display:none; flex-direction:column; justify-content:center; gap:5px;
    width:36px; height:36px; background:none; border:none; padding:0; flex-shrink:0;
  }
  .menu-toggle span{display:block; width:100%; height:2px; background:var(--navy); border-radius:2px; transition:transform .25s, opacity .25s;}
  .menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .menu-toggle.open span:nth-child(2){opacity:0;}
  .menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .mobile-menu{
    display:none; flex-direction:column; background:var(--cream); border-top:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .mobile-menu.open{max-height:400px;}
  .mobile-menu a{
    color:var(--navy); font-size:16px; font-weight:500; padding:16px 32px;
    border-bottom:1px solid var(--line);
  }
  .lang-toggle{
    display:flex; border:1px solid var(--line); border-radius:100px; overflow:hidden;
  }
  .lang-toggle button{
    background:transparent; border:none; color:var(--navy); font-family:'IBM Plex Mono';
    font-size:14px; letter-spacing:0.06em; padding:6px 12px; opacity:0.6; transition:all .2s;
  }
  .lang-toggle button.active{background:var(--gold); color:var(--navy); opacity:1; font-weight:600;}
  .nav-cta{
    background:var(--coral); color:var(--navy); font-weight:600; font-size:20px;
    padding:11px 22px; border-radius:100px; white-space:nowrap; display:inline-block; text-align:center;
  }
  .nav-cta:hover{background:var(--gold);}

  .hero{
    background:var(--navy); color:var(--cream); position:relative; overflow:hidden;
    padding:170px 0 0 0;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
    padding-bottom:90px; position:relative; z-index:1;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px; color:var(--gold);
    margin-bottom:24px;
  }
  .eyebrow::before{content:''; width:20px; height:1px; background:var(--gold);}
  .hero h1{font-size:clamp(38px,5vw,64px); color:var(--cream);}
  .hero h1 em{font-style:normal; color:var(--gold);}
  .hero p.lede{font-size:18px; color:rgba(255,253,246,0.75); max-width:480px; margin:24px 0 34px 0;}
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap; align-items:center;}
  .btn-primary{
    background:var(--gold); color:var(--navy); font-weight:600; font-size:22px;
    padding:18px 32px; border-radius:100px; border:none; display:inline-flex; align-items:center; gap:10px;
    transition:transform .2s ease, background .2s; text-decoration:none;
  }
  .btn-primary:hover{transform:translateY(-2px); background:#FA9A4E;}
  .btn-ghost{
    color:var(--cream); font-weight:600; font-size:20px; padding:16px 8px;
    border-bottom:1px solid var(--line-light); display:inline-flex; align-items:center; gap:8px;
  }
  .hero-stats{display:flex; gap:36px; margin-top:56px; padding-top:28px; border-top:1px solid var(--line-light);}
  .trust-note{font-size:13px; color:rgba(255,253,246,0.5); margin-top:14px;}
  .trust-note.on-light{color:rgba(29,53,87,0.55); margin-top:20px; text-align:center;}
  .stat-num{font-family:'Space Grotesk'; font-size:28px; font-weight:700; color:var(--gold);}
  .stat-label{font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color:rgba(255,253,246,0.6); margin-top:4px;}

  .horizon-wrap{position:relative; height:460px; display:flex; align-items:center; justify-content:center;}
  .hero-emblem-glow{
    position:absolute; width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle, rgba(248,133,43,0.28), transparent 70%);
    opacity:0; animation:fadeIn 1.4s ease forwards .2s;
  }
  .hero-emblem{
    position:relative; z-index:1; width:320px; max-width:78%; display:block;
    filter:drop-shadow(0 18px 34px rgba(0,0,0,0.45));
    opacity:0; transform:scale(0.88); animation:emblemIn 1s cubic-bezier(.2,.8,.2,1) forwards .35s;
  }
  @keyframes emblemIn{ to{opacity:1; transform:scale(1);} }
  @keyframes fadeIn{ to{ opacity:1; } }

  .marquee-band{
    background:var(--gold); color:var(--navy); overflow:hidden; padding:12px 0;
    white-space:nowrap; border-bottom:1px solid var(--navy);
  }
  .marquee-track{display:inline-block; animation:scroll 26s linear infinite; font-family:'IBM Plex Mono'; font-size:13px; font-weight:500; letter-spacing:0.04em;}
  .marquee-track span{margin:0 28px;}
  .marquee-icon{display:inline-block; height:16px; width:auto; vertical-align:-3px; margin-right:6px; border-radius:2px;}
  @keyframes scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

  section{padding:110px 0;}
  .section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:56px; flex-wrap:wrap;}
  .section-head .eyebrow{color:var(--teal);}
  .section-head .eyebrow::before{background:var(--teal);}
  .section-head h2{font-size:clamp(28px,3.6vw,42px);}
  .section-head p{max-width:360px; color:rgba(29,53,87,0.62); font-size:15px;}

  .services{background:var(--cream);}
  .service-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:2px; background:var(--line);}
  .service-card{
    background:var(--paper); padding:44px; display:flex; flex-direction:column; gap:18px;
    transition:background .3s; text-decoration:none; color:inherit; cursor:pointer;
  }
  .service-cta{
    margin-top:auto; padding-top:8px; font-family:'IBM Plex Mono'; font-size:12px;
    text-transform:uppercase; letter-spacing:0.05em; color:var(--gold);
  }
  .service-card:hover{background:var(--navy); color:var(--cream);}
  .service-card:hover .service-tag{color:var(--gold); border-color:var(--gold);}
  .service-card:hover .service-desc{color:rgba(255,253,246,0.75);}
  .service-tag{
    font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.06em;
    border:1px solid var(--line); border-radius:100px; padding:6px 12px; width:fit-content; color:var(--teal);
    transition:all .3s;
  }
  .service-card h3{font-size:26px;}
  .service-desc{color:rgba(29,53,87,0.65); font-size:15px; transition:color .3s;}
  .service-list{list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:6px; font-size:14px;}
  .service-list li{display:flex; gap:10px; align-items:flex-start;}
  .service-list li::before{content:'—'; color:var(--gold); flex-shrink:0;}

  .about{background:var(--paper);}
  .about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;}
  .about-photo{
    aspect-ratio:4/5; background:var(--navy); border-radius:var(--radius);
    position:relative; overflow:hidden;
  }
  .about-headshot{width:100%; height:100%; object-fit:cover; display:block;}
  .about-photo::after{
    content:''; position:absolute; left:0; right:0; bottom:0; height:48%;
    background:linear-gradient(to top, rgba(29,53,87,0.95), transparent); pointer-events:none;
  }
  .about-badge-corner{
    position:absolute; top:18px; right:18px; width:50px; height:50px; border-radius:50%;
    background:var(--cream); display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 16px rgba(0,0,0,0.3); z-index:2; padding:8px;
  }
  .about-badge-corner img{width:100%; height:100%; object-fit:contain;}
  .about-caption{position:absolute; left:26px; right:26px; bottom:22px; z-index:2; color:var(--cream);}
  .about-caption .name{font-family:'Space Grotesk'; font-weight:700; font-size:22px;}
  .about-caption .title{font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color:var(--gold); margin-top:4px;}
  .about-copy p{color:rgba(29,53,87,0.72); font-size:16px; margin-bottom:18px;}
  .about-copy p:first-of-type{font-size:20px; color:var(--navy); font-weight:500;}
  .credentials{display:flex; gap:28px; margin-top:32px; flex-wrap:wrap;}
  .credential{border-left:2px solid var(--teal); padding-left:14px;}
  .credential .mono{color:var(--teal);}
  .credential div:last-child{font-size:14px; margin-top:4px; max-width:180px;}

  .news{background:var(--navy); color:var(--cream);}
  .news .section-head .eyebrow{color:var(--gold);} 
  .news .section-head .eyebrow::before{background:var(--gold);}
  .news .section-head p{color:rgba(255,253,246,0.6);}
  .news-scroll{display:flex; gap:20px; overflow-x:auto; padding-bottom:12px; scrollbar-width:none;}
  .news-scroll::-webkit-scrollbar{display:none;}
  .news-card{
    background:var(--navy-2); border:1px solid var(--line-light); border-radius:var(--radius);
    padding:28px; min-width:300px; flex-shrink:0; display:flex; flex-direction:column; gap:14px;
  }
  .news-date{color:var(--gold);}
  .news-card h4{font-size:19px; color:var(--cream);}
  .news-card p{font-size:14px; color:rgba(255,253,246,0.65);}
  .news-card a{font-size:13px; font-weight:600; color:#8FBBA8; margin-top:auto;}

  .contact{background:var(--cream-2);}
  .contact-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;}
  .contact-info h2{font-size:clamp(28px,3.6vw,40px); margin-bottom:18px;}
  .contact-info p{color:rgba(29,53,87,0.65); font-size:16px; max-width:400px; margin-bottom:32px;}
  .contact-methods{display:flex; flex-direction:column; gap:20px;}
  .contact-method{display:flex; gap:16px; align-items:center;}
  .contact-method .ico{
    width:40px; height:40px; border-radius:50%; background:var(--navy); color:var(--gold);
    display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-size:14px; flex-shrink:0;
  }
  .contact-method div span{display:block; font-size:12px; color:rgba(29,53,87,0.5); font-family:'IBM Plex Mono'; text-transform:uppercase; letter-spacing:0.05em;}
  .contact-method div strong{font-size:16px;}

  .quote-box{
    background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:48px; text-align:center;
    display:flex; flex-direction:column; gap:24px; align-items:center; justify-content:center;
  }
  .quote-box h3{font-size:28px; color:var(--navy);}
  .quote-box p{color:rgba(29,53,87,0.7); font-size:16px; max-width:420px;}
  .quote-box .btn-primary{width:100%; justify-content:center;}

  .callback-box{
    margin-top:48px; background:var(--navy); border-radius:var(--radius); padding:44px;
    display:grid; grid-template-columns:0.85fr 1.15fr; gap:44px; align-items:start;
  }
  .callback-box-text h3{color:var(--cream); font-size:24px; margin-bottom:14px;}
  .callback-box-text p{color:rgba(255,253,246,0.7); font-size:15px; line-height:1.65;}
  .callback-form .form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
  .callback-form .field{display:flex; flex-direction:column; gap:6px;}
  .callback-form label{font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color:rgba(255,253,246,0.55);}
  .callback-form input, .callback-form select{
    background:var(--navy-2); border:1px solid var(--line-light); border-radius:6px;
    padding:12px 14px; color:var(--cream); font-family:'Inter'; font-size:14px;
  }
  .callback-form input:focus, .callback-form select:focus{outline:none; border-color:var(--gold);}
  .callback-form select option{background:var(--navy); color:var(--cream);}
  @media (max-width:800px){
    .callback-box{grid-template-columns:1fr;}
    .callback-form .form-row{grid-template-columns:1fr;}
  }

  footer{background:var(--navy); color:rgba(255,253,246,0.6); padding:56px 0 32px;}
  .faq{background:var(--paper);}
  .faq-list{max-width:820px; display:flex; flex-direction:column; gap:12px;}
  .faq-item{
    background:var(--cream-2); border:1px solid var(--line); border-radius:8px; padding:22px 26px;
  }
  .faq-item summary{
    font-family:'Space Grotesk'; font-weight:600; font-size:17px; color:var(--navy);
    cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{
    content:'+'; font-size:22px; color:var(--gold); flex-shrink:0; transition:transform .2s;
  }
  .faq-item[open] summary::after{transform:rotate(45deg);}
  .faq-item p{color:rgba(29,53,87,0.72); font-size:15px; line-height:1.65; margin-top:14px;}
  .footer-top{display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; padding-bottom:40px; border-bottom:1px solid var(--line-light);}
  .footer-links{display:flex; gap:48px; flex-wrap:wrap;}
  .footer-col h5{font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--gold); margin-bottom:14px;}
  .footer-col a{display:block; font-size:14px; margin-bottom:10px; color:rgba(255,253,246,0.7);}
  .footer-bottom{display:flex; justify-content:space-between; padding-top:24px; font-size:12px; flex-wrap:wrap; gap:12px;}
  .footer-legal{max-width:720px; color:rgba(255,253,246,0.45); font-size:11.5px; line-height:1.6;}

  html[lang="es"] [data-en]{display:none !important;}
  html[lang="es"] [data-es]{display:inherit !important;}
  html:not([lang="es"]) [data-es]{display:none !important;}
  html:not([lang="es"]) [data-en]{display:inherit !important;}

  @media (max-width:1150px){
    .nav-links{display:none;}
    .menu-toggle{display:flex;}
    .mobile-menu{display:flex;}
  }
  @media (max-width:1050px){
    .hero-grid, .about-grid, .contact-grid{grid-template-columns:1fr;}
    .service-grid{grid-template-columns:1fr;}
    .horizon-wrap{height:280px; order:-1;}
    .hero{padding-top:120px;}
    .footer-top{flex-direction:column;}
  }
  @media (max-width:480px){
    .nav-cta-wrap{display:none;}
    nav.wrap{padding-left:20px; padding-right:20px;}
  }
/* ===== ARTICLE PAGES ===== */
.article-hero{background:var(--navy); color:var(--cream); padding:150px 0 60px;}
.back-link{display:inline-flex; align-items:center; gap:8px; color:var(--gold); font-size:14px; font-weight:600; margin-bottom:28px;}
.article-tag{display:inline-block; font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; background:rgba(248,133,43,0.15); color:var(--gold); border:1px solid rgba(248,133,43,0.35); border-radius:100px; padding:6px 14px; margin-bottom:20px;}
.article-hero h1{font-size:clamp(30px,4.2vw,48px); max-width:820px;}
.article-meta{display:flex; gap:20px; margin-top:20px; font-family:'IBM Plex Mono'; font-size:12px; color:rgba(255,253,246,0.55); flex-wrap:wrap;}
.article-body{background:var(--paper); padding:70px 0 90px;}
.article-content{max-width:720px; margin:0 auto;}
.article-content p{font-size:17px; line-height:1.75; color:rgba(29,53,87,0.82); margin-bottom:22px;}
.article-content h2{font-size:26px; color:var(--navy); margin:44px 0 18px;}
.article-content h3{font-size:19px; color:var(--navy); margin:32px 0 14px;}
.article-content ul{margin:0 0 22px 22px;}
.article-content li{font-size:16px; line-height:1.7; color:rgba(29,53,87,0.82); margin-bottom:10px;}
.article-content a{color:var(--teal); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.article-content a.btn-primary{color:var(--navy); text-decoration:none;}
.lede-text{font-size:19px !important; color:var(--navy) !important; font-weight:500; line-height:1.6 !important;}
.takeaways{background:var(--cream-2); border-left:3px solid var(--gold); border-radius:4px; padding:24px 28px; margin:32px 0;}
.takeaways h3{margin-top:0 !important; font-size:16px; text-transform:uppercase; letter-spacing:0.04em; font-family:'IBM Plex Mono'; color:var(--navy);}
.takeaways ul{margin-bottom:0;}
.article-cta{
  background:var(--navy); border-radius:8px; padding:34px 32px; margin:44px 0;
  display:flex; flex-direction:column; gap:14px; align-items:flex-start;
}
.article-cta h3{color:var(--cream); font-size:20px; margin:0;}
.article-cta p{color:rgba(255,253,246,0.7); font-size:15px; margin:0;}
.article-cta .btn-primary{margin-top:6px;}
.article-cta .trust-note{margin-top:0;}
.article-footer-nav{border-top:1px solid var(--line); margin-top:50px; padding-top:30px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;}
.article-footer-nav a{font-weight:600; color:var(--navy); font-size:15px;}
@media (max-width:700px){
  .article-hero{padding-top:130px;}
}
