 /* ========= Base / Tokens ========= */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');
    :root{
      --primary:#132996; --secondary:#3967f3; --teal:#49e9f8;
      --text:#2C3E50; --muted:#6C757D; --bg:#FFFFFF; --bg-soft:#F8F9FA;
      --accent:#FF6B9D; --card:#FFFFFF;
      --shadow-sm:0 2px 8px rgba(0,0,0,.08);
      --shadow-md:0 4px 16px rgba(0,0,0,.12);
      --shadow-lg:0 8px 32px rgba(0,0,0,.16);
      --radius:15px; --gap:35px;
    }
    *{box-sizing:border-box;margin:0;padding:0}
    body{font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg);line-height:1.7;overflow-x:hidden}
    img{max-width:100%;display:block}
    a{color:inherit;text-decoration:none}
    button{font:inherit}
    .container{max-width:1200px;margin-inline:auto;padding-inline:20px}
    .btn{display:inline-flex;align-items:center;gap:.5rem;border:0;border-radius:25px;padding:12px 28px;cursor:pointer;font-weight:600;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,var(--teal),var(--secondary));color:#fff;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}
    .btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}

    /* ========= Top bar ========= */
    .top-bar{background:var(--primary);color:#fff;font-size:.85rem}
    .top-bar .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;flex-wrap:wrap}
    .top-bar .left,.top-bar .right{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
    .top-bar .left span{white-space:nowrap;display:flex;align-items:center;gap:8px}
    .top-bar .right a{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);transition:all .2s}
    .top-bar .right a:hover{background:var(--teal);transform:translateY(-2px)}

    /* ========= Header / Nav ========= */

    
