/* 
* POSMOVI RESTAURANTE Landing Page Styles
* Autor: POSMOVI Team
* Versión: 1.1 - Optimizado
*/

/* ========== CRITICAL CSS INLINE (para First Contentful Paint) ========== */
:root {
  /* Paleta de colores */
  --color-primary: #1a1a2e;
  --color-secondary: #1f1f3d;
  --color-accent: #ff6b6b;
  --color-accent-secondary: #4285f4;
  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-input-bg: #2a2a4a;
  --color-input-border: #2e2e5a;

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Sombras */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);

  /* Bordes */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 15px;
  --border-radius-round: 50%;

  /* Accesibilidad - Mejora del contraste */
  --focus-color: #4d90fe;
  --focus-outline: 3px solid var(--focus-color);
  --focus-ring-offset: 2px;
}

/* ========== RESET Y ESTILOS BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mejora de accesibilidad para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Raleway", sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-text);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: bold;
}

.skip-to-content:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-normal);
}

a:hover,
a:focus {
  color: var(--color-accent);
}

a:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

button:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlight {
  color: var(--color-accent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ========== HEADER & NAVEGACIÓN ========== */
.navbar {
  background-color: var(--color-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  position: relative;
  background-color: var(--color-primary);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(5deg);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a.active {
  color: var(--color-accent);
  font-weight: 600;
}

.whatsapp-navlink i {
  font-size: 20px;
  color: #25D366;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-navlink i:hover {
  transform: scale(1.2);
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
  .whatsapp-navlink i {
    font-size: 30px;
  }
}


.mobile-menu-btn {
  display: none;
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 10px;
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 1001;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-text);
  margin: 6px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ========== RESPONSIVE MENU ===== */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    z-index: -1;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 4rem 0 2rem;
    /* Espacio para el navbar */
    text-align: center;
    transition: all 0.3s ease-in-out;
    z-index: 998;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    display: block;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ========== MAIN CONTAINER ========== */
.main-container {
  padding: 0.5rem 0;
  background-color: var(--color-secondary);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  min-height: 720px;
}

/* ========== CARRUSEL PRINCIPAL ========== */
.carousel-container {
  flex: 3.5;
  width: 100%;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  background-color: #000;
  box-shadow: var(--shadow-lg);
  height: 720px;
  order: 1;
  /* Establecer orden por defecto para desktop */
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.95);
  z-index: 1;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.carousel-slide.active {
  opacity: 1 !important;
  transform: scale(1);
  z-index: 2;
  display: flex !important;
  visibility: visible !important;
}

/* Clases para compatibilidad móvil */
.mobile-visible,
.mobile-ready {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.mobile-visible.active {
  z-index: 5 !important;
}

.carousel-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1 !important;
}

.slide-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
}

.carousel-content {
  position: relative;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.85));
  color: white;
  z-index: 5;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.48, 1.2) 0.1s;
}

.carousel-slide:not(.active) .carousel-title {
  transform: translateY(20px);
}

.carousel-description {
  font-size: 1.1rem;
  max-width: 80%;
  opacity: 0.9;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.48, 1.2) 0.2s, opacity 0.5s ease 0.2s;
}

.carousel-slide:not(.active) .carousel-description {
  transform: translateY(20px);
  opacity: 0;
}

/* Navegación del carrusel */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  opacity: 0.7;
  border: none;
}

.carousel-nav:hover {
  background-color: var(--color-accent-secondary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Indicadores del carrusel */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-round);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.indicator.active {
  background-color: var(--color-accent);
  transform: scale(1.2);
}

/* ========== CONTENEDOR DEL FORMULARIO ========== */
.form-container {
  flex: 3;
  min-width: 300px;
  padding: 3rem;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 720px;
  overflow-y: auto;
  justify-content: space-between;
  order: 2;
  /* Establecer orden por defecto para desktop */
}

.form-title {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
  position: relative;
}

.form-title .highlight {
  position: relative;
  color: var(--color-accent);
  font-weight: bold;
}

.form-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Contenedor para los campos del formulario */
.form-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 1rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .validation-message {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 0.85rem;
  color: #ff4d4d;
  display: block;
  white-space: nowrap;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid var(--color-input-border);
  background-color: var(--color-input-bg);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  font-size: 1rem;
  transition: all var(--transition-normal);
  height: 54px;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}

.form-control:focus+.input-icon,
.form-control:not(:placeholder-shown)+.input-icon {
  color: var(--color-accent-secondary);
}

/* Contenedor para el botón */
.form-actions {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
}

.submit-btn {
  padding: 14px 30px;
  background-color: var(--color-accent-secondary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  cursor: pointer;
  width: auto;
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
  background-color: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/************************* Configuración para intl-tel-input **************************/
.iti {
  width: 100% !important;
}

.iti__country-list {
  background-color: var(--color-secondary) !important;
  color: var(--color-text) !important;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-input-border);
}

.iti__country {
  color: var(--color-text);
  padding: 8px 10px;
}

.iti__country:hover,
.iti__country:focus {
  background-color: var(--color-accent-secondary);
  color: var(--color-text);
}

.iti__search-input {
  background-color: var(--color-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-input-border);
  padding: 8px;
  border-radius: var(--border-radius-md);
}

.iti__search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.iti__search-input:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}

/* Ajuste del input para que coincida con el formulario */
.phone-input-container {
  width: 100%;
}

.phone-input {
  width: 100% !important;
  height: 54px;
  padding-left: 50px;
  background-color: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

/* ========== MEDIA QUERIES PARA RESPONSIVIDAD ========== */
@media (max-width: 1200px) {
  .hero-content {
    gap: 1.5rem;
  }

  .carousel-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {

  .carousel-container,
  .form-container {
    height: 680px;
  }

  .hero-content {
    min-height: 680px;
  }

  .carousel-title {
    font-size: 2rem;
  }

  .form-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .form-group {
    margin-bottom: 2rem;
  }

  .form-control,
  .phone-input {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    min-height: auto;
  }

  .carousel-container,
  .form-container {
    width: 100%;
  }

  /* Cambiar el orden: formulario primero, carrusel después */
  .form-container {
    order: 1;
    /* Formulario primero en móvil */
    height: auto;
    padding: 2rem;
    margin-bottom: 1.5rem;
    /* Añadir espacio entre formulario y carrusel */
  }

  .carousel-container {
    order: 2;
    /* Carrusel después en móvil */
    height: 480px !important;
    min-height: 480px !important;
    max-height: none !important;
    overflow: hidden !important;
    background-color: #000 !important;
  }

  .carousel-slide {
    height: 480px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background-color: #000 !important;
  }

  .carousel-slide.active {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .carousel-slide img {
    height: 480px !important;
    min-height: 480px !important;
    max-height: none !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .carousel-content {
    position: relative !important;
    z-index: 5 !important;
    padding: 2rem !important;
  }

  .form-fields {
    justify-content: flex-start;
  }

  .form-group {
    margin-bottom: 1.8rem;
  }

  .carousel-title {
    font-size: 1.8rem;
  }

  .carousel-description {
    font-size: 1rem;
    max-width: 95%;
  }

  .form-actions {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .main-container {
    padding: 2rem 0;
  }

  /* Ajustes para móviles pequeños */
  .form-container {
    padding: 1.5rem;
    margin-bottom: 1rem;
    /* Ajustar espacio para móviles pequeños */
  }

  .carousel-container {
    height: 350px !important;
    min-height: 350px !important;
  }

  .carousel-slide {
    height: 350px !important;
  }

  .carousel-slide img {
    height: 350px !important;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-content {
    padding: 1.5rem;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
  }

  .form-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .form-control,
  .phone-input {
    height: 48px;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

/* Ajustes específicos para dispositivos con muy poca altura */
@media (max-height: 500px) {

  .carousel-container,
  .form-container {
    height: 400px !important;
  }

  .carousel-slide,
  .carousel-slide.active,
  .carousel-slide img {
    height: 400px !important;
  }

  .carousel-content {
    padding: 1rem !important;
  }
}

/* ========== CARACTERÍSTICAS ========== */
.features-section {
  padding: 5rem 0;
  background-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
}

/* Aplica estilos a la clase personalizada, no reemplaza el ícono base de FA */
.fa-users-features {
  margin-left: 2px !important;
  /* Espacio después del check icon */
  margin-right: 10px !important;
  /* Espacio entre el ícono y el texto */
  width: 18px !important;
  /* Ancho fijo para alinear mejor */
  text-align: center !important;
  /* Centrar ícono dentro de su espacio */
  display: inline-block !important;
  /* Garantizar que se comporte como bloque en línea */
  color: var(--color-accent) !important;
  /* Color personalizado */
  vertical-align: middle !important;
  /* Alineación vertical con el texto */
  position: relative !important;
  left: 0px !important;
  top: 3px !important;
}

.fa-users::before {
  margin-right: 1rem;
  top: 3px;
  position: relative;
}

.fa-user::before {
  margin-right: 1rem;
  top: 3px;
  position: relative;
}
/* Ajuste para el contenedor principal - AUMENTA ANCHO */
.container {
  width: 100%;
  max-width: 1800px !important;
  /* Aumentado significativamente para ocupar más ancho */
  margin: 0 auto;
  padding: 0 2rem;
  /* Paddings laterales reducidos */
}

/* Elemento decorativo de fondo */
.features-section::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(66, 133, 244, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}

/* Header de sección con efecto de gradiente */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Título con gradiente */
.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  background-image: linear-gradient(135deg, #ff6b6b 0%, #4285f4 100%);
  background-size: 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  padding: 0 1.5rem;
}

/* Línea decorativa expandida */
.line-shape {
  width: 22%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 20%, var(--color-accent) 80%, transparent);
  margin: 0 auto 1.8rem;
  border-radius: 2px;
  position: relative;
  max-width: 350px;
  transition: max-width 0.3s ease;
}

/* Línea decorativa que se ajusta al ancho del texto */
.section-header h2+.line-shape {
  max-width: calc(100% - 2rem);
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contenedor principal de showcase con columnas - AJUSTADO PARA MAYOR ANCHO */
.features-showcase {
  display: grid;
  grid-template-columns: 42% 55%;
  /* Proporción ajustada para más ancho */
  gap: 3%;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  max-width: 1800px;
  /* Aumentado considerablemente */
  margin-left: auto;
  margin-right: auto;
}

/* Columna de imagen principal */
.features-main-column {
  position: relative;
  height: 100%;
  width: 100%;
}

/* Imagen principal que abarca toda la altura */
.features-main-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 600px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.3s ease;
}

.features-main-image.visible {
  transform: translateY(0);
  opacity: 1;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.features-main-image:hover .main-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.7) 50%, transparent 100%);
  color: var(--color-text);
}

.image-overlay h3 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.image-overlay p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 90%;
}

/* Columna de características destacadas */
.features-highlights-column {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  width: 100%;
  position: relative;
}

.features-highlights-column.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Tarjetas de características destacadas */
.feature-highlight-card {
  display: flex;
  background: rgba(42, 42, 74, 0.5);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  height: 135px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-highlight-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Iconos de características - AJUSTADO PARA MEJOR POSICIONAMIENTO */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.15);
  color: var(--color-accent);
  font-size: 1.3rem;
  margin: 1.2rem;
  margin-top: 1.2rem;
  margin-right: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.2);
  margin-top: 5%;
}

.feature-highlight-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(255, 107, 107, 0.25);
}

/* Textos de características - AJUSTADO PARA SALTOS DE LÍNEA */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 1.5rem;
  flex-grow: 1;
  width: 45%;
  z-index: 2;
}

.feature-text h4 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.7rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Imágenes en tarjetas de características - MEJORADO */
.feature-highlight-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;
}

.feature-highlight-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(42, 42, 74, 0.95) 5%, rgba(42, 42, 74, 0.7) 30%, rgba(42, 42, 74, 0.4) 100%);
  z-index: 1;
}

.feature-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-highlight-card:hover .feature-highlight-image img {
  transform: scale(1.15);
}

