/* RESET + FUENTE MODERNA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

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

/* NAVBAR */

 .navbar {
  background: linear-gradient(
    43deg, 
    #004a6d 0%,     /* azul oscuro izquierda */
    #004a6d 15%,    /* fin de la primera franja */
    #ffffff 15%,    /* blanco en el medio */
    #ffffff 85%,    /* fin del blanco */
    #006790 85%,    /* azul más claro a la derecha */
    #006790 100%    /* fin */
  );
  padding: 20px 20px 10px;
  text-align: center;
  /*position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /*transition: all 0.4s ease;*/
}


.logo-img {
  height: 120px;
  max-width: 80%;
  margin-bottom: 0px;
  margin-bottom: 10px;
}

.sicalum {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  margin-bottom: 23px;
  color: #003366;
}

.menu-toggle {
  display: none;
  margin: 10px auto 0 auto;
  font-size: 30px;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
}

.menu-toggle.active::before {
  content: '✖'; /* Ícono de X */
  font-size: 30px;
  color: #003366;
}

.menu-toggle::before {
  content: '☰'; /* Ícono hamburguesa por defecto */
  font-size: 30px;
  color: #003366;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 200px;
  flex-wrap: wrap;
  margin-top: 0px;
}

.menu a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  font-size: 18px;
}

.menu a:hover {
  transform: scale(1.05);
}

/* ======== MENÚ FLOTANTE ======== */
.floating-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(43deg, #004a6d 0%, #004a6d 15%, #ffffff 15%, #ffffff 85%, #006790 85%, #006790 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
  z-index: 9999;
}

.floating-menu.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAV DESKTOP */
.floating-nav {
  display: flex;
  gap: 200px;
}

/* ENLACES */
.floating-nav a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  font-size: 18px;
}

.floating-nav a:hover {
  transform: scale(1.05);
}

/* BOTÓN HAMBURGUESA (OCULTO EN ESCRITORIO) */
.floating-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: #003366;
  cursor: pointer;
  margin-right: 20px;
}

.floating-toggle::before {
  content: "☰";
}

.floating-toggle.active::before {
  content: "✖";
}

/* CARRUSEL DE IMÁGENES */


.carousel-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.carousel-images {
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-img.active {
  opacity: 1;
}

/* TEXTO SUPERPUESTO */
.video-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .navbar {
    position: relative;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    gap: 20px;
    z-index: 1000;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .video-overlay {
    font-size: 1.7rem;
    top: 20px;
    left: 20px;
  }


.floating-menu {
    justify-content: flex-end;
    padding: 10px 20px;
  }

  .floating-nav {
    display: none; /* 🔥 cerrado por defecto */
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    gap: 20px;
    z-index: 1000;
  }

  .floating-toggle {
    margin: 0 auto;
  }

  .floating-nav.active {
    display: flex; /* 🔥 se muestra al hacer clic */
  }

  .floating-toggle {
    display: block; /* 🔥 aparece solo en móvil */
  }
}

/* FASE 3 - SECCIÓN DE INFORMACIÓN + BOTONES */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 30px;
  max-width: 1200px;
  margin: auto;
}

.info-text {
  flex: 1 1 100%;
  min-width: 0px;
  max-width: 100%;
  box-sizing: border-box;
}

.info-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 15px;
}

.info-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.info-buttons {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0px;
  max-width: 100%;
  box-sizing: border-box;
}

.info-btn {
  background-color: #003366;
  color: white;
  text-decoration: none;
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.info-btn:hover {
  background-color: #002244;
  transform: scale(1.02);
}

/* Responsive ajustes para info-section */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    align-items: center;
    text-align: center; 
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

.info-text, .info-buttons {
    width: 100%;
    box-sizing: border-box;
  }

  .info-buttons {
    width: 100%;
  }
}

/* FASE 4: PRODUCTOS - DISEÑO HORIZONTAL */
.productos {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.productos-titulo {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
}

.producto-fila {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 60px;
  flex-wrap: wrap;
}

.producto-img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.producto-texto {
  max-width: 400px;
  text-align: left;
}

.producto-texto h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}

.producto-texto p {
  font-size: 16px;
  color: #333;
}

.productos a {
  text-decoration: none;
}

.exposicion p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

/* FASE 5 - SECCIÓN DE MARCAS */
.brands-section {
  padding: 20px 20px;
  background-color: #ffffff;
  text-align: center;
}

.brands-section h2{
  font-size: 2rem;
  color: #003366;
  margin-bottom: 40px;
}

.brands-title {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 40px;
  font-weight: 600;
}

.brands-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 150px;
  align-items: center;
}

.brands-logos a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.brands-logos a:hover {
  transform: scale(1.1);
}

