@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

.ism-site-header{position:sticky;top:0;z-index:120;border-bottom:1px solid rgba(56,189,248,.12);background:rgba(5,11,20,.92);backdrop-filter:blur(20px)}
.ism-site-nav{width:min(calc(100% - 7%),1210px);min-height:76px;margin:0 auto;display:grid;grid-template-columns:250px minmax(0,1fr) 190px;align-items:center;gap:24px}
.ism-site-brand{display:inline-flex;align-items:center;width:236px}.ism-site-brand img{width:232px;height:auto;display:block;object-fit:contain}
.ism-site-links{display:flex;justify-content:center;align-items:center;gap:8px}.ism-site-links a{position:relative;padding:10px 11px;border-radius:12px;color:#cbd5e1;font-family:"Manrope","Segoe UI",Arial,sans-serif;font-size:13px;font-weight:750;white-space:nowrap;transition:color .2s ease,background .2s ease}.ism-site-links a:hover,.ism-site-links a[aria-current="page"]{color:#38bdf8;background:rgba(56,189,248,.07)}.ism-site-links a::after{content:"";position:absolute;left:22%;right:22%;bottom:3px;height:2px;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#2563eb);transform:scaleX(0);transition:transform .2s ease}.ism-site-links a:hover::after,.ism-site-links a[aria-current="page"]::after{transform:scaleX(1)}
.ism-site-cta{justify-self:end;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(56,189,248,.68);border-radius:9px;color:#f8fafc;background:rgba(56,189,248,.07);box-shadow:inset 0 0 18px rgba(56,189,248,.04);font-family:"Manrope","Segoe UI",Arial,sans-serif;font-size:13px;font-weight:850;white-space:nowrap;transition:transform .2s ease,background .2s ease,border-color .2s ease}.ism-site-cta:hover{transform:translateY(-2px);border-color:#38bdf8;background:#0891c7}
.ism-site-footer{position:relative;z-index:2;border-top:1px solid rgba(56,189,248,.14);background:radial-gradient(circle at 12% 12%,rgba(56,189,248,.07),transparent 28%),#040b14;color:#d8e4ef;font-family:"Manrope","Segoe UI",Arial,sans-serif}.ism-site-footer-grid{width:min(calc(100% - 7%),1210px);margin:0 auto;padding:52px 0 38px;display:grid;grid-template-columns:minmax(250px,1.35fr) repeat(3,minmax(150px,.72fr));gap:clamp(28px,4vw,54px)}.ism-site-footer-brand img{width:220px;height:auto;margin-bottom:18px}.ism-site-footer-brand p{max-width:410px;color:#8fa1b5;font-size:13px;line-height:1.7}.ism-site-footer-column{display:grid;align-content:start;gap:10px}.ism-site-footer-column-title{margin:0 0 5px;color:#f8fafc;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.ism-site-footer-column a{width:fit-content;display:inline-flex;align-items:center;gap:8px;color:#8fa1b5;font-size:12px;line-height:1.45;transition:color .2s ease}.ism-site-footer-column a:hover{color:#38bdf8}.ism-site-footer-bottom{width:min(calc(100% - 7%),1210px);min-height:62px;margin:0 auto;padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid rgba(148,163,184,.10);color:#6f8297;font-size:11px}.ism-site-footer-bottom div{display:flex;align-items:center;gap:16px}.ism-site-footer-bottom a:hover{color:#38bdf8}
@media(max-width:1120px){.ism-site-nav{grid-template-columns:210px minmax(0,1fr) 170px;gap:14px}.ism-site-brand,.ism-site-brand img{width:198px}.ism-site-links{gap:2px}.ism-site-links a{padding-inline:8px;font-size:12px}}
@media(max-width:930px){.ism-site-nav{width:calc(100% - 36px);grid-template-columns:1fr auto}.ism-site-links{display:none}.ism-site-footer-grid{width:calc(100% - 36px);grid-template-columns:repeat(2,minmax(0,1fr))}.ism-site-footer-bottom{width:calc(100% - 36px)}}
@media(max-width:600px){.ism-site-nav{min-height:72px;gap:12px}.ism-site-brand,.ism-site-brand img{width:154px}.ism-site-cta{min-height:42px;padding:0 13px;font-size:11px}.ism-site-footer-grid{grid-template-columns:1fr;gap:28px;padding:38px 0 28px}.ism-site-footer-brand p{max-width:100%}.ism-site-footer-bottom{align-items:flex-start;flex-direction:column}}

/* =========================================================
   ISM MOBILE · FASE 12 · SHELL GLOBAL
   ========================================================= */
@media(max-width:760px){
  .ism-site-header{position:sticky;top:0}
  .ism-site-nav{
    width:calc(100% - 28px);
    min-height:auto;
    padding:9px 0 8px;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    gap:7px 12px
  }
  .ism-site-brand,.ism-site-brand img{width:150px}
  .ism-site-cta{min-height:40px;padding:0 11px;border-radius:10px;font-size:10px}
  .ism-site-links{
    grid-column:1/-1;
    display:flex!important;
    justify-content:flex-start;
    gap:6px;
    width:100%;
    padding:2px 0 1px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    scroll-snap-type:x proximity
  }
  .ism-site-links::-webkit-scrollbar{display:none}
  .ism-site-links a{
    flex:0 0 auto;
    min-height:32px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(56,189,248,.12);
    border-radius:999px;
    background:rgba(8,23,40,.44);
    font-size:10px;
    scroll-snap-align:center
  }
  .ism-site-footer-grid{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    gap:28px;
    padding:38px 0 28px;
    text-align:center
  }
  .ism-site-footer-brand img{width:190px;margin:0 auto 16px}
  .ism-site-footer-brand p{max-width:340px;margin-inline:auto;text-align:center}
  .ism-site-footer-column{justify-items:center}
  .ism-site-footer-column a{width:fit-content;justify-content:center;text-align:center}
  .ism-site-footer-bottom{
    width:calc(100% - 28px);
    align-items:center;
    flex-direction:column;
    justify-content:center;
    text-align:center
  }
  .ism-site-footer-bottom div{justify-content:center;flex-wrap:wrap}
}

/* =========================================================
   ISM MOBILE · FASE 12.1 · NAVEGACIÓN GLOBAL
   ========================================================= */
@media(max-width:760px){
  .ism-site-header{
    position:sticky!important;top:0!important;
    background:rgba(5,11,20,.96)!important;
  }

  .ism-site-nav{
    width:calc(100% - 28px)!important;
    min-height:auto!important;
    padding:9px 0 8px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    gap:8px 12px!important;
  }

  .ism-site-brand,.ism-site-brand img{width:148px!important}
  .ism-site-cta{
    min-height:40px!important;padding:0 11px!important;
    border-radius:10px!important;font-size:10px!important;
  }

  .ism-site-links{
    grid-column:1/-1!important;
    display:flex!important;
    width:100%!important;
    gap:7px!important;
    padding:3px 0 1px!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .ism-site-links::-webkit-scrollbar{display:none}
  .ism-site-links a{
    flex:0 0 auto!important;
    min-height:32px!important;
    padding:0 11px!important;
    display:inline-flex!important;
    align-items:center!important;justify-content:center!important;
    border:1px solid rgba(56,189,248,.17)!important;
    border-radius:999px!important;
    color:#b9ccda!important;
    background:rgba(8,23,40,.62)!important;
    font-size:10px!important;font-weight:900!important;
    scroll-snap-align:center;
  }

  .ism-site-footer-grid{
    width:calc(100% - 36px)!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:38px 0 28px!important;
    text-align:center!important;
  }
  .ism-site-footer-brand img{width:188px!important;margin:0 auto 16px!important}
  .ism-site-footer-brand p{
    max-width:340px!important;margin-inline:auto!important;text-align:center!important;
  }
  .ism-site-footer-column{justify-items:center!important;text-align:center!important}
  .ism-site-footer-column a{
    width:fit-content!important;justify-content:center!important;text-align:center!important;
  }
  .ism-site-footer-bottom{
    width:calc(100% - 36px)!important;
    align-items:center!important;flex-direction:column!important;
    justify-content:center!important;text-align:center!important;
  }
  .ism-site-footer-bottom div{justify-content:center!important;flex-wrap:wrap!important}
}

/* =========================================================
   ISM FOOTER COMPARTIDO · FASE 12.2
   ========================================================= */
.ism-site-footer{
    position:relative;
    overflow:hidden;
    border-top:0;
    background:linear-gradient(180deg,#050b14 0%,#020617 100%);
}
.ism-site-footer::before{
    content:"";
    position:absolute;
    top:0;left:8%;right:8%;height:1px;
    background:linear-gradient(90deg,transparent,rgba(96,165,250,.62),transparent);
}
.ism-site-footer::after{
    content:"";
    position:absolute;
    right:-110px;bottom:-120px;
    width:300px;height:300px;border-radius:50%;
    background:rgba(56,189,248,.07);
    filter:blur(72px);
    pointer-events:none;
}
.ism-site-footer-grid{
    position:relative;
    z-index:2;
    padding-top:54px;
    padding-bottom:40px;
}
.ism-site-footer-column-title{color:#f8fafc}
.ism-site-footer-column a{
    color:#93a4b8;
    transition:color .2s ease;
}
.ism-site-footer-column a:hover,
.ism-site-footer-column a:focus-visible{color:#38bdf8}
.ism-site-footer-bottom{position:relative;z-index:2}

@media(max-width:760px){
    .ism-site-footer-grid{
        padding-top:40px!important;
        padding-bottom:28px!important;
    }
    .ism-site-footer-brand,
    .ism-site-footer-column{
        width:100%;
        max-width:340px;
        margin-left:auto;
        margin-right:auto;
        text-align:center;
    }
    .ism-site-footer-column{
        display:flex;
        flex-direction:column;
        align-items:center;
    }
    .ism-site-footer-column a{
        margin-left:auto;
        margin-right:auto;
    }
}



/* =========================================================
   ISM GLOBAL · FASE 12.5 · WHATSAPP FLOTANTE
   Disponible en todas las páginas públicas.
   ========================================================= */
.ism-global-whatsapp{
    position:fixed;
    right:clamp(18px,3vw,34px);
    bottom:clamp(18px,3vw,34px);
    z-index:9999;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border:1px solid rgba(34,197,94,.48);
    border-radius:18px;
    background:linear-gradient(145deg,#25d366,#16a34a);
    color:#fff;
    box-shadow:0 18px 42px rgba(34,197,94,.30),inset 0 1px 0 rgba(255,255,255,.28);
    transition:transform .24s ease,box-shadow .24s ease,filter .24s ease;
}
.ism-global-whatsapp:hover,
.ism-global-whatsapp:focus-visible{
    transform:translateY(-4px) scale(1.035);
    filter:brightness(1.04);
    box-shadow:0 24px 52px rgba(34,197,94,.40),inset 0 1px 0 rgba(255,255,255,.32);
}
.ism-global-whatsapp svg{
    width:31px;
    height:31px;
    display:block;
}
@media(max-width:600px){
    .ism-global-whatsapp{
        right:14px;
        bottom:14px;
        width:48px;
        height:48px;
        border-radius:15px;
    }
    .ism-global-whatsapp svg{
        width:27px;
        height:27px;
    }
}

/* =========================================================
   ISM SOLUCIONES · FASE 12.7 · NAV MOBILE DESPLEGABLE
   Replica la lógica visual del hero principal:
   logo + botón hamburguesa; CTA oculto solo en mobile.
   ========================================================= */
.ism-site-menu-toggle{
    display:none;
}

@media(max-width:760px){
    .ism-site-nav.ism-site-nav--dropdown{
        position:relative;
        width:calc(100% - 36px)!important;
        min-height:92px!important;
        padding:10px 0!important;
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 52px!important;
        grid-template-rows:1fr!important;
        align-items:center!important;
        gap:14px!important;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-brand,
    .ism-site-nav.ism-site-nav--dropdown .ism-site-brand img{
        width:148px!important;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-cta{
        display:none!important;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-menu-toggle{
        width:52px;
        height:52px;
        padding:0;
        display:inline-grid;
        place-items:center;
        justify-self:end;
        border:1px solid rgba(56,189,248,.54);
        border-radius:16px;
        background:rgba(8,17,31,.82);
        color:#f8fafc;
        box-shadow:inset 0 0 18px rgba(56,189,248,.05);
        cursor:pointer;
        transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-menu-toggle:hover,
    .ism-site-nav.ism-site-nav--dropdown .ism-site-menu-toggle:focus-visible,
    .ism-site-nav.ism-site-nav--dropdown.menu-open .ism-site-menu-toggle{
        border-color:#38bdf8;
        background:rgba(14,165,233,.12);
        box-shadow:0 0 24px rgba(56,189,248,.12);
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-menu-toggle svg{
        width:27px;
        height:27px;
        stroke-width:2;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-links{
        position:absolute;
        top:calc(100% + 8px);
        left:0;
        right:0;
        z-index:140;
        width:100%!important;
        padding:12px!important;
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:5px!important;
        overflow:visible!important;
        border:1px solid rgba(56,189,248,.30);
        border-radius:18px;
        background:rgba(5,11,20,.985);
        box-shadow:0 24px 60px rgba(0,0,0,.46);
        backdrop-filter:blur(22px);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transform:translateY(-8px);
        transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
    }

    .ism-site-nav.ism-site-nav--dropdown.menu-open .ism-site-links{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:none;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-links a{
        width:100%;
        min-height:46px!important;
        padding:0 14px!important;
        justify-content:center!important;
        border:0!important;
        border-radius:12px!important;
        background:transparent!important;
        color:#cbd5e1!important;
        font-size:13px!important;
        font-weight:800!important;
        text-align:center;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-links a:hover,
    .ism-site-nav.ism-site-nav--dropdown .ism-site-links a:focus-visible,
    .ism-site-nav.ism-site-nav--dropdown .ism-site-links a[aria-current="page"]{
        color:#38bdf8!important;
        background:rgba(56,189,248,.08)!important;
    }

    .ism-site-nav.ism-site-nav--dropdown .ism-site-links a::after{
        display:none!important;
    }
}