header.header{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:var(--shadow-sm)}
.header .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:18px}
.logo img{width:100px;height:100px;border-radius:8px;object-fit:contain}
.logo-text span{font-size:2.2rem;font-weight:700;color:var(--primary);line-height:1;letter-spacing:-.5px}
.logo-text p{font-size:.9rem;color:var(--muted);margin-top:4px}
nav.nav{display:flex;align-items:center;gap:20px}
.nav ul{list-style:none;display:flex;gap:30px;align-items:center}
.nav a{font-weight:500;font-size:.95rem;padding:8px 0;position:relative;transition:color .2s}
.nav a:is(:hover,.active){color:var(--teal)}
.nav a::after{content:'';position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--teal);transition:width .2s}
.nav a:is(:hover,.active)::after{width:100%}
.header-stats{display:flex;align-items:center;gap:25px;font-size:.8rem;color:var(--muted)}
.header-stats i{font-size:1.5rem;color:var(--teal);margin-bottom:6px}

    /* ========= Hero slider ========= */
    .hero{position:relative;height:650px;overflow:hidden;margin-bottom:-100px}
    .slides{display:flex;height:100%;transition:transform .6s cubic-bezier(.4,0,.2,1)}
    .slide{flex:0 0 100%;height:100%;display:grid;place-items:center;color:#fff;position:relative;background-size:cover;background-position:center}
    .slide::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(34,64,104,.45),rgba(62,104,168,.35))}
    .slide .content{position:relative;text-align:center;max-width:900px;padding:40px;animation:fadeInUp .8s ease}
    .slide h1{font-size:clamp(2rem,6vw,4rem);font-weight:800;letter-spacing:-1px;line-height:1.1;margin-bottom:15px}
    .slide h2{font-size:clamp(1.2rem,3.2vw,2rem);font-weight:400;opacity:.95;margin-bottom:25px}
    .slide p{font-size:1.05rem;max-width:700px;margin:0 auto 35px;opacity:.9}
    .arrow{position:absolute;top:50%;transform:translateY(-50%);border:2px solid rgba(255,255,255,.3);background:rgba(255,255,255,.15);backdrop-filter:blur(10px);color:#fff;padding:16px 12px;border-radius:8px;font-size:1.4rem;cursor:pointer;transition:all .2s}
    .arrow:hover{background:var(--teal);border-color:var(--teal);transform:translateY(-50%) scale(1.08)}
    .arrow.prev{left:30px} .arrow.next{right:30px}
    @keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}

    /* ========= Info bar ========= */
    .info-bar{position:relative;z-index:5}
    .info-bar .box{display:flex;justify-content:center;align-items:stretch;gap:30px;margin-top:-100px;background:linear-gradient(135deg,var(--secondary),var(--primary));padding:45px 40px;border-radius:var(--radius);box-shadow:var(--shadow-lg);flex-wrap:wrap;color:#fff}
    .info-card{flex:1 1 45%;max-width:550px}
    .info-card i{font-size:3rem;color:var(--teal);margin-bottom:20px}
    .info-card h3{font-size:1.8rem;font-weight:700;margin-bottom:12px}
    .info-card p{opacity:.95;margin-bottom:12px}
    .info-card ul{list-style:none;margin-top:10px}
    .info-card li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.2)}

    /* ========= Services ========= */
    .services{padding:100px 0}
    .services .section-header{text-align:center;margin-bottom:50px}
    .services .section-header .sub{color:var(--accent);font-weight:600;letter-spacing:2px;text-transform:uppercase}
    .services .section-header h2{font-size:clamp(2rem,5vw,3rem);font-weight:800;letter-spacing:-.5px;margin-top:8px}
    .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
    .service-card{background:#fff;border:2px solid var(--bg-soft);border-radius:15px;box-shadow:var(--shadow-sm);padding:32px;text-align:center;transition:transform .2s,box-shadow .2s,border-color .2s}
    .service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--teal)}
    .service-icon{width:72px;height:72px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;font-size:28px;color:var(--teal);background:linear-gradient(135deg,rgba(78,205,196,.12),rgba(62,104,168,.12))}
    .service-card h3{font-size:1.2rem;font-weight:700;margin-bottom:8px}
    .service-card p{color:var(--muted)}
    .service-link{display:inline-flex;align-items:center;gap:8px;color:var(--teal);font-weight:600;margin-top:16px}
    .service-link:hover{color:var(--secondary);gap:12px}

    /* ========= GALERÍA ========= */
    .gallery{padding:80px 0;background:#efefef}
    .gallery .top{text-align:center;margin-bottom:26px}
    .gallery .top h2{
      font-weight:800;letter-spacing:1px;color:#111;font-size:clamp(1.8rem,4vw,3rem)
    }
    .gallery .top .credit{color:#6f6f6f;font-size:.95rem}
    .gallery .top .credit a{color:#b7a30f;font-weight:600}
    .gallery-grid{
      max-width:980px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px
    }
    .g-item{position:relative;border-radius:10px;overflow:hidden;background:#ddd}
    .g-item img{width:100%;height:100%;object-fit:cover;aspect-ratio:1.1/1}
    .g-item::after{ /* overlay suave al hover */
      content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.35),transparent 45%);
      opacity:0;transition:opacity .2s
    }
    .g-item:hover::after{opacity:1}
    .gallery-desc{
      max-width:980px;margin:28px auto 0;text-align:center;color:#464a4f;font-size:1.15rem
    }

    /* ========= Lightbox / Popup ========= */
    .lightbox{position:fixed;inset:0;background:rgba(9,14,25,.85);backdrop-filter:blur(3px);
      display:none;align-items:center;justify-content:center;z-index:2000}
    .lightbox.open{display:flex}
    .lightbox-inner{max-width:min(1100px,92vw);max-height:86vh;position:relative}
    .lightbox-img{display:block;max-width:100%;max-height:86vh;border-radius:12px;box-shadow:var(--shadow-lg)}
    .lb-btn{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.15);
      color:#fff;width:44px;height:44px;border-radius:10px;cursor:pointer}
    .lb-prev{left:-56px} .lb-next{right:-56px}
    .lb-close{position:absolute;top:-56px;right:0;width:44px;height:44px;border-radius:10px;background:rgba(255,255,255,.18);color:#fff;border:0;cursor:pointer}
    .lb-caption{margin-top:10px;color:#dfe7ff;text-align:center}
    @media (max-width:768px){
      .lb-prev{left:6px} .lb-next{right:6px} .lb-close{top:6px;right:6px}
    }

    /* ========= MAP banner + Footer ========= */
    .map-cta{padding:60px 0 0;background:var(--bg-soft)}
    .map-card{
      max-width:980px;margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr;gap:0;
      background:#0e1522;border-radius:22px;box-shadow:var(--shadow-lg);overflow:hidden;
      position:relative;isolation:isolate;
    }
    .map-card::after{
      content:'';position:absolute;inset:auto 20px 20px auto;width:120px;height:120px;border-radius:16px;
      background:radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
      background-size:10px 10px;opacity:.25;pointer-events:none;
    }
    .map-copy{color:#eef3ff;padding:40px 36px;display:flex;flex-direction:column;justify-content:center}
    .map-copy h3{font-size:clamp(1.4rem,2.6vw,1.9rem);line-height:1.2;margin-bottom:8px}
    .map-copy p{opacity:.9}
    .map-device{background:#111a2a;padding:18px;display:flex;align-items:center;justify-content:center}
    .map-frame{width:100%;aspect-ratio:16/11;border:0;border-radius:14px;overflow:hidden}
    .map-frame iframe{width:100%;height:100%;border:0}

    .site-footer{padding:60px 0 30px;background:linear-gradient(180deg,transparent, #f1f3f6 30%, #eef1f6)}
    .footer-grid{max-width:1000px;margin:40px auto 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
    .footer-brand{display:flex;flex-direction:column;gap:8px}
    .footer-brand .logoname{font-weight:800;font-size:1.4rem;color:#335;letter-spacing:.5px}
    .footer-nav h4{font-size:.95rem;font-weight:700;color:#334;margin-bottom:10px}
    .footer-nav ul{list-style:none}
    .footer-nav li{margin:8px 0}
    .footer-nav a{color:#5a6677;font-weight:500}
    .footer-nav a:hover{color:var(--secondary)}
    .footer-social{display:flex;gap:10px;margin-top:10px}
    .footer-social a{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9eef6;color:#334}
    .footer-bottom{max-width:1000px;margin:30px auto 0;padding-top:16px;border-top:1px solid #dbe3ee;
      display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#6c7a8e;font-size:.9rem}
    .footer-bottom a{color:inherit}
    .footer-bottom a:hover{color:var(--secondary)}

    /* ========= Responsive (otros) ========= */
    @media (max-width:992px){
      .header .wrap{flex-direction:column;gap:15px}
      .header-stats{display:none}
      .nav ul{flex-wrap:wrap;justify-content:center;gap:15px}
      .hero{height:500px}
      .services-grid{grid-template-columns:repeat(2,1fr)}
      .gallery-grid{grid-template-columns:repeat(2,1fr)}
      .map-card{grid-template-columns:1fr}
      .map-device{order:-1}
      .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
    }
    @media (max-width:768px){
      .top-bar .wrap{flex-direction:column;gap:10px}
      .hero{height:450px;margin-bottom:-60px}
      .info-bar .box{margin-top:-60px;padding:30px 20px}
      .services-grid{grid-template-columns:1fr}
      .gallery-grid{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:1fr}
      .footer-bottom{gap:10px;justify-content:center;text-align:center}
    }
    :focus-visible{outline:3px solid var(--teal);outline-offset:2px}