@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #eef4f2;
  color: #202020;
}

.contenedor {
  width: 90%;
  max-width: 1250px;
  margin: auto;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* HEADER */

.header{
    width:100%;
    background:#fff;
    position:fixed;
    top:0;
    left:0;
    box-shadow: 0 2px 20px rgba(13, 117, 101, 0.08);
    border-bottom: 1px solid rgba(13, 117, 101, 0.08);
    z-index: 100;
}

.nav{
    height:72px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
}

.logo{
    display:flex;
    align-items:center;
    position: relative;
    padding-right: 22px;
}

.logo::after{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    transform: translateY(-50%);
    width:1px;
    height:34px;
}

.logo img{
    width:200px;
    margin-top: 8px;
    object-fit:contain;
    margin-left: -60px;
    transition: transform 0.3s ease;
}

.logo:hover img{
    transform: scale(1.03);
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu a {
  position: relative;
  color: #1b3b35;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.3s ease, background 0.3s ease;
}

.menu a::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:6px;
  height:2px;
  background:#0d7565;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.menu a:hover{
  color: #0d7565;
  background: rgba(13, 117, 101, 0.06);
}

.menu a:hover::after{
  transform: scaleX(1);
}

.menu a.activo {
  color: #0d7565;
  background: rgba(13, 117, 101, 0.08);
}

.menu a.activo::after{
  transform: scaleX(1);
}

.btn-menu {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #0d7565;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-menu:hover{
  transform: scale(1.1);
}
.area-contacto{
    width:90%;
    max-width:1250px;
    margin:150px auto 100px;
}

.area-contacto .titulo-area{
    text-align:center;
    margin-bottom:60px;
    animation:aparecer .7s ease forwards;
}
.area-contacto .titulo-area span{
    color:#D5AF5A;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:13px;
}
.area-contacto .titulo-area h2{
    font-size:46px;
    color:#014a3f;
    margin:12px 0;
    font-weight:800;
}
.area-contacto .titulo-area p{
    max-width:640px;
    margin:auto;
    color:#666;
    font-size:16.5px;
    line-height:1.65;
}

@keyframes aparecer{
    from{ opacity:0; transform:translateY(20px); }
    to{ opacity:1; transform:translateY(0); }
}


/*=========================================
        GRID CONTACTO
=========================================*/

.contacto-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:55px;
    align-items:start;
    margin:70px 0 90px;
}

/*=========================================
        TARJETA IZQUIERDA
=========================================*/

