/* ===============================
   RESETEO BÁSICO
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  overflow: hidden; /* se hace scroll en main */
  scroll-behavior: smooth;
}

/* ===============================
   VIDEO DE FONDO
=============================== */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
}
.video-bg iframe {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
}

/* NUEVA SECCIÓN: IMAGEN DE FONDO */
.image-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -12;
  overflow: hidden;
}
.image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAPA SEMITRANSPARENTE */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9;
}

							

/* BARRA SUPERIOR */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.top-bar .contact-info {
  display: flex;
  gap: 20px;
}

/* HEADER + MENÚ */
.header-menu {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0,0,0,0.2);
  padding: 0 20px;
}
.nav-right ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-right ul li a {
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.02em;
  padding: 5px;
  position: relative;
}

/* ANIMACIONES (Imágenes) */
.hex-container {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 55;
  width: 1000px;
  height: 1000px;
  pointer-events: none;
  overflow: visible;
}
.hex-left, .hex-right {
  position: absolute;
  transform-origin: center center;
}
.hex-left img, .hex-right img {
  width: 450px;
  height: auto;
  object-fit: cover;
}

/* MAIN (contenedor scroll) */
main {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 100;
  overflow-y: scroll;
  top: 140px; /* 40px top-bar + 100px header */
  height: calc(100% - 140px);
}
main::-webkit-scrollbar {
  width: 8px;
}
main::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 4px;
}

/* SECCIONES => centrado vertical, alineado izq */
.panel {
  max-width: 1600px;
  margin: 0 auto;
  min-height: 70vh;         
  display: flex;
  align-items: center;      
  justify-content: flex-start; 
  padding: 2rem;
  box-sizing: border-box;
}
.left-content {
  max-width: 600px;
  text-align: left;
}
.section-buttons {
  margin-top: 20px;
}
.section-button {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
}
.section-button:hover {
  opacity: 0.8;
}

/* FOOTER / CONTACTO */
.site-footer {
  position: relative;
  z-index: 101;
  width: 100%;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  gap: 4rem;
  width: 80%;
  margin: 0 auto;
  align-items: flex-start;
}
.footer-left {
  flex: 1;
  max-width: 600px;
}
.footer-left h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.footer-left p {
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-map iframe {
  border: none;
  display: block;
}
.footer-form {
  width: 350px;
  border-radius: 4px;
}
.footer-form h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.footer-form p {
  margin-bottom: 1rem;
}
.footer-form form {
  display: flex;
  flex-direction: column;
}
.footer-form form label {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.footer-form .label-text {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.footer-form input,
.footer-form textarea {
  padding: 0.5rem;
  border-radius: 3px;
  border: 1px solid #ccc;
  color: #333;
  font-size: 1rem;
}
.footer-form button {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

/* BOTÓN "VOLVER ARRIBA" */
.back-to-top {
  position: fixed;
  bottom: 175px;   /* antes estaba en 120px, lo bajamos a que quede justo encima del WhatsApp */
  right: 28px;
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
.back-to-top:hover {
  background-color: rgba(255,255,255,0.5);
}

/* BANNER DE COOKIES */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  z-index: 1000;
}
.cookie-banner p {
  margin-right: 1rem;
  font-weight: 400;
  max-width: 70%;
  line-height: 1.4;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}
.cookie-banner button:hover {
  opacity: 0.9;
}

/* BURBUJA WHATSAPP */
.whatsapp-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}
.whatsapp-bubble img {
  width: 64px;
  height: auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  border-radius: 50%;
}

/* Para ocultar algo hasta cookies aceptadas */
.hidden {
  display: none !important;
}
/* === Evitar solape reCAPTCHA vs WhatsApp (ESCRITORIO) === */
/* Mover la badge de reCAPTCHA a la ESQUINA INFERIOR IZQUIERDA */
.grecaptcha-badge {
  bottom: 18px !important;
  z-index: 9998 !important; /* por si acaso */
}

/* Subir un poco el WhatsApp para no coincidir con la badge */
.whatsapp-bubble {
  bottom: 90px; /* antes: 20px */
  right: 20px;
}

