/* --- GOOGLE FONT & VARIABLES --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap");

:root {
  --primary-color: #028a0f;
  --primary-color-dark: #057310;
  --hover-color: rgb(135, 18, 18);
  --text-light: #ffffff;
  --text-dark: #ccc;
  --bg-dark: black;
  --bg-card: #121212;
  --bg-card-hover: #1f1f1f;
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --transition-speed: all 0.3s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 2rem;
}

section .header {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
}

.sub-header {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: var(--text-dark);
}

canvas {
  pointer-events: auto;
  height: 100vh;
  z-index: -1;
  position: fixed;
  top: 0px;
}

/* --- COMPONENTS --- */
.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  color: var(--text-light);
  background-color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-speed);
  display: inline-block;
  border: 2px solid var(--primary-color);
}

.btn:hover {
  background-color: var(--hover-color);
  border-color: var(--hover-color);
}

.btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
}

.blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--primary-color);
  z-index: -100;
}

/* --- NAVIGATION --- */
nav {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  max-width: 120px;
}

/* Busca esta regla existente */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Reduce el gap para compensar el padding */
}

/* Busca esta regla existente */
.link a {
  position: relative;
  padding: 0.25rem 1rem; /* Modifica esta línea */
  padding-bottom: 0.75rem;
  color: var(--text-light);
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition-speed);
}

.link a:hover::after {
  width: 70%;
}

/* --- HEADER --- */
header.container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

header .content .tagline {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

header .content h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
  min-height: 12rem;
}

header .content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--text-light);
  
}

header .content p {
  margin-bottom: 2rem;
}

header .image {
  position: relative;
}

header .image::before {
  content: "o";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38rem;
  font-weight: 400;
  line-height: 20rem;
  color: var(--primary-color);
  opacity: 0.2;
  z-index: -100;
}

header .image img {
  max-width: 600px;
  margin: auto;
}

/* --- SHARED CARD STYLES --- */
.card,
.benefit-card,
.nfc-feature {
  background-color: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  transition: var(--transition-speed);
  padding: 1.5rem;
}

.card:hover,
.benefit-card:hover,
.nfc-feature:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-light);
  transform: translateY(-5px);
}

.benefit-card:hover,
.nfc-feature:hover {
  border-color: var(--primary-color);
}

/* --- SERVICES SECTION --- */
.servicios {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.servicios .card span {
  display: inline-block;
  background-color: var(--primary-color-dark);
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--text-light);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-speed);
}

.servicios .card:hover span {
  background-color: var(--hover-color);
}

.servicios .card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.servicios .card p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.servicios .card a:hover {
  color: var(--hover-color);
}

/* --- PRICES SECTION --- */
.precios {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.precios .card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
}

.precios .card .content {
  flex: 1;
  margin-bottom: 2rem;
}

.precios .card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.precios .card h3 {
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 2px dashed var(--primary-color);
}

.precios .card p {
  margin-bottom: 0.75rem;
}

.precios .card p i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 0.3rem;
  vertical-align: middle;
}

/* --- WEB PACKAGE SECTION --- */
.paquete-web-intro {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.paquete-web-intro .content {
  flex: 1;
}
.paquete-web-intro .video-container {
  flex: 1;
  min-width: 50%;
}

.video-container {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: var(--bg-card);
}

/* Global iframe style */
iframe {
  border: none;
  width: 100%;
}

.video-container iframe {
  height: 315px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background-color: rgba(2, 138, 15, 0.1);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-speed);
}

.feature-item:hover {
  background-color: rgba(2, 138, 15, 0.2);
  transform: translateY(-3px);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  min-width: 40px;
  text-align: center;
}

.feature-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* --- BENEFITS SECTION --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.benefit-card {
  padding: 2rem;
  text-align: center;
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition-speed);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* --- NFC CARD SECTION --- */
.nfc-section {
  margin-top: 2rem;
}
.nfc-container {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  align-items: flex-start;
}
.nfc-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benefits-column {
  gap: 1.5rem;
  justify-content: center;
}
.video-column {
  justify-content: flex-start;
}
.use-cases-column {
  gap: 2rem;
}

.nfc-feature i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.nfc-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.nfc-feature p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nfc-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Agrega este nuevo bloque de código */
.nfc-video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9; /* Asegura que el video sea responsivo */
  border-radius: var(--border-radius-sm);
}