.brands-logos img {
  max-height: 80px;
  width: auto;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

.brands-logos a:hover img {
  filter: grayscale(0%);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .brands-logos {
    gap: 40px;
  }

  .brands-logos img {
    max-height: 60px;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .brands-logos {
    gap: 80px;
  }

  .brands-logos img {
    max-height: 60px;
  }
}


/* FASE 6 - SERVICIOS */
.servicios-section {
  padding: 20px 20px;
  background-color: #ffffff;
  text-align: center;
}

.servicios-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 40px;
}

.servicios-contenedor {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.servicio {
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
}

.servicio img {
  width: 80px;
  margin-bottom: 20px;
}

.servicio h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}

.servicio p {
  font-size: 0.95rem;
  color: #333333;
}

/* RESPONSIVE - Servicios */
@media (max-width: 768px) {
  .servicios-contenedor {
    flex-direction: column;
    align-items: center;
  }
}

/* FASE 7 - MAPA + CONTACTO */
.contacto-mapa-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  background-color: #ffffff;
  box-sizing: border-box;
  overflow-x: hidden;
  margin-top: 30px;
}

.mapa {
  flex: 1 1 500px;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.contacto {
  background-color: #ffffff;
  padding: 0px 20px;
  text-align: center;
  flex: 1 1 500px;
  min-height: 400px;
  max-width: 100%;
  box-sizing: border-box;
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #003366;
}

.formulario-contacto {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
  box-sizing: border-box;
}

.formulario-contacto textarea {
  resize: vertical;
  min-height: 120px;
}

.formulario-contacto button {
  padding: 12px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.formulario-contacto button:hover {
  background-color: #002244;
  transform: scale(1.02);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .contacto-mapa-section {
    flex-direction: column;
  }

  .mapa,
  .contacto {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/* Estilo general de la sección */
section.contacto {
  background-color: #ffffff; /* Color claro suave */
  padding: 3rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* NUEVA SECCIÓN FINAL DE CONTACTO */

.contacto-extra {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  background-color: #ffffff;
  border-radius: 1rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Columna de botones */
.contacto-botones {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1 1;
  text-align: center;
  padding-left: 60px;
  padding-right: 60px;
}

/* Botones */
.boton-contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 100%;
  max-width: 100%;
}

.boton-contacto:hover {
  transform: scale(1.02);
}

.whatsapp {
  background-color: rgb(37, 201, 102);
}

.telefono {
  background-color: #003366;
}

/* Columna de texto */
.contacto-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  flex: 1;
  color: #333;
  font-size: 2rem;
}

.contacto-info h1 {
  margin: 0;
  max-width: 300px;
  font-size: 2rem;
  color: #003366;
}

.contacto-info h2 {
  margin: 0;
  max-width: 300px;
  font-size: 2rem;
  color: #003366;
}

.contacto-info p {
  margin: 0;
  max-width: 400px;
  font-size: 1rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .contacto-extra {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contacto-botones,
  .contacto-info {
    width: 100%;
  }
}

/*RESEÑAS*/
.reseñas h1 {
  font-size: 2rem;
  color: #003366;  
  text-align: center;
  margin-bottom: 15px;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.review-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.review-header .name {
    font-weight: bold;
}

.review-stars {
    color: gold;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    line-height: 1.4;
}

****************************************************************************************************************
/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 1.8em;
    }

    .review-card {
        width: 45%;
    }
}

/* Smartphones grandes (480px - 767px) */
@media (max-width: 767px) {
    h1 {
        font-size: 1.6em;
    }

    .review-card {
        width: 90%;
    }
}

/* Smartphones pequeños (menos de 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.4em;
    }

    .review-card {
        width: 100%;
        padding: 10px;
    }

    .review-header img {
        width: 35px;
        height: 35px;
    }

    .review-text {
        font-size: 13px;
    }
}
*/


/*FONDOS PLACAS SOLARES*/

.fondos-next {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
  overflow-x: hidden;
}

.fondos-next-container {
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Intro */
.intro {
  font-size: 18px;
  margin-bottom: 30px;
}



.fondos-next-container h1 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 30px;
}

/* Cabecera con logos */
.fondos-header {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.fondos-header img {
  max-height: 80px;
}

.logo-eu {
  flex-shrink: 0;
}

.fondos-next-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fondos-next-logos img {
  max-height: 100px;
  height: auto;
}

.header-titulo {
  flex-grow: 1;
  text-align: center;
}

.header-titulo h2 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.header-titulo p {
  font-size: 15px;
  margin: 5px 0;
}

.hashtag {
  color: #0056b3;
  font-weight: bold;
  margin-top: 10px;
}

/* Detalles */
.fondos-detalles {
  text-align: left;
  max-width: 700px;
  margin: 0 auto 30px;
}

.fondos-detalles p {
  margin: 5px 0;
}

/* Logos inferiores */
.fondos-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fondos-logos img {
  height: 50px;
  object-fit: contain;
}

/* Escalado proporcional en pantallas pequeñas */
@media screen and (max-width: 1100px) {
  .fondos-next-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

/* ======= Footer ======= */
.footer {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #ccc;
}

.footer-links,
.footer-contact,
.footer-hours {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

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

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact p,
.footer-hours p {
  font-size: 0.9rem;
  margin: 6px 0;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}
