:root {
  --color-primary: #E6007D;
  --color-secondary: #FEB621;
  --color-bg-light: #f7f7f7;
  --color-text: #222;
  --color-white: #ffffff;
}


/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}



h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

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

a {
  text-decoration: none;
  color: inherit;
}


/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(
    to top,
    rgba(230,0,125,1),
    rgba(230,0,125,0.9)
  );
  transition:box-shadow .3s ease;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);

  border-bottom:1px solid rgba(255,255,255,.15);

  transition:
    box-shadow .3s ease,
    background .3s ease,
    backdrop-filter .3s ease;
}

/* sombra al hacer scroll */

header.scrolled {

  box-shadow:0 5px 25px rgba(230,0,125,.25);

}

.navbar{
  max-width:1280px;
  margin:auto;
  height:70px;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.logo-wrapper {
  display: flex;
  align-items: center;
  height: 80px;
  min-width: 180px;
}

.logo {
  height: 85px;
  transition: transform .3s ease;
  margin-top: 29px;
  display: block;
  cursor: pointer;
  will-change: transform;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .logo {
    transition: none;
  }
}

.logo:hover,
.logo:focus-visible {
  transform: translateY(-2px) scale(1.03);
}


/* NAV */

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  margin:0;
  padding:0;
  align-items: center; /* ✅ CLAVE */
}

.nav-links li {
  display: flex;
  align-items: center;
  position:relative;
}

.nav-links a {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: opacity .25s ease;
}


/* línea base invisible */
.nav-links a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  width:0;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:
    width .3s cubic-bezier(.16,1,.3,1),
    left .3s cubic-bezier(.16,1,.3,1);
}

/* hover elegante */
.nav-links a:hover::after{
  width:100%;
  left:0;
}

/* activo */
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after{
  width:100%;
  left:0;
}

/* enlace activo */
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current_page_parent > a {
  position: relative;
}

.nav-links a.active::after,
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after {
  width: 100%;
}


/* ======================================
   MEGA MENU
====================================== */

.mega-menu{
  position:absolute;
  top:100%;
  left:50%;
  background:#fff;
  padding:32px;
  border-radius:16px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  display:flex;
  gap:60px;
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
  min-width:540px;
  z-index:999;
}

/* mega menu */
.mega-menu {
  pointer-events: none;
  transform: translateX(-50%) translateY(14px) scale(.97);
  transition:
    opacity .25s ease,
    transform .25s cubic-bezier(.16,1,.3,1);
}


.nav-links li:hover .mega-menu{
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

.mega-column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mega-column h4{
  font-size:14px;
  color:#e6007d;
  margin-bottom: 8px;
}

.mega-column a{
  color:#333;
  font-size:14px;
  transition: .2s;
}

.mega-column a:hover{
  color:#e6007d;
}

/* enlace productos con mega */
.nav-links li:has(> a.has-mega-menu) {
  position: relative;
}


/* mostrar */
.nav-links li:hover .mega-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}


/* ======================================
			  MENU MOBILE
====================================== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor:pointer;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}


/* ======================================
			  MENU FIX
====================================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
	background: transparent;
	margin-left: auto;
	margin-right: 12px;
    color: white;
    font-size: 1.8rem;
	order: 2;
	cursor: pointer;
    transition: transform .2s ease;
  }
  
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
    color: white;
    order: 2;
    cursor: pointer;
    transition: transform .2s ease;
}
  
  .menu-toggle:hover {
	transform: scale(1.1);
   }
  
  .navbar {
    display: flex;
	position:relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .nav-links {
	position: absolute;
    border-radius: 0 0 0 12px;
    box-shadow: -10px 10px 30px rgba(0,0,0,.2);
    display: none;
	
	top:100%;
	max-height:calc(100vh - 78px);
	overflow:auto;
    right:0;
    width:210px;
    background: var(--color-primary);
    flex-direction:column;
    padding:32px 32px 28px;
    gap:10px;
	transform:translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition:.35s ease;
	z-index: 999;
  }
  
  .nav-links.open {
    display: flex;
	transform:translateX(0);
	opacity:1;
    pointer-events:auto;
  }
  
  .nav-links a{
    font-size:0.83rem;
    text-align: center;
  }
  .nav-links li {
    margin-bottom: 1px;
  }
  
  .mega-menu {
    display: none !important;
    position: static;
    opacity: 1;
    transform: none;
    box-shadow: none;
    padding: 10px 0 0;
  }
  
  .mega-menu.mega-open {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* logo */
  .logo-wrapper {
    order: 1;
    flex: 0 0 auto;
  }
  
  .mega-menu{
    display:none !important;
  }
  
}