.use-cases-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.use-cases-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.use-cases-list {
  list-style: none;
}
.use-cases-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  align-items: flex-start;
}
.use-cases-list i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.tech-specs {
  background-color: rgba(2, 138, 15, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
}
.specs-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.tech-specs p {
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}
.tech-specs strong {
  color: var(--primary-color);
}

/* --- FOOTER --- */
footer.container {
  padding-top: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

footer .column .logo {
  max-width: 100px;
  margin-bottom: 2rem;
}
footer .column p {
  color: var(--text-dark);
  margin-bottom: 2rem;
}
footer .column .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}
footer .column .socials a {
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  padding: 5px 10px;
  font-size: 1.25rem;
  border-radius: 100%;
  transition: var(--transition-speed);
}
footer .column .socials a:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
footer .column h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}
footer .column > a {
  display: block;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: var(--transition-speed);
}
footer .column > a:hover {
  color: var(--primary-color);
}

.copyright {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  text-align: center;
}
.copyright .author-link {
  font-weight: bold;
  color: var(--primary-color);
}

/* --- ANIMATIONS --- */
.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* --- OFERTA SECTION --- */
.oferta-container {
  margin: 2rem 0 2rem;
}

.oferta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

/* Columna de precios */
.precio-destacado {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.precio-antiguo {
  display: block;
  color: var(--text-dark);
  text-decoration: line-through;
  font-size: 1.2rem;
}

.precio-actual {
  display: block;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.badge-oferta {
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: var(--hover-color);
  color: white;
  padding: 0.3rem 2rem;
  transform: rotate(45deg);
  font-size: 0.8rem;
  width: 120px;
  text-align: center;
}

.detalles-pago {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
}

.detalles-pago h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detalles-pago ul {
  list-style: none;
  margin: 1.5rem 0;
}

.detalles-pago li {
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.detalles-pago i {
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.garantia {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.btn-grande {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
}

/* --- PROYECTOS VIDEO --- */
.proyectos-video {
  margin-top: 3rem;
}

.proyectos-video h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.proyectos-video .video-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.proyectos-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9; /* Makes video responsive */
}

/* ===== TESTIMONIOS - CARRUSEL DE IMÁGENES ===== */
.testimonios-container {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
}

.testimonios-container h3 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

/* Contenedor principal del carrusel */
.testimonios-carrusel {
  position: relative;
  min-height: 500px; /* Ajusta según necesidad */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--bg-card-hover);
}

/* Items del carrusel (imágenes) */
.testimonio-img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonio-img.active {
  opacity: 1;
}

.testimonio-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Cambia a 'cover' si prefieres que llene el espacio */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Controles de navegación */
.controles-carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.control-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-speed);
  padding: 0.5rem;
}

.control-btn:hover {
  transform: scale(1.1);
  color: var(--hover-color);
}

/* Indicadores de puntos */
.puntos {
  display: flex;
  gap: 0.8rem;
}

.punto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-dark);
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition-speed);
}

.punto.activo {
  opacity: 1;
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Reemplaza los estilos del carrusel de marcas con esto: */
.marcas-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
}

.marcas-carrusel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.marcas-container-inner {
  display: flex;
  transition: transform 0.8s ease;
  width: 100%;
}

.marca-item {
  flex: 0 0 25%; /* Por defecto muestra 4 (100%/4) */
  padding: 0 15px;
  box-sizing: border-box;
  transition: all 0.5s ease;
  opacity: 0.6;
  transform: scale(0.9);
}

.marca-item.active {
  opacity: 1;
  transform: scale(1);
}

.marca-item.next,
.marca-item.prev {
  opacity: 0.3;
}

.marca-marco {
  background: white;
  border-radius: 8px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 138, 15, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.marca-marco img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ANTES: contain */
}