.contacto-tarjeta-datos{
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

/*=========================================
        CABECERA
=========================================*/

.contacto-header{
    background:linear-gradient(135deg,#014a3f,#066858);
    color:white;
    padding:35px;
}

.contacto-header h3{
    font-size:30px;
    margin-bottom:8px;
    font-weight:800;
}

.contacto-header p{
    opacity:.9;
    font-size:15px;
}

/*=========================================
        DATOS
=========================================*/

.datos-bloque{
    padding:15px 0;
}

.contacto-dato{
    display:flex;
    gap:18px;
    align-items:flex-start;
    padding:22px 35px;
    transition:.35s;
}

.contacto-dato:hover{
    background:#f8fbfa;
    transform:translateX(8px);
}

.contacto-dato-icono{
    width:65px;
    height:65px;
    border-radius:18px;
    background:#eef6f3;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
    transition:.35s;
}

.contacto-dato-icono i{
    color:#014a3f;
    font-size:24px;
}

.contacto-dato:hover .contacto-dato-icono{
    background:#014a3f;
}

.contacto-dato:hover .contacto-dato-icono i{
    color:#fff;
}

.contacto-dato h4{
    font-size:20px;
    color:#014a3f;
    margin-bottom:6px;
    font-weight:700;
}

.contacto-dato p{
    color:#666;
    line-height:1.6;
    font-size:15px;
}

.separador-bloque{
    height:1px;
    background:#ececec;
    margin:0 35px;
}

/*=========================================
        HORARIOS
=========================================*/

.horarios-bloque{
    background:#f8fbfa;
    padding:35px;
}

.horarios-bloque h4{
    display:flex;
    align-items:center;
    gap:12px;
    color:#014a3f;
    font-size:22px;
    margin-bottom:22px;
}

.horarios-bloque h4 i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#D5AF5A;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
}

.horario-fila{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:white;
    margin-bottom:14px;
    padding:18px 18px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.horario-dia{
    font-weight:700;
    color:#014a3f;
}

.horario-dia1{
    font-weight:700;
    margin-left: 100px;
    color:#062e28;
}


.horario-hora{
    color:#666;
    font-weight:600;
}

.horario-hora.cerrado{
    color:#C0392B;
}

/*=========================================
        FORMULARIO
=========================================*/

.contacto-formulario{
    background:#fff;
    border-radius:28px;
    padding:45px;
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.contacto-formulario h3{
    font-size:34px;
    color:#014a3f;
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:10px;
}

.contacto-formulario h3 i{
    color:#D5AF5A;
}

.contacto-formulario>p{
    color:#666;
    margin-bottom:25px;
    font-size:16px;
}

.nota-correo-directo{
    background:#eef8f4;
    border-left:5px solid #014a3f;
    padding:16px 20px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:30px;
    color:#014a3f;
    font-weight:600;
}

.nota-correo-directo i{
    color:#0d8b73;
    font-size:18px;
}

/*=========================================
        INPUTS
=========================================*/

.fila-doble{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.campo-form{
    margin-bottom:22px;
}

.campo-form label{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    color:#014a3f;
    font-weight:700;
}

.campo-form label i{
    color:#999;
}

.campo-form input,
.campo-form select,
.campo-form textarea{

    width:100%;
    padding:16px 18px;

    border:2px solid #e8ecef;

    border-radius:14px;

    background:#fff;

    font-size:15px;

    transition:.3s;
}

.campo-form textarea{
    min-height:160px;
    resize:vertical;
}

.campo-form input:focus,
.campo-form select:focus,
.campo-form textarea:focus{

    outline:none;

    border-color:#014a3f;

    box-shadow:0 0 0 5px rgba(1,74,63,.08);
}

/*=========================================
        BOTÓN
=========================================*/

.btn-enviar{

    width:100%;

    background:linear-gradient(135deg,#014a3f,#066858);

    color:white;

    border:none;

    padding:18px;

    border-radius:16px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    transition:.35s;
}

.btn-enviar:hover{

    background:linear-gradient(135deg,#D5AF5A,#b78b32);

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(1,74,63,.20);
}


.btn-enviar i{
    transition:.3s;
}
.btn-enviar:hover i{
    transform:translateX(4px);
}

/* BANNER CTA GRANDE */
.contacto-cta{
    display:grid;
    grid-template-columns:1fr 1fr;
    background:linear-gradient(135deg, #013a31 0%, #014a3f 100%);
    border-radius:30px;
    overflow:hidden;
    margin-bottom:60px;
    box-shadow:0 25px 55px rgba(1,74,63,.25);
}
.cta-imagen{
    position:relative;
    min-height:360px;
    overflow:hidden;
}
.cta-imagen img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}
.contacto-cta:hover .cta-imagen img{
    transform:scale(1.06);
}
.cta-imagen::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(1,74,63,.2) 0%, rgba(1,74,63,0) 100%);
}
.cta-contenido{
    padding:55px 55px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.cta-contenido span{
    color:#D5AF5A;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:12.5px;
    margin-bottom:16px;
    display:block;
}
.cta-contenido h3{
    color:#fff;
    font-size:33px;
    margin-bottom:18px;
    line-height:1.3;
    font-weight:800;
}
.cta-contenido p{
    color:#c9d6d3;
    line-height:1.75;
    font-size:15.5px;
    margin-bottom:32px;
}
.btn-cta-whatsapp{
    display:inline-flex;
    align-items:center;
    gap:12px;
    background:#D5AF5A;
    color:#014a3f;
    padding:17px 34px;
    border-radius:40px;
    text-decoration:none;
    font-weight:700;
    font-size:15.5px;
    width:fit-content;
    transition:.3s;
    animation:pulso-boton 2.5s ease-in-out infinite;
}
.btn-cta-whatsapp:hover{
    background:#fff;
    transform:scale(1.04);
    animation-play-state:paused;
}
.btn-cta-whatsapp i{
    font-size:20px;
}

@keyframes pulso-boton{
    0%, 100%{ box-shadow:0 0 0 0 rgba(213,175,90,.45); }
    50%{ box-shadow:0 0 0 12px rgba(213,175,90,0); }
}

/* MAPA GRANDE FINAL */
.contacto-mapa-full{
    text-align:center;
}
.contacto-mapa-full h3{
    color:#014a3f;
    font-size:31px;
    margin-bottom:30px;
    font-weight:800;
}
.mapa-contenedor{
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.14);
    width:100%;
    height:450px;
    transition:.4s;
}
.mapa-contenedor:hover{
    box-shadow:0 26px 60px rgba(1,74,63,.22);
}
.mapa-contenedor iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
}

@media(max-width:900px){
    .area-contacto{
        margin-top:120px;
    }
    .contacto-grid{
        grid-template-columns:1fr;
    }
    .contacto-formulario{
        padding:34px 28px;
    }
    .fila-doble{
        grid-template-columns:1fr;
    }
    .area-contacto .titulo-area h2{
        font-size:32px;
    }
    .contacto-cta{
        grid-template-columns:1fr;
    }
    .cta-imagen{
        min-height:220px;
    }
    .cta-contenido{
        padding:38px 30px;
    }
    .contacto-mapa-full h3{
        font-size:26px;
    }
    .mapa-contenedor{
        height:300px;
    }
}


/* FOOTER ITSAL */

.footer-itsal {
  background: #045348;
  color: #ffffff;
  padding-top: 50px;
}



.footer-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.3fr 1.2fr 0.9fr;
  gap: 35px;
  align-items: flex-start;
}

/* LOGO */

.footer-logo-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-logo-img {
  width: 400px;
  object-fit: contain;
  border-radius: 20px;
  margin-right: 75px;
}

/* INSTITUCIÓN */

.footer-institucion h3 {
  color: #D5AF5A;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
  font-weight: 800;
}

.footer-institucion h2 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 8px;
  font-weight: 900;
}

.footer-ubicacion {
  color: #d9e5e2;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-texto {
  color: #cbd8d5;
  font-size: 16px;
  line-height: 1.6;
  max-width: 420px;
}

/* CONTACTO */

.footer-col h4 {
  color: #D5AF5A;
  font-size: 23px;
  margin-bottom: 22px;
  font-weight: 800;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 17px;
}

.footer-item i {
  width: 40px;
  height: 40px;
  background: #549c87;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 17px;
}

.footer-item p {
  color: #d9e5e2;
  font-size: 16px;
  line-height: 1.5;
}

/* REDES */

/* REDES SOCIALES MÁS ELEGANTES */

.footer-redes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.footer-redes a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.footer-redes a i {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: 0.3s ease;
}

.footer-redes a:hover {
  color: #D5AF5A;
  transform: translateX(5px);
}

.footer-redes a:hover i {
  background: #D5AF5A;
  color: #014a3f;
  border-color: #D5AF5A;
}

.footer-web {
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  transition: 0.3s ease;
}

.footer-web:hover {
  color: #D5AF5A;
}

/* COPY */

.footer-copy {
  margin-top: 40px;
  padding: 18px 20px;
  text-align: center;
  background: #023229;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-copy p {
  color: #c7d4d1;
  font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-logo-col {
    justify-content: flex-start;
  }
}

@media (max-width: 650px) {
  .footer-itsal {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo-img {
    width: 95px;
    height: 95px;
  }

  .footer-institucion h3 {
    font-size: 20px;
  }

  .footer-institucion h2 {
    font-size: 26px;
  }

  .footer-col h4 {
    font-size: 21px;
  }
  .menu-item {
  width: 100%;
}

.menu-link {
  width: 100%;
}

.submenu {
  position: static;
  box-shadow: none;
  background: #f4faf8;
  margin-top: 8px;
  border-radius: 10px;
  width: 100%;
}

.menu-item:hover .submenu {
  display: block;
}
}
/* SUBMENÚ DEL HEADER */

.menu-item {
  position: relative;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-link i {
  font-size: 11px;
}

.submenu {
  position: absolute;
  top: 35px;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 100;
}

.submenu a {
  display: block;
  padding: 11px 18px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.submenu a:hover {
  background: #eef7f4;
  color: #014a3f;
}

.menu-item:hover .submenu {
  display: block;
}
/* Tipografía institucional unificada */
html,body,button,input,select,textarea{font-family:'Manrope',Arial,sans-serif!important;}

/* ======================================================================
   ITSAL · MENÚ Y FOOTER INSTITUCIONAL UNIFICADOS
   Este bloque está incluido físicamente en cada CSS para que cada página
   sea independiente y no dependa de una hoja global compartida.
   ====================================================================== */
:root {
  --itsal-verde-950: #023c34;
  --itsal-verde-900: #045348;
  --itsal-verde-800: #08695a;
  --itsal-verde-700: #0d7565;
  --itsal-verde-100: #eaf5f1;
  --itsal-dorado: #d8b458;
  --itsal-dorado-claro: #f1d98e;
  --itsal-texto: #18352f;
  --itsal-borde: #dce9e5;
  --itsal-sombra-menu: 0 18px 45px rgba(4, 83, 72, .13);
}

html { scroll-padding-top: 92px; }
body { overflow-x: hidden; }

.header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  height: auto !important;
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid rgba(13, 117, 101, .10) !important;
  box-shadow: 0 6px 28px rgba(3, 59, 50, .08) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 1000 !important;
}

.header .nav {
  width: min(1240px, calc(100% - 40px)) !important;
  min-height: 78px !important;
  height: 78px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 26px !important;
}

.header .logo {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.header .logo::after { display: none !important; }

.header .logo img {
  display: block !important;
  width: 174px !important;
  height: 58px !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
  transform: none !important;
  transition: transform .25s ease !important;
}

.header .logo:hover img { transform: translateY(-1px) scale(1.015) !important; }

.header .menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 3px !important;
  margin-left: auto !important;
  padding: 0 !important;
}

.header .menu > a,
.header .menu-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: #25443d !important;
  background: transparent !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: .1px !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .2s ease, background .2s ease, transform .2s ease !important;
}

.header .menu > a::after,
.header .menu-link::after {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 5px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: var(--itsal-dorado) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform .22s ease !important;
}

.header .menu > a:hover,
.header .menu-link:hover,
.header .menu > a.activo,
.header .menu-link.activo {
  color: var(--itsal-verde-700) !important;
  background: var(--itsal-verde-100) !important;
  transform: translateY(-1px) !important;
}

.header .menu > a:hover::after,
.header .menu-link:hover::after,
.header .menu > a.activo::after,
.header .menu-link.activo::after { transform: scaleX(1) !important; }

.header .menu-item { position: relative !important; }
.header .menu-link i { font-size: 10px !important; transition: transform .2s ease !important; }
.header .menu-item:hover .menu-link i,
.header .menu-item.submenu-abierto .menu-link i { transform: rotate(180deg) !important; }

.header .submenu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  min-width: 248px !important;
  width: max-content !important;
  max-width: 300px !important;
  display: block !important;
  padding: 9px !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid var(--itsal-borde) !important;
  border-radius: 14px !important;
  box-shadow: var(--itsal-sombra-menu) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;
  z-index: 1100 !important;
}

.header .menu-item:hover > .submenu,
.header .menu-item:focus-within > .submenu,
.header .menu-item.submenu-abierto > .submenu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.header .submenu a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 9px !important;
  color: #284a42 !important;
  background: transparent !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  white-space: normal !important;
  transition: color .2s ease, background .2s ease, padding-left .2s ease !important;
}

