/* Texto blanco solo en la sección Sobre Nosotros */
#sobre-nosotros p {
  color: #fff;
  font-size: 20px; /* Ajusta el tamaño de fuente según sea necesario */
  line-height: 1.6; /* Mejora la legibilidad */
}

/* === COLLAGE ANIMADO COMO FONDO EN HEADER === */
.collage-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, #F4F6FC 0%, #8B8383 100%);
}
.collage-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  transition: none;
  will-change: transform;
  height: 100%;
}
.collage-track img {
  width: 380px;
  height: 380px;
  border-radius: 24px;
  object-fit: cover;
  border: 6px solid #B79347;
  box-shadow: 0 12px 48px #B7934722, 0 2px 32px #8B838344;
  background: #F4F6FC;
  opacity: 0.18;
  filter: blur(0.5px);
  aspect-ratio: 1/1;
  transition: border 0.3s, box-shadow 0.3s;
}
.header-content {
  position: relative;
  z-index: 2;
}
.hero {
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .collage-track img {
    width: 180px;
    height: 180px;
  }
}

/* COLLAGE DE CLIENTES - IMÁGENES GRANDES Y NORMALES */
.collage-clientes-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: none;
  z-index: 1;
  pointer-events: auto;
}
.collage-clientes-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: none;
  will-change: transform;
  height: 100%;
}
.collage-clientes-track img {
  width: 340px;
  height: 260px;
  border-radius: 18px;
  object-fit: contain;
  border: 3px solid #957C3D;
  box-shadow: 0 6px 24px #B7934722, 0 2px 16px #8B838344;
  background: #fff;
  opacity: 1;
  filter: none;
  aspect-ratio: 1/1;
  transition: border 0.3s, box-shadow 0.3s;
}
@media (max-width: 600px) {
  .collage-clientes-track img {
    width: 90px;
    height: 70px;
  }
  h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.3rem !important;
  }
  h2 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }
  h3 {
    font-size: 1rem !important;
    margin-bottom: 0.7rem !important;
  }
  p, ul, li, td, th, label, input, textarea, button, span {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  section {
    padding: 1.2rem 0.5rem !important;
    border-radius: 10px !important;
    margin-bottom: 1.2rem !important;
  }
  .card {
    padding: 0.7rem !important;
    width: 98% !important;
    font-size: 0.95rem !important;
  }
  .card img {
    width: 70px !important;
    height: 70px !important;
  }
  nav a {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
  }
  .video-player video {
    height: 140px !important;
    max-width: 100vw !important;
  }
  .video-thumb {
    width: 56px !important;
    height: 32px !important;
  }
  footer {
    font-size: 0.9rem !important;
    padding: 1rem !important;
    border-radius: 0 0 10px 10px !important;
  }
  }
/* COLLAGE DE CLIENTES - IMÁGENES GRANDES Y NORMALES */