/* Controles */
.marcas-controles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.marca-control {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.marca-control:hover {
  background: var(--hover-color);
  transform: scale(1.1);
}

.marcas-puntos {
  display: flex;
  gap: 1rem;
}

.marcas-puntos .punto {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-dark);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.marcas-puntos .punto.activo {
  opacity: 1;
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* --- MEDIA QUERIES --- */
@media (width < 1024px) {
  .nfc-container {
    flex-direction: column;
  }
  .video-column {
    order: -1;
  }
  .nfc-video-container {
    max-width: 600px;
    margin: 0 auto;
  }
  .benefits-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (width < 900px) {
  .nav-links {
    display: none;
  }
  header.container,
  .paquete-web-intro {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  header .image {
    grid-area: 1/1/2/2;
  }
  .servicios,
  .precios,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .paquete-web-intro .video-container {
    width: 100%;
    order: -1;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  footer.container {
    grid-template-columns: 1fr 200px;
  }

  /* === FIX: Stacks the offer grid on smaller screens === */
  .oferta-grid {
    grid-template-columns: 1fr;
  }

  .testimonios-carrusel {
    min-height: 400px;
  }

  .testimonio-img {
    padding: 0.5rem;
  }

  .marca-item {
    flex: 0 0 33.333%; /* Muestra 3 en tablet */
  }
}

@media (width < 600px) {
  header .content h1 {
    line-height: 3rem;
    min-height: 12rem;
  }
  header .image::before {
    display: none;
  }
  .servicios,
  .precios,
  .benefits-grid,
  .benefits-column {
    grid-template-columns: 1fr;
  }
  footer.container {
    grid-template-columns: 1fr 150px;
  }
  .video-container iframe {
    height: 250px;
  }
  .paquete-web-intro .header {
    font-size: 2rem;
  }

  .testimonios-carrusel {
    min-height: 350px;
  }

  .control-btn {
    font-size: 1.2rem;
  }

  .punto {
    width: 8px;
    height: 8px;
  }

  .marca-item {
    flex: 0 0 50%; /* Muestra 2 en móvil */
  }
}

@media (max-width: 768px) {
  .marcas-carrusel {
    height: 150px;
  }

  .marca-control {
    width: 35px;
    height: 35px;
  }
}

/* --- ESTILO PARA EFECTO DE TECLEO --- */
#texto-dinamico::after {
  content: '|';
  margin-left: 5px;
  opacity: 1;
  animation: blink-cursor 1s infinite;
}

@keyframes blink-cursor {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

#texto-dinamico {
  -webkit-text-fill-color: white;
}

.contact-form {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  flex: 1 1 calc(50% - 1.5rem); /* Ocupa 50% en dos columnas */
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex-basis: 100%; /* Ocupa 100% del ancho */
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--bg-card);
  border: 2px solid var(--text-dark);
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px -2px var(--primary-color);
}

.form-group textarea {
  resize: vertical;
}

.form-group button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: var(--border-radius-sm);
}

/* Ajuste para pantallas pequeñas */
@media (width < 600px) {
  .form-group {
    flex-basis: 100%; /* Una columna en móviles */
  }
}

/* ====================================================== */
/* ===== ESTILOS PARA FACHADA DE VIDEO OPTIMIZADA ===== */
/* ====================================================== */

.video-container-fachada {
  position: relative;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Para que sea responsivo */
  background-color: #000;
}

.video-container-fachada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-container-fachada:hover img {
  transform: scale(1.05);
}

.video-container-fachada .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(2, 138, 15, 0.8); /* Color primario con transparencia */
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: background-color 0.3s ease;
  pointer-events: none; /* Para que no interfiera con el clic */
}

.video-container-fachada:hover .play-button {
  background-color: var(--primary-color);
}

/* ====================================================== */
/* ===== ESTILOS PARA PANTALLA COMPLETA DE VIDEOS ===== */
/* ====================================================== */

body.video-open {
  overflow: hidden;
}

.video-fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.video-fullscreen-iframe {
  width: 100%;
  height: 80%;
  max-width: 1200px;
  border: none;
  border-radius: 8px;
}

.video-fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-fullscreen-close:hover {
  transform: scale(1.2);
  color: var(--primary-color);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .video-fullscreen-iframe {
    height: 60%;
  }
  
  .video-fullscreen-close {
    top: 10px;
    right: 10px;
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .video-fullscreen-iframe {
    height: 50%;
    width: 95%;
  }
  
  /* Forzar orientación horizontal en móviles */
  @media screen and (orientation: portrait) {
    .video-fullscreen-container {
      flex-direction: row;
    }
  }
}