.header .submenu a::after { display: none !important; }
.header .submenu a:hover,
.header .submenu a.activo {
  color: var(--itsal-verde-700) !important;
  background: var(--itsal-verde-100) !important;
  padding-left: 16px !important;
}
.header .menu-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.header .submenu a.activo::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--itsal-dorado);
  flex: 0 0 auto;
}

.header .btn-menu {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 1px solid var(--itsal-borde) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--itsal-verde-700) !important;
  font-size: 0 !important;
  cursor: pointer !important;
  transition: background .2s ease, transform .2s ease !important;
}

.header .btn-menu::before {
  content: "\f0c9";
  font-family: "Font Awesome 6 Free";
  font-size: 21px;
  font-weight: 900;
}

.header .btn-menu:hover { background: var(--itsal-verde-100) !important; transform: translateY(-1px) !important; }
.header .btn-menu[aria-expanded="true"]::before { content: "\f00d"; }

.footer-itsal {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(216, 180, 88, .12), transparent 28%),
    linear-gradient(135deg, var(--itsal-verde-950), var(--itsal-verde-900)) !important;
}

.footer-itsal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--itsal-dorado), var(--itsal-dorado-claro), var(--itsal-dorado));
}

.footer-itsal .footer-grid {
  position: relative !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 64px 0 48px !important;
  display: grid !important;
  grid-template-columns: .72fr 1.28fr 1.3fr .9fr !important;
  align-items: start !important;
  gap: 44px !important;
}

