/* Asegura que el html y body ocupen toda la altura de la pantalla */
html, body {
    height: 100%;
    margin: 0;
  }

body{
    font-family: Manrope, Sans Sherif;
    line-height: 1.6;
    letter-spacing: -0.03em;
}

/* El contenedor principal usa flexbox y ocupa toda la altura */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ocupa al menos toda la altura de la pantalla */
    background: linear-gradient(
        to bottom,
        rgba(254, 254, 254, 1), /* #fefefe */
        rgba(249, 243, 250, 1)  /* #f9f3fa */
    );
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Asegura que cubra toda la altura y el ancho */
}
  
/* El contenido principal se expande */
.wrapper > *:not(footer) {
    flex: 1;
}

header{
    background-color: #fefefe;
    border-bottom: 2px ;
    width: 100%;
    z-index: 1060;
}
@media (min-width: 990px) {
    main{
        padding-top: 10px;
    }
    }
    @media (max-width: 991px) {
        main{
            padding-top: 80px;
        }
    }
@media (max-width: 991px) {
    #nav-bar-nav{
        position: fixed;
        top: 10;
        right: 0;
        left: 0;
        z-index: 1030;
        background-color: #fefefe;
        box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.12), 0 0.063rem 0.125rem rgba(0, 0, 0, 0.14);
    }
}

.banner-top{
    position:relative;
    width: 100%;
    height: 45px;
    padding-top:10px;
    color:#fefefe;
    justify-content: center;
    background: linear-gradient(135deg, #672483, #951b80);
    transition: top 0.3s ease-in-out;
}

.nav-main{
    height:50px;
    padding: 0;
}

.nav-link {
    color: #2c113b !important;
}

.nav-link:hover{
    color: #57004e !important;
}


.text-link{
    color: #57004e !important;
    text-decoration: underline;
}

.text-link:hover{
    color: #951b80 !important;
    text-decoration: underline;
}

#logo{
    margin-top:-3px;
    height: 30px;
    width:130px;
}

/* --- Estilos para el nuevo selector de idioma --- */

.lang-toggle-button {
    /* Reseteo de estilos de Bootstrap */
    padding: 0;
    color: #951b80;
    background-color: #fefdfe;
    border: 1px solid #951b80;
    box-shadow: none !important;

    /* Estilos de la píldora */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem; /* 40px */
    
    /* === AJUSTE DE PADDING Y GAP === */
    padding-left: 0.75rem; /* 12px */
    padding-right: 0.75rem; /* 12px */
    gap: 0.5rem; /* 8px de espacio entre iconos y texto */
    
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

/* Efectos hover y focus */
.lang-toggle-button:hover,
.lang-toggle-button:focus {
    background-color: #951b80;
    color: #fefdfe;
}

/* === NUEVOS ESTILOS PARA LOS ICONOS === */
.lang-toggle-icon {
    flex-shrink: 0; /* Evita que los iconos se encojan si no hay espacio */
    color: inherit; /* Color gris tenue para los iconos, como el de la región */
}

/* Estilo para la flecha, para poder darle transiciones si quieres */
.lang-toggle-arrow {
    transition: transform 0.2s ease-in-out;
}

/* Rotar la flecha cuando el menú está abierto (Bootstrap añade la clase 'show') */
.lang-dropdown.show .lang-toggle-arrow {
    transform: rotate(180deg);
}

/* Contenedor del texto dentro del botón */
.lang-toggle-text {
    display: flex;
    align-items: baseline;
    gap: 0.3em;
}

/* Texto principal (ej. "español") */
.lang-toggle-main {
   /* Hereda el color blanco del botón padre */
    color: inherit; /* Color principal */
}

/* Texto secundario (ej. "España") */
.lang-toggle-region {
    /* Hereda el color blanco del botón padre */
    color: inherit;
    opacity: 0.9;
    font-size: 0.9em;
}

/* Ocultamos la flecha por defecto de Bootstrap */
.lang-toggle-button::after {
    display: none;
}

/* Contenedor principal del menú desplegable */
.lang-dropdown .lang-dropdown-menu {
    min-width: 232px; /* Ancho mínimo */
    background-color: #951b80cc; /* Fondo semitransparente */
    backdrop-filter: blur(12px); /* Efecto de desenfoque del fondo */
    -webkit-backdrop-filter: blur(12px); /* Para Safari */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil */
    border-radius: 8px; /* Esquinas redondeadas */
    padding: 6px; /* Espaciado interior */
    margin-top: 8px !important; /* Separación del botón */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

/* Estilos para cada elemento del menú */
.lang-dropdown-menu .lang-dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px 8px 36px; /* Padding: top right bottom left (más espacio a la izq para el check) */
    background-color: transparent;
    border: none;
    color: #e5e7eb; /* Color de texto claro (gris-blanco) */
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    text-align: left;
}

/* Efecto hover/focus para los elementos */
.lang-dropdown-menu .lang-dropdown-item:hover,
.lang-dropdown-menu .lang-dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff; /* Texto más brillante al pasar el ratón */
}

