/* =========================

   RESET

========================= */
html {
  scroll-behavior: smooth;
}
* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Poppins', sans-serif;

}



/* =========================

   HERO

========================= */

.hero{
     position: relative;
    width: 100%;
    aspect-ratio: 12 / 5;
    overflow: hidden;
}
/* ========================================
   HEADER
======================================== */

.hero-header{

     background:linear-gradient(
        135deg,
        #013D97 0%,
        #0648A8 100%
    );

    height:130px;

    display:flex;

    align-items:center;

}

.hero-top{

    width:min(1400px,92%);

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    width:160px;

    object-fit:contain;

}

/* ========================================
   MENÚ
======================================== */

.menu{

    display:flex;

    gap:40px;

    align-items:center;

}

.menu a{

    color:#fff;

    font-size:18px;

    font-weight:500;

    text-decoration:none;

    transition:.25s;

}

.menu a:hover{

    color:#25c6ff;

}

/* ========================================
   BUSCADOR
======================================== */

.hero-search{

    background:linear-gradient(90deg,#003B8F,#0059C8);

    padding:38px 0;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

}

.hero-search-content{

    width:min(1400px,92%);

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

}

.hero-title{

    flex:1;

}

.hero-title h1{

    color:#fff;

    font-size:40px;

    line-height:1.15;

    font-weight:700;

    margin:0;

}

.hero-search .search-box{

    width:460px;

    flex-shrink:0;

}

.hero-search .search-box input{

    width:100%;

    height:56px;

    border:none;

    border-radius:30px 0 0 30px;

    padding:0 22px;

    background:#fff;

}

.hero-search .search-box button{

    width:62px;

    height:56px;

    border:none;

    border-radius:0 30px 30px 0;

    background:#111;

}

/* ========================================
   HERO
======================================== */
.hero{

    position: relative;

    width: 100%;

    aspect-ratio: 12 / 5;

    max-height: 900px;

    overflow: hidden;

}
.hero-slider,
.slide{

    width:100%;
    height:100%;

}

.slide{

    object-fit:cover;
    object-position:center;

}
.slide.active{

    opacity:1;

}

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.10),
        rgba(0,0,0,.45)
    );

}


/* =========================

   SLIDER

========================= */

.hero-slider {

position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

  z-index: 0;

}



.slide {

position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;

}



.slide.active {

  opacity: 1;

}


/* SELECTOR */

.lang-selector{

  position: relative;

}

/* BOTÓN */

.lang-btn{

  height: 52px;

  padding: 0 18px;

  border: none;

  border-radius: 18px;

  background: #38bdf8;

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  font-weight: 700;

  color: #0f172a;

  box-shadow:
    0 10px 25px rgba(56,189,248,.25);

}

/* ICONO */

.lang-btn img{

  width: 18px;
  height: 18px;

}

/* FLECHA */

.lang-arrow{

  font-size: 12px;

}

/* MENU */

.lang-menu{

  position: absolute;

  top: calc(100% + 10px);

  right: 0;

  width: 190px;

  background: white;

  border-radius: 16px;

  overflow: hidden;

  box-shadow:
    0 15px 40px rgba(0,0,0,.15);

  display: none;

  z-index: 9999;

}

/* LINKS */

.lang-menu a{

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 18px;

  text-decoration: none;

  color: #0f172a;

  font-weight: 600;

  transition: .2s;

}

.lang-menu a:hover{

  background: #f1f5f9;

}
/* SELECTOR */

.lang-selector{

  position: relative;

}

/* BOTÓN */

.lang-btn{

  height: 42px;

  padding: 0 16px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 14px;

  background: rgba(15,23,42,.72);

  backdrop-filter: blur(12px);

  display: flex;

  align-items: center;

  gap: 10px;

  color: white;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: .2s;

}

.lang-btn:hover{

  background: rgba(30,41,59,.92);

  transform: translateY(-1px);

}

/* FLECHA */

.lang-btn small{

  font-size: 10px;

  opacity: .7;

}

/* MENU */

.lang-menu{

  position: absolute;

  top: calc(100% + 10px);

  right: 0;

  width: 180px;

  background: #0f172a;

  border: 1px solid rgba(255,255,255,.08);

  border-radius: 16px;

  overflow: hidden;

  display: none;

  box-shadow:
    0 20px 50px rgba(0,0,0,.35);

  z-index: 9999;

}

/* LINKS */

.lang-menu a{

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 16px;

  color: white;

  text-decoration: none;

  font-size: 14px;

  transition: .2s;

}

.lang-menu a:hover{

  background: rgba(255,255,255,.06);

}
/* =========================

   OVERLAY

========================= */

.overlay {

  position: absolute;

  width: 100%;

  height: 100%;

  z-index: 1;

  background: linear-gradient(

    to bottom,

    rgba(0,0,0,0.2) 0%,

    rgba(0,0,0,0.2) 40%,

    rgba(0,40,120,0.6) 100%

  );

}



/* =========================

   TOP BAR

========================= */

.hero-top {

  position: absolute;

  top: 25px;

  left: 40px;

  right: 40px;



  display: flex;

  align-items: center;

  z-index: 3;

  

}



.logo{

  width: 150px;

  object-fit: contain;

}

/* MENÚ */

.menu{

  display: flex;

  gap: 40px;

  align-items: center;

}
.menu a{
  
  color:white;
  opacity:.88;

  transition:.2s ease;

}

.menu a:hover{

  opacity:1;

  color:#25c6ff;

}
/* IDIOMA */

.lang-selector{

  margin-left: auto;

}


/* MENÚ CENTRADO */

.menu {

  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  gap: 30px;

}



.menu a {

  color: white;

  text-decoration: none;

  font-size: 18px;

  font-weight: 500;

  transition: 0.2s;

}

.menu a{

  transition:.25s ease;

}

.menu a:hover{

  color:#25c6ff;

  text-shadow:
    0 0 14px rgba(37,198,255,.45);
transform:translateY(-2px);
}

/* IDIOMA */

.lang {

  margin-left: auto;

  background: linear-gradient(135deg, #3bd3c4, #4fd1ff);

  padding: 10px 18px;

  border-radius: 12px;

  color: #003b44;

  font-weight: 600;

  font-size: 14px;

}



/* =========================

   CONTENIDO HERO

========================= */

.hero-content {

  position: absolute;

  top: 35%;

  left: 50%;

  transform: translateX(-50%);

  width: 100%;

  text-align: center;

  z-index: 2;

  padding: 20px;

}



/* =========================

   BUSCADOR

========================= */

.search-box {

  display: flex;

  justify-content: center;

  margin-bottom: 35px;

}



.search-box input {

  width: 520px;

  padding: 14px 20px;

  border-radius: 30px 0 0 30px;

  border: none;

  background: #eaeaea;

  font-size: 15px;

  outline: none;

}



/* BOTÓN */

.search-box button {

  width: 60px;

  height: 48px;

  background: black;

  border: none;

  border-radius: 0 30px 30px 0;



  display: flex;

  align-items: center;

  justify-content: center;



  cursor: pointer;

}



/* ICONO */

.icon-search {

  width: 22px;

  height: 22px;

}



/* =========================

   TEXTO HERO

========================= */

.hero-content h1 {

  font-size: 2rem;

  font-weight: 500;

  color: white;

  line-height: 1.3;

  max-width: 800px;

  margin: 0 auto;
  margin-top: -50px;

}

/* FONDO OSCURO */
.modal {
  display: flex;

  opacity: 0;
  pointer-events: none;

  position: fixed;
  inset: 0;

  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.6);

  transition: 0.3s;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: white;
  padding: 30px 25px;
  border-radius: 20px;

  width: 90%;
  max-width: 420px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);

  text-align: center;

  position: relative;
}

/* CONTENIDO */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* INPUTS */
.modal-content input,
.modal-content textarea,
.modal-content select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
}

/* FOCUS */
.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
  border-color: #1e5bd6;
}

/* TEXTAREA */
.modal-content textarea {
  min-height: 100px;
  resize: none;
}

/* CHECKBOX */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

