/* --- VARIABLES GLOBALES (Ajustadas a tu marca) --- */
:root {
  --font-title: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --logo-red: #d32f2f; /* El rojo característico de Veluxo */
  --white: #ffffff;
}

/* --- RESET GENERAL --- */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #1a1c20;
  font-family: var(--font-body);
}

/* --- CONTENEDOR HERO PRINCIPAL --- */
.teaser-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  box-sizing: border-box;
}

/* --- CONTENEDOR DEL VIDEO / FONDO DE RESPALDO --- */
.teaser-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("../imagenes/cover_01.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.teaser-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(26, 28, 32, 0.7) 100%
  );
}

/* --- ESTRUCTURA DE CONTENIDO (CENTRADOS) --- */
.teaser-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.teaser-logo {
  max-width: 320px;
  width: 100%;
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: center;
}

.teaser-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.teaser-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teaser-badge {
  font-family: var(--font-title);
  color: var(--logo-red);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
  text-align: center;
}

.teaser-content h1 {
  color: #ffffff !important;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  max-width: 100%;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.9),
    0 2px 5px rgba(0, 0, 0, 0.9) !important;
}

.teaser-content p {
  color: #ddd;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

/* --- CAJA DE ASISTENCIA --- */
.teaser-form-box {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--logo-red);
  backdrop-filter: blur(5px);
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teaser-form-box h3 {
  color: #ffffff !important;
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin: 0 auto 1.25rem auto;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-shadow:
    0 4px 15px rgba(0, 0, 0, 0.9),
    0 2px 5px rgba(0, 0, 0, 0.9) !important;
}

.teaser-call-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.teaser-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: var(--logo-red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.teaser-phone {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  width: 100%;
}

.teaser-phone strong {
  color: var(--logo-red);
}

/* --- MEDIA QUERY ÚNICO PARA MÓVILES (Control de simetría) --- */
@media (max-width: 768px) {
  .teaser-hero {
    padding: 1.5rem 1rem;
  }

  /* Apaga el video físico para que no consuma datos */
  .teaser-video video {
    display: none !important;
  }

  /* Muestra la gráfica pequeña de fondo perfectamente adaptada */
  .teaser-video {
    background-image: url("../imagenes/cover_chico.jpg") !important;
    background-position: center center;
  }

  .teaser-logo {
    max-width: 240px;
    margin-bottom: 1.5rem;
  }

  .teaser-content h1 {
    font-size: 1.85rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .teaser-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }

  .teaser-form-box {
    padding: 1.75rem 1.2rem;
    max-width: 340px;
  }
}