.footer-itsal .footer-col { min-width: 0 !important; }
.footer-itsal .footer-logo-col {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.footer-itsal .footer-logo-img {
  display: block !important;
  width: 128px !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 18px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .18)) !important;
}

.footer-itsal .footer-institucion h3 {
  margin: 0 0 5px !important;
  color: var(--itsal-dorado-claro) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.footer-itsal .footer-institucion h2 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 29px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.footer-itsal .footer-ubicacion {
  margin: 0 0 16px !important;
  color: var(--itsal-dorado-claro) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: .4px !important;
}

.footer-itsal .footer-texto {
  max-width: 370px !important;
  margin: 0 !important;
  color: #c8d9d5 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

.footer-itsal .footer-col h4 {
  position: relative !important;
  margin: 0 0 22px !important;
  padding-bottom: 10px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.footer-itsal .footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: var(--itsal-dorado);
}

.footer-itsal .footer-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  margin: 0 0 14px !important;
}

.footer-itsal .footer-item i {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  flex: 0 0 32px !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .08) !important;
  color: var(--itsal-dorado-claro) !important;
  font-size: 13px !important;
}

.footer-itsal .footer-item p {
  margin: 4px 0 0 !important;
  color: #d3e0dd !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.footer-itsal .footer-redes {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
}

