/* ============================
   RESET GENERAL
   ============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Incluye padding y border en el ancho total */
}

/* ============================
   HTML Y BODY
   ============================ */

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Poppins', Arial, sans-serif; /* Poppins como principal */
  color: #fff;
  background: #000;
}
/* ============================
   LINKS
   ============================ */

a {
  color: inherit; /* Hereda el color de su contenedor */
  text-decoration: none; /* Quita subrayado por defecto */
}

/* ============================
   VIDEO BACKGROUND
   ============================ */

.video-background {
  position: relative;
  height: 100vh; /* Ocupa el alto completo del viewport */
  overflow: hidden; /* Esconde overflow del video */
}

/* Estilos del video para cubrir toda la pantalla */

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%); /* Centrado perfecto */
  object-fit: cover; /* Recorta el exceso y mantiene proporción */
}

/* Overlay oscuro encima del video para contraste */

.video-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* subido de 0.4 a 0.5 para mayor contraste */
  z-index: 0; /* Debajo del contenido */
}

/* ============================
   HERO CONTENT (TEXTO SOBRE VIDEO)
   ============================ */

.hero-content {
  position: relative;
  z-index: 1; /* Encima del overlay */
  text-align: left;
  top: 30%; /* Posición vertical (ajustada para subirlo) */
  padding-left: 5%; /* Separación del borde izquierdo */
}

/* ============================
   H1 EN HERO
   ============================ */

.hero-content h1 {
  font-size: 2.5rem; /* Tamaño grande pero elegante */
  font-weight: bold;
  color: #004e92; /* Azul agua branding */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* sombra para legibilidad */
}

/* ============================
   PARRAFO EN HERO
   ============================ */

.hero-content p {
  font-size: 2.5rem; /* subido de 2rem a 2.5rem */
  margin: 1rem 0;
  max-width: 700px; /* ligeramente más ancho para respiración visual */
  line-height: 1.4;
  color: #f5f5f5;
  font-weight: 700; /* más negrita */
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8); /* sombra más fuerte */
  letter-spacing: 1px; /* más separación entre letras para elegancia */
}


/* ============================
   BOTONES (CTA)
   ============================ */

.btn-group {
  margin-top: 1.5rem; /* Separación superior respecto al texto */
}

/* Estilos generales del botón */

.cta-btn {
  display: inline-block;
  background: #fff; /* Fondo blanco */
  color: #000; /* Texto negro */
  padding: 0.8rem 1.5rem; /* Relleno vertical y horizontal */
  border-radius: 50px; /* Bordes redondeados pill shape */
  font-weight: bold;
  transition: 0.3s; /* Transición suave para hover */
  margin-right: 1rem; /* Separación entre botones */
}

/* Hover de los botones normales */

.cta-btn:hover {
  background: #000;
  color: #fff;
  border: 2px solid #fff;
}

/* Botón especial COMPRAR con color de marca */

.cta-btn.comprar {
  background: #004e92; /* Azul agua branding */
  color: #fff;
}

/* Hover del botón COMPRAR */

.cta-btn.comprar:hover {
  background: #008cb2; /* Azul más oscuro en hover */
  border: none;
}

/* ============================
   RESPONSIVE (MOBILE)
   ============================ */

@media (max-width: 768px) {
  .hero-content {
    top: 20%; /* Subido más en móviles */
    padding-left: 3%; /* Menor padding en mobile */
  }

  .hero-content p {
    font-size: 1.5rem; /* Más pequeño en mobile para ajuste visual */
  }
}

/* ============================
   TARJETAS DE PRODUCTO
   ============================ */

.cards-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
  background: #111; /* Fondo oscuro para contraste */
}

.card {
  background: #222;
  border-radius: 15px;
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.card i {
  font-size: 3rem;
  color: #004e92; /* Azul agua branding */
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.4;
}

/* Hover effect premium */

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}
/* ============================
   BREAK SECTION (FOTO + CTA)
   ============================ */

.break-section {
  background: url('../img/servicios/5.png') center center / cover no-repeat; /* sustituye 'tu-foto-turquesa.jpg' por el nombre real */
  position: relative;
  padding: 6rem 5%;
  text-align: center;
}

.break-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2); /* overlay claro para contraste y luminosidad */
  z-index: 0;
}

.break-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: #000; /* texto oscuro sobre overlay claro */
}

.break-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.break-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.break-btn {
  background: #004e92; /* azul agua branding */
  color: #fff;
}

.break-btn:hover {
  background: #008cb2;
}

/* ============================
   VIDEOS SECTION
   ============================ */

.videos-section {
  background: #f5f5f5; /* fondo claro premium */
  padding: 4rem 5%;
  text-align: center;
}

.videos-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #222; /* negro suave */
}

.videos-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #555; /* gris oscuro elegante */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.videos-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.videos-grid iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.videos-grid iframe:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ============================
   INCLUDES SECTION
   ============================ */

.includes-section {
  background: #eee; /* fondo neutro claro */
  padding: 4rem 5%;
  text-align: center;
}

.includes-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
  color: #222;
}

.includes-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.include-item {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.include-item i {
  font-size: 2.5rem;
  color: #004e92;
  margin-bottom: 1rem;
}

.include-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.include-item p {
  font-size: 1rem;
  color: #555;
}

.include-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================
   FINAL CTA SECTION
   ============================ */

.final-cta-section {
  background: #004e92; /* azul branding */
  padding: 4rem 5%;
  text-align: center;
  color: #fff;
}

.final-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.final-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-btn {
  display: inline-block;
  background: #fff;
  color: #004e92;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
}

.final-btn:hover {
  background: #008cb2;
  color: #fff;
}
