/* ============================
   ESTILOS HEADER TAURONI 
   Tipografía Montserrat, subrayado bandera italiana, transparencia, layout perfecto
============================ */

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Header fijo con degradado y transparencia elegante */
.he1 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to left, rgba(243, 242, 244, 0.85) 60%, rgba(248, 249, 251, 0.85));
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Contenedor del header */
.he2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem; /* más compacto */
  box-sizing: border-box;
}

/* Logo */
.he3-img {
  height: 42px;
  width: auto;
  transition: transform 0.3s ease;
}

.he3-img:hover {
  transform: scale(1.05);
}

/* Navegación escritorio */
.he4 {
  display: flex;
}

.he5.nav-lista {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.he5-link {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.he5-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #008c45 33.3%, #f4f5f0 33.3%, #f4f5f0 66.6%, #cd212a 66.6%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.he5-link:hover::after {
  transform: scaleX(1);
}

.he5-link:hover,
.he5-link:focus {
  color: #1a1a1a;
}

.destacado {
  color: #007aff;
  font-weight: 700;
}

/* Enlace contacto: sin botón */
.btn-cta {
  background: none;
  padding: 0.5rem 0.8rem;
  border-radius: 0;
  color: #1a1a1a;
  box-shadow: none;
  font-weight: 500;
  text-decoration: none;
}

.btn-cta:hover {
  color: #cd212a;
  background: none;
  transform: none;
}

/* Idioma con icono escritorio */
.header__idiomas {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.header__lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: #007aff;
  display: flex;
  align-items: center;
}

.header__lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 160px;
  overflow: hidden;
  z-index: 1000;
  padding: 0;
}

.header__lang-menu li {
  list-style: none;
  border-bottom: 1px solid #f0f0f0;
}

.header__lang-menu li:last-child {
  border-bottom: none;
}

.header__lang-menu li a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.header__lang-menu li a:hover {
  background: #f9f9f9;
  color: #cd212a;
}

.header__idiomas:hover .header__lang-menu {
  display: block;
}

/* Icono Instagram */
.btn-instagram {
  font-size: 1.3rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.btn-instagram:hover {
  transform: scale(1.2);
}

/* Menú hamburguesa */
.he6.menu-movil {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.he6-linea {
  width: 26px;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menú desplegable móvil */
.he7.menu-movil-desplegable {
  display: none;
  flex-direction: column;
  background: #ffffff;
  position: fixed;
  top: 80px;
  width: 100%;
  left: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding-bottom: 1rem;
}

.he7.menu-movil-desplegable.activo {
  display: flex;
}

.he7-lista {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
}

.he7-lista li {
  padding: 1rem 0;
  border-bottom: 1px solid #eaeaea;
}

.he7-lista li:last-child {
  border-bottom: none;
}

.he7-lista li a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.he7-lista li a:hover {
  color: #cd212a;
}

/* Banderas idiomas en móvil */
.header__flags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.header__flags a {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.header__flags a:hover {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 960px) {
  .he4.nav-principal {
    display: none;
  }

  .he6.menu-movil {
    display: flex;
  }

  .he7.menu-movil-desplegable {
    display: none;
  }

  .he7.menu-movil-desplegable.activo {
    display: flex;
  }
}





/* ======================================= */
/* Footer profesional - versión .footer__ */
/* ======================================= */

.footer {
  background: linear-gradient(to top, #f2f4f8, #ffffff);
  padding: 2rem 2rem 2rem;
  border-top: 1px solid #ddd;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.footer__contenido {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer__contacto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer__titulo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #cd212a;
}

.footer__subtitulo {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.footer__texto {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.footer__lista {
  padding: 0;
  margin: 0;
}

.footer__link {
  color: #444;
  display: inline-block;
  margin-bottom: 0.2rem;
  position: relative;
  transition: color 0.3s ease;
  list-style: none;
  text-decoration: none;
}

.footer__link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(
    to right,
    #008c45 33.3%,
    #f4f5f0 33.3%,
    #f4f5f0 66.6%,
    #cd212a 66.6%
  );
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: #1a1a1a;
}

.footer__link:hover::after {
  width: 100%;
}

.footer__copyright {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #999;
}

.footer__legal {
  margin-top: 2rem;
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.footer__legal-lista {
  display: inline-flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer__nav li,
.footer__info li,
.footer__contacto li,
.footer__lista li {
  list-style: none;
  /*margin: 0;*/
  /*padding: 0;*/
}

@media (max-width: 960px) {
  .footer__contenido {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__nav,
  .footer__contacto {
    align-items: center;
  }

  .footer__link::after {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .footer__contenido {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .footer__legal-lista {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    gap: 0.8rem;
  }

  .footer__legal-lista li {
    width: 100%;
  }

  .footer__legal-lista li a {
    display: inline-block;
    width: 100%;
    padding: 0.4rem 0;
  }
}


/* ================================
   Animaciones JS globales
   ================================ */

/* Fade-in por scroll */
.oculto {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover suave en botones y enlaces destacados */
.hover-activo {
  filter: brightness(1.05);
  transform: scale(1.02);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Ocultar header al hacer scroll hacia abajo */
/* .oculto-scroll {
  transform: translateY(-100%);
  transition: transform 0.4s ease;
} */

header {
  transition: transform 0.4s ease;
  will-change: transform;
}