.footer-itsal .footer-redes a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: fit-content !important;
  color: #d5e2df !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  transition: color .2s ease, transform .2s ease !important;
}

.footer-itsal .footer-redes a i {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  font-size: 13px !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}

.footer-itsal .footer-redes a:hover { color: var(--itsal-dorado-claro) !important; transform: translateX(4px) !important; }
.footer-itsal .footer-redes a:hover i {
  color: var(--itsal-verde-950) !important;
  background: var(--itsal-dorado) !important;
  border-color: var(--itsal-dorado) !important;
}

.footer-itsal .footer-web { color: #fff !important; text-decoration: none !important; }
.footer-itsal .footer-copy {
  position: relative !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(0, 0, 0, .14) !important;
  text-align: center !important;
}

.footer-itsal .footer-copy p {
  margin: 0 !important;
  color: #b9ceca !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@media (max-width: 1160px) {
  .header .nav { width: min(100% - 28px, 1120px) !important; gap: 16px !important; }
  .header .logo img { width: 155px !important; }
  .header .menu > a,
  .header .menu-link { padding: 10px 8px !important; font-size: 12.5px !important; }
  .footer-itsal .footer-grid { grid-template-columns: .65fr 1.2fr 1.25fr .9fr !important; gap: 30px !important; }
}

@media (max-width: 960px) {
  .header .nav { height: 72px !important; min-height: 72px !important; }
  .header .logo img { width: 160px !important; height: 52px !important; }
  .header .btn-menu { display: grid !important; place-items: center !important; flex: 0 0 44px !important; }
  .header .menu {
    position: absolute !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 15px max(20px, calc((100vw - 1180px) / 2)) 22px !important;
    border-top: 1px solid var(--itsal-borde) !important;
    background: #fff !important;
    box-shadow: 0 20px 35px rgba(3, 59, 50, .12) !important;
  }
  .header .menu.activo { display: flex !important; }
  .header .menu > a,
  .header .menu-link {
    width: 100% !important;
    justify-content: space-between !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  .header .menu > a::after,
  .header .menu-link::after { display: none !important; }
  .header .menu-item { width: 100% !important; }
  .header .submenu {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: none !important;
    margin: 5px 0 4px !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #f5faf8 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .header .menu-item:hover > .submenu { display: none !important; }
  .header .menu-item.submenu-abierto > .submenu { display: block !important; }
  .header .submenu a { min-height: 40px !important; }
  .footer-itsal .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px 34px !important; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  .header .nav { width: calc(100% - 28px) !important; }
  .header .logo img { width: 148px !important; }
  .footer-itsal .footer-grid {
    width: min(100% - 36px, 520px) !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 48px 0 36px !important;
  }
  .footer-itsal .footer-logo-col { justify-content: center !important; }
  .footer-itsal .footer-logo-img { width: 112px !important; }
  .footer-itsal .footer-institucion { text-align: center !important; }
  .footer-itsal .footer-texto { margin-inline: auto !important; }
  .footer-itsal .footer-col h4 { margin-bottom: 18px !important; }
  .footer-itsal .footer-redes { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .footer-itsal .footer-redes a { width: 100% !important; }
}