/* Estilos para el título animado - MEJORADO PARA SALTOS DE LÍNEA */
.animated-title-container {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.animated-title {
  font-size: 2.2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
  max-width: 800px;
  /* Modificado para controlar mejor los saltos de línea */
  margin: 0 auto;
  padding: 0.8rem 0;
  line-height: 1.5;
  overflow: hidden;
  font-weight: 600;
  width: 90%;
  /* Mejoras para control de texto */
  word-wrap: break-word;
  white-space: normal;
  /* Permite saltos de línea automáticos */
  hyphens: auto;
  /* Permite guiones para separar palabras si es necesario */
  text-align: center;
}

/* Estilos para cada letra individual */
.animated-title .letter {
  display: inline-block;
  transition: color 0.5s ease, background-position 0.5s ease;
  color: #ffffff;
}

/* Estilo para las letras resaltadas cuando pasa el orbe */
.animated-title .letter.highlight {
  color: transparent;
  background-image: linear-gradient(135deg, #ff6b6b 0%, #4285f4 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

/* Modificación del orbe */
.animated-title-orb {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b 0%, #4285f4 100%);
  box-shadow: 0 0 20px 8px rgba(255, 107, 107, 0.3);
  filter: blur(6px);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

/* CTA final */
.features-cta {
  text-align: center;
  background: rgba(42, 42, 74, 0.7);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  backdrop-filter: blur(10px);
  max-width: 1600px;
  /* Aumentado para ocupar más ancho */
  margin: 0 auto;
}

.features-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.features-cta h3 {
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.features-cta p {
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  max-width: 1000px;
  /* Aumentado para mayor ancho */
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b6b 0%, #4285f4 100%);
  color: var(--color-text);
  padding: 1.2rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.cta-button i {
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(255, 107, 107, 0.5);
}

.cta-button:hover i {
  transform: translateX(8px);
}

/* Efecto para el pulse en dispositivos móviles */
@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.5);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    transform: scale(1);
  }
}

.highlight-pulse {
  animation: highlightPulse 0.8s ease-out;
}

/* Responsive ajustes */
@media (min-width: 1601px) {
  .container {
    max-width: 1800px !important;
  }

  .features-showcase {
    max-width: 1800px;
  }

  .animated-title {
    max-width: 1000px;
    /* Ajustado para mejor control en pantallas grandes */
    font-size: 2.5rem;
  }

  .features-cta {
    max-width: 1700px;
  }
}

@media (min-width: 1400px) and (max-width: 1600px) {
  .container {
    max-width: 1600px !important;
  }

  .features-showcase {
    max-width: 1600px;
    margin: 0 auto 6rem;
  }

  .section-header {
    margin-bottom: 6rem;
  }

  .section-header h2 {
    font-size: 3.6rem;
  }

  .line-shape {
    max-width: 400px;
    height: 5px;
  }

  .feature-highlight-card {
    height: 150px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .feature-text h4 {
    font-size: 1.3rem;
  }

  .feature-text p {
    font-size: 1rem;
  }

  .features-main-image {
    min-height: 700px;
  }

  .animated-title {
    font-size: 2.5rem;
    max-width: 900px;
    /* Ajustado para asegurar saltos de línea adecuados */
    padding: 1rem 0;
  }

  .animated-title-container {
    margin-bottom: 5rem;
    padding: 3rem 0;
  }

  .animated-title-orb {
    width: 28px;
    height: 28px;
    filter: blur(7px);
    box-shadow: 0 0 25px 10px rgba(255, 107, 107, 0.3);
  }

  .features-cta {
    padding: 5rem;
    max-width: 1500px;
  }

  .features-cta h3 {
    font-size: 2.6rem;
  }

  .features-cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }

  .cta-button {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 1399px) {
  .container {
    max-width: 1300px !important;
  }

  .features-showcase {
    max-width: 1300px;
  }

  .animated-title {
    max-width: 800px;
    /* Ajustado para controlar saltos de línea */
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 95% !important;
    width: 95%;
  }

  .features-showcase {
    max-width: 100%;
  }

  .features-main-image {
    min-height: 550px;
  }

  .animated-title {
    font-size: 2rem;
    max-width: 700px;
    /* Ajustado para forzar el salto después de "con" */
  }
}

@media (max-width: 992px) {
  .section-header {
    margin-bottom: 4rem;
  }

  .section-header h2 {
    font-size: 2.6rem;
  }

  .line-shape {
    max-width: 280px;
  }

  .features-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-main-image {
    height: 500px;
    min-height: auto;
  }

  .features-main-column,
  .features-highlights-column {
    width: 100%;
  }

  .features-highlights-column {
    gap: 1.5rem;
  }

  .feature-highlight-card {
    height: 130px;
  }

  .animated-title {
    font-size: 1.8rem;
    max-width: 550px;
    /* Ajustado para control de saltos */
  }

  .animated-title-container {
    margin-bottom: 3rem;
    padding: 2rem 0;
  }

  .animated-title-orb {
    width: 20px;
    height: 20px;
    filter: blur(5px);
  }

  .features-cta {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .line-shape {
    max-width: 220px;
    height: 3px;
  }

  .feature-highlight-card {
    flex-direction: column;
    height: auto;
    padding-bottom: 1.5rem;
  }

  .feature-highlight-card:active {
    transform: scale(0.98);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(52, 52, 84, 0.6);
  }

  .feature-icon {
    margin: 1.2rem auto -1.3rem;
  }

  .feature-text {
    width: 100%;
    text-align: center;
    padding: 0 1.5rem 1.5rem;
  }

  .feature-text h4 {
    white-space: normal;
    /* Permite saltos de línea en dispositivos pequeños */
  }

  .feature-text p br {
    display: none;
    /* Oculta los saltos de línea manuales en móviles */
  }

  .feature-highlight-image {
    position: relative;
    width: 100%;
    height: 180px;
    order: -1;
  }

  .feature-highlight-image::after {
    background: linear-gradient(to top, rgba(42, 42, 74, 0.95), rgba(42, 42, 74, 0.3));
  }

  /* Feedback visual para mostrar que la tarjeta es tocable */
  .feature-highlight-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }

  .feature-highlight-card:active::after {
    opacity: 1;
  }

  /* Indicador visual sutil para mostrar que las tarjetas son interactivas */
  .features-highlights-column::before {
    content: "Toca para ver";
    position: absolute;
    top: -25px;
    right: 10px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    opacity: 0.7;
    background-color: rgba(42, 42, 74, 0.7);
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 2;
    animation: fadeInOut 3s ease forwards;
    pointer-events: none;
  }

  @keyframes fadeInOut {
    0% {
      opacity: 0;
    }

    10% {
      opacity: 0.7;
    }

    80% {
      opacity: 0.7;
    }

    100% {
      opacity: 0;
    }
  }

  .animated-title {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    max-width: 400px;
    /* Ajustado para mejor control en tablets */
    line-height: 1.4;
  }

  .animated-title-orb {
    width: 16px;
    height: 16px;
    filter: blur(4px);
    box-shadow: 0 0 15px 5px rgba(255, 107, 107, 0.3);
  }

  .features-cta {
    padding: 2.5rem 1.5rem;
  }

  .features-cta h3 {
    font-size: 1.8rem;
  }

  .features-cta p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {

  /* Nuevo breakpoint específico para móviles medianos */
  .animated-title {
    font-size: 1.4rem;
    max-width: 320px;
    /* Ajustado específicamente para este tamaño */
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
    width: 100%;
  }

  .features-section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
    padding: 0 0.5rem;
  }

  .line-shape {
    max-width: 180px;
    height: 3px;
  }

  .features-main-image {
    height: 400px;
  }

  .image-overlay h3 {
    font-size: 1.6rem;
  }

  .image-overlay p {
    font-size: 0.95rem;
  }

  .feature-highlight-image {
    height: 160px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .feature-text h4 {
    font-size: 1.1rem;
  }

  .feature-text p {
    font-size: 0.85rem;
  }

  .animated-title-container {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0.5rem;
  }

  .animated-title {
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 260px;
    /* Tamaño específico para forzar los saltos de línea deseados */
  }

  .animated-title-orb {
    width: 14px;
    height: 14px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Ajustes específicos adicionales para dispositivos muy pequeños */
@media (max-width: 375px) {
  .animated-title {
    font-size: 1.2rem;
    max-width: 230px;
    /* Control aún más específico para móviles pequeños */
    line-height: 1.35;
  }
}

/* ========== Inicio de sección estilos Cocina ========== */
.kitchen-section {
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--color-secondary);
}

/* Contenedor principal que alberga video y card */
.kitchen-container {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  max-height: 1000px;
  margin: 0 auto;
  align-items: stretch;
  gap: 30px;
  background-color: var(--color-secondary);
}

/* Ajuste del contenedor de video para que sea más pequeño */
.kitchen-video-container {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Estilos para el título centrado sobre el video */
.kitchen-title-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  padding: 0 20px;
}

/* ========== Estilos para el video de fondo y cortinas ========== */
.kitchen-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#kitchen-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scale(1.05);
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

/* Overlay del video */
.kitchen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
}

/* Efecto de cortina */
.kitchen-video-curtain-left,
.kitchen-video-curtain-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--color-secondary);
  z-index: 10;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.kitchen-video-curtain-left {
  left: 0;
  transform: translateX(0);
}

.kitchen-video-curtain-right {
  right: 0;
  transform: translateX(0);
}

.kitchen-video-container:hover .kitchen-video-curtain-left {
  transform: translateX(-100%);
}

.kitchen-video-container:hover .kitchen-video-curtain-right {
  transform: translateX(100%);
}

/* Estilos para la nueva card informativa */
.kitchen-info-card {
  width: 40%;
  background-color: var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kitchen-info-card-content {
  padding: 30px;
  color: var(--color-text, #ffffff);
}

.kitchen-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  background-image: linear-gradient(135deg, #ff6b6b 0%, #4285f4 100%);
  text-align: center;
}

.kitchen-info-separator {
  height: 3px;
  margin-bottom: 20px;
}

.kitchen-info-card:hover .kitchen-info-separator {
  width: 120px;
}

.kitchen-info-card p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.kitchen-info-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.kitchen-info-card li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
  position: relative;
}

.kitchen-info-card li i {
  color: var(--color-accent, #ff6b6b);
  margin-right: 10px;
  font-size: 1.1rem;
}

.kitchen-info-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.kitchen-info-button {
  display: inline-block;
  background: var(--color-accent, #ff6b6b);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.kitchen-info-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  background: #ff5252;
}

/* ==================== NUEVA IMPLEMENTACIÓN DEL MOCKUP Y GIF ==================== */

/* Modificar el fondo de la sección de mockup */
.kitchen-mockup-section {
  background-color: var(--color-secondary);
  padding: 50px 0;
  position: relative;
}

/* Monitor y computadora */
.kitchen-section-mockup-wrapper {
  margin-top: 70px;
  width: 100%;
  /* Cambiado de 123% a 100% para mejor responsividad */
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
}

/* Botón de refrescar */
.kitchen-section-refresh-btn {
  position: absolute;
  top: -40px;
  right: 15px;
  background: var(--color-accent, #ff6b6b);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kitchen-section-refresh-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: #ff5252;
}

.kitchen-section-refresh-btn i {
  font-size: 12px;
}

/* Contenedor principal que mantiene al mock y al gif juntos */
.kitchen-section-mockup-container {
  position: relative;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}

/* Nueva base para simular una mesa/superficie */
.kitchen-section-mockup-container:after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(90deg, #2d2d4a, #3a3a5e, #2d2d4a);
  z-index: 1;
  border-radius: 5px;
}

/* Sombra bajo la mesa */
.kitchen-section-mockup-container:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  filter: blur(8px);
  border-radius: 50%;
  z-index: 0;
}

/* Contenedor de la computadora (izquierda) */
.kitchen-section-mockup-content {
  width: 70%;
  position: relative;
  z-index: 2;
}

/* Estilos para la computadora */
.kitchen-section-computer {
  position: relative;
  transform-style: preserve-3d;
}

.kitchen-section-monitor {
  width: 860px;
  height: 480px;
  background: var(--monitor-bg, #1a1a2e);
  border-radius: var(--border-radius-md, 8px);
  padding: 15px;
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.5));
  position: relative;
  border: 1px solid var(--color-input-border, #2e2e5a);
  margin: 0 auto;
}

.kitchen-section-monitor-content {
  width: 100%;
  height: 100%;
  background: var(--app-bg, #2a2a4a);
  overflow: hidden;
  border-radius: var(--border-radius-md, 8px);
  position: relative;
}

.kitchen-section-stand {
  width: 180px;
  height: 40px;
  background: #444;
  margin: 0 auto;
  border-radius: 0 0 var(--border-radius-md, 8px) var(--border-radius-md, 8px);
}

.kitchen-section-base {
  width: 300px;
  height: 15px;
  background: #333;
  margin: 0 auto;
  border-radius: 40%;
}

/* Contenedor del GIF (derecha) - NUEVO POSICIONAMIENTO EN LA MESA */
.kitchen-section-gif-container {
  position: absolute;
  right: 6%;
  /* Ajustado para posicionar mejor en la mesa */
  bottom: 25px;
  /* Alineado con la mesa */
  width: 25%;
  max-width: 260px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Alineado con la parte inferior */
}

/* Estilos para el GIF */
.kitchen-section-gif {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
  /* Efecto para que parezca estar sobre la mesa */
  transform: perspective(800px) rotateX(5deg);
}

/* Efecto hover para el GIF */
.kitchen-section-gif:hover {
  transform: perspective(800px) rotateX(5deg) scale(1.05);
}

/* App Header y contenido */
.kitchen-section-app-header {
  height: 60px;
  background: var(--color-primary, #1a1a2e);
  color: var(--color-text, #ffffff);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: var(--shadow-sm, 0 2px 5px rgba(0, 0, 0, 0.15));
  border-bottom: 2px solid var(--color-accent, #ff6b6b);
}

.kitchen-section-app-header-left {
  display: flex;
  align-items: center;
}

.kitchen-section-app-logo {
  width: 40px;
  height: 40px;
  background: var(--color-accent, #ff6b6b);
  border-radius: var(--border-radius-md, 8px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 20px;
}

.kitchen-section-app-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-left: 10px;
}

.kitchen-section-app-header-right {
  display: flex;
  align-items: center;
}

.kitchen-section-separator {
  margin: 0 10px;
  opacity: 0.5;
  color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

.kitchen-section-ordenes-activas,
.kitchen-section-llevar,
.kitchen-section-en-mesa {
  font-size: 0.9rem;
  font-weight: 500;
}

.kitchen-section-orders-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
  height: calc(100% - 60px);
  overflow-y: auto;
  background: var(--color-secondary, #1f1f3d);
}

.kitchen-section-order {
  background: var(--color-input-bg, #2a2a4a);
  border-radius: var(--border-radius-md, 8px);
  padding: 15px;
  box-shadow: var(--shadow-sm, 0 2px 5px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-normal, 0.3s ease), box-shadow var(--transition-normal, 0.3s ease);
  border-top: 4px solid var(--color-accent-secondary, #4285f4);
  margin-bottom: 15px;
  border-left: 1px solid var(--color-input-border, #2e2e5a);
  border-right: 1px solid var(--color-input-border, #2e2e5a);
  border-bottom: 1px solid var(--color-input-border, #2e2e5a);
  color: var(--color-text, #ffffff);
  opacity: 1 !important;
  visibility: visible !important;
}

.kitchen-section-order-table {
  border-top-color: var(--color-accent-secondary, #4285f4);
}

.kitchen-section-order-takeaway {
  border-top-color: var(--color-accent, #ff6b6b);
}

.kitchen-section-order:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md, 0 5px 15px rgba(0, 0, 0, 0.25));
}

.kitchen-section-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kitchen-section-order-info {
  display: flex;
  flex-direction: column;
}

.kitchen-section-order-number {
  font-weight: 600;
  color: var(--color-text, #ffffff);
  font-size: 0.95rem;
}

.kitchen-section-order-type {
  display: inline-block;
  background: var(--color-accent-secondary, #4285f4);
  color: var(--color-text, #ffffff);
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 5px;
  font-weight: 600;
}

.kitchen-section-order-takeaway .kitchen-section-order-type {
  background: var(--color-accent, #ff6b6b);
  color: var(--color-text, #ffffff);
}

.kitchen-section-order-time {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: var(--time-green, #4ecdc4);
  font-size: 0.9rem;
}

.kitchen-section-order-customer {
  font-size: 0.85rem;
  color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
  font-style: italic;
  margin-bottom: 10px;
}

.kitchen-section-order-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kitchen-section-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm, 4px);
  transition: background var(--transition-fast, 0.2s ease);
  cursor: pointer;
  color: var(--color-text, #ffffff);
  opacity: 1 !important;
  visibility: visible !important;
}

.kitchen-section-order-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.kitchen-section-item-name {
  font-size: 0.9rem;
  color: var(--color-text, #ffffff);
}

.kitchen-section-cooking-icon {
  color: #aaa;
  font-size: 1.1rem;
  transition: color var(--transition-fast, 0.2s ease), transform var(--transition-fast, 0.2s ease);
  opacity: 0;
}

.kitchen-section-cooking-active .kitchen-section-cooking-icon {
  color: var(--color-accent, #ff6b6b);
  transform: scale(1.2);
  opacity: 1;
}

.kitchen-section-item-completed {
  opacity: 0.5;
  text-decoration: line-through;
}

/* Animación de fade para scroll */
.kitchen-section-fade-in {
  opacity: 1 !important;
  transform: translateY(0);
}

.kitchen-section-fade-in.active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Asegurar que el mockup siempre tenga opacidad completa */
.kitchen-section-mockup-wrapper.kitchen-section-fade-in,
.kitchen-section-mockup-wrapper.kitchen-section-fade-in.active,
.kitchen-section-monitor,
.kitchen-section-computer {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==================== MEDIA QUERIES PARA RESPONSIVIDAD ==================== */
/* Pantallas 8K */
@media screen and (min-width: 7680px) {
  .kitchen-container {
    max-width: 3000px;
    padding: 80px 40px;
    gap: 60px;
  }

  .kitchen-video-container {
    width: 60%;
    height: 80vh;
    min-height: 800px;
    max-height: 1200px;
    border-radius: 20px;
  }

  .kitchen-info-card {
    width: 40%;
    border-radius: 20px;
  }

  .kitchen-info-card-content {
    padding: 50px;
  }

  .kitchen-info-card h3 {
    font-size: 3.5rem;
    margin-bottom: 30px;
  }

  .kitchen-info-separator {
    width: 160px;
    height: 6px;
    margin-bottom: 40px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 220px;
  }

  .kitchen-info-card p {
    font-size: 2.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
  }

  .kitchen-info-card li {
    padding: 16px 0;
    font-size: 2rem;
  }

  .kitchen-info-card li i {
    margin-right: 20px;
    font-size: 2.2rem;
  }

  .kitchen-info-button {
    padding: 24px 60px;
    font-size: 2rem;
    border-radius: 60px;
  }

  .kitchen-title-container {
    padding: 0 40px;
  }

  .kitchen-section-header {
    margin-bottom: 80px;
  }

  .kitchen-section-header h2 {
    font-size: 6rem;
  }

  .kitchen-section-header p {
    font-size: 2.5rem;
    max-width: 1800px;
  }

  .kitchen-section-header h2:after {
    width: 120px;
    height: 6px;
    bottom: -15px;
  }

  .kitchen-section-header:hover h2:after {
    width: 150px;
  }

  .kitchen-section-mockup-section {
    padding: 150px 0;
  }

  .kitchen-section-mockup-wrapper {
    margin-top: 100px;
  }

  .kitchen-section-monitor {
    width: 2200px !important;
    height: 1200px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 3000px;
  }

  .kitchen-section-gif-container {
    right: 4%;
    bottom: 35px;
    max-width: 700px;
    width: 20%;
  }

  .kitchen-section-gif {
    border-radius: 30px;
  }

  .kitchen-section-stand {
    width: 400px;
    height: 80px;
  }

  .kitchen-section-base {
    width: 600px;
    height: 35px;
  }

  .kitchen-section-app-header {
    height: 100px;
    padding: 0 30px;
  }

  .kitchen-section-app-logo {
    width: 70px;
    height: 70px;
    font-size: 35px;
  }

  .kitchen-section-app-header h3 {
    font-size: 2.5rem;
  }

  .kitchen-section-ordenes-activas,
  .kitchen-section-llevar,
  .kitchen-section-en-mesa {
    font-size: 1.8rem;
  }

  .kitchen-section-separator {
    margin: 0 20px;
  }

  .kitchen-section-orders-container {
    gap: 25px;
    padding: 25px;
  }

  .kitchen-section-order {
    padding: 25px;
    border-top-width: 8px;
  }

  .kitchen-section-order-number {
    font-size: 1.8rem;
  }

  .kitchen-section-order-type {
    font-size: 1.4rem;
    padding: 5px 20px;
  }

  .kitchen-section-order-time {
    font-size: 1.6rem;
  }

  .kitchen-section-order-customer {
    font-size: 1.5rem;
  }

  .kitchen-section-item-name {
    font-size: 1.6rem;
  }

  .kitchen-section-cooking-icon {
    font-size: 2rem;
  }

  .kitchen-section-refresh-btn {
    top: -60px;
    right: 30px;
    padding: 15px 40px;
    font-size: 24px;
    border-radius: 50px;
  }

  .kitchen-section-refresh-btn i {
    font-size: 22px;
  }
}

/* Pantallas 4K y tamaños ultragrandes */
@media screen and (min-width: 3840px) and (max-width: 7679px) {
  .kitchen-container {
    max-width: 2400px;
    padding: 70px 30px;
    gap: 50px;
  }

  .kitchen-video-container {
    width: 60%;
    height: 70vh;
    min-height: 700px;
    max-height: 1200px;
    border-radius: 18px;
  }

  .kitchen-info-card {
    width: 40%;
    border-radius: 18px;
  }

  .kitchen-info-card-content {
    padding: 40px;
  }

  .kitchen-info-card h3 {
    font-size: 3rem;
    margin-bottom: 25px;
  }

  .kitchen-info-separator {
    width: 140px;
    height: 5px;
    margin-bottom: 35px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 200px;
  }

  .kitchen-info-card p {
    font-size: 1.8rem;
    margin-bottom: 35px;
    line-height: 1.7;
  }

  .kitchen-info-card li {
    padding: 14px 0;
    font-size: 1.7rem;
  }

  .kitchen-info-card li i {
    margin-right: 18px;
    font-size: 1.9rem;
  }

  .kitchen-info-button {
    padding: 20px 50px;
    font-size: 1.8rem;
    border-radius: 50px;
  }

  .kitchen-title-container {
    padding: 0 30px;
  }

  .kitchen-section-header {
    margin-bottom: 70px;
  }

  .kitchen-section-header h2 {
    font-size: 4.5rem;
  }

  .kitchen-section-header p {
    font-size: 2rem;
    max-width: 1400px;
  }

  .kitchen-section-header h2:after {
    width: 100px;
    height: 5px;
    bottom: -15px;
  }

  .kitchen-section-header:hover h2:after {
    width: 120px;
  }

  .kitchen-mockup-section {
    padding: 100px 0;
  }

  .kitchen-section-monitor {
    width: 1600px !important;
    height: 900px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 2200px;
  }

  .kitchen-section-gif-container {
    right: 4%;
    bottom: 30px;
    max-width: 500px;
    width: 20%;
  }

  .kitchen-section-gif {
    border-radius: 30px;
  }

  .kitchen-section-stand {
    width: 300px;
    height: 60px;
  }

  .kitchen-section-base {
    width: 450px;
    height: 25px;
  }

  .kitchen-section-app-header {
    height: 80px;
    padding: 0 25px;
  }

  .kitchen-section-app-logo {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }

  .kitchen-section-app-header h3 {
    font-size: 2rem;
  }

  .kitchen-section-ordenes-activas,
  .kitchen-section-llevar,
  .kitchen-section-en-mesa {
    font-size: 1.4rem;
  }

  .kitchen-section-refresh-btn {
    top: -50px;
    right: 25px;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 40px;
  }

  .kitchen-section-refresh-btn i {
    font-size: 18px;
  }
}

/* Pantallas 2K y monitores grandes */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
  .kitchen-container {
    max-width: 2000px;
    padding: 60px 25px;
    gap: 40px;
  }

  .kitchen-video-container {
    width: 60%;
    height: 60vh;
    min-height: 600px;
    max-height: 1200px;
    border-radius: 16px;
  }

  .kitchen-info-card {
    width: 40%;
    border-radius: 16px;
  }

  .kitchen-info-card-content {
    padding: 35px;
  }

  .kitchen-info-card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .kitchen-info-separator {
    width: 120px;
    height: 4px;
    margin-bottom: 30px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 180px;
  }

  .kitchen-info-card p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.7;
  }

  .kitchen-info-card li {
    padding: 12px 0;
    font-size: 1.4rem;
  }

  .kitchen-info-card li i {
    margin-right: 16px;
    font-size: 1.6rem;
  }

  .kitchen-info-button {
    padding: 16px 40px;
    font-size: 1.5rem;
    border-radius: 40px;
  }

  .kitchen-title-container {
    padding: 0 25px;
  }

  .kitchen-mockup-section {
    padding: 90px 0;
  }

  .kitchen-section-header h2 {
    font-size: 3.5rem;
  }

  .kitchen-section-header p {
    font-size: 1.6rem;
    max-width: 1000px;
  }

  .kitchen-section-monitor {
    width: 1400px !important;
    height: 800px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 2000px;
  }

  .kitchen-section-gif-container {
    right: 4%;
    bottom: 25px;
    max-width: 450px;
    width: 22%;
  }

  .kitchen-section-gif {
    border-radius: 30px;
  }

  .kitchen-section-stand {
    width: 260px;
    height: 60px;
  }

  .kitchen-section-base {
    width: 400px;
    height: 25px;
  }

  .kitchen-section-header h2:after {
    width: 100px;
    height: 5px;
  }

  .kitchen-section-header:hover h2:after {
    width: 120px;
  }

  .kitchen-section-app-header {
    height: 70px;
  }

  .kitchen-section-app-logo {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .kitchen-section-app-header h3 {
    font-size: 1.7rem;
  }

  .kitchen-section-refresh-btn {
    top: -45px;
    right: 20px;
    padding: 10px 25px;
    font-size: 16px;
  }
}

/* Pantallas Full HD y monitores grandes */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
  .kitchen-container {
    max-width: 1800px;
    padding: 50px 20px;
    gap: 30px;
  }

  .kitchen-video-container {
    width: 60%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
  }

  .kitchen-info-card {
    width: 40%;
  }

  .kitchen-info-card-content {
    padding: 30px;
  }

  .kitchen-info-card h3 {
    font-size: 2.2rem;
  }

  .kitchen-info-card p {
    font-size: 1.3rem;
  }

  .kitchen-mockup-section {
    padding: 80px 0;
  }

  .kitchen-section-header h2 {
    font-size: 3rem;
  }

  .kitchen-section-header p {
    font-size: 1.4rem;
    max-width: 900px;
  }

  .kitchen-section-monitor {
    width: 1100px !important;
    height: 620px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 1600px;
  }

  .kitchen-section-gif-container {
    right: 5%;
    bottom: 25px;
    max-width: 380px;
    width: 20%;
  }

  .kitchen-section-gif {
    border-radius: 25px;
  }

  .kitchen-section-stand {
    width: 220px;
    height: 50px;
  }

  .kitchen-section-base {
    width: 350px;
    height: 20px;
  }

  .kitchen-section-header h2:after {
    width: 80px;
    height: 4px;
  }

  .kitchen-section-header:hover h2:after {
    width: 100px;
  }
}

/* Laptops y pantallas medianas */
@media screen and (min-width: 1366px) and (max-width: 1919px) {
  .kitchen-container {
    max-width: 1300px;
    padding: 40px 20px;
    gap: 25px;
  }

  .kitchen-video-container {
    width: 60%;
    height: 45vh;
    min-height: 450px;
    max-height: 600px;
  }

  .kitchen-info-card {
    width: 40%;
  }

  .kitchen-info-card h3 {
    font-size: 1.6rem;
  }

  .kitchen-info-card p {
    font-size: 1.05rem;
  }

  .kitchen-info-card li {
    font-size: 0.95rem;
  }

  .kitchen-mockup-section {
    padding: 70px 0;
  }

  .kitchen-section-header h2 {
    font-size: 2.8rem;
  }

  .kitchen-section-header p {
    font-size: 1.3rem;
    max-width: 800px;
  }

  .kitchen-section-monitor {
    width: 900px !important;
    height: 520px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 1300px;
  }

  .kitchen-section-gif-container {
    max-width: 320px;
  }

  .kitchen-section-header h2:after {
    width: 70px;
    height: 3.5px;
  }

  .kitchen-section-header:hover h2:after {
    width: 90px;
  }
}

/* iPads y tablets grandes (horizontal) */
@media screen and (min-width: 1024px) and (max-width: 1365px) {
  .kitchen-container {
    max-width: 960px;
    padding: 30px 20px;
    gap: 20px;
  }

  .kitchen-video-container {
    width: 55%;
    height: 40vh;
    min-height: 380px;
  }

  .kitchen-info-card {
    width: 45%;
  }

  .kitchen-info-card-content {
    padding: 25px;
  }

  .kitchen-info-card h3 {
    font-size: 1.5rem;
  }

  .kitchen-info-card p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .kitchen-info-card li {
    padding: 6px 0;
    font-size: 0.9rem;
  }

  .kitchen-info-card li i {
    font-size: 1rem;
  }

  .kitchen-info-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .kitchen-mockup-section {
    padding: 60px 0;
  }

  .kitchen-section-header h2 {
    font-size: 2.5rem;
  }

  .kitchen-section-header p {
    font-size: 1.2rem;
    max-width: 700px;
  }

  .kitchen-section-monitor {
    width: 760px !important;
    height: 450px !important;
  }

  .kitchen-section-mockup-container {
    max-width: 1100px;
  }

  .kitchen-section-gif-container {
    max-width: 280px;
  }

  .kitchen-section-header h2:after {
    width: 65px;
    height: 3px;
  }

  .kitchen-section-header:hover h2:after {
    width: 85px;
  }
}

/* iPads y tablets (vertical) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .kitchen-container {
    flex-direction: column-reverse;
    max-width: 100%;
    padding: 30px 15px;
    gap: 20px;
  }

  .kitchen-video-container {
    width: 100%;
    height: 35vh;
    min-height: 350px;
    margin-top: 20px;
  }

  .kitchen-info-card {
    width: 100%;
  }

  .kitchen-info-card-content {
    padding: 20px;
  }

  .kitchen-info-card h3 {
    font-size: 1.4rem;
  }

  .kitchen-info-separator {
    width: 70px;
    margin-bottom: 15px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 100px;
  }

  .kitchen-info-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .kitchen-info-card ul {
    margin-bottom: 20px;
  }

  .kitchen-info-card li {
    padding: 5px 0;
    font-size: 0.9rem;
  }

  .kitchen-info-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .kitchen-mockup-section {
    padding: 50px 0;
  }

  .kitchen-section-mockup-wrapper {
    margin-top: 40px;
  }

  .kitchen-section-header h2 {
    font-size: 2.2rem;
  }

  .kitchen-section-header p {
    font-size: 1.1rem;
    max-width: 600px;
  }

  .kitchen-section-mockup-container {
    max-width: 90%;
  }

  .kitchen-section-mockup-content {
    width: 70%;
  }

  .kitchen-section-gif-container {
    max-width: 250px;
    right: 5%;
  }

  .kitchen-section-gif {
    max-width: 100%;
    border-radius: 16px;
  }

  .kitchen-section-monitor {
    width: 600px !important;
    height: 350px !important;
  }

  .kitchen-section-header h2:after {
    width: 55px;
    height: 2.8px;
  }

  .kitchen-section-header:hover h2:after {
    width: 70px;
  }

  .kitchen-section-orders-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Teléfonos grandes y tablets pequeñas */
@media screen and (min-width: 576px) and (max-width: 767px) {
  .kitchen-container {
    flex-direction: column-reverse;
    padding: 25px 15px;
    gap: 15px;
  }

  .kitchen-video-container {
    width: 100%;
    height: 30vh;
    min-height: 300px;
    margin-top: 15px;
  }

  .kitchen-info-card {
    width: 100%;
  }

  .kitchen-info-card-content {
    padding: 20px;
  }

  .kitchen-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .kitchen-info-separator {
    width: 60px;
    height: 2.5px;
    margin-bottom: 15px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 90px;
  }

  .kitchen-info-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .kitchen-info-card ul {
    margin-bottom: 15px;
  }

  .kitchen-info-card li {
    padding: 5px 0;
    font-size: 0.85rem;
  }

  .kitchen-info-card li i {
    margin-right: 8px;
    font-size: 0.95rem;
  }

  .kitchen-info-button {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 25px;
  }

  .kitchen-title-container {
    padding: 0 15px;
  }

  .kitchen-mockup-section {
    padding: 40px 0;
  }

  .kitchen-section-header {
    margin-bottom: 40px;
  }

  .kitchen-section-header h2 {
    font-size: 2.2rem;
  }

  .kitchen-section-header p {
    font-size: 1.1rem;
  }

  .kitchen-section-mockup-wrapper {
    margin-top: 30px;
  }

  /* Ajuste de contenedor para dispositivos móviles */
  .kitchen-section-mockup-container {
    max-width: 95%;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .kitchen-section-mockup-content {
    width: 100%;
    order: 1;
    margin-bottom: 30px;
  }

  .kitchen-section-gif-container {
    position: relative;
    width: 70%;
    max-width: none;
    right: auto;
    top: auto;
    transform: none;
    order: 2;
    margin: 0 auto;
  }

  .kitchen-section-gif {
    max-width: 100%;
    border-radius: 16px;
    margin: 0;
  }

  .kitchen-section-monitor {
    width: 500px !important;
    height: 300px !important;
  }

  .kitchen-section-orders-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .kitchen-section-order {
    padding: 10px;
  }

  .kitchen-section-header h2:after {
    width: 45px;
    height: 2.5px;
  }

  .kitchen-section-header:hover h2:after {
    width: 60px;
  }

  .kitchen-section-mockup-container:after,
  .kitchen-section-mockup-container:before {
    display: none;
  }

  /* Ajustes para las cortinas del video */
  .kitchen-video-curtain-left,
  .kitchen-video-curtain-right {
    display: none;
    /* Ocultar cortinas en móviles para mejor rendimiento */
  }
}

/* Teléfonos móviles y dispositivos pequeños */
@media screen and (max-width: 575px) {
  .kitchen-container {
    flex-direction: column-reverse;
    padding: 20px 10px;
    gap: 15px;
  }

  .kitchen-video-container {
    width: 100%;
    height: 35vh;
    min-height: 200px;
    margin-top: 15px;
  }

  .kitchen-info-card {
    width: 100%;
  }

  .kitchen-info-card-content {
    padding: 15px;
  }

  .kitchen-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .kitchen-info-separator {
    width: 50px;
    height: 2px;
    margin-bottom: 12px;
  }

  .kitchen-info-card:hover .kitchen-info-separator {
    width: 75px;
  }

  .kitchen-info-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .kitchen-info-card ul {
    margin-bottom: 15px;
  }

  .kitchen-info-card li {
    padding: 4px 0;
    font-size: 0.8rem;
  }

  .kitchen-info-card li i {
    margin-right: 8px;
    font-size: 0.9rem;
  }

  .kitchen-info-cta {
    margin-top: 15px;
  }

  .kitchen-info-button {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 20px;
  }

  .kitchen-title-container {
    padding: 0 15px;
  }

  .kitchen-mockup-section {
    padding: 30px 0;
  }

  .kitchen-section-header {
    margin-bottom: 30px;
  }

  .kitchen-section-header h2 {
    font-size: 1.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  .kitchen-section-header p {
    font-size: 1rem;
    padding: 0 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }

  .kitchen-section-mockup-wrapper {
    margin-top: 20px;
  }

  /* Ajustes específicos para móviles pequeños */
  .kitchen-section-mockup-container {
    max-width: 95%;
    flex-direction: column;
    padding-bottom: 10px;
    gap: 20px;
  }

  .kitchen-section-mockup-content {
    width: 100%;
    order: 1;
  }

  .kitchen-section-gif-container {
    position: relative;
    width: 85%;
    max-width: none;
    right: auto;
    top: auto;
    transform: none;
    order: 2;
    margin: 0 auto;
  }

  .kitchen-section-gif {
    max-width: 100%;
    border-radius: 12px;
  }

  .kitchen-section-monitor {
    width: 320px !important;
    height: 240px !important;
    padding: 8px;
  }

  .kitchen-section-monitor-content {
    border-radius: 6px;
  }

  .kitchen-section-app-header {
    height: 40px;
    padding: 0 10px;
  }

  .kitchen-section-app-logo {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .kitchen-section-app-header h3 {
    font-size: 0.9rem;
  }

  .kitchen-section-app-header-right {
    display: none;
  }

  .kitchen-section-orders-container {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  .kitchen-section-order {
    padding: 10px;
    margin-bottom: 10px;
  }

  .kitchen-section-order-header {
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .kitchen-section-order-number {
    font-size: 0.85rem;
  }

  .kitchen-section-order-type {
    font-size: 0.7rem;
    padding: 1px 8px;
  }

  .kitchen-section-item-name {
    font-size: 0.8rem;
  }

  .kitchen-section-order-customer {
    font-size: 0.75rem;
  }

  .kitchen-section-refresh-btn {
    top: -30px;
    right: 10px;
    padding: 5px 15px;
    font-size: 12px;
  }

  .kitchen-section-stand,
  .kitchen-section-base {
    display: none;
  }

  .kitchen-section-header h2:after {
    width: 40px;
    height: 2px;
  }

  .kitchen-section-header:hover h2:after {
    width: 50px;
  }

  /* Ajustes para el video de fondo */
  .kitchen-video-curtain-left,
  .kitchen-video-curtain-right {
    display: none;
    /* Ocultar cortinas en móviles para mejor rendimiento */
  }
}

/* Teléfonos muy pequeños (iPhone SE, etc.) */
@media screen and (max-width: 375px) {
  .kitchen-container {
    padding: 15px 10px;
  }

  .kitchen-video-container {
    height: 35vh;
    min-height: 220px;
  }

  .kitchen-info-card h3 {
    font-size: 1.1rem;
  }

  .kitchen-info-card p {
    font-size: 0.85rem;
  }

  .kitchen-info-card li {
    font-size: 0.75rem;
  }

  .kitchen-info-button {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .kitchen-section-mockup-container {
    gap: 15px;
  }

  .kitchen-section-gif {
    max-width: 100%;
    border-radius: 10px;
  }

  .kitchen-section-monitor {
    width: 280px !important;
    height: 210px !important;
  }

  .kitchen-section-header h2 {
    font-size: 1.6rem;
  }

  .kitchen-section-header p {
    font-size: 0.9rem;
  }

  .kitchen-section-header h2:after {
    width: 35px;
    height: 2px;
  }

  .kitchen-section-header:hover h2:after {
    width: 45px;
  }
}

/* Ajustes para orientación horizontal en dispositivos móviles */
@media screen and (max-height: 576px) and (orientation: landscape) {
  .kitchen-container {
    flex-direction: row-reverse;
    padding: 15px;
    gap: 15px;
    max-height: 100vh;
    align-items: center;
  }

  .kitchen-video-container {
    width: 50%;
    height: 100vh;
    /* Llenar pantalla completa */
    min-height: auto;
    max-height: none;
    margin-top: 0;
  }

  .kitchen-info-card {
    width: 50%;
    margin: 0;
  }

  .kitchen-info-card-content {
    padding: 15px;
  }

  .kitchen-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .kitchen-info-separator {
    margin-bottom: 10px;
  }

  .kitchen-info-card p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .kitchen-info-card li {
    padding: 3px 0;
    font-size: 0.8rem;
  }

  .kitchen-info-button {
    padding: 6px 15px;
    font-size: 0.8rem;
  }

  .kitchen-title-container {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .kitchen-section-header {
    margin-bottom: 20px;
  }

  .kitchen-section-header h2 {
    font-size: 2rem;
  }

  .kitchen-section-header p {
    font-size: 1rem;
    max-width: 500px;
  }

  .kitchen-mockup-section {
    padding: 30px 0;
  }

  .kitchen-section-mockup-container {
    flex-direction: row;
    max-width: 95%;
    padding-bottom: 15px;
  }

  .kitchen-section-mockup-content {
    width: 70%;
    order: 1;
  }

  .kitchen-section-gif-container {
    position: absolute;
    width: 30%;
    max-width: 200px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .kitchen-section-monitor {
    width: 400px !important;
    height: 240px !important;
  }

  .kitchen-section-orders-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .kitchen-section-order {
    padding: 8px;
    margin-bottom: 8px;
  }

  .kitchen-section-stand,
  .kitchen-section-base {
    display: none;
  }

  .kitchen-section-header h2:after {
    width: 45px;
    height: 2.5px;
  }

  .kitchen-section-header:hover h2:after {
    width: 55px;
  }
}

/* Ajustes específicos para iPads y dispositivos Apple */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  .kitchen-container {
    flex-direction: column-reverse;
  }

  .kitchen-video-container {
    width: 100%;
    height: 55vh;
    margin-top: 20px;
  }

  .kitchen-info-card {
    width: 100%;
  }

  .kitchen-info-card-content {
    padding: 20px;
  }

  .kitchen-info-card h3 {
    font-size: 1.4rem;
  }

  .kitchen-info-card p {
    font-size: 1rem;
  }

  .kitchen-info-card li {
    font-size: 0.9rem;
  }

  .kitchen-section-monitor {
    width: 650px !important;
    height: 380px !important;
  }

  .kitchen-section-gif-container {
    max-width: 240px;
  }

  .kitchen-section-gif {
    border-radius: 16px;
  }
}

/* Soporte para pantallas de alta densidad (retina) */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .kitchen-info-card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .kitchen-info-separator {
    transform: translateZ(0);
  }

  .kitchen-info-button {
    transform: translateZ(0);
  }
}

/* ========== Inicio de sección estilos Órdenes ========== */
.orders-section {
  background-color: var(--color-secondary);
  padding: min(60px, 6vh) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.orders-container {
  background-color: rgba(42, 42, 74, 0.5);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.orders-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  flex-wrap: wrap;
  gap: 30px;
}

.orders-card {
  background: transparent;
  border-radius: var(--border-radius-md);
  overflow: visible;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  flex: 1;
  min-width: 300px;
  max-width: calc(33.33% - 30px);
  display: flex;
  align-items: center;
  padding: 20px 10px;
  gap: 15px;
  min-height: 300px;
  /* Altura mínima para alinear las tarjetas */
}

.orders-card-left {
  flex-direction: row-reverse;
}

.orders-card-center {
  flex-direction: column;
}

.orders-card-right {
  flex-direction: row;
}

.orders-card:hover {
  transform: scale(1.03);
}

.orders-image {
  flex: 1;
  max-width: 50%;
}

/* Ajuste específico para la imagen de la primera tarjeta */
.orders-card-left .orders-image {
  max-width: 40%;
}

/* Ajuste específico para la imagen de la tercera tarjeta */
.orders-card-right .orders-image {
  max-width: 40%;
}

.orders-card-center .orders-image {
  max-width: 60%;
  margin-bottom: 20px;
}

.orders-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-md);
  object-fit: contain;
}

.orders-text {
  flex: 1;
  max-width: 50%;
  text-align: left;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  word-wrap: break-word;
  hyphens: none;
  /* Desactivar separación silábica */
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: bold;
  font-family: "Raleway", sans-serif;
  padding: 0 10px;
}

/* Ajuste específico para el texto de la primera tarjeta */
.orders-card-left .orders-text {
  max-width: 60%;
  padding-right: 5px;
}

/* Ajuste específico para el texto de la tercera tarjeta */
.orders-card-right .orders-text {
  max-width: 60%;
  padding-left: 5px;
}

.orders-card-center .orders-text {
  max-width: 100%;
  text-align: center;
  padding: 0;
}

.orders-text h3 {
  font-size: clamp(1rem, 1.2vw, 1.6rem);
  margin-bottom: 10px;
  word-wrap: break-word;
  hyphens: none;
  /* Desactivar separación silábica */
  white-space: normal;
  /* Permitir múltiples líneas */
  overflow-wrap: break-word;
  /* Forzar quiebre de palabras largas */
  line-height: 1.3;
  min-height: 2.6em;
  /* Altura mínima para títulos, aproximadamente 2 líneas */
}

.orders-text p {
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  color: var(--color-text-secondary);
  word-wrap: break-word;
  hyphens: none;
  /* Desactivar separación silábica */
  white-space: normal;
  /* Permitir múltiples líneas */
  line-height: 1.3;
  overflow-wrap: break-word;
  /* Forzar quiebre de palabras largas */
}

/* ========== Estilos Responsivos órdenes ===========*/
@media (max-width: 1200px) {
  .orders-card {
    max-width: calc(50% - 20px);
  }

  .orders-card-center {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 992px) {
  .orders-grid {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .orders-card {
    max-width: 90%;
    width: 90%;
    flex-direction: column;
    padding: 15px;
    min-height: auto;
  }

  .orders-card-left,
  .orders-card-right {
    flex-direction: column;
  }

  .orders-image,
  .orders-text,
  .orders-card-left .orders-image,
  .orders-card-left .orders-text,
  .orders-card-right .orders-image,
  .orders-card-right .orders-text {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .orders-text {
    padding: 15px 0 0;
  }

  .orders-image {
    max-width: 50%;
    /* Reducido para dispositivos medianos */
    margin: 0 auto;
  }

  .orders-text h3 {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .orders-section {
    padding: 30px 0 15px;
  }

  .line-shape-orders-title {
    width: 60%;
  }

  .orders-card {
    padding: 10px;
    margin-bottom: 15px;
  }

  .orders-text h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .orders-text p {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .orders-grid {
    gap: 20px;
    padding: 0 10px;
  }

  .orders-image {
    max-width: 40%;
    /* Reducido para móviles */
  }
}

@media (max-width: 576px) {
  .orders-section {
    padding: 20px 0 10px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .line-shape-orders-title {
    width: 70%;
    margin: 5px auto;
  }

  .orders-card {
    width: 100%;
    padding: 8px 5px;
    gap: 10px;
  }

  .orders-image {
    max-width: 35%;
    /* Reducido para móviles pequeños */
  }

  .orders-text h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.1;
    /* Asegurar que el texto no se corte */
    display: inline-block;
    width: 100%;
  }

  .orders-text p {
    font-size: 0.7rem;
    line-height: 1.1;
    margin-bottom: 0;
  }

  .orders-grid {
    gap: 15px;
  }
}

/* Ajuste para pantalla dividida */
@media screen and (max-width: 992px) and (min-width: 768px) {
  .orders-text h3 {
    font-size: 0.9rem;
  }

  .orders-text p {
    font-size: 0.7rem;
  }

  .orders-image {
    max-width: 35%;
  }
}

/* Ajustes específicos para evitar cortes en texto */
@media screen and (max-width: 500px) {
  .orders-card {
    padding: 5px;
  }

  .orders-image {
    max-width: 30%;
  }

  .orders-text h3 {
    font-size: 0.85rem;
    margin-bottom: 3px;
    /* Mejora de legibilidad en pantallas muy pequeñas */
    padding: 0 2px;
  }

  .orders-text p {
    font-size: 0.65rem;
    line-height: 1.1;
  }
}

/* ========== Fin de sección estilos Órdenes ========== */

/* ========== Sección Tienda en Línea ========== */
#tienda-en-linea.tienda-en-linea-section {
  padding: 60px 0;
  background: var(--color-secondary);
  color: var(--color-text);
  overflow: hidden;
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Contenedor de la animación de fondo (lluvia) */
.bg-animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-secondary);
}

/* Contenedor principal */
.container.tienda-en-linea-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* Título principal con efecto typewriter */
.hero-title.typewriter {
  text-align: center;
  margin: 20px 0 30px;
  padding: 15px;
  border-radius: var(--border-radius-md);
  background-color: var(--color-secondary);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transform: translateY(-20px);
  opacity: 0;
  animation: slide-down 0.8s ease forwards;
}

.hero-title.typewriter h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  padding: 0;
}

/* Efecto typewriter */
.typewriter-text {
  overflow: hidden;
  border-right: 0.15em solid var(--color-accent);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.05em;
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent
  }

  50% {
    border-color: var(--color-accent);
  }
}

/* Contenedor principal de la sección (imagen + card) */
.tienda-content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-top: 20px;
  gap: 30px;
  /* Ajuste de separación horizontal */
}

/* Contenedor de la imagen */
.tienda-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tienda-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Card con efecto de cristal */
.info-card {
  width: 550px;
  max-width: 90%;
  margin-left: auto;
  background: rgba(31, 31, 61, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateX(50px);
  opacity: 0;
  animation: slide-in 0.8s ease forwards 0.5s;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.info-card-inner {
  padding: 30px;
}

/* Animación de texto revelado */
.reveal-text {
  position: relative;
  font-family: "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  overflow: hidden;
}

.reveal-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  transform: translateX(-100%);
  animation: reveal 1s ease forwards 0.8s;
}

@keyframes reveal {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Texto con fade-in */
.fade-in-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--color-text-secondary);
  opacity: 0;
  animation: fade-in 1s ease forwards 1.2s;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lista de características */
.features-container {
  margin-bottom: 30px;
}

.features-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  transform: translateX(-20px);
  opacity: 0;
  animation: slide-feature 0.5s ease forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 1.4s;
}

.feature-item:nth-child(2) {
  animation-delay: 1.6s;
}

.feature-item:nth-child(3) {
  animation-delay: 1.8s;
}

.feature-item:nth-child(4) {
  animation-delay: 2.0s;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 54px;
  margin-right: 20px;
  font-size: 1.2rem;
}

.feature-text {
  color: var(--color-text);
  font-size: 1.05rem;
}

@keyframes slide-feature {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Botón CTA */
.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in 0.5s ease forwards 2.2s;
}

.cta-button {
  padding: 14px;
  background-color: var(--color-accent);
  border-radius: 20px;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  font-family: "Raleway", sans-serif;
  color: white;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal);
  margin-left: auto;
  margin-top: 0rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.cta-text {
  z-index: 1;
  transition: transform var(--transition-normal);
}

.cta-arrow {
  margin-left: 10px;
  transform: translateX(0);
  opacity: 1;
  transition: all var(--transition-normal);
  z-index: 1;
}

.cta-button:hover .cta-text {
  transform: translateX(-5px);
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

/* Efecto de ondas en el botón */
.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.cta-button:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Efecto de pulso para el botón */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Animaciones de entrada */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efecto de lluvia */
.rain {
  width: 2px;
  height: 40px;
  background: #ffffff;
  border-radius: 20%;
  opacity: 0.2;
  z-index: 1;
  position: absolute;
}

.drop {
  width: 2px;
  height: 30px;
  background: #ffffff;
  position: absolute;
  border-radius: 20%;
  opacity: 0.2;
  z-index: 1;
}

/* Posiciones de las gotas (igual que en tu código original) */
.rain1 {
  left: 15%;
  top: 10%;
  animation: rain-animation 3s linear infinite;
}

.rain2 {
  left: 25%;
  top: 15%;
  animation: rain-animation 4s linear infinite;
}

.drop2 {
  left: 25%;
  top: 25%;
  animation: rain-animation 3.5s linear infinite;
}

.rain3 {
  left: 35%;
  top: 5%;
  animation: rain-animation 5s linear infinite;
}

.rain4 {
  right: 30%;
  top: 8%;
  animation: rain-animation 4.5s linear infinite;
}

.rain5 {
  left: 45%;
  top: 12%;
  animation: rain-animation 3.8s linear infinite;
}

.drop5 {
  left: 45%;
  top: 20%;
  animation: rain-animation 4.2s linear infinite;
}

.rain6 {
  right: 25%;
  top: 18%;
  animation: rain-animation 4.7s linear infinite;
}

.rain7 {
  left: 55%;
  top: 7%;
  animation: rain-animation 3.3s linear infinite;
}

.rain8 {
  right: 15%;
  top: 22%;
  animation: rain-animation 5.2s linear infinite;
}

.drop8 {
  right: 15%;
  top: 30%;
  animation: rain-animation 4.8s linear infinite;
}

.rain9 {
  right: 35%;
  top: 15%;
  animation: rain-animation 3.7s linear infinite;
}

.rain10 {
  left: 65%;
  top: 9%;
  animation: rain-animation 4.1s linear infinite;
}

.drop11 {
  right: 45%;
  top: 25%;
  animation: rain-animation 3.9s linear infinite;
}

.drop12 {
  right: 20%;
  top: 18%;
  animation: rain-animation 4.3s linear infinite;
}

@keyframes rain-animation {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }

  10% {
    opacity: 0.2;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(400px);
    opacity: 0;
  }
}

.video-tooltip {
  position: absolute;
  bottom: 15px;
  /* Ubicado en la parte inferior del contenedor */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  z-index: 11;
  /* Mayor que las cortinas */
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Para que el tooltip no interfiera con la interacción */
}

/* Cuando el usuario pase el puntero sobre el contenedor del video, se oculta el tooltip */
.kitchen-video-container:hover .video-tooltip {
  opacity: 0;
}


/* ================= MEDIA QUERIES / RESPONSIVE ================= */

/* Laptops y pantallas medianas */
@media (max-width: 1200px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 40px 15px;
    min-height: 600px;
    text-align: center;
  }

  .container.tienda-en-linea-container {
    padding: 0 20px;
  }

  .hero-title.typewriter {
    margin: 0 auto 20px;
    padding: 15px;
    transform: translateY(0);
    width: 100%;
    max-width: 800px;
  }

  .hero-title.typewriter h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }

  .typewriter-text {
    white-space: normal;
    overflow: visible;
    display: block;
    border-right: none;
    animation: fade-in 1s ease forwards;
  }

  .bg-animation-container {
    height: 350px;
    margin-bottom: 30px;
  }

  .tienda-content-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-top: 0;
  }

  .info-card {
    width: 90%;
    max-width: 600px;
    margin: 20px auto 0;
    transform: none;
  }
}

/* Tablets y dispositivos medianos */
@media (max-width: 992px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 35px 15px;
    min-height: 550px;
  }

  .hero-title.typewriter h1 {
    font-size: 2rem;
  }

  .bg-animation-container {
    height: 300px;
  }

  .info-card {
    width: 95%;
    max-width: 550px;
  }

  .reveal-text {
    font-size: 1.7rem;
  }

  .fade-in-text {
    font-size: 1rem;
  }

  .feature-text {
    font-size: 1rem;
  }
}

/* Tablets vertical (768px) */
@media (max-width: 768px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 30px 15px;
    min-height: 450px;
  }

  .hero-title.typewriter {
    margin-bottom: 15px;
    padding: 10px;
  }

  .hero-title.typewriter h1 {
    font-size: 1.8rem;
  }

  .bg-animation-container {
    height: 250px;
    margin-bottom: 25px;
  }

  .info-card {
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
  }

  .info-card-inner {
    padding: 25px 20px;
  }

  .reveal-text {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .fade-in-text {
    margin-bottom: 20px;
  }

  .feature-item {
    margin-bottom: 12px;
  }

  .feature-icon {
    width: 25px;
    height: 25px;
    font-size: 1rem;
    margin-right: 15px;
    margin-top: 0;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  .video-tooltip {
    display: none;
  }
}

/* Dispositivos móviles grandes (576px) */
@media (max-width: 576px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 25px 10px;
    min-height: 400px;
  }

  .hero-title.typewriter {
    padding: 8px;
  }

  .hero-title.typewriter h1 {
    font-size: 1.6rem;
  }

  .bg-animation-container {
    height: 220px;
    margin-bottom: 20px;
  }

  .info-card-inner {
    padding: 20px 15px;
  }

  .reveal-text {
    font-size: 1.5rem;
  }

  .fade-in-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .feature-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
  }

  /* Asegúrate de que el ítem sea flex para mantener su altura */
  .feature-item {
    display: flex;
    align-items: center;  /* centra icono y texto */
  }

  .feature-text {
    font-size: 0.95rem;
    position: relative;
    top: 22px;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .video-tooltip {
    display: none;
  }
}

/* Dispositivos móviles (480px) */
@media (max-width: 480px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 20px 10px;
    min-height: 380px;
  }

  .hero-title.typewriter h1 {
    font-size: 1.4rem;
  }

  .bg-animation-container {
    height: 180px;
    margin-bottom: 15px;
  }

  .info-card {
    width: 100%;
  }

  .info-card-inner {
    padding: 15px 12px;
  }

  .reveal-text {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .fade-in-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .features-container {
    margin-bottom: 20px;
  }

  .feature-item {
    margin-bottom: 10px;
  }

  .feature-icon {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
  }

  /* Asegúrate de que el ítem sea flex para mantener su altura */
  .feature-item {
    display: flex;
    align-items: center;  /* centra icono y texto */
  }

  .feature-text {
    font-size: 0.95rem;
    position: relative;
    top: 22px;
  }

  .cta-button {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Dispositivos móviles muy pequeños (380px) */
@media (max-width: 380px) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 15px 8px;
    min-height: 350px;
  }

  .hero-title.typewriter h1 {
    font-size: 1.3rem;
  }

  .bg-animation-container {
    height: 160px;
  }

  .reveal-text {
    font-size: 1.2rem;
  }

  .fade-in-text {
    font-size: 0.85rem;
  }

  .feature-text {
    font-size: 0.8rem;
  }
}

/* Animaciones extras */
@media (max-height: 480px) and (orientation: landscape) {
  #tienda-en-linea.tienda-en-linea-section {
    padding: 15px 10px;
    min-height: 300px;
  }

  .hero-title.typewriter {
    margin-bottom: 10px;
  }

  .hero-title.typewriter h1 {
    font-size: 1.4rem;
  }

  .bg-animation-container {
    height: 180px;
    margin-bottom: 10px;
  }

  .tienda-content-container {
    flex-direction: row;
    gap: 20px;
  }

  .info-card {
    width: 95%;
    max-width: 450px;
  }

  .info-card-inner {
    padding: 15px;
  }

  .reveal-text {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .fade-in-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .features-container {
    margin-bottom: 12px;
  }

  .feature-item {
    margin-bottom: 6px;
  }
}

/************************************/
/* ESTILOS ESPECÍFICOS COVER FLOW   */
/************************************/
/* Estilos para sección RH */
/* Estilos para sección RH */
.rh-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-secondary) 100%);
}

.rh-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--color-accent-secondary);
  z-index: 0;
}

.rh-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.rh-showcase-main {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-secondary);
}

.rh-slider-container {
  position: relative;
  width: 100%;
}

.rh-slider-track {
  display: flex;
  transition: transform var(--transition-slow);
  height: 100%;
  position: relative;
}

.rh-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity var(--transition-normal);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.rh-slide-active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.rh-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-md);
  max-height: 80vh;
}

.rh-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  gap: 1rem;
}

.rh-slider-prev,
.rh-slider-next {
  background: var(--color-input-bg);
  border: none;
  color: var(--color-text);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.rh-slider-prev:hover,
.rh-slider-next:hover {
  background: var(--color-accent);
}

.rh-slider-dots {
  display: flex;
  gap: 0.5rem;
}

.rh-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--border-radius-round);
  background: var(--color-input-bg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.rh-slider-dot.rh-active {
  background: var(--color-accent);
  width: 20px;
}

.rh-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.rh-feature-card {
  background-color: rgba(42, 42, 74, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--color-input-border);
}

.rh-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.rh-feature-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.rh-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.rh-feature-card p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.rh-cta {
  margin-top: 4rem;
  text-align: center;
  background: rgba(66, 133, 244, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(66, 133, 244, 0.2);
}

.rh-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.rh-cta p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rh-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn-accent:hover {
  background-color: var(--color-accent);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Responsive mejorado */
/* Pantallas extra grandes */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .rh-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .rh-cta {
    padding: 3rem;
  }

  .rh-cta h3 {
    font-size: 2.2rem;
  }
}

/* Tablets y pantallas medianas */
@media (max-width: 991px) {
  .rh-section {
    padding: 5rem 0;
  }

  .rh-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .rh-cta h3 {
    font-size: 1.6rem;
  }
}

/* Tablets pequeñas */
@media (max-width: 767px) {
  .rh-section {
    padding: 4rem 0;
  }

  .rh-features {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .rh-cta {
    padding: 2rem 1rem;
  }

  .rh-cta h3 {
    font-size: 1.5rem;
  }

  .rh-cta-buttons {
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Móviles */
@media (max-width: 575px) {
  .rh-section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .rh-slider-nav {
    gap: 0.5rem;
  }

  .rh-slider-prev,
  .rh-slider-next {
    width: 36px;
    height: 36px;
  }

  .rh-feature-icon {
    width: 50px;
    height: 50px;
  }

  .rh-feature-card h3 {
    font-size: 1.1rem;
  }

  .rh-feature-card p {
    font-size: 0.9rem;
  }

  .rh-cta h3 {
    font-size: 1.3rem;
  }

  .rh-cta p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Móviles muy pequeños */
@media (max-width: 320px) {
  .rh-section {
    padding: 2rem 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .rh-feature-card {
    padding: 1rem;
  }

  .rh-cta {
    padding: 1.5rem 1rem;
  }

  .rh-cta h3 {
    font-size: 1.2rem;
  }

  .btn {
    width: 100%;
  }
}

/* Soporte para modo de alto contraste y lectores de pantalla */
@media (prefers-contrast: more) {
  .rh-feature-card {
    border: 2px solid var(--color-text);
  }

  .rh-cta {
    border: 2px solid var(--color-text);
  }

  .btn-outline {
    border: 3px solid var(--color-text);
  }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .rh-feature-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .rh-slide {
    transition: opacity 0.1s;
  }

  .rh-slider-track {
    transition: transform 0.1s;
  }
}

/* ========== ACERCA DE ========== */
.about-section {
  padding: 6rem 0;
  position: relative;
  color: #fff;
  background: url("/upload/default_image/ComandasVirtualesBackground.png") no-repeat center center;
  background-size: cover;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.about-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.about-text p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.app-download {
  margin-top: 2rem;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.app-badge img {
  height: 45px;
  width: auto;
  transition: transform var(--transition-normal);
}

.app-badge:hover img {
  transform: scale(1.1);
}


/* ========== Inicio Estilos Sección Planes de Suscripción ========== */
/* Ajuste del background para que abarque toda la sección */
.section-planes-suscripcion {
  position: relative;
  margin: 0;
  padding: 0;
  background-image: url('../../../upload/default_image/landingpage_demo/restaurante/BackgroundPlanesSuscripción2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  left: 0;
  right: 0;
  min-height: 100vh;
  color: var(--color-text);
  overflow: hidden;
}

.planes-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 46, 0.75);
  /* Overlay semi-transparente para mejorar la legibilidad */
  z-index: 1;
}

/* Ajuste para asegurar que el contenedor tome todo el ancho disponible */
.section-planes-suscripcion .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 15px;
}

/* Aseguramos que el contenedor de planes tome el ancho completo disponible */
.planes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.planes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.planes-logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.planes-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: none;
}

/* Estilos para las tarjetas de planes con animación */
.plan-card {
  background-color: var(--color-accent);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity 0.5s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.plan-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.plan-basico {
  background-color: var(--color-accent)
}

.plan-pro {
  background-color: rgba(255, 107, 107, 0.9);
  border: 2px solid #ff6b6b;
  z-index: 3;
}

.plan-premium {
  background-color: var(--color-accent);
}

.highlight-plan {
  transform: scale(1.05);
  opacity: 0;
}

.highlight-plan.animated {
  opacity: 1;
  transform: scale(1.05);
}

.highlight-plan:hover {
  transform: scale(1.05) translateY(-10px);
}

.highlight-plan.animated:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-tag {
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  text-align: center;
  background-color: #fff;
  color: #1a1a2e;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  max-width: 80%;
  margin: 0 auto;
}

.plan-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 5px;
}

.currency {
  font-size: 2rem;
  margin-top: 0.5rem;
}

.plan-billing {
  text-align: center;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.plan-offer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  padding: 0 10px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  line-height: 1.4;
}

.check-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-text);
  flex-shrink: 0;
  margin-right: 10px;
  margin-top: 2px;
}

.plan-pro .check-icon {
  fill: #fff;
}

.plan-button {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: all var(--transition-normal);
  margin-top: auto;
}

.plan-basico .plan-button,
.plan-premium .plan-button {
  background-color: var(--color-text);
  color: #050505;
}

.plan-basico .plan-button:hover,
.plan-premium .plan-button:hover {
  background-color: var(--color-text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.plan-pro .plan-button {
  background-color: #fff;
  color: #ff6b6b;
}

.plan-pro .plan-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.planes-website {
  text-align: center;
  margin-top: 30px;
}

.website-link {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.website-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Estilos de accesibilidad */
.plan-card:focus-within {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.plan-button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ========== Estilos para Modal de Pago ========== */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.payment-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.payment-modal-container {
  background-color: #1a1a2e;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.payment-modal-overlay.active .payment-modal-container {
  transform: translateY(0);
}

.payment-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s;
}

.payment-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.payment-modal-close svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.payment-modal-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.payment-modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-modal-header h3 {
  font-size: 1.5rem;
  color: white;
  margin: 0;
}

.payment-icon-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-modal-logo {
  height: 40px;
  width: auto;
}

.payment-modal-body {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* ===== CORRECCIÓN DE ALINEACIÓN Y DIMENSIONES ===== */

/* 1. Establecer estructura base de los contenedores principales */
.payment-section,
.order-summary {
  padding: 20px;
  width: 50%;
  /* Exactamente mitad del espacio */
  box-sizing: border-box;
}

/* 2. Contenedores de pasos con padding idéntico */
.step-1-content,
.step-2-content {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

/* 3. Alineación de contenedores de título de paso */
.paso-1,
.paso-1\.2 {
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 0;
}

/* 4. Estilos específicos para los campos y sus contenedores */
.form-group {
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* 5. Alineación de etiquetas */
.form-group label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* 6. Alineación perfecta de inputs */
.form-control {
  width: 100%;
  height: 46px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  box-sizing: border-box;
  transition: all 0.2s;
  font-size: 0.95rem;
}

/* 7. Espaciado entre secciones de formulario */
.form-section {
  margin-bottom: 25px;
}

/* 8. Ajuste específico para el contenedor izquierdo */
.payment-section {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 25px;
  padding-right: 25px;
}

/* 9. Ajuste específico para el contenedor derecho */
.order-summary {
  padding-left: 25px;
  padding-right: 25px;
}

/* 10. Ajustes para los iconos de los inputs */
.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon i,
.input-with-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 40px;
}

/* 11. Estilos específicos para los títulos de paso */
.paso-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.paso-title h4 {
  font-size: 1.2rem;
  margin: 0;
  color: white;
  font-weight: 600;
}

.paso-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 12. Alineación específica para el intlTelInput */
.iti {
  width: 100%;
  display: block;
}

/* 13. Ajustes para el scroll dentro del modal */
.modal-phone-container .iti__country-list {
  position: absolute;
  z-index: 1050;
  max-height: 180px;
  max-width: 280px;
  overflow-y: auto;
  width: 100%;
  font-size: 13px;
}

/* 14. Reducir el tamaño de los elementos de la lista de países */
.iti__country-list .iti__country {
  padding: 5px 8px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 15. Estilos para secciones de ayuda */
.help-section {
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.help-section a {
  color: #ff6b6b;
  text-decoration: none;
}

.help-section a:hover {
  text-decoration: underline;
}

/* 16. Ajuste del botón de continuar */
.btn-continue {
  width: 100%;
  padding: 14px 20px;
  background-color: #ff6b6b;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-continue:hover {
  background-color: #ff5252;
}

/* Estilos para botones simulados de pago (mientras no esté PayPal) */
.payment-method-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: #0070ba;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  border: none;
}

.payment-method-button:hover {
  background-color: #005ea6;
}

.payment-method-button.credit-card {
  background-color: #4CAF50;
}

.payment-method-button.credit-card:hover {
  background-color: #43a047;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* Animación para los botones de pago */
@keyframes buttonPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.payment-method-button.highlight {
  animation: buttonPulse 1.5s infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ========== NUEVOS ESTILOS PARA EL FORMULARIO PASO A PASO ========== */

/* Estilos para el header y logo del modal */
.header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal-icon-container {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  padding: 5px;
}

.modal-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Estilos para el indicador de progreso */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0 35px;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
}

.progress-step.active .progress-circle {
  background-color: var(--color-accent);
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

.progress-step.active .progress-label {
  color: var(--color-accent);
  font-weight: 600;
}

.progress-step.completed .progress-circle {
  background-color: #28a745;
  border-color: #fff;
}

.progress-step.completed .progress-label {
  color: #28a745;
}

.progress-line {
  flex-grow: 1;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 15px;
  position: relative;
  top: -14px;
  z-index: 1;
}

.completed-line {
  background-color: #28a745;
}

/* Estilos para el contenido de los pasos */
.step-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.step-content.active {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para los formularios */
.registro-summary,
.registro-form {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-lg);
  margin-bottom: 20px;
}

.empresa-info,
.personal-info {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  margin-right: 1rem;
}

.paso-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  margin-right: 10px;
}

/* ========== MODAL NUEVO ESTILO (como en la imagen) ========== */
/* Estilos para el encabezado del modal con logo y texto centrado */
.payment-modal-header {
  background-color: #131326;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

.payment-modal-logo-container {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-modal-logo {
  max-width: 100%;
  max-height: 100%;
}

.payment-modal-title {
  font-size: 1.4rem;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-modal-title span {
  color: #00a0e9;
  margin-left: 8px;
}

/* Estilos para el indicador de pasos circular */
.steps-indicator {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  background-color: #131326;
  color: white;
  font-weight: 600;
  position: relative;
}

.step-circle.active {
  background-color: #00a0e9;
}

.step-circle-text {
  font-size: 14px;
  margin-top: 5px;
  color: white;
  text-align: center;
}

.step-circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-line {
  height: 2px;
  background-color: #131326;
  flex-grow: 1;
  position: relative;
  top: 20px;
  max-width: 60px;
}

/* Estilos para los títulos de secciones */
.section-title {
  color: #00a0e9;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 10px;
}

/* Ajustes para los formularios y inputs */
.form-column {
  padding: 0 20px;
}

/* Ajustes específicos para los campos de formulario */
.form-label {
  display: block;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.form-input {
  background-color: #131326;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: white;
  padding: 12px 15px;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #00a0e9;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Estilos para los botones de acción */
.btn-continuar {
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: 600;
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

/* Estilos para el pie de página del formulario */
.form-footer {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.help-link {
  color: #00a0e9;
  text-decoration: none;
}

.help-link:hover {
  text-decoration: underline;
}

/* ========== VALIDACIÓN DE FORMULARIOS ========== */
/* Estilos para estados de validación */
.is-valid {
  border-color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.05) !important;
}

.is-invalid {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.05) !important;
}

.validation-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

/* Animación de shake para errores */
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0);
  }
}

.shake-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.error-phone {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

/* Estilos para efectos de hover y focus en campos */
.input-with-icon.focus::before {
  opacity: 0.3;
}

.input-with-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: radial-gradient(circle at center, var(--color-accent) 0%, transparent 70%);
  border-radius: var(--border-radius-lg);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
  filter: blur(15px);
}

/* Animación de pulso para botón activo */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 160, 233, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 160, 233, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 160, 233, 0);
  }
}

.button-ready {
  animation: pulse 2s infinite;
}

/* Media queries para responsividad */
@media screen and (max-width: 1200px) {
  .planes-container {
    gap: 20px;
  }

  .plan-card {
    padding: 30px 20px;
  }

  .plan-title {
    font-size: 1.6rem;
  }

  .plan-price {
    font-size: 3rem;
  }
}

@media screen and (max-width: 992px) {
  .planes-header h2 {
    font-size: 3rem;
  }

  .plan-card {
    min-width: 260px;
    max-width: 320px;
    margin-top: 2rem;
  }

  .step-content.active {
    flex-direction: column;
  }

  .payment-section,
  .order-summary {
    width: 100%;
    padding: 15px;
  }

  .payment-section {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media screen and (max-width: 768px) {
  .section-planes-suscripcion {
    padding: 80px 0;
    background-size: auto 100%;
    background-attachment: scroll;
  }

  .section-planes-suscripcion .container {
    padding: 80px 15px;
  }

  .planes-header h2 {
    font-size: 2.5rem;
  }

  .planes-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .plan-card {
    width: 100%;
    max-width: 350px;
  }

  /* Anular reordenamiento previo del highlight-plan */
  .highlight-plan {
    transform: none;
    order: initial;
  }
  .highlight-plan.animated {
    transform: none;
  }
  .highlight-plan:hover,
  .highlight-plan.animated:hover {
    transform: translateY(-10px);
  }

  /* 🛠️ Ajuste de orden fijo */
  .plan-basico {
    order: 1;
  }
  .plan-pro {
    order: 2;
  }
  .plan-premium {
    order: 3;
  }

  .payment-modal-body {
    flex-direction: column;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .progress-indicator {
    margin: 15px 0 25px;
  }

  .progress-circle {
    width: 36px;
    height: 36px;
  }

  .progress-label {
    font-size: 0.8rem;
  }

  .form-column {
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .section-planes-suscripcion {
    padding: 60px 0;
  }

  .section-planes-suscripcion .container {
    padding: 60px 15px;
  }

  .planes-header h2 {
    font-size: 2rem;
  }

  .plan-card {
    padding: 30px 15px;
  }

  .plan-title {
    font-size: 1.5rem;
  }

  .plan-price {
    font-size: 2.8rem;
  }

  .currency {
    font-size: 1.8rem;
  }

  .plan-tag {
    font-size: 0.75rem;
    max-width: 90%;
  }

  .payment-modal-header {
    flex-direction: column;
    gap: 15px;
  }

  .payment-icons {
    justify-content: center;
  }

  .summary-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .item-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Para pantallas de alta resolución (2K y 4K) */
@media screen and (min-width: 2048px) {
  .container {
    max-width: 1500px;
  }

  .planes-header h2 {
    font-size: 4.5rem;
  }

  .plan-card {
    max-width: 420px;
    padding: 50px 40px;
  }

  .plan-title {
    font-size: 2.2rem;
  }

  .plan-price {
    font-size: 4.5rem;
  }

  .currency {
    font-size: 2.5rem;
  }

  .plan-features li {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .plan-button {
    padding: 18px 25px;
    font-size: 1.2rem;
  }

  .payment-modal-container {
    max-width: 1200px;
  }

  .payment-modal-header h3 {
    font-size: 2rem;
  }

  .payment-method span,
  .summary-header {
    font-size: 1.4rem;
  }

  .payment-method-button {
    padding: 15px 25px;
    font-size: 1.2rem;
  }

  .form-control {
    padding: 15px 20px 15px 50px;
    font-size: 1.1rem;
  }

  .input-with-icon i {
    font-size: 1.2rem;
    left: 18px;
  }

  .progress-circle {
    width: 50px;
    height: 50px;
  }

  .progress-label {
    font-size: 1.1rem;
  }
}

/* Soporte para modo oscuro y reducción de movimiento */
@media (prefers-reduced-motion) {
  .plan-card,
  .plan-card:hover,
  .highlight-plan:hover,
  .plan-button:hover,
  .payment-modal-overlay,
  .payment-modal-container,
  .payment-method-button.highlight,
  .btn-continuar:hover,
  .step-content {
    transition: none;
    transform: none;
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .plan-pro .plan-button {
    color: #1a1a2e;
  }
}


/* ========== Fin Estilos Sección Planes de Suscripción ========== */
/* ========== FOOTER ========== */
.footer {
  background-color: var(--color-primary);
  padding-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer h4 {
  font-size: 1.3rem;
  margin-bottom: 0rem;
  position: relative;
  padding-bottom: 0rem;
}

.line-shape-h4-quick-links {
  width: 160px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 2px 0 15px 0;
  border-radius: 2px;
}

.line-shape-h4-contact {
  width: 95px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 2px 0 15px 0;
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-contact i {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-bottom a {
  color: var(--color-accent);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.whatsapp-footer i {
  font-size: 20px;
  color: #25D366;
  margin-right: 8px;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-footer:hover i {
  transform: scale(1.2);
}

/* Ajuste en dispositivos móviles */
@media (max-width: 768px) {
  .whatsapp-footer i {
    font-size: 20px;
  }
}


/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 12px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  z-index: 99;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Estilos para el botón de Calendly */
.calendly-badge-widget {
  position: fixed !important;
  bottom: 160px !important;
  right: 12px !important;
  z-index: 1000 !important;
}

.calendly-badge-content {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--color-accent) !important;
  box-shadow: var(--shadow-md) !important;
  transition: all var(--transition-normal) !important;
  color: white !important;
  font-size: 24px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  outline: none !important;
  border: none !important;
}

.calendly-badge-content i {
  font-size: 28px !important;
}

.calendly-badge-content:hover {
  transform: scale(1.1) !important;
  box-shadow: var(--shadow-lg) !important;
  background-color: var(--color-accent-dark) !important;
}

.calendly-badge-content:focus {
  outline: 2px solid var(--color-accent-dark) !important;
  outline-offset: 2px !important;
}

.calendly-tooltip {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1001;
  white-space: nowrap;
  pointer-events: none;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 992px) {

  .carousel-title {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    flex-direction: column;
  }

  .carousel-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {

  .carousel-container {
    height: 400px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ========== CONTENEDOR DEL FORMULARIO ========== */
.contact-form-container {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container h3 {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  position: relative;
}

.contact-form-container h3::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* ========== ELEMENTOS DEL FORMULARIO ========== */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
  flex: 1;
}

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

/* ========== INPUTS Y TEXTAREA ========== */
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-input-border);
  background-color: var(--color-input-bg);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}

/* ========== ESTADOS DE VALIDACIÓN ========== */
#contact-form input.is-invalid,
#contact-form textarea.is-invalid {
  border-color: #ff4d4d;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ff4d4d' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff4d4d' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

#contact-form input.is-valid,
#contact-form textarea.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.validation-message {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #ff4d4d;
  display: none;
}

/* ========== LEYENDA DINÁMICA ========== */
.dynamic-tagline-container {
  width: 100%;
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
}

.dynamic-tagline-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: visible;
}

.dynamic-tagline {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  color: white;
  margin: 0;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tagline-main {
  margin-bottom: 2rem;
  width: 100%;
  white-space: nowrap;
  /* Evita que el texto se rompa en múltiples líneas */
}

.tagline-dynamic-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.dynamic-tagline .highlight {
  color: var(--color-accent);
}

.dynamic-tagline .secondary {
  color: white;
}

.dynamic-highlight {
  color: white;
  font-weight: bold;
  position: relative;
  display: inline-block;
  /* Para que el subrayado se ajuste al contenido */
  padding-bottom: 10px;
  /* Espacio para el subrayado */
}

/* Aseguramos que el subrayado siempre esté visible */
.dynamic-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  /* Se ajustará automáticamente al ancho del texto */
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
  /* Transición suave al cambiar el ancho */
}

/* Solo animamos la opacidad y transformación del texto, no el subrayado */
.dynamic-highlight.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.dynamic-highlight.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Media queries para responsividad */
@media (max-width: 1200px) {
  .dynamic-tagline {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .dynamic-tagline {
    font-size: 2.2rem;
  }

  .tagline-main {
    margin-bottom: 1rem; 
  }
}

@media (max-width: 768px) {
  .dynamic-tagline-container {
    padding: 7rem 1rem 1.5rem; 
  }

  .dynamic-tagline {
    font-size: 1.8rem;
  }

  .tagline-main {
    margin-bottom: 1rem; 
    white-space: normal;
    /* Permitir salto de línea en dispositivos más pequeños */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tagline-main .secondary {
    display: block;
    margin-top: 0.5rem;
  }

  .tagline-main .highlight,
  .tagline-main .secondary {
    white-space: nowrap;
    /* Mantener cada parte en una línea */
  }

  .dynamic-highlight {
    padding-bottom: 8px;
  }

  .dynamic-highlight::after {
    height: 3px;
    bottom: -3px;
  }
}

@media (max-width: 576px) {
  .dynamic-tagline-container {
    padding: 7rem 0.75rem 1rem; /* menos espacio inferior */
  }

  .dynamic-tagline {
    font-size: 1.5rem;
  }

  .tagline-main {
    margin-bottom: 0.8rem; /* antes 1rem */
    padding: 0 0.5rem;
  }

  .dynamic-highlight {
    padding-bottom: 6px;
  }

  .dynamic-highlight::after {
    height: 3px;
    bottom: -3px;
  }
}

@media (max-width: 480px) {
  .dynamic-tagline {
    font-size: 1.3rem;
    /* Mantiene un tamaño legible */
  }

  .tagline-main {
    line-height: 1.4;
  }
}

/* Asegurar legibilidad en pantallas muy pequeñas */
@media (max-width: 375px) {
  .dynamic-tagline {
    font-size: 1.2rem;
    /* Tamaño mínimo para mantener legibilidad */
  }

  .dynamic-highlight::after {
    height: 2.5px;
    bottom: -3px;
  }
}

/* INICIO DE SECCIÓN DE ORDENES */
/* Reset y Estilos Base */
.order-section {
  width: 100%;
  background-color: #f8f9fa;
}

/* Estilos de la sección de video instructivo */
.film-video-instructions-section {
  width: 100%;
  padding: 2rem 0;
  background-color: var(--color-secondary);
  overflow: hidden;
}

.film-video-instructions-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Mockup del teléfono */
.film-video-instructions-section__phone-mockup {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  margin-bottom: 2rem;
  position: relative;
}

.film-video-instructions-section__phone-frame {
  width: 300px;
  height: 600px;
  background-color: #333;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 8px solid #1a1a1a;
  transform: rotateY(10deg);
  transition: transform 0.5s ease;
  cursor: pointer;
  z-index: 1;
  margin-right: 10%;
}

.film-video-instructions-section__phone-frame:hover {
  transform: rotateY(0);
}

.film-video-instructions-section__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background-color: #1a1a1a;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
}

.film-video-instructions-section__phone-screen {
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
  position: relative;
}

.film-video-instructions-section__phone-bottom {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background-color: #444;
  border-radius: 5px;
}

/* Contenedor y controles de video */
.film-video-instructions-section__video-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.film-video-instructions-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.film-video-instructions-section__video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.film-video-instructions-section__video-container:hover .film-video-instructions-section__video-controls {
  opacity: 1;
}

.film-video-instructions-section__controls-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.film-video-instructions-section__play-pause-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease;
}

.film-video-instructions-section__play-pause-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.film-video-instructions-section__time-display {
  color: white;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.film-video-instructions-section__progress-container {
  width: 100%;
  height: 8px;
  cursor: pointer;
  padding: 2px 0;
}

.film-video-instructions-section__progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.film-video-instructions-section__progress-bar:hover {
  height: 6px;
}

.film-video-instructions-section__progress-filled {
  width: 0%;
  height: 100%;
  background-color: #ff9900;
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.2s ease;
  pointer-events: none;
}

.film-video-instructions-section__progress-bar:hover .film-video-instructions-section__progress-filled {
  background-color: #ffaa33;
}

/* Contenido de texto */
.film-video-instructions-section__content {
  flex: 0 0 60%;
  padding: 2rem 0;
}

.film-video-instructions-section__title {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.film-video-instructions-section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.film-video-instructions-section__description {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.film-video-instructions-section__tutorial-hint {
  margin-bottom: 2rem;
  padding: 10px 15px;
  background-color: var(--color-secondary);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.film-video-instructions-section__tutorial-hint i {
  color: var(--color-accent);
  margin-right: 5px;
}

.film-video-instructions-section__tutorial-hint strong {
  color: var(--color-accent);
}

.film-video-instructions-section__features {
  margin-bottom: 2.5rem;
}

.film-video-instructions-section__feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.film-video-instructions-section__feature-icon {
  flex: 0 0 50px;
  height: 50px;
  background-color: rgba(255, 153, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.film-video-instructions-section__feature-text h3 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.film-video-instructions-section__feature-text p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.film-video-instructions-section__cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.film-video-instructions-section__cta:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(230, 138, 0, 0.2);
}

.film-video-instructions-section__cta:active {
  transform: translateY(-1px);
}

/* Áreas de doble clic invisible */
.film-video-instructions-section__click-left,
.film-video-instructions-section__click-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 25%;
  z-index: 4;
  opacity: 0;
  cursor: pointer;
}

.film-video-instructions-section__click-left {
  left: 0;
}

.film-video-instructions-section__click-right {
  right: 0;
}

/* Estilos para salto en el video */
.film-video-instructions-section__jump-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 10;
  animation: fadeInOut 0.8s ease-in-out;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }

  20% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  80% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
}

/* Estilos para accesibilidad */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .film-video-instructions-section__container {
    justify-content: center;
    gap: 2rem;
  }

  .film-video-instructions-section__phone-mockup {
    flex: 0 0 100%;
    margin-bottom: 3rem;
  }

  .film-video-instructions-section__phone-frame {
    margin-right: 0;
    /* Eliminar margen que estaba desplazando el teléfono */
  }

  .film-video-instructions-section__content {
    flex: 0 0 80%;
    text-align: center;
  }

  .film-video-instructions-section__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .film-video-instructions-section__feature {
    text-align: left;
    justify-content: flex-start;
  }

  .film-video-instructions-section__tutorial-hint {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .film-video-instructions-section {
    padding: 3rem 0;
  }

  .film-video-instructions-section__phone-frame {
    width: 280px;
    height: 560px;
    margin: 0 auto;
    /* Centrar el teléfono */
  }

  .film-video-instructions-section__title {
    font-size: 2rem;
  }

  .film-video-instructions-section__content {
    flex: 0 0 90%;
    padding: 0 1.5rem;
  }

  .film-video-instructions-section__jump-indicator {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 576px) {
  .film-video-instructions-section {
    padding: 2.5rem 0;
  }

  .film-video-instructions-section__phone-frame {
    width: 240px;
    /* Corregir valor de ancho */
    height: 480px;
    border-radius: 30px;
    margin: 0 auto;
    /* Centrar */
    transform: rotateY(0);
    /* Eliminar rotación en móviles para mejor visualización */
  }

  .film-video-instructions-section__phone-notch {
    width: 120px;
    height: 20px;
  }

  .film-video-instructions-section__title {
    font-size: 1.8rem;
  }

  .film-video-instructions-section__description {
    font-size: 1rem;
  }

  .film-video-instructions-section__tutorial-hint {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .film-video-instructions-section__feature-icon {
    flex: 0 0 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .film-video-instructions-section__feature-text h3 {
    font-size: 1.1rem;
  }

  .film-video-instructions-section__feature-text p {
    font-size: 0.9rem;
  }

  .film-video-instructions-section__cta {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    /* Hacer que el botón ocupe todo el ancho en móviles */
    max-width: 300px;
    /* Limitar el ancho máximo */
    margin: 0 auto;
    /* Centrar */
    display: block;
  }

  .film-video-instructions-section__controls-top {
    margin-bottom: 6px;
  }

  .film-video-instructions-section__time-display {
    font-size: 10px;
  }

  /* Mejorar la visualización de características en móviles */
  .film-video-instructions-section__features {
    padding: 0 0.5rem;
  }
}

@media (max-width: 375px) {
  .film-video-instructions-section__phone-frame {
    width: 220px;
    height: 450px;
  }

  .film-video-instructions-section__feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .film-video-instructions-section__feature-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .film-video-instructions-section__feature-text {
    text-align: center;
  }

  .film-video-instructions-section__phone-bottom {
    width: 100px;
    height: 4px;
  }

  .film-video-instructions-section__phone-notch {
    width: 100px;
    height: 18px;
  }

  .film-video-instructions-section__jump-indicator {
    font-size: 10px;
    padding: 5px 8px;
  }

  .film-video-instructions-section__tutorial-hint {
    padding: 6px 10px;
  }
}

/* Mejoras de accesibilidad */
.film-video-instructions-section__play-pause-btn:focus,
.film-video-instructions-section__progress-bar:focus {
  outline: 2px solid #ff9900;
  outline-offset: 2px;
}

/* Mejoras para la interacción con el vídeo */
.film-video-instructions-section__video-container:focus-within .film-video-instructions-section__video-controls {
  opacity: 1;
}

.film-video-instructions-section__click-left:active,
.film-video-instructions-section__click-right:active {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mejoras para las áreas de doble clic para mayor usabilidad en móviles */
.film-video-instructions-section__click-left,
.film-video-instructions-section__click-right {
  opacity: 0.05;
  /* Hacerlas ligeramente visibles para mejor usabilidad */
}

.film-video-instructions-section__click-left:active,
.film-video-instructions-section__click-right:active {
  opacity: 0.2;
}

/* Estilos para mostrar una pista visual en dispositivos táctiles */
@media (hover: none) {

  /* Hacer los controles de video permanentemente visibles en dispositivos táctiles */
  .film-video-instructions-section__video-controls {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 150%);
  }

  .film-video-instructions-section__phone-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 5;
    opacity: 0;
    transform: translateY(-50%);
    animation: pulseLeft 2s infinite;
  }

  .film-video-instructions-section__phone-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 5;
    opacity: 0;
    transform: translateY(-50%);
    animation: pulseRight 2s infinite;
    animation-delay: 1s;
  }
}

@keyframes pulseLeft {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }

  50% {
    opacity: 0.7;
    /* Aumentado para mejor visibilidad */
    transform: translateY(-50%) scale(1.1);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
}

@keyframes pulseRight {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }

  50% {
    opacity: 0.7;
    /* Aumentado para mejor visibilidad */
    transform: translateY(-50%) scale(1.1);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
}

/* Mejora para dispositivos muy pequeños (iPhone SE, etc.) */
@media (max-width: 320px) {
  .film-video-instructions-section__phone-frame {
    width: 200px;
    height: 400px;
  }

  .film-video-instructions-section__title {
    font-size: 1.6rem;
  }
}


/* INICIO SECCION MESAS */
.tables-section {
  width: 100%;
  padding: 4rem 0;
  background-color: var(--color-secondary);
}

.tables-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dynamic-functional-sections__content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.dynamic-functional-sections__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.dynamic-functional-sections__text-content h3 {
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.dynamic-functional-sections__text-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.dynamic-functional-sections__text-content p {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dynamic-functional-sections__features {
  margin-bottom: 2rem;
}

.dynamic-functional-sections__features ul {
  list-style-type: none;
  padding: 0;
}

.dynamic-functional-sections__features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.dynamic-functional-sections__features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

.dynamic-functional-sections__image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dynamic-functional-sections__image img {
  max-width: 35%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dynamic-functional-sections__image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.dynamic-functional-sections__cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dynamic-functional-sections__cta:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Estilos Responsive */
@media screen and (max-width: 1024px) {
  .tables-section {
    padding: 3rem 0;
  }

  .dynamic-functional-sections__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .dynamic-functional-sections__text-content,
  .dynamic-functional-sections__image {
    max-width: 100%;
    width: 100%;
  }

  .dynamic-functional-sections__text-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .dynamic-functional-sections__features li {
    text-align: left;
    margin: 0 auto 0.75rem;
    max-width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .tables-section {
    padding: 2rem 0;
  }

  .dynamic-functional-sections__text-content h3 {
    font-size: 1.5rem;
  }

  .dynamic-functional-sections__text-content p {
    font-size: 1rem;
  }

  .dynamic-functional-sections__features li {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .tables-section {
    padding: 1.5rem 0;
  }

  .dynamic-functional-sections__text-content h3 {
    font-size: 1.3rem;
  }

  .dynamic-functional-sections__text-content p {
    font-size: 0.9rem;
  }

  .dynamic-functional-sections__cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {

  .dynamic-functional-sections__image img,
  .dynamic-functional-sections__cta {
    transition: none;
  }
}

/* FINALIZACIÓN SECCION MESAS */


/* Estilos para el modal de verificación de correo electrónico */
.verification-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.verification-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.verification-modal.fade .verification-modal-dialog {
  transition: opacity 0.15s linear, transform 0.3s ease-out;
  transform: translate(0, -25px);
  opacity: 0;
}

.verification-modal.show .verification-modal-dialog {
  transform: translate(0, 0);
  opacity: 1;
}

.verification-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0.5rem;
  pointer-events: auto;
}

.verification-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #1a1a33;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Cabecera del modal */
.verification-modal-header {
  position: relative;
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
}

/* Estilo para el botón cerrar */
.verification-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.verification-close:hover {
  color: white;
}

/* Título del modal */
.verification-modal-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Contenedor del icono de sobre */
.verification-icon-container {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.5rem;
}

.verification-envelope-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cuerpo del modal */
.verification-modal-body {
  padding: 0rem 2rem 2rem;
  color: white;
  text-align: center;
}

/* Subtítulo */
.verification-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

/* Mensaje con email */
.verification-message {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.verification-email {
  color: #4285f4;
  /* Color azul para el email */
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}

/* Instrucciones */
.verification-instructions {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: white;
}

/* Contenedor de inputs de código */
.verification-code-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 1rem 0 1.25rem;
}

/* Estilo para cada input del código */
.verification-code-input {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #444;
  background-color: #20203e;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  outline: none;
}

.verification-code-input:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 1px #4285f4;
}

/* Mensaje de error */
.verification-error-message {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin: 0 0 1rem;
  display: none;
}

/* Texto de ayuda */
.verification-help-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0 1rem;
}

.verification-support-link {
  color: #4285f4;
  text-decoration: none;
}

.verification-support-link:hover {
  text-decoration: underline;
}

/* Contenedor de botones */
.verification-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.25rem;
}

/* Botón para reenviar código */
.verification-resend-btn {
  background-color: transparent;
  border: 1px solid #444;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  width: 100%;
}

.verification-resend-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Botón para continuar */
.verification-continue-btn {
  background-color: #4285f4;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s;
  width: 100%;
}

.verification-continue-btn:hover {
  background-color: #3b77db;
}

/* Adaptaciones para responsive */
@media (max-width: 450px) {
  .verification-modal-dialog {
    width: 90%;
    margin: 0.5rem auto;
  }

  .verification-code-container {
    gap: 4px;
  }

  .verification-code-input {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .verification-modal-body {
    padding: 0 1rem 1.5rem;
  }

  .verification-subtitle {
    font-size: 1rem;
  }

  .verification-message {
    font-size: 0.85rem;
  }

  .verification-instructions {
    font-size: 0.85rem;
  }

  .verification-help-text {
    font-size: 0.75rem;
  }
}

/* Adaptaciones para smartphones pequeños */
@media (max-width: 350px) {
  .verification-code-input {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Adaptaciones para pantallas grandes */
@media (min-width: 768px) {
  .verification-modal-dialog {
    max-width: 420px;
  }

  .verification-actions {
    flex-direction: row;
    justify-content: space-between;
  }

  .verification-resend-btn,
  .verification-continue-btn {
    width: 48%;
  }
}

@media (min-width: 1200px) {
  .verification-modal-dialog {
    max-width: 440px;
  }
}

/* Animación para el mensaje de error */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.verification-shake {
  animation: shake 0.6s cubic-bezier(.36, .07, .19, .97) both;
}

/* Para asegurar la compatibilidad con Bootstrap */
.modal-backdrop {
  background-color: transparent !important;
}

/* Estilo adicional para los inputs */
.verification-code-input:focus-visible {
  outline: none;
}

/* Modal SweetAlert Dark Mejorado */
.swal-dark-theme-compact {
  background-color: var(--color-secondary);
  color: var(--color-text);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  width: 90vw;
  padding: 1.5rem 1rem 1.3rem;
  box-sizing: border-box;
}

/* Estilo para el título */
.swal-title-dark {
  color: var(--color-text);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: bold;
  margin-bottom: 0.7rem;
  text-align: center;
  word-break: break-word;
}

/* Estilo para el contenido de texto */
.swal-text-dark {
  color: var(--color-text-secondary);
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Botón de confirmar */
.swal-button-dark {
  background-color: var(--color-accent-secondary);
  color: var(--color-text);
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
  max-width: 100%;
  width: 100%;
}

.swal-button-dark:hover {
  background-color: #3b77db;
}

/* Ícono de éxito */
.swal-icon-dark {
  margin: 0 auto 1rem auto;
}

.swal-icon-dark .swal2-success-ring {
  border: 4px solid var(--color-accent-secondary) !important;
}

.swal-icon-dark .swal2-success-line-tip,
.swal-icon-dark .swal2-success-line-long {
  background-color: var(--color-accent-secondary) !important;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 480px) {
  .swal-dark-theme-compact {
    max-width: 95vw;
    padding: 1rem;
  }

  .swal-button-dark {
    font-size: 1rem;
  }
}

/* Escalado para pantallas 2K y 4K */
@media (min-width: 1600px) {
  .swal-dark-theme-compact {
    max-width: 420px;
    font-size: 1.05rem;
  }
}

@media (min-width: 2560px) {
  .swal-dark-theme-compact {
    max-width: 480px;
    font-size: 1.1rem;
  }

  .swal-button-dark {
    font-size: 1.1rem;
    padding: 0.8rem 1.6rem;
  }
}