/* === SECCIÓN DE VIDEOS === */
/* === SECCIÓN DE VIDEOS MEJORADA === */
#videos {
  margin-top: 3rem;
  text-align: center;
}
.video-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.video-player {
  margin-bottom: 1.5rem;
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,212,255,0.10);
  padding: 1.5rem 1rem 1rem 1rem;
  max-width: 800px;
  width: 100%;
}
.video-player video {
  width: 100%;
  max-width: 760px;
  height: 430px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  outline: 2px solid #00d4ff;
}
.video-thumbnails {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.video-thumb {
  width: 140px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #00d4ff;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  background: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.video-thumb:hover, .video-thumb.active {
  transform: scale(1.08);
  border-color: #ff8800;
  z-index: 2;
}

@media (max-width: 900px) {
  .video-player video {
    height: 260px;
    max-width: 100vw;
  }
  .video-thumb {
    width: 90px;
    height: 50px;
  }
}
/* styles.css */

/* Importa una fuente decorativa para los títulos con estilo manuscrito */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* === ESTILO GENERAL DEL CUERPO === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fuente principal */
  background: linear-gradient(135deg, #050A30 0%, #8B8383 100%);
  color: #050A30;
  line-height: 1.6;
  scroll-behavior: smooth; /* Desplazamiento suave al hacer scroll */
}

/* === ENCABEZADO (header) === */
header {
  background: linear-gradient(120deg, #002349 0%, #fff 100%);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 32px #957C3D44, 0 2px 16px #00234944;
  position: relative;
}

header h1 {
  font-size: 5rem;
  color: #957C3D;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px #fff8;
}

header p {
  background: none;
  color: #fff;
  box-shadow: none;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.header-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 16px #957C3D44;
  margin-bottom: 1.2rem;
  border: 4px solid #957C3D;
}

/* === BARRA DE NAVEGACIÓN === */
nav {
  background: #002349;
  text-align: center;
  padding: 1.2rem 0 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(30,203,225,0.08);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* Se adapta si no entra en una sola línea */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  background: transparent;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
  padding: 0.7rem 2.2rem;
  border-radius: 8px;
  box-shadow: none;
}
nav a:hover {
  color: #002349;
  background: #957C3D;
  box-shadow: 0 2px 16px #957C3D44;
}

/* === SECCIONES GENERALES === */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: justify;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(30,203,225,0.06);
  margin-bottom: 2.5rem;
  transition: background 0.5s ease;
}

/* Títulos de secciones */
h2 {
  text-align: center;
  color: #957C3D;
  margin-bottom: 2rem;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* === EFECTO DESTACADO AL HACER SCROLL === */
.highlight {
  background: rgba(0, 212, 255, 0.05);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

/* === CONTENEDOR Y ESTILO DE TARJETAS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: #fff;
  border: 1px solid #957C3D;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px #00234944;
}

.card:hover {
  transform: scale(1.05); /* Efecto zoom */
  box-shadow: 0 0 20px #957C3Dcc;
}

.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #002349;
  box-shadow: 0 2px 12px #957C3D22;
  outline: 2px solid #957C3D;
}

.card ul {
  list-style: disc inside;
  text-align: left;
  padding-left: 0.5rem;
  margin: 1.2rem 0 0.5rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.card ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* === EFECTO DE APARICIÓN CON SCROLL === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PIE DE PÁGINA === */
footer {
  background: #002349;
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 24px #B7934744;
}


/* === SERVICIOS Y BENEFICIOS === */
#servicios ul,
#beneficios ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  list-style: disc inside;
  font-size: 1.1rem;
  line-height: 1.7;
}

#servicios ul li,
#beneficios ul li {
  margin-bottom: 0.5rem;
}

#servicios img,
#beneficios img {
  width: 30%;
  height: auto;
  margin: 0.5rem;
  border-radius: 8px;
  object-fit: cover;
  display: inline-block;
  vertical-align: top;
}

#servicios,
#beneficios {
  text-align: justify;
}

/* === PRODUCTOS EN TABLA === */
#productos table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #957C3D;
  word-wrap: break-word;
}

#productos td {
  vertical-align: top;
  width: 50%;
  padding: 1rem;
  border: 1px solid #957C3D;
  overflow-wrap: break-word;
}

#productos img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px #00234944;
  display: block;
  margin: 0 auto;
}

/* === FORMULARIO DE CONTACTO === */
form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #00234944;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  border: 4px solid #957C3D;
  margin: 0 auto;
  align-items: stretch;
}

#contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
}
input, textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 1.5px solid #957C3D;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

button {
  background: #957C3D;
  color: #fff;
  font-weight: bold;
  padding: 1rem;
  border-radius: 8px;
  border: 2px solid #957C3D;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border 0.3s;
}
button:hover {
  background: #002349;
  color: #fff;
  border: 2px solid #957C3D;

/* === MEDIA QUERIES PARA RESPONSIVE DESIGN === */

/* TABLETS Y PORTÁTILES PEQUEÑOS */
@media (max-width: 1024px) {
  header h1 {
    font-size: 4rem;
  }

  header p {
    font-size: 2.5rem;
  }

  nav a {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .card {
    width: 90%;
    margin: 1rem auto;
  }

  #productos td {
    display: block;
    width: 100%;
  }

  #productos img {
    max-width: 100%;
  }

  section {
    padding: 2rem 1rem;
  }
}

/* CELULARES EN HORIZONTAL O PANTALLAS MEDIANAS */
@media (max-width: 768px) {
  form {
    max-width: 100%;
  }
  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1.8rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .card-container {
    display: block;
  }

  .card {
    margin-bottom: 2rem;
    width: 95%;
    max-width: 400px;
  }

  .card ul {
    font-size: 1rem;
    padding-left: 0.5rem;
  }

  table {
    display: block;
    overflow-x: auto; /* Scroll horizontal si es necesario */
  }
}

/* CELULARES EN VERTICAL */
@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 1rem;
    padding: 0.5rem;
  }

  input, textarea, button {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  #productos td {
    padding: 0.5rem;
  }
}}