/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* BODY y MAIN para footer sticky */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
}

main {
  flex: 1; /* ocupa todo el espacio disponible entre header y footer */
}

/* =====================HEADER===================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;

  border-bottom: 1px solid rgba(227, 140, 160, 0.35);
  box-shadow: 0 6px 14px rgba(227, 140, 160, 0.25);

  display: flex;
  align-items: center;
  justify-content: center;
  gap:10%;
  padding: 18px 40px;
}

/* Contenedor izquierdo (logo) */
.header-column-left {
  display: flex;
  align-items: center;
}

/* Logo */
.header-column-left .logo {
  max-height: 100px;
  width: auto;
}

/* Contenedor derecho (menú desktop) */
.header-column-right {
  display: flex;
  align-items: center;
}

/* MENÚ DESKTOP (PC GRANDE) */

.desktop-menu {
  display: block;
}

.desktop-menu .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu .menu a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  position: relative;
}

/* Hover elegante */
.desktop-menu .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #e38ca0;
  transition: width 0.3s ease;
}

.desktop-menu .menu a:hover::after {
  width: 100%;
}

/*BOTÓN HAMBURGUESA */

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* MENÚ MODAL MÓVIL */

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.97);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding-left: 30px;

  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.menu-modal.active {
  transform: translateY(0);
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Lista móvil */
.menu-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.menu-mobile div{
    text-align: center;
  }

.menu-mobile li {
  margin-top: 18px;
  margin-bottom: 18px;
  margin-left: 30%;
}

.menu-mobile a {
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #333;
}

.menu-mobile a img {
    max-width: 300px;
  }
/* BREAKPOINT INTERMEDIO (1400px → 768px)*/

@media (max-width: 1400px) and (min-width: 769px) {
  .header {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  .header-column-left,
  .header-column-right {
    justify-content: center;
  }

  .desktop-menu .menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
  }

  .header-column-left .logo {
    max-height: 90px;
  }
}

/* BREAKPOINT MÓVIL (<768px)*/

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header {
    flex-direction: row;
    padding: 14px 16px;
  }

  .header-column-left .logo {
    max-height: 52px;
  }

  .menu-mobile a {
    font-size: 1.25rem;
  }
  
}
@media (max-width: 599px) {
.menu-mobile li {
  margin-left: 15%;
}
}

/*-----------------------FOOTER--------------------------------*/
.footer {
  background-color: rgba(227, 140, 160, 0.158);
  padding: 30px 5%;
  color: #333;
  position: relative;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  font-family: 'Montserrat', sans-serif;
  border-top: 0px solid rgba(227, 140, 160, 0.35);
  box-shadow: 0 -6px 24px rgba(227, 140, 160, 0.25);
}


/* Fila de columnas */
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid rgba(227, 140, 160, 0.35);
}

/* Cada columna */
.footer-column {
  flex: 1;
  min-width: 300px;
  text-align: center;
  
}

.footer-column h3 {
  margin-bottom: 10px;
  color: #e38ca0;
}

.footer-column a {
  display: block;
  color: #628bd6;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #000;
}

/* Redes sociales */
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: center;
}

.footer-socials a svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.footer-socials a:hover svg {
  transform: scale(1.2);
}

/* Kit Digital */
.kit-digital {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.kit-digital img {
  max-width: 500px;
  height: auto;
  width: 100%;
}

/* Copyright */
.footer-copy {
  font-size: 14px;
  padding-top: 20px;
  color: #555;
  border-top: 1px solid rgba(227, 140, 160, 0.35);
  
}

.footer-copy a {
  color: #628bd6;
  text-decoration: none;
}

.footer-copy a:hover {
  color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer {
    padding: 30px 5%;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    text-align: center;
  }
}



/********************** BOTÓN WHATSAPP FLOTANTE************************/
.whatsapp-button {
  position: fixed;
  bottom: 30px;  
  right: 30px;   
  width: 60px;
  height: 60px;
  background-color: #29A71A; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button img {
  width: 55px;
  height: 55px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  
}

/* ===============================
   TRADUCTOR FLOTANTE (G)
   =============================== */

/* CONTENEDOR FLOTANTE */
#translate-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-family: inherit;
}

/* Contenedor de Google */
#google_translate_element {
  cursor: pointer;
  font-size: 0; /* Oculta texto */
}

/* Ajustar select desplegable (aunque no se vea) */
.goog-te-combo {
  font-size: 0.95rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: white;
  color: #000;
}

/* Ocultar textos y logos */
.goog-te-gadget span:not(.goog-te-combo) {
  display: none !important;
}

/* Quitar barra superior de Google */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* 🔴 ICONO PERSONALIZADO*/
.goog-te-gadget-icon {
  background-image: url('../img/mundo-translate.png') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 70px !important;
  height: 70px !important;
  display: inline-block !important;
}

/* Evita que Google meta imágenes internas */
.goog-te-gadget-icon img {
  display: none !important;
}

/* Limpieza visual */
.goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}


/**********************************MODAL cookies *************************************/
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cookie-modal-content {
  background: #fff;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cookie-modal-content h3 {
  margin-bottom: 15px;
}

.cookie-modal-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.cookie-modal-content a {
  color: #0066cc;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background-color: #F5C1CA;
  color: black;
  font-weight: bold;
}

.cookie-btn.reject {
  background-color: #dc3545;
  color: #fff;
  font-weight: bold;
}