/* --- CAMBIO: Envuelve el hover del mega menú para que NO afecte a móviles --- */
@media (min-width: 901px) {
    .nav-links li:hover .mega-menu {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
        pointer-events: auto;
    }
}

/* --- Limpieza en la sección móvil (max-width: 900px) --- */
@media (max-width: 900px) {
    /* ... busca donde tienes el .mega-menu y déjalo así ... */
    .mega-menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* =====================================================
   ACCESIBILIDAD
===================================================== */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer{
  background:#f7f7f7cc;
  color:#333;
  font-size:.9rem;
    opacity:0;
  transform:translateY(40px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.16,1,.3,1);
}

.site-footer.footer-visible{
  opacity:1;
  transform:translateY(0);
}

.footer-main{
  padding:40px 0 0;
}

/* GRID */

.footer-grid{
  max-width:1280px;
  margin:auto;

  display:grid;
  grid-template-columns:
    minmax(260px,1.4fr)
    minmax(180px,1fr)
    minmax(180px,1fr)
    minmax(260px,1.3fr);

  gap:60px;
  align-items:flex-start;
  padding: 0 30px 40px;
}

/* COLUMN */

.footer-col{
  display:flex;
  flex-direction:column;
}

.footer-col:first-child{
  padding-right:10px;
}

.footer-logo{
  max-width:180px;
  margin-bottom:18px;
}

.footer-col p{
  margin:8px 0;
  line-height:1.6;
}

.footer-col strong{
  color:#111;
}

/* TITLES */

.footer-col h4{
  font-size:1rem;
  font-weight:700;
  margin-bottom:18px;
  position:relative;
}

.footer-col h4::after{
  content:"";
  width:28px;
  height:3px;
  background:#e6007e;
  display:block;
  margin-top:6px;
  border-radius:3px;
}

/* LINKS */

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-col li{
  margin-bottom:10px;
}

.footer-col a{
  font-size:.9rem;
  color:#555;
  text-decoration:none;
  transition:.25s ease;
}

.footer-col a:hover{
  color:#e6007e;
  transform:translateX(3px);
}

/* =====================================================
   CONTACTO + SOCIAL
===================================================== */

.footer-contact-social{
  display:flex;
  flex-direction:column;
  gap:0px;
}

.footer-cta-text{
  font-size:.95rem;
  line-height:1.5;
  color:#444;
}

/* CTA */

.footer-cta-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin: 15px 0 35px;
}