/* Contenedor del icono de check */
.lang-dropdown-item .lang-item-check {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #ffffff;
}

/* Contenedor del texto (idioma + región) */
.lang-dropdown-item .lang-item-text {
    display: flex;
    align-items: baseline; /* Alinea los textos por su base */
    gap: 0.5em; /* Espacio entre idioma y región */
}

/* Estilo para el nombre del idioma principal */
.lang-dropdown-item .lang-item-main {
    font-weight: 500;
}

/* Estilo para el nombre de la región (más tenue) */
.lang-dropdown-item .lang-item-region {
    font-size: 0.9em;
    color: #fafafa; /* Color gris más tenue */
}

/* Elimina el fondo azul de Bootstrap en el item activo, ya que usamos el check */
.lang-dropdown-menu .lang-dropdown-item.active {
    background-color: transparent;
    color: #ffffff; /* El texto del activo es blanco puro */
}

.lang-dropdown-menu .lang-dropdown-item.active:hover,
.lang-dropdown-menu .lang-dropdown-item.active:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Para que el botón del formulario ocupe todo el espacio del <li> */
.lang-dropdown-menu li {
    padding: 0;
    margin: 0;
}

/* Ajustes para el botón principal que abre el menú */
.lang-dropdown .lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
    box-shadow: none !important;
}

.main-header{
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    line-height: 3.5rem;
    letter-spacing: -.05em;
    margin-bottom: 0;
}

#small-box{
    text-align: left;
    background-color: #f5f4f9;
    border-radius: 20px;
    padding: 20px;
}


#small-box h1{
    text-align: left;
    font-size: 24px;
    margin-top: 20px;
}

.main-icon{
    height: 48px;
    width:48px;
    padding: 0;
}

.presentation-container  {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.vulpix-btn{
    font-weight: 500;
    width: 200px;
    margin-bottom: 15px;
}

.vulpix-btn-lg{
    font-weight: 500;
    max-width: 200px;
}

#device{
    margin-top: 15px;
}

.button-group{
    margin-top: 30px;
    padding: 20px;
}

/* Estilo para el botón oscuro */
.btn-dark-purple {
    background-color: #951b80; /* Color morado */
    color: white;
    border: none;
    border-radius: 8px;
    margin-right: 10px;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .btn-dark-purple:hover {
    background-color: #57004e; /* Más oscuro en hover */
    color: white;
  }
  
  /* Estilo para el botón con borde */
  .btn-outline-purple {
    background-color: transparent;
    color: #951b80;
    border: 2px solid #951b80;
    border-radius: 8px;
    margin-right: 10px;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .btn-outline-purple:hover {
    background-color: #951b80; /* Relleno morado en hover */
    color: #fefefe;
  }

.our-team-container{
    border-radius: 20px;
    padding: 20px;
    background-color: #fefefe;
    box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.14);
}

#carousel-paragraph{
    padding-left: 15px;
    height: auto;
    min-height: 120px;
}

.que-es-vulpix{
    padding: 20px;
    border-radius: 20px;
    background-color: #fefefe;
    color: #2c113b;
}

.que-es-vulpix h4{
    font-size: 18px;
    line-height: 34px;
}

.photo{
    border-radius: 20px;
}

footer{
    background: linear-gradient(135deg, #672483, #951b80);
    color: #ffb1d5;
    padding-bottom: 30px;
    padding-top: 65px;
}


footer a{
    color: #ffb1d5;
    text-decoration: none;
    transition: color 0.1s ease-out;
}

footer a:hover {
    color: #ff1884;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 48px;
  height: 48px;
  background-color: #ff52a3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-in-out;
}

.footer-social-icon:hover {
  background-color: #ff1884;
}

.footer-social-icon svg {
  width: 24px;
  height: 24px;
}

.footer-social-icon path {
  fill: #ffffff;
}

.material-symbols-sharp {
    vertical-align: middle;
    position: relative;
    top: -1px; /* Ajusta este valor según necesites */
}
 
@media (min-width: 768px){
    #subfooter-privacy{
        text-align: right;
    }
}

/* Estilo para navegadores WebKit (Chrome, Safari) */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 35px; /* Espacio para el icono */
  }
  
  /* Ajuste específico para Firefox */
  select::-ms-expand {
    display: none;
  }
  
  select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
  }