/* BOTÓN */
.modal-content button {
  background: #1e5bd6;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content button:hover {
  background: #1748a8;
  transform: translateY(-2px);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #f3f3f3;

  font-size: 16px;
}
.modal-close:hover {
  background: #e0e0e0;
}
/* =========================
   BOTÓN EMERGENCIAS
========================= */
/* =========================================================
   EMERGENCIAS
   MISMO DISEÑO EN DESKTOP Y MÓVIL
========================================================= */

.emergency-btn{

    position:fixed;

    left:0;
    top:50%;

    transform:translateY(-50%);

    width:28px;
    height:116px;

    background:#071d43;

    border-radius:0 14px 14px 0;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

    z-index:9998;

    box-shadow:
        4px 8px 20px rgba(0,0,0,.22);

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


/* ICONO */

.emergency-btn{

    font-size:18px;

}


/* OCULTAR TEXTO */

.emergency-btn span{

    display:none !important;

}


/* HOVER */

.emergency-btn:hover{
    transform:translateY(-50%) !important;

    background:#b91c1c !important;

    box-shadow:
        3px 5px 14px rgba(0,0,0,.25) !important;
}


/* =========================================================
   PANEL
========================================================= */

.emergency-panel{

    position:fixed;

    left:36px;

    top:50%;

    width:360px;

    max-width:
        calc(100vw - 50px);

    max-height:
        calc(100vh - 40px);

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:
        0 20px 55px rgba(0,0,0,.28);

    z-index:9999;


    /* OCULTO */

    opacity:0;

    visibility:hidden;

    transform:
        translate(-30px,-50%);

    transition:
        opacity .28s ease,
        transform .28s ease,
        visibility .28s ease;

}


/* =========================================================
   PANEL ABIERTO
========================================================= */

.emergency-panel.active{

    opacity:1;

    visibility:visible;

    transform:
        translate(0,-50%);

}


/* =========================================================
   HEADER
========================================================= */

.emergency-header{

    height:68px;

    padding:0 16px 0 22px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:#071d43;

    color:white;

}


.emergency-header h3{

    margin:0;

    font-size:19px;

    font-weight:700;

}


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

.emergency-header button{

    width:42px;
    height:42px;

    border:0;

    border-radius:50%;

    background:#203d6d;

    color:white;

    font-size:25px;

    line-height:1;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.2s ease;

}


.emergency-header button:hover{

    background:#315486;

    transform:rotate(90deg);

}


/* =========================================================
   CONTENIDO / LISTA
========================================================= */

.emergency-panel{

    overflow-y:auto;

}


/* =========================================================
   ITEM
========================================================= */

.emergency-item{

    min-height:74px;

    padding:12px 16px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    text-decoration:none;

    color:#17345f;

    background:white;

    border-bottom:1px solid #e5e7eb;

    box-sizing:border-box;

    transition:
        background .2s ease,
        transform .2s ease;

}


.emergency-item:hover{

    background:#f8fafc;

}


/* =========================================================
   TEXTO
========================================================= */

.emergency-item > div{

    min-width:0;

}


.emergency-item strong{

    display:block;

    font-size:15px;

    font-weight:700;

    color:#17345f;

    margin-bottom:4px;

}


.emergency-item small{

    display:block;

    font-size:14px;

    color:#64748b;

}


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

.emergency-item > span{

    width:40px;
    height:40px;

    min-width:40px;

    border-radius:50%;

    background:#edf2ff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    color:#e83e8c;

    transition:.2s ease;

}


.emergency-item:hover > span{

    transform:scale(1.08);

    background:#e4ebff;

}


/* =========================================================
   SCROLL
========================================================= */

.emergency-panel::-webkit-scrollbar{

    width:6px;

}

.emergency-panel::-webkit-scrollbar-track{

    background:#f1f5f9;

}

.emergency-panel::-webkit-scrollbar-thumb{

    background:#cbd5e1;

    border-radius:10px;

}


/* =========================================================
   MÓVIL
   MISMO DISEÑO, SOLO AJUSTAMOS TAMAÑO
========================================================= */

@media(max-width:768px){

    .emergency-btn{

        width:28px;
        height:116px;

    }


    .emergency-panel{

        left:36px;

        width:360px;

        max-width:
            calc(100vw - 50px);

        max-height:
            calc(100vh - 40px);

    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media(max-width:400px){

    .emergency-panel{

        left:30px;

        width:
            calc(100vw - 45px);

        max-width:
            calc(100vw - 45px);

    }

    .emergency-header h3{

        font-size:17px;

    }

}
/* ANIMACIÓN */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================

   RESPONSIVE

========================= */

@media (max-width: 768px) {



  .hero-content {

    top: 30%;

  }



  .hero-content h1 {

    font-size: 1.5rem;

  }



  .search-box {

    flex-direction: column;

    align-items: center;

  }



  .search-box input {

    width: 90%;

    border-radius: 30px;

    margin-bottom: 10px;

  }



  .search-box button {

    border-radius: 30px;

  }



  .menu {

    display: none;

  }

}

@media(max-width:768px){

  .paloma{

    width:80px !important;
    height:auto !important;
    position:absolute !important;

    bottom:10px !important;

    right:10px !important;

  }

}

/* ===========================================
   TABLET
=========================================== */

@media (max-width:1200px){

    .hero-search-content{

        flex-direction:column;

        text-align:center;

        gap:30px;

    }

    .hero-title{

        width:100%;

    }

    .hero-title h1{

        font-size:48px;

    }

    .hero-search .search-box{

        width:min(700px,100%);

    }

}

/* ===========================================
   MÓVIL
=========================================== */
@media (max-width:768px){

    .hero-search .search-box{

        position:relative;

        width:100%;

        max-width:700px;

        margin:auto;

    }

    .hero-search .search-box input{

        width:100%;

        height:58px;

        padding:0 75px 0 22px;

        border-radius:35px;

    }

    .hero-search .search-box button{

        position:absolute;

        top:50%;

        right:0;

        transform:translateY(-50%);

        width:58px;

        height:58px;

        border-radius:50%;

        display:flex;

        align-items:center;

        justify-content:center;

    }

}
/* Desktop */
.hero-title h1{
    font-size:40px;
}

/* Laptop */
@media (max-width:1200px){

    .hero-title h1{
        font-size:40px;
    }

}

/* Tablet */
@media (max-width:992px){

    .hero-title h1{
        font-size:44px;
    }

}

/* Móviles grandes */
@media (max-width:768px){

    .hero-title h1{

        font-size:30px;

        line-height:1.2;

        max-width:600px;

        margin:0 auto;

    }

}

/* Móviles pequeños */
@media (max-width:480px){

    .hero-title h1{

        font-size:30px;

        line-height:1.25;

        max-width:340px;

    }

}

/*====================================
MENU HAMBURGUESA
====================================*/

.menu-toggle{

    display:none;

    width:46px;
    height:46px;

    border:none;

    background:none;

    cursor:pointer;

    flex-direction:column;

    justify-content:center;

    gap:6px;

}

.menu-toggle span{

    width:28px;
    height:3px;

    background:#fff;

    border-radius:10px;

    transition:.3s;

}

/*====================================
MENU FULLSCREEN
====================================*/

.mobile-menu{

    position:fixed;

    inset:0;

    background:rgba(12,18,33,.95);

    backdrop-filter:blur(12px);

    z-index:99999;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    display:flex;

    justify-content:center;

    align-items:center;

}

.mobile-menu.active{

    opacity:1;

    visibility:visible;

}

.mobile-menu nav{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:30px;

}

.mobile-menu nav a{

    color:#fff;

    text-decoration:none;

    font-size:34px;

    font-weight:600;

    transition:.25s;

}

.mobile-menu nav a:hover{

    color:#25C6FF;

}

.mobile-menu hr{

    width:220px;

    border:none;

    border-top:1px solid rgba(255,255,255,.25);

}

.mobile-close{

    position:absolute;

    top:30px;

    right:40px;

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:34px;

    cursor:pointer;

}

@media (max-width:992px){

    .menu{

        display:none;

    }

    .menu-toggle{

        display:flex;

    }

}

@media (max-width:768px){

    .emergency-btn{

        left:15px;
        bottom:15px;

        transform:scale(.85);

    }

}
@media (max-width:992px){

    .lang-selector{

        display:none;

    }

}

/* =========================================================
   MOBILE — HEADER + HERO
========================================================= */
@media (max-width:768px){
  .hero-header{position:relative;width:100%;height:72px;min-height:72px;z-index:100;}
  .hero-top{position:relative;top:auto;left:auto;right:auto;width:100%;height:72px;padding:0 16px;}
  .logo{width:132px;max-width:132px;height:auto;}
  .menu{display:none!important;}
  .lang-selector{display:none!important;}
  .menu-toggle{display:flex;width:46px;height:46px;padding:0;margin-left:auto;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(0,0,0,.12);}
  .menu-toggle span{width:25px;height:2.5px;background:#fff;}
  .mobile-menu{padding:24px;}
  .mobile-menu nav{width:min(320px,100%);gap:20px;}
  .mobile-menu nav a{font-size:23px;line-height:1.2;padding:6px 0;}
  .mobile-menu hr{width:100%;max-width:260px;margin:4px 0;}
  .mobile-close{top:18px;right:18px;width:44px;height:44px;font-size:30px;}
  .hero-search{padding:24px 16px 26px;}
  .hero-search-content{width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:18px;}
  .hero-title{width:100%;text-align:center;}
  .hero-title h1{font-size:25px;line-height:1.2;max-width:340px;margin:0 auto;}
  .hero-search .search-box{width:100%;max-width:none;margin:0;position:relative;display:block;}
  .hero-search .search-box input{width:100%;height:54px;padding:0 62px 0 18px;border-radius:28px;font-size:14px;box-shadow:0 5px 18px rgba(0,0,0,.12);}
  .hero-search .search-box button{position:absolute;top:50%;right:3px;width:48px;height:48px;transform:translateY(-50%);border-radius:50%;background:#111;}
  .hero-search .search-box button .icon-search{width:20px;height:20px;}
  .hero{aspect-ratio:auto;width:100%;height:52vw;min-height:205px;max-height:330px;}
  .hero-slider,.slide{width:100%;height:100%;}
  .slide{object-fit:cover;object-position:center center;}
  .overlay{background:linear-gradient(to bottom,rgba(0,0,0,.08) 0%,rgba(0,0,0,.16) 45%,rgba(0,40,120,.42) 100%);}
}
@media (max-width:480px){
  .hero-header,.hero-top{height:66px;min-height:66px;}
  .hero-top{padding:0 14px;}
  .logo{width:120px;max-width:120px;}
  .menu-toggle{width:43px;height:43px;border-radius:11px;}
  .menu-toggle span{width:23px;}
  .hero-search{padding:21px 14px 23px;}
  .hero-search-content{gap:15px;}
  .hero-title h1{font-size:25px;max-width:320px;}
  .hero-search .search-box input{height:52px;font-size:13px;padding-left:17px;padding-right:60px;}
  .hero-search .search-box button{width:46px;height:46px;}
  .hero{height:58vw;min-height:190px;}
}
@media (max-width:360px){
  .logo{width:112px;max-width:112px;}
  .hero-title h1{font-size:24px;max-width:300px;}
  .hero-search{padding-left:12px;padding-right:12px;}
  .hero{min-height:180px;}
}
/* =========================================================
   AJUSTE FINAL BUSCADOR MÓVIL
========================================================= */

@media (max-width: 480px){

    .hero-search{
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search input{
        font-size: 12px;
        padding-left: 18px;
        padding-right: 58px;
    }

    .hero-search input::placeholder{
        font-size: 12px;
    }

    .hero-search button{
        width: 46px;
        height: 46px;
        right: 4px;
    }

}
/* =========================================================
   AJUSTES FINOS - HEADER / HERO MÓVIL
========================================================= */

@media (max-width: 768px) {

    /* LOGO */
    .header-logo {
        margin-left: 10px;
    }

    .header-logo img {
        max-width: 145px;
        height: auto;
    }


    /* TÍTULO DEL HERO */
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.18;
        padding: 0 14px;
    }


    /* BUSCADOR */
    .hero-search {
        position: relative;
    }

    .hero-search input {
        height: 52px;
        padding-left: 18px;
        padding-right: 58px;
        box-sizing: border-box;
    }

    /* BOTÓN DE BÚSQUEDA */
    .hero-search button {
        position: absolute;

        width: 46px;
        height: 46px;

        right: 3px;
        top: 50%;

        transform: translateY(-50%);

        margin: 0;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
    }

    .hero-search button i,
    .hero-search button svg {
        margin: 0;
        line-height: 1;
    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .header-logo {
        margin-left: 8px;
    }

    .header-logo img {
        max-width: 138px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.18;
        padding: 0 12px;
    }

    .hero-search input {
        height: 50px;
        font-size: 12px;
    }

    .hero-search button {
        width: 44px;
        height: 44px;
        right: 3px;
    }

}
/* =========================================================
   AJUSTES FINOS DEL HEADER / HERO EN MÓVIL
========================================================= */

@media (max-width: 768px) {

    /* =========================
       LOGO
    ========================= */

    .hero-top {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo {
        margin-left: 4px;
        max-width: 145px;
        height: auto;
    }


    /* =========================
       TÍTULO
    ========================= */

    .hero-title h1 {
        font-size: 24px;
        line-height: 1.18;
        margin: 0 auto 18px;
        padding: 0 14px;
        text-align: center;
    }


    /* =========================
       BUSCADOR
    ========================= */

    .search-box {
        position: relative;
        width: calc(100% - 30px);
        margin: 0 auto;
    }

    .search-box input {
        width: 100%;
        height: 54px;
        padding: 0 60px 0 18px;
        box-sizing: border-box;
        border-radius: 30px;
    }


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

    .search-box button {
        position: absolute;

        right: 4px;
        top: 50%;

        width: 46px;
        height: 46px;

        padding: 0;
        margin: 0;

        transform: translateY(-50%);

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
    }

    .search-box .icon-search {
        width: 21px;
        height: 21px;

        display: block;
        margin: 0;
    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .hero-top {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo {
        max-width: 138px;
    }

    .hero-title h1 {
        font-size: 23px;
        line-height: 1.17;
        padding: 0 12px;
        margin-bottom: 16px;
    }

    .search-box {
        width: calc(100% - 24px);
    }

    .search-box input {
        height: 52px;
        font-size: 12px;
        padding-left: 16px;
        padding-right: 56px;
    }

    .search-box button {
        width: 44px;
        height: 44px;
        right: 4px;
    }

    .search-box .icon-search {
        width: 20px;
        height: 20px;
    }

}
@media (max-width: 768px) {

    .hero-title h1 {
        font-size: 18px;
        line-height: 1.2;
        padding: 0 8px;
        margin-bottom: 18px;
    }

}

@media (max-width: 380px) {

    .hero-title h1 {
        font-size: 18px;
        line-height: 1.2;
        padding: 0 6px;
    }

}
@media (max-width: 768px) {

    .search-box input {
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

}
.hero-search {
    width: 100%;
    margin: 0;
    background: #0754b8;
}

.hero-search-content {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent;
}
@media (max-width: 768px) {

    .search-box {
        position: relative;
    }

    .search-box button {
        position: absolute;

        /* posición dentro del buscador */
        right: 4px;
        top: 50%;

        /* centrado vertical */
        transform: translateY(-50%);

        /* tamaño del círculo */
        width: 46px;
        height: 46px;

        /* eliminar cualquier desplazamiento */
        margin: 0;
        padding: 0;

        /* centrar la lupa */
        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        box-sizing: border-box;
    }

    .search-box button .icon-search {
        width: 20px;
        height: 20px;

        margin: 0;
        padding: 0;

        display: block;
    }
}
@media (max-width: 380px) {

    .search-box button {
        width: 44px;
        height: 44px;
        right: 4px;
    }

    .search-box button .icon-search {
        width: 19px;
        height: 19px;
    }

}
/* =========================================================
   EVITAR SCROLL HORIZONTAL EN MÓVIL
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

}
/* =========================================================
   AJUSTE DE TAMAÑO - HEADER MÓVIL
========================================================= */

@media (max-width: 768px) {

    /* LOGO */

    .logo {
        max-width: 100px;
        width: 100px;
        height: auto;
        margin-left: 4px;
    }


    /* BUSCADOR */

    .search-box {
        width: calc(100% - 50px);
        height: 25px;
    }

    .search-box input {
        height: 30px;
        padding-left: 17px;
        padding-right: 56px;
        font-size: 12px;
    }


    /* LUPA */

    .search-box button {
        width: 2px;
        height: 20px;

        right: 3px;
        top: 50%;

        transform: translateY(-50%);
    }

    .search-box .icon-search {
        width: 15px;
        height: 15px;
    }

}
/* =========================================================
   BUSCADOR MÓVIL - MÁS COMPACTO
========================================================= */


/* TELÉFONOS PEQUEÑOS */
/* =========================================================
   BUSCADOR MÓVIL - MÁS PEQUEÑO
========================================================= */

@media (max-width: 768px) {

    .search-box {
        width: 78%;
        height: 38px;
        margin: 0 auto 28px;
    }

    .search-box input {
        width: 100%;
        height: 38px;
        box-sizing: border-box;

        padding-left: 13px;
        padding-right: 45px;

        font-size: 11px;
    }

    .search-box button {
        width: 32px;
        height: 32px;

        right: 3px;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-box .icon-search {
        width: 15px;
        height: 15px;
    }

}


/* TELÉFONOS PEQUEÑOS */
@media (max-width: 768px) {

    .search-box {
        width: 68%;
        height: 38px;
        margin: 0 auto 28px;
    }

    .search-box input {
        height: 38px;
        padding-left: 12px;
        padding-right: 43px;
        font-size: 11px;
    }

    .search-box button {
        width: 32px;
        height: 32px;
        right: 3px;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-box .icon-search {
        width: 15px;
        height: 15px;
    }

}

@media (max-width: 380px) {

    .search-box {
        width: 70%;
        height: 36px;
        margin-bottom: 26px;
    }

    .search-box input {
        height: 36px;
        font-size: 10px;
        padding-left: 11px;
        padding-right: 40px;
    }

    .search-box button {
        width: 30px;
        height: 30px;
    }

    .search-box .icon-search {
        width: 14px;
        height: 14px;
    }

}
/* =========================================================
   BUSCADOR MÓVIL - MUCHO MÁS PEQUEÑO
========================================================= */

@media screen and (max-width: 768px) {

    .hero-search .hero-search-content .search-box {
        width: 55% !important;
        max-width: 55% !important;
        min-width: 0 !important;

        height: 34px !important;

        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 30px !important;

        position: relative !important;
        box-sizing: border-box !important;
    }

    .hero-search .hero-search-content .search-box input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 34px !important;

        padding: 0 40px 0 11px !important;

        font-size: 10px !important;
        line-height: 34px !important;

        box-sizing: border-box !important;
    }

    .hero-search .hero-search-content .search-box button {
        position: absolute !important;

        width: 28px !important;
        height: 28px !important;

        min-width: 28px !important;
        max-width: 28px !important;

        right: 3px !important;
        top: 50% !important;

        transform: translateY(-50%) !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 50% !important;
    }

    .hero-search .hero-search-content .search-box .icon-search {
        width: 13px !important;
        height: 13px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
========================================================= */

@media screen and (max-width: 380px) {

    .hero-search .hero-search-content .search-box {
        width: 55% !important;
        max-width: 55% !important;
        height: 32px !important;
        margin-bottom: 28px !important;
    }

    .hero-search .hero-search-content .search-box input {
        height: 32px !important;
        padding: 0 38px 0 10px !important;
        font-size: 9px !important;
        line-height: 32px !important;
    }

    .hero-search .hero-search-content .search-box button {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        right: 3px !important;
    }

    .hero-search .hero-search-content .search-box .icon-search {
        width: 12px !important;
        height: 12px !important;
    }

}
/* =========================================================
   HERO SEARCH - VERSIÓN MÓVIL COMPACTA
========================================================= */

@media screen and (max-width: 768px) {

    /* CONTENEDOR COMPLETO */
    .hero-search {
        padding-top: 18px !important;
        padding-bottom: 8px !important;
    }

    .hero-search-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }


    /* TÍTULO */
    .hero-title {
        margin-bottom: 10px !important;
    }

    .hero-title h1 {
        font-size: 18px !important;
        line-height: 1.15 !important;

        padding: 0 10px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }


    /* BUSCADOR */
    .hero-search .hero-search-content .search-box {
        width: 62% !important;
        max-width: 62% !important;

        height: 35px !important;

        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .hero-search .hero-search-content .search-box input {
        height: 35px !important;
        line-height: 35px !important;

        padding: 0 42px 0 11px !important;

        font-size: 10px !important;
    }

    /* LUPA */
    .hero-search .hero-search-content .search-box button {
        width: 30px !important;
        height: 30px !important;

        right: 3px !important;
        top: 50% !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-search .hero-search-content .search-box .icon-search {
        width: 13px !important;
        height: 13px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
========================================================= */

@media screen and (max-width: 380px) {

    .hero-search {
        padding-top: 15px !important;
        padding-bottom: 6px !important;
    }

    .hero-title {
        margin-bottom: 8px !important;
    }

    .hero-title h1 {
        font-size: 18px !important;
        line-height: 1.15 !important;
        padding: 0 8px !important;
    }

    .hero-search .hero-search-content .search-box {
        width: 60% !important;
        max-width: 60% !important;
        height: 34px !important;
        margin-bottom: 14px !important;
    }

    .hero-search .hero-search-content .search-box input {
        height: 34px !important;
        line-height: 34px !important;
    }

    .hero-search .hero-search-content .search-box button {
        width: 29px !important;
        height: 29px !important;
    }

}
/* =========================================================
   CORRECCIÓN FINAL HEADER + BUSCADOR
   NO MODIFICAR LOS ESTILOS ANTERIORES
========================================================= */

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

    /* HEADER */

    .hero-header {
        position: relative;
        width: 100%;
        height: 110px;
        min-height: 110px;
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .hero-top {
        position: relative;
        top: auto;
        left: auto;
        right: auto;

        width: min(1400px, 92%);
        height: 100%;

        margin: 0 auto;

        display: flex;
        align-items: center;
        justify-content: space-between;

        z-index: 10;
    }

    .logo {
        width: 150px;
        max-width: 150px;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
    }


    /* MENÚ */

    .menu {
        position: absolute;

        left: 50%;
        transform: translateX(-50%);

        display: flex;
        align-items: center;

        gap: 30px;

        white-space: nowrap;
    }

    .menu a {
        font-size: 17px;
    }


    /* IDIOMA */

    .lang-selector {
        position: relative;
        margin-left: auto;
    }


    /* BUSCADOR */

    .hero-search {
        width: 100%;
        padding: 32px 0 34px;
    }

    .hero-search-content {

        width: min(1400px, 92%);

        margin: 0 auto;

        display: flex;
        flex-direction: row;

        align-items: center;
        justify-content: space-between;

        gap: 50px;
    }


    /* TÍTULO */

    .hero-title {

        flex: 1;
        min-width: 0;

        text-align: left;
    }

    .hero-title h1 {

        margin: 0;

        max-width: 780px;

        color: #fff;

        font-size: 38px;

        line-height: 1.15;

        font-weight: 700;
    }


    /* BUSCADOR */

    .hero-search .search-box {

        display: flex;

        width: 460px;
        max-width: 460px;

        flex-shrink: 0;

        margin: 0;

        position: relative;
    }

    .hero-search .search-box input {

        width: calc(100% - 62px);

        height: 56px;

        padding: 0 22px;

        border: none;

        border-radius: 30px 0 0 30px;

        background: #fff;

        outline: none;
    }

    .hero-search .search-box button {

        width: 62px;
        height: 56px;

        border: none;

        border-radius: 0 30px 30px 0;

        background: #111;

        display: flex;

        align-items: center;
        justify-content: center;

        cursor: pointer;

        flex-shrink: 0;
    }

    .hero-search .search-box button i {

        margin: 0;
        line-height: 1;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .hero-header {
        height: 100px;
        min-height: 100px;
    }

    .logo {
        width: 130px;
        max-width: 130px;
    }

    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 14px;
    }

    .hero-search-content {
        gap: 30px;
    }

    .hero-title h1 {
        font-size: 32px;
    }

    .hero-search .search-box {
        width: 390px;
        max-width: 390px;
    }

}


/* =========================================================
   MÓVIL
   CONSERVAMOS EL DISEÑO QUE YA FUNCIONABA
========================================================= */

@media (max-width: 768px) {

    /* EVITAR DESPLAZAMIENTO HORIZONTAL */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* HEADER */

    .hero-header {

        position: relative;

        width: 100%;

        height: 72px;
        min-height: 72px;

        overflow: hidden;
    }

    .hero-top {

        position: relative;

        top: auto;
        left: auto;
        right: auto;

        width: 100%;
        height: 72px;

        padding: 0 14px;

        margin: 0;

        display: flex;

        align-items: center;

        justify-content: space-between;
    }


    /* LOGO */

    .logo {

        width: 120px;
        max-width: 120px;

        height: auto;

        margin: 0;
    }


    /* MENÚ */

    .menu {
        display: none !important;
    }

    .lang-selector {
        display: none !important;
    }


    /* HAMBURGUESA */

    .menu-toggle {

        display: flex;

        width: 43px;
        height: 43px;

        margin-left: auto;

        padding: 0;

        align-items: center;
        justify-content: center;

        gap: 5px;

        border: 1px solid rgba(255,255,255,.18);

        border-radius: 11px;

        background: rgba(0,0,0,.12);
    }

    .menu-toggle span {

        width: 23px;
        height: 2.5px;

        background: #fff;
    }


    /* =========================
       BUSCADOR
    ========================= */

    .hero-search {

        width: 100%;

        margin: 0;

        padding: 21px 14px 23px;

        box-sizing: border-box;
    }

    .hero-search-content {

        width: 100%;

        margin: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: center;

        gap: 15px;
    }


    /* TÍTULO */

    .hero-title {

        width: 100%;

        text-align: center;
    }

    .hero-title h1 {

        font-size: 25px;

        line-height: 1.18;

        max-width: 320px;

        margin: 0 auto;

        padding: 0 10px;
    }


    /* BUSCADOR */

    .hero-search .search-box {

        position: relative;

        display: block;

        width: calc(100% - 24px);

        max-width: none;

        margin: 0 auto;
    }

    .hero-search .search-box input {

        width: 100%;

        height: 52px;

        padding: 0 60px 0 17px;

        box-sizing: border-box;

        border-radius: 28px;

        font-size: 13px;

        outline: none;
    }


    /* LUPA */

    .hero-search .search-box button {

        position: absolute;

        top: 50%;
        right: 3px;

        width: 46px;
        height: 46px;

        padding: 0;
        margin: 0;

        transform: translateY(-50%);

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: #111;
    }

    .hero-search .search-box button i {

        margin: 0;

        padding: 0;

        line-height: 1;

        font-size: 20px;
    }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .hero-top {
        padding: 0 10px;
    }

    .logo {
        width: 112px;
        max-width: 112px;
    }

    .hero-title h1 {
        font-size: 24px;
        max-width: 300px;
    }

    .hero-search {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-search .search-box {
        width: calc(100% - 18px);
    }

}
.hero-search .search-box button i {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 20px;
}
@media (max-width: 768px) {

    .hero-search .search-box button i {
        color: #ffffff !important;
        font-size: 19px;
        line-height: 1;
    }

}
/* =========================================================
   HERO MÓVIL - PROPORCIÓN FIJA 1920 x 800
   ========================================================= */

@media (max-width: 768px) {

    .hero {
        position: relative;
        width: 100%;
        height: calc(100vw * 0.4166667);
        min-height: 0;
        max-height: none;
        aspect-ratio: 12 / 5;
        overflow: hidden;
    }

    .hero-slider {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-slider a {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero-slider .slide {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

}
/* =========================================================
   HERO MÓVIL
========================================================= */

@media (max-width: 768px) {

    .hero {
        width: 100%;
        height: auto;
        aspect-ratio: 12 / 5;
        overflow: hidden;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-slider a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero-slider .slide {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

}
/* =========================================================
   HERO - MÓVIL
   Aumentar protagonismo del banner
========================================================= */
/* =========================================================
   HERO MÓVIL - MOSTRAR BANNER COMPLETO
========================================================= */

@media (max-width: 768px){

    .hero{
        width:100%;
        height:240px !important;
        min-height:240px !important;

        overflow:hidden;
        background:#0f172a;
    }

    .hero-slider{
        width:100%;
        height:240px !important;

        display:flex;
        align-items:center;
        justify-content:center;

        overflow:hidden;
    }

    .hero-slider .slide{

        width:100% !important;
        height:100% !important;

        display:block;

        object-fit:contain;
        object-position:center;

        background:#0f172a;
    }

}


/* TELÉFONOS PEQUEÑOS */

@media (max-width:380px){

    .hero{
        height:220px !important;
        min-height:220px !important;
    }

    .hero-slider{
        height:220px !important;
    }

    .hero-slider .slide{
        height:220px !important;
    }

}
/* =========================================================
   HERO MÓVIL
   LLENAR COMPLETAMENTE EL CONTENEDOR
========================================================= */
/* =========================================================
   HERO MÓVIL - ZOOM OUT
========================================================= */

@media (max-width: 768px){

    .hero{
        width:100%;
        height:240px !important;
        min-height:240px !important;
        overflow:hidden;
        background:#0f172a;
    }

    .hero-slider{
        width:100%;
        height:240px !important;
        overflow:hidden;

        display:flex;
        align-items:center;
        justify-content:center;
    }

    .hero-slider .slide{

        width:100% !important;
        height:100% !important;

        object-fit:cover;
        object-position:center;

    }

}
/* =========================================================
   EMERGENCIAS - BOTÓN LATERAL
========================================================= */

.emergency-btn {

    position: fixed !important;

    left: 0 !important;
    top: 50% !important;

    width: 30px !important;
    height: 90px !important;

    min-width: 30px !important;
    max-width: 30px !important;

    min-height: 90px !important;
    max-height: 90px !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 6px !important;

    box-sizing: border-box !important;

    background: #071d43 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 0 12px 12px 0 !important;

    overflow: hidden !important;

    cursor: pointer !important;

    z-index: 9998 !important;

    box-shadow:
        3px 5px 12px rgba(0,0,0,.20) !important;

    transition:
        background .25s ease,
        box-shadow .25s ease !important;
}


/* =========================================================
   ICONO
========================================================= */

.emergency-btn .emergency-icon {

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 15px !important;

    line-height: 1 !important;

    flex-shrink: 0 !important;
}


/* =========================================================
   TEXTO "EMERGENCIAS"
========================================================= */

.emergency-btn .emergency-text {

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 8px !important;

    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: .2px !important;

    writing-mode: vertical-rl !important;

    text-orientation: mixed !important;

    white-space: nowrap !important;

    visibility: visible !important;

    opacity: 1 !important;
}


/* =========================================================
   ANULAR REGLAS ANTIGUAS DE SPAN
========================================================= */

.emergency-btn span {

    display: block !important;

    visibility: visible !important;

}


/* =========================================================
   HOVER
   NO SE MUEVE
========================================================= */

.emergency-btn:hover,
.emergency-btn:focus,
.emergency-btn:active {

    left: 0 !important;

    transform: translateY(-50%) !important;

    background: #b91c1c !important;

    box-shadow:
        3px 5px 14px rgba(0,0,0,.25) !important;
}


/* =========================================================
   PANEL DE EMERGENCIAS
========================================================= */

.emergency-panel {

    position: fixed !important;

    left: 0 !important;
    top: 50% !important;

    width: 330px !important;

    max-width: calc(100vw - 24px) !important;

    max-height: 80vh !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff !important;

    border-radius: 0 20px 20px 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    box-sizing: border-box !important;

    transform: translate(-110%, -50%) !important;

    transition:
        transform .35s cubic-bezier(.4,0,.2,1) !important;

    z-index: 9999 !important;

    box-shadow:
        10px 15px 45px rgba(0,0,0,.25) !important;
}


/* PANEL ABIERTO */

.emergency-panel.active {

    transform: translate(0, -50%) !important;
}


/* =========================================================
   HEADER DEL PANEL
========================================================= */

.emergency-header {

    position: sticky !important;

    top: 0 !important;

    height: 68px !important;
    min-height: 68px !important;

    padding: 0 16px 0 20px !important;

    margin: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    box-sizing: border-box !important;

    background: #0b1f44 !important;

    color: #ffffff !important;

    z-index: 10 !important;
}


.emergency-header h3 {

    margin: 0 !important;

    font-size: 18px !important;

    line-height: 1.2 !important;
}


.emergency-header button {

    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;

    border-radius: 50% !important;

    background: rgba(255,255,255,.15) !important;

    color: #ffffff !important;

    font-size: 23px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
}


/* =========================================================
   ITEMS
========================================================= */

.emergency-item {

    width: 100% !important;

    min-height: 70px !important;

    padding: 10px 16px !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 15px !important;

    background: #ffffff !important;

    border-bottom: 1px solid #e5e7eb !important;

    text-decoration: none !important;

    color: #0b1f44 !important;
}


.emergency-item > div {

    display: block !important;

    flex: 1 !important;

    min-width: 0 !important;
}


.emergency-item strong {

    display: block !important;

    margin: 0 0 4px 0 !important;

    color: #0b1f44 !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;
}


.emergency-item small {

    display: block !important;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1.3 !important;
}


.emergency-item > span {

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #eaf1ff !important;

    font-size: 19px !important;
}


/* =========================================================
   SCROLL
========================================================= */

.emergency-panel::-webkit-scrollbar {

    width: 5px;
}


.emergency-panel::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 10px;
}


/* =========================================================
   MÓVIL
   MISMO BOTÓN QUE DESKTOP
========================================================= */

@media (max-width: 768px) {

    .emergency-btn {

        left: 0 !important;
        top: 50% !important;

        width: 30px !important;
        height: 90px !important;

        min-width: 30px !important;
        max-width: 30px !important;

        min-height: 90px !important;
        max-height: 90px !important;

        transform: translateY(-50%) !important;

        border-radius: 0 12px 12px 0 !important;
    }


    .emergency-btn:hover,
    .emergency-btn:focus,
    .emergency-btn:active {

        left: 0 !important;

        transform: translateY(-50%) !important;
    }


    .emergency-btn .emergency-icon {

        font-size: 14px !important;
    }


    .emergency-btn .emergency-text {

        font-size: 7px !important;
    }


    /* PANEL */

    .emergency-panel {

        left: 12px !important;

        top: 50% !important;

        width: calc(100vw - 24px) !important;

        max-width: 390px !important;

        height: 78vh !important;

        max-height: 78vh !important;

        min-height: 0 !important;

        border-radius: 20px !important;

        transform: translate(-120%, -50%) !important;
    }


    .emergency-panel.active {

        transform: translate(0, -50%) !important;
    }


    .emergency-header {

        height: 68px !important;

        min-height: 68px !important;
    }


    .emergency-item {

        height: 70px !important;

        min-height: 70px !important;

        padding: 10px 16px !important;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .emergency-btn {

        width: 28px !important;
        height: 84px !important;

        min-width: 28px !important;
        max-width: 28px !important;

        min-height: 84px !important;
        max-height: 84px !important;
    }


    .emergency-btn .emergency-icon {

        font-size: 13px !important;
    }


    .emergency-btn .emergency-text {

        font-size: 6px !important;
    }


    .emergency-panel {

        left: 8px !important;

        width: calc(100vw - 16px) !important;

        height: 80vh !important;

        max-height: 80vh !important;

        border-radius: 18px !important;
    }


    .emergency-item {

        height: 66px !important;

        min-height: 66px !important;

        padding: 9px 14px !important;
    }


    .emergency-item strong {

        font-size: 14px !important;
    }


    .emergency-item small {

        font-size: 13px !important;
    }


    .emergency-item > span {

        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
    }

}
/* =========================================================
   EMERGENCIAS - PESTAÑA UN POCO MÁS GRANDE
========================================================= */

.emergency-btn{

    width:40px !important;
    height:115px !important;

    min-width:40px !important;
    max-width:40px !important;

    min-height:115px !important;
    max-height:115px !important;

    border-radius:0 14px 14px 0 !important;

}


/* ICONO */

.emergency-btn .emergency-icon{

    font-size:17px !important;

}


/* TEXTO */

.emergency-btn .emergency-text{

    font-size:9px !important;

}


/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:768px){

    .emergency-btn{

        width:40px !important;
        height:45px !important;

        min-width:40px !important;
        max-width:40px !important;

        min-height:45px !important;
        max-height:45px !important;

    }

    .emergency-btn .emergency-icon{

        font-size:17px !important;

    }

    .emergency-btn .emergency-text{

        font-size:9px !important;

    }

}
/* =========================================================
   EMERGENCIAS - CAPA SUPERIOR REAL
========================================================= */

.emergency-btn {
    position: fixed !important;

    left: 0 !important;
    top: 50% !important;

    z-index: 2147483646 !important;

    transform: translateY(-50%) !important;

    isolation: isolate !important;
}


.emergency-btn:hover,
.emergency-btn:focus,
.emergency-btn:active {

    left: 0 !important;

    transform: translateY(-50%) !important;
}


/* =========================================================
   PANEL EMERGENCIAS
========================================================= */

.emergency-panel {

    position: fixed !important;

    left: 0 !important;
    top: 50% !important;

    z-index: 2147483647 !important;

    isolation: isolate !important;
}
/* =========================================================
   HOME - LOGO EN MÓVIL
========================================================= */

@media (max-width: 768px){

    .sidebar-logo,
    .logo,
    .header-logo{
        padding: 10px !important;
    }

    .sidebar-logo img,
    .logo img,
    .header-logo img{
        max-width: 180px !important;
        height: auto !important;
        display: block !important;
    }

}
/* =========================================================
   BUSCADOR - MÓVIL
   MISMO ESTILO QUE DESKTOP
========================================================= */
/* =========================================================
   BUSCADOR - ICONO NEGRO EN MÓVIL
========================================================= */

@media (max-width: 768px){

    .search-box button i,
    .search-container button i,
    .search-form button i,
    .search-btn i{
        color: #000000 !important;
    }

}
/* =========================================================
   SUGERENCIAS DEL BUSCADOR
========================================================= */

.search-box{
    position:relative;
}


.search-suggestions{

    position:absolute;

    top:calc(100% + 8px);

    left:0;

    width:100%;

    background:#ffffff;

    border-radius:14px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.18);

    overflow:hidden;

    z-index:9999;

    display:none;
}


.search-suggestion{

    width:100%;

    padding:13px 18px;

    box-sizing:border-box;

    display:flex;

    align-items:center;

    gap:12px;

    background:#ffffff;

    border:none;

    border-bottom:1px solid #eef1f5;

    color:#1C355E;

    text-align:left;

    font-size:15px;

    cursor:pointer;

    transition:.2s ease;
}


.search-suggestion:last-child{

    border-bottom:none;
}


.search-suggestion:hover{

    background:#f1f5f9;
}


.search-suggestion-icon{

    color:#1C355E;

    font-size:16px;

    flex-shrink:0;
}


.search-suggestion-name{

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;
}


/* MÓVIL */

@media(max-width:768px){

    .search-suggestions{

        top:calc(100% + 6px);

        border-radius:12px;

        max-height:300px;

        overflow-y:auto;
    }


    .search-suggestion{

        padding:12px 15px;

        font-size:14px;
    }

}
/* =========================================================
   SUGERENCIAS DEL BUSCADOR
========================================================= */

.search-suggestions{
    position:absolute;

    top:calc(100% + 8px);
    left:0;
    right:0;

    background:#ffffff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,.18);

    z-index:9999;

    display:none;

    padding:6px 0;
}


/* CADA SUGERENCIA */

.search-suggestion{

    width:100% !important;

    min-height:58px !important;

    padding:10px 16px !important;

    margin:0 !important;

    border:0 !important;

    border-bottom:1px solid #eef2f7 !important;

    background:#ffffff !important;

    color:#1C355E !important;

    display:flex !important;

    align-items:center !important;

    justify-content:flex-start !important;

    gap:12px !important;

    text-align:left !important;

    cursor:pointer !important;

    font-family:inherit !important;

    box-sizing:border-box !important;
}


/* QUITAR BORDE DEL ÚLTIMO */

.search-suggestion:last-child{

    border-bottom:none !important;

}


/* HOVER */

.search-suggestion:hover{

    background:#f5f8fc !important;

}


/* =========================================================
   ICONO
========================================================= */

.search-suggestion .search-suggestion-icon{

    width:36px !important;

    height:36px !important;

    min-width:36px !important;
    max-width:36px !important;

    min-height:36px !important;
    max-height:36px !important;

    border-radius:50% !important;

    background:#eaf1ff !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    flex-shrink:0 !important;

    font-size:17px !important;

    line-height:1 !important;

    padding:0 !important;

    margin:0 !important;

    color:#1C355E !important;
}


/* =========================================================
   CONTENEDOR DEL TEXTO
========================================================= */

.search-suggestion > span:not(.search-suggestion-icon){

    display:flex !important;

    flex-direction:column !important;

    justify-content:center !important;

    min-width:0 !important;

    flex:1 !important;

}


/* NOMBRE */

.search-suggestion-name{

    display:block !important;

    color:#1C355E !important;

    font-size:14px !important;

    font-weight:700 !important;

    line-height:1.25 !important;

    white-space:nowrap !important;

    overflow:hidden !important;

    text-overflow:ellipsis !important;

}


/* CATEGORÍA */

.search-suggestion small{

    display:block !important;

    margin-top:3px !important;

    color:#64748b !important;

    font-size:12px !important;

    font-weight:500 !important;

    line-height:1.2 !important;

}


/* =========================================================
   ELIMINAR ESTILOS HEREDADOS DEL BOTÓN
========================================================= */

.search-box .search-suggestion{

    border-radius:0 !important;

}


/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:768px){

    .search-suggestions{

        top:calc(100% + 6px);

        left:0;

        right:0;

        border-radius:14px;

    }


    .search-suggestion{

        min-height:58px !important;

        padding:10px 14px !important;

    }


    .search-suggestion .search-suggestion-icon{

        width:34px !important;

        height:34px !important;

        min-width:34px !important;

        max-width:34px !important;

        font-size:16px !important;

    }


    .search-suggestion-name{

        font-size:13px !important;

    }


    .search-suggestion small{

        font-size:11px !important;

    }

}
/* =========================================================
   SUGERENCIAS DE BÚSQUEDA
========================================================= */

.hero-search-content{
    position:relative;
}

.hero-search .search-box{
    position:relative;
}

.search-suggestions{

    position:absolute;

    top:calc(100% + 8px);

    right:0;

    width:460px;
    max-width:100%;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:
        0 12px 35px rgba(0,0,0,.18);

    z-index:99999;

    text-align:left;
}


/* CADA RESULTADO */

.search-suggestion{

    width:100% !important;

    min-height:58px;

    padding:10px 16px !important;

    margin:0 !important;

    border:0 !important;

    border-bottom:1px solid #edf0f4 !important;

    background:#fff !important;

    color:#1e293b !important;

    display:flex !important;

    align-items:center !important;

    gap:12px;

    text-align:left !important;

    cursor:pointer;

    font-family:inherit;

    font-size:14px;

    box-sizing:border-box;

}


.search-suggestion:last-child{

    border-bottom:none !important;

}


.search-suggestion:hover{

    background:#f8fafc !important;

}


/* ICONO */

.search-suggestion-icon{

    width:34px;

    height:34px;

    min-width:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:#eef4ff;

    font-size:17px;

}


/* NOMBRE */

.search-suggestion-name{

    display:block;

    color:#1C355E;

    font-size:14px;

    font-weight:700;

    line-height:1.2;

}


/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:768px){

    .hero-search-content{
        position:relative;
    }

    .hero-search .search-box{
        position:relative;
    }

    .search-suggestions{

        position:absolute;

        top:calc(100% + 7px);

        left:0;
        right:0;

        width:100%;

        max-width:none;

        max-height:230px;

        overflow-y:auto;

        border-radius:14px;

        box-shadow:
            0 10px 28px rgba(0,0,0,.20);

        z-index:99999;
    }


    .search-suggestion{

        min-height:54px;

        padding:9px 12px !important;

        gap:10px;

        font-size:13px;
    }


    .search-suggestion-icon{

        width:30px;
        height:30px;

        min-width:30px;

        font-size:15px;
    }


    .search-suggestion-name{

        font-size:13px;
    }

}
/* =========================================================
   SUGERENCIAS - EVITAR QUE SE RECORTEN EN MÓVIL
========================================================= */

.hero-search {
    overflow: visible !important;
    position: relative !important;
    z-index: 1000 !important;
}

.hero-search-content {
    position: relative !important;
    overflow: visible !important;
    z-index: 1001 !important;
}

.search-box {
    position: relative !important;
    z-index: 1002 !important;
}

.search-suggestions {
    position: absolute !important;

    top: calc(100% + 8px) !important;

    left: 0 !important;

    z-index: 99999 !important;

    display: none;

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.20);

    overflow: hidden;
}

/* =========================================================
   SUGERENCIAS MÓVIL - POSICIÓN FUERA DEL HERO
========================================================= */

@media (max-width: 768px) {



    #searchSuggestions .search-suggestion {

        width: 100% !important;

        min-height: 54px !important;

        padding: 9px 12px !important;

        margin: 0 !important;

        display: flex !important;

        align-items: center !important;

        gap: 10px !important;

        background: #fff !important;

        border: 0 !important;

        border-bottom: 1px solid #edf0f4 !important;

        box-sizing: border-box !important;

        color: #1e293b !important;

        text-align: left !important;
    }

}
/* =========================================================
   BUSCADOR + SUGERENCIAS
========================================================= */

.hero-search .search-box{

    position:relative;

    display:flex;

    width:460px;

    flex-shrink:0;

    z-index:10000;

}


/* INPUT */

.hero-search .search-box input{

    flex:1;

    min-width:0;

    width:auto;

    height:56px;

    border:none;

    outline:none;

    border-radius:30px 0 0 30px;

    padding:0 22px;

    background:#fff;

}


/* BOTÓN */

.hero-search .search-box button{

    width:62px;

    min-width:62px;

    height:56px;

    border:none;

    border-radius:0 30px 30px 0;

    background:#111;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    position:relative;

    z-index:2;

}


/* ICONO */

.hero-search .icon-search{

    width:25px;

    height:25px;

    display:block;

}


/* =========================================================
   CONTENEDOR DE SUGERENCIAS
========================================================= */

#searchSuggestions{

    position:absolute;

    top:calc(100% + 8px);

    left:0;

    width:100%;

    display:none;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:
        0 12px 35px rgba(0,0,0,.22);

    border:1px solid #e5e7eb;

    z-index:999999;

}


/* CUANDO HAY RESULTADOS */

#searchSuggestions.visible{

    display:block;

}


/* =========================================================
   SUGERENCIA INDIVIDUAL
========================================================= */

.search-suggestion{

    width:100%;

    min-height:58px;

    padding:10px 14px;

    display:flex;

    align-items:center;

    gap:12px;

    border:0;

    border-bottom:1px solid #edf0f4;

    background:#fff;

    color:#1e293b;

    text-align:left;

    cursor:pointer;

    transition:
        background .15s ease;

}


.search-suggestion:last-child{

    border-bottom:none;

}


.search-suggestion:hover{

    background:#f5f8fc;

}


/* =========================================================
   ICONO
========================================================= */

.search-suggestion-icon{

    width:34px;

    height:34px;

    min-width:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:#eef4ff;

    font-size:17px;

}


/* =========================================================
   CONTENIDO
========================================================= */

.search-suggestion-content{

    min-width:0;

    flex:1;

    display:flex;

    flex-direction:column;

}


/* NOMBRE */

.search-suggestion-name{

    display:block;

    color:#0f172a;

    font-size:14px;

    font-weight:700;

    line-height:1.25;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}


/* CATEGORÍA */

.search-suggestion-category{

    display:block;

    margin-top:3px;

    color:#64748b;

    font-size:12px;

    line-height:1.2;

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .hero-search-content{

        gap:25px;

    }

    .hero-search .search-box{

        width:380px;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:768px){

    .hero-search{

        padding:28px 0 34px;

        position:relative;

        overflow:visible;

    }


    .hero-search-content{

        width:calc(100% - 32px);

        margin:0 auto;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:20px;

    }


    .hero-title{

        width:100%;

        text-align:center;

    }


    .hero-title h1{

        font-size:25px;

        line-height:1.15;

    }


    .hero-search .search-box{

        width:100%;

        max-width:360px;

        position:relative;

        z-index:10000;

    }


    .hero-search .search-box input{

        height:48px;

        padding:0 16px;

        font-size:13px;

    }


    .hero-search .search-box button{

        width:52px;

        min-width:52px;

        height:48px;

    }


    .hero-search .icon-search{

        width:23px;

        height:23px;

    }


    #searchSuggestions{

        top:calc(100% + 7px);

        left:0;

        width:100%;

        max-height:260px;

        overflow-y:auto;

        border-radius:14px;

        box-shadow:
            0 12px 30px rgba(0,0,0,.25);

        z-index:999999;

    }


    .search-suggestion{

        min-height:58px;

        padding:9px 12px;

    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
========================================================= */

@media(max-width:380px){

    .hero-search-content{

        width:calc(100% - 24px);

    }


    .hero-title h1{

        font-size:22px;

    }


    .hero-search .search-box{

        max-width:330px;

    }

}
/* =========================================================
   BUSCADOR - SUGERENCIAS POR ENCIMA DEL HERO
========================================================= */

.hero-search {
    position: relative !important;
    z-index: 1000 !important;
    overflow: visible !important;
}

.hero-search-content {
    position: relative !important;
    z-index: 1001 !important;
}

.search-box {
    position: relative !important;
    z-index: 1002 !important;
}

#searchSuggestions {
    position: absolute !important;

    top: calc(100% + 8px) !important;
    left: 0 !important;

    width: 100% !important;

    display: none;

    background: #fff !important;

    border-radius: 14px !important;

    overflow: hidden !important;

    box-shadow:
        0 12px 35px rgba(0,0,0,.25) !important;

    border: 1px solid #e5e7eb !important;

    z-index: 999999 !important;
}

#searchSuggestions.visible {
    display: block !important;
}


/* =========================================================
   HERO - SIEMPRE DEBAJO DEL BUSCADOR
========================================================= */

.hero {
    position: relative !important;
    z-index: 1 !important;
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 768px) {

    .hero-search {
        position: relative !important;
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .hero-search-content {
        position: relative !important;
        z-index: 10001 !important;
        overflow: visible !important;
    }

    .search-box {
        position: relative !important;
        z-index: 10002 !important;
    }

    #searchSuggestions {
        position: absolute !important;

        top: calc(100% + 7px) !important;
        left: 0 !important;

        width: 100% !important;

        max-height: 260px !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        background: #fff !important;

        border-radius: 14px !important;

        box-shadow:
            0 12px 30px rgba(0,0,0,.28) !important;

        z-index: 999999 !important;
    }

    #searchSuggestions.visible {
        display: block !important;
    }

    .search-suggestion {
        position: relative !important;
        z-index: 1000000 !important;

        display: flex !important;

        width: 100% !important;

        min-height: 58px !important;

        padding: 9px 12px !important;

        box-sizing: border-box !important;

        background: #fff !important;

        color: #0f172a !important;

        border: 0 !important;

        border-bottom: 1px solid #edf0f4 !important;
    }

    .search-suggestion:last-child {
        border-bottom: none !important;
    }

    .search-suggestion:hover {
        background: #f5f8fc !important;
    }
}
/* =========================================================
   SUGERENCIAS DE BÚSQUEDA - CORRECCIÓN DEFINITIVA
========================================================= */

#searchSuggestions {
    position: absolute !important;

    left: 0 !important;
    top: calc(100% + 8px) !important;

    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: 280px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: none;

    background: #ffffff !important;

    border-radius: 14px !important;

    border: 1px solid #e5e7eb !important;

    box-sizing: border-box !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    z-index: 999999 !important;

    box-shadow:
        0 12px 30px rgba(0,0,0,.25) !important;
}


/* CUANDO HAY SUGERENCIAS */

#searchSuggestions.visible {
    display: block !important;

    height: auto !important;
}


/* =========================================================
   CADA SUGERENCIA
========================================================= */

#searchSuggestions .search-suggestion {

    display: flex !important;

    align-items: center !important;

    width: 100% !important;

    min-height: 58px !important;
    height: auto !important;

    padding: 10px 14px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    color: #0b1f44 !important;

    border: none !important;
    border-bottom: 1px solid #edf0f4 !important;

    overflow: visible !important;

    font-size: 14px !important;

    line-height: 1.25 !important;

    text-decoration: none !important;
}


#searchSuggestions .search-suggestion:last-child {
    border-bottom: none !important;
}


#searchSuggestions .search-suggestion:hover {
    background: #f5f7fb !important;
}


/* =========================================================
   EVITAR QUE ALGÚN PADRE RECORTE EL DROPDOWN
========================================================= */

.hero-search,
.hero-search-content,
.search-box {
    overflow: visible !important;
}

/* =========================================================
   SUGERENCIAS DE BÚSQUEDA
   OCULTAR EN MÓVIL
========================================================= */

@media (max-width: 768px) {

    #searchSuggestions {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

}
/* =========================================================
   BUSCADOR MÓVIL - AJUSTE DE LUPA
========================================================= */

@media (max-width: 768px) {

    .search-box {
        display: flex !important;
        align-items: center !important;

        width: 100% !important;
        height: 44px !important;

        padding: 0 !important;
        margin: 0 !important;

        box-sizing: border-box !important;

        overflow: hidden !important;

        border-radius: 24px !important;

        background: #ffffff !important;
    }


    .search-box input {
        flex: 1 !important;

        width: auto !important;
        height: 44px !important;

        min-width: 0 !important;

        padding: 0 12px !important;
        margin: 0 !important;

        border: none !important;
        outline: none !important;

        box-sizing: border-box !important;

        background: #ffffff !important;

        border-radius: 24px 0 0 24px !important;
    }


    .search-box button {
        flex: 0 0 44px !important;

        width: 44px !important;
        height: 44px !important;

        min-width: 44px !important;
        max-width: 44px !important;

        padding: 0 !important;
        margin: 0 !important;

        border: none !important;
        outline: none !important;

        border-radius: 50% !important;

        background: #050505 !important;

        color: #ffffff !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        position: relative !important;

        transform: none !important;
    }


    .search-box button .icon-search {
        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 20px !important;
        height: 20px !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #ffffff !important;

        font-size: 18px !important;

        line-height: 1 !important;

        transform: none !important;
    }

}/* =========================================================
   SUGERENCIAS MÓVIL
========================================================= */

@media (max-width: 768px){

    #searchSuggestions{

        display: none;

        position: fixed !important;

        z-index: 999999 !important;

        background: #fff;

        border-radius: 14px;

        box-shadow:
            0 15px 40px rgba(0,0,0,.25);

        overflow-y: auto;

        overflow-x: hidden;

        max-height: 55vh;

        padding: 4px 0;

    }


    #searchSuggestions.visible{

        display: block !important;

    }


    #searchSuggestions
    .search-suggestion{

        width: 100%;

        min-height: 60px;

        display: flex;

        align-items: center;

        gap: 10px;

        border: 0;

        background: #fff;

        padding: 10px 14px;

        text-align: left;

        cursor: pointer;

    }


    #searchSuggestions
    .search-suggestion:hover{

        background: #f5f7fa;

    }


    #searchSuggestions
    .search-suggestion-icon{

        flex: 0 0 36px;

        width: 36px;

        height: 36px;

        border-radius: 50%;

        background: #eef2ff;

        display: flex;

        align-items: center;

        justify-content: center;

    }


    #searchSuggestions
    .search-suggestion-content{

        flex: 1;

        min-width: 0;

    }


    #searchSuggestions
    .search-suggestion-name{

        display: block;

        color: #132b63;

        font-size: 14px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;

    }


    #searchSuggestions
    .search-suggestion-category{

        display: block;

        margin-top: 3px;

        color: #64748b;

        font-size: 12px;

    }

}
.hero {
    cursor: pointer;
}
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    font-size: 28px;

    text-decoration: none;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.20);

    z-index: 9999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25);

    color: #fff;
}

@media (max-width: 600px) {

    .whatsapp-float {
        width: 52px;
        height: 52px;

        right: 16px;
        bottom: 16px;

        font-size: 25px;
    }

}