.footer-cta-actions {
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.footer-btn-primary{
  background:linear-gradient(135deg,#ff008c,#e6007e);
  color:#fff !important;
  padding:12px 28px;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem;
  box-shadow:0 5px 20px rgba(230,0,125,.25);
  transition:.3s ease;
}

.footer-btn-primary:hover{
  transform:translateY(-3px) !important;
  color:#fff !important;
  box-shadow:0 10px 25px rgba(230,0,125,.35);
}

.footer-btn-link{
  font-size:.9rem;
  color:#666;
  transition:.25s ease;
}

.footer-btn-link::after{
  margin-left:6px;
  transition:.3s ease;
}

.footer-btn-link:hover{
  color:#e6007e;
}

.footer-btn-link:hover::after{
  transform:translateX(4px);
}

/* DIVIDER */

.footer-divider{
  height:1px;
  background:rgba(0,0,0,.08);
}

/* SOCIAL */

.footer-social-title{
  font-weight:600;
  margin: 35px 0 0;
}

.footer-social-icons{
  display:flex;
  gap:14px;
  margin-top:15px;
}

.footer-social-icons img{
  width:100%;
  height:35px;
  opacity:.85;
  transition:.25s ease;
}

.footer-social-icons a:hover img{
  opacity:1;
  transform:translateY(-4px) scale(1.08);
}

/* =====================================================
   FEDER
===================================================== */

.footer-feder{
  background:#fff;
  padding:50px 20px 0;
  text-align:center;
}

.feder-box{
  max-width:900px;
  margin:auto auto 0;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.feder-box img{
  max-height:60px;
}

.feder-text{
  max-width:900px;
  margin:auto auto 40px;
  font-weight:600;
  font-size:.85rem;
}

.feder-logos{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.feder-logos img{
  max-height:150px;
  opacity:.9;
  transition:.3s ease;
}

.feder-logos img:hover{
  opacity:1;
  transform:translateY(-4px);
}

/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom{
  background:#fff;
  text-align:center;
}

.footer-institutions{
  padding:40px 20px;
  max-width:1280px;
  margin: 0 auto;
  
}

.footer-institutions img{
  max-height:90px;
  max-width:100%;
}

.footer-bottom p{
  background:linear-gradient(135deg,#ff008c,#e6007e);
  color:#fff;
  padding:20px;
  font-weight:600;
  margin:0;
  font-size:.8rem;
}

.footer-institutions{

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

gap:40px;

max-width:1200px;
margin:auto;
padding:20px;

}

.footer-institutions img{

height:60px;
width:auto;

opacity:.9;
transition:.25s;

}

.footer-institutions img:hover{

opacity:1;
transform:translateY(-2px);

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1100px){

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:50px;
	padding: 0 0 40px 40px;
  }
  .footer-feder{
    padding: 40px 20px 0;  
  }
  .footer-logo{
    margin:0 0 10px 0 ;
	max-width: 210px;
  } 
  
  .footer-contact-social {
	gap:0;  
  }
  .footer-cta-text{
	padding-bottom: 10px;   
  }
}

@media(max-width:700px){

  .footer-grid{
    grid-template-columns:1fr;
    gap:40px;
	padding: 0 0 40px 0;
  }

  .footer-main{
    padding:40px 0 0;
  }

  .footer-logo{
    margin:auto auto 10px ;
	max-width: 210px;
  }

  .footer-col{
    text-align:center;
  }

  .footer-cta-actions{
    justify-content:center;
  }

  .footer-social-icons{
    justify-content:center;
  }

  .feder-box{
    flex-direction:column;
    gap:20px;
  }

  .feder-logos img{
    max-height:110px;
  }
  
  .footer-col h4::after {
    content: "";
    width: 28px;
    height: 3px;
    background: #e6007e;
    display: block;
    margin-top: 6px;
    border-radius: 3px;
	margin: 0 auto;
   }
   
   .footer-feder{
	padding: 35px 30px 0;   
   }
   
   .footer-contact-social {
	gap:0px;   
   }
   
   .footer-cta-text{
	padding-bottom: 10px;   
   }
}


/* HERO LEGAL POLITICAS */

.legal-hero {
  background: linear-gradient(135deg, #e5007e, #ff4fa3);
  color: white;
  padding: 70px 30px;
  text-align: center;
}

.legal-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.legal-hero p {
  opacity: .9;
  font-size: 18px;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

/* CONTENIDO */

.legal-content {
  padding: 50px 20px;
  background: #f8f8f8;
}

.legal-content .container {
  max-width: 900px;
  margin: auto;
}

.legal-content .intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: #444;
}

/* BLOQUES */

.legal-block {
  background: #fff;
  padding: 28px 30px;
  border-radius: 14px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.legal-block h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #222;
}

.legal-block ul {
  padding-left: 20px;
}

.legal-block li {
  margin-bottom: 8px;
  color: #444;
}

.legal-update{
  color:#777;
  font-size:14px;
  margin-bottom:25px;
}


.instituciones-gallery{

display:grid;
grid-template-columns: repeat(2, 1fr);
gap:22px;

margin-top:20px;

}

.gallery-item{

display:block;
border-radius:16px;
overflow:hidden;

box-shadow:0 8px 25px rgba(0,0,0,.08);

transition:.35s ease;

}

.gallery-item img{

width:100%;
height:260px;
object-fit:cover;

transition:.45s ease;

}

.gallery-item:hover{

transform:translateY(-6px);
box-shadow:0 18px 45px rgba(0,0,0,.15);

}

.gallery-item:hover img{

transform:scale(1.05);

}

/* RESPONSIVE */

@media (max-width:768px) {
  .legal-hero h1 {
    font-size: 30px;
  }
  
  .instituciones-gallery{
grid-template-columns: repeat(1, 1fr);
}
}

/* =====================================================
   FLOATING UI
===================================================== */

.floating-ui{
position:fixed;
right:24px;
bottom:24px;
display:flex;
flex-direction:column;
gap:14px;
align-items: center;
z-index:999;
}


/* =====================================================
   BOTÓN SCROLL TOP
===================================================== */

.scroll-top{
width:46px;
height:46px;
border-radius:50%;
border:none;
background:#fff;
cursor:pointer;
display:none;
box-shadow:0 5px 15px rgba(0,0,0,.18);
position:relative;
transition:.25s;
}

.scroll-top:hover{
transform:translateY(-4px);
box-shadow:0 10px 20px rgba(0,0,0,.25);
}

/* flecha */

.scroll-top .arrow{
position:absolute;
top:50%;
left:50%;
width:10px;
height:10px;
border-left:3px solid var(--color-primary);
border-top:3px solid var(--color-primary);
transform:translate(-50%,-30%) rotate(45deg);
}


.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* HEADER */
.cookies-table thead {
  background: linear-gradient(135deg, #e6007e, #ff4fa3);
  color: #fff;
}

.cookies-table th {
  text-align: left;
  padding: 16px;
  font-size: 14px;
  letter-spacing: .4px;
}

/* FILAS */
.cookies-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.cookies-table tr:last-child td {
  border-bottom: none;
}

/* HOVER */
.cookies-table tbody tr {
  transition: all 0.25s ease;
}

.cookies-table tbody tr:hover {
  background: #fafafa;
}

/* TAGS */
.cookie-tag {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.cookie-tag.analytics {
  background: rgba(0,102,255,0.1);
  color: #0066ff;
}

.cookie-tag.required {
  background: rgba(0,200,100,0.12);
  color: #009e5f;
}

/* =====================================================
   COOKIES - VERSIÓN CORREGIDA Y RESPONSIVA
===================================================== */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%; /* Mejor que calc para evitar desbordes */
    max-width: 850px;
    z-index: 10001; /* Un nivel por encima de casi todo */
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none; /* Desactivado cuando está oculto */
}

.cookie-banner.show {
    display: block; /* <--- Se activa solo cuando el JS lo pide */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all; /* Importante para que los clics funcionen */
}

/* CAJA PRINCIPAL */
.cookie-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin-bottom: 4px;
    font-size: 17px;
    color: #111;
}

.cookie-text p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

/* BOTONES */
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* Evita que los botones se encojan */
}

.btn-cookie {
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s ease;
}

.btn-cookie.primary {
    background: linear-gradient(135deg, #e6007e, #ff4fa3);
    color: #fff;
}

.btn-cookie.secondary {
    background: #f0f0f0;
    color: #333;
}

/* =====================================================
   AJUSTES PARA MÓVIL (PANTALLAS PEQUEÑAS)
===================================================== */

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
        width: 94%;
    }

    .cookie-box {
        flex-direction: column; /* Apilamos texto y botones */
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column; /* Botones uno encima del otro */
        gap: 8px;
    }

    .btn-cookie {
        width: 100%; /* Botones de ancho completo para facilitar el clic */
        padding: 14px;
        font-size: 15px; /* Más grande para dedos */
    }
}

/* PANEL CONFIGURACIÓN (MODAL) */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* =====================================================
   REDES
===================================================== */

.floating-social{
position:relative;
align-items: center;
}
.floating-social .open{
position:relative;
align-items: center;
}

.social-links{
display:flex;
flex-direction:column;
gap:10px;
margin-bottom:8px;
}

.social-links a img{
width:34px;
height:34px;
border-radius:50%;
transition:.25s;
box-shadow:0 6px 20px rgba(0,0,0,.18);
}

.social-links a img:hover{
transform:scale(1.1) translateY(-2px);
}


/* botón esconder */

.social-toggle{
width:20px;
height:20px;
border:none;
background:transparent;
font-size:20px;
color:#464646;
cursor:pointer;
margin:auto;
transition:.2s;
}

.social-toggle:hover{
color:#000;
}

.floating-ui{
animation:floatUI 6s ease-in-out infinite;
}

@keyframes floatUI{
0%{transform:translateY(0)}
50%{transform:translateY(-4px)}
100%{transform:translateY(0)}
}



/* MOBILE */
@media (max-width: 768px) {

  .cookies-table thead {
    display: none;
  }

  .cookies-table tr {
    display: block;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  }

  .cookies-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 8px;
    border: none;
    font-size: 13px;
  }

  .cookies-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
  }
}

/* =====================================
   FLOATING SOCIAL RESPONSIVE
===================================== */

/* MENOS de 1300px → cerrado */

@media (max-width:1299px){

.floating-social .social-links{
display:none;
}

}

/* 1300px o más → abierto */

@media (min-width:1300px){

.floating-social .social-links{
display:flex;
}

}

@media (max-width:1299px){
.social-toggle{
font-size:22px;
}
}
/* --- FIX MOBILE: DISABLE GLOBAL ANIMATIONS --- */
@media (max-width: 1024px) {
  .site-footer, .reveal, .cookie-banner, .floating-ui {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
	}
  .logo {
    height: 70px;
    width: 85%;
    margin-top: 25px;
    }
	
    .navbar {
        height: 60px;
        padding: 0 10px;
}
  
}

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

/* IMPORTANTE */
header,
.navbar{
    overflow:visible !important;
}

/* CONTENEDOR */
.menu-item-gtranslate{
    position:relative;
    display:flex;
    align-items:center;
}

/* WRAPPER */
.menu-item-gtranslate > div{
    position:relative !important;
    white-space:normal !important;
}

/* SWITCHER */
.menu-item-gtranslate .gt_float_switcher{
    position:relative !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* BOTÓN ACTIVO */
.menu-item-gtranslate .gt-selected{
    background:#fff;
    border-radius:10px;
    padding:8px 12px !important;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.25s ease;
}

.menu-item-gtranslate .gt-selected:hover{
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.menu-item-gtranslate .gt-current-lang{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:600;
}

/* BANDERAS */
.menu-item-gtranslate img{
    width:20px !important;
    height:14px !important;
    object-fit:cover;
    border-radius:3px;
}

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

@media (min-width:901px){

    .menu-item-gtranslate{
        margin-left:1px;
        flex-shrink:0;
        top: 5px;
    }

    .menu-item-gtranslate .gt-selected{
        background:#fff !important;

        height:42px !important;
        min-height:42px !important;
        width:auto !important;
        min-width:90px !important;

        padding:0 1px !important;

        border-radius:8px !important;

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

        box-shadow:0 4px 12px rgba(0,0,0,.08);
    }

    .menu-item-gtranslate .gt-current-lang{
        display:flex !important;
        align-items:center !important;
        gap:8px !important;

        font-size:14px !important;
        line-height:1 !important;
    }

    .menu-item-gtranslate .gt-current-lang img{
        width:18px !important;
        height:13px !important;
    }

}

@media (min-width:901px){

    .menu-item-gtranslate .gt_options{
        position:fixed !important;

        top:70px !important;
        left:auto !important;

        width:220px !important;

        background:#fff !important;
        border-radius:12px !important;

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

        max-height:500px !important;

        z-index:999999999 !important;

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

}

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

@media (max-width:900px){

    .menu-item-gtranslate{
        width:100%;
        justify-content:center;
        padding-top:15px;
        margin-top:10px;
        border-top:1px solid rgba(255,255,255,.15);
    }

    .menu-item-gtranslate > div{
        width:100%;
    }

    .menu-item-gtranslate .gt_float_switcher{
        width:100% !important;
    }

    .menu-item-gtranslate .gt-selected{
        max-width:180px;
        margin:0 auto;
        border-radius:12px;
    }

    .menu-item-gtranslate .gt_options{
        width:100% !important;
        max-width:280px;
        margin:10px auto 0;

        background:#fff;
        border-radius:14px;

        overflow:auto;
        max-height:250px;

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

    .menu-item-gtranslate .gt_options a{
        display:flex;
        align-items:center;
        gap:12px;

        padding:12px 16px;

        color:#333;
        font-size:12px;
        font-weight:600;

        text-decoration:none;
    }
    
    .menu-item-gtranslate .gt-current-lang{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:600;
}

    .menu-item-gtranslate .gt_options a:hover{
        background:#f7f7f7;
    }
}

@media (max-width: 768px){

.floating-social{
    display:none !important;
}

}