/* ============================================= */
/* VARIABLES Y CONFIGURACIÓN GLOBAL */
/* ============================================= */
:root {
  --primary: #005f73;
  --secondary: #0a9396;
  --accent: #94d2bd;
  --dark: #001219;
  --light: #e9d8a6;
  --white: #ffffff;
  --red-accent: #ee9b00;
  --info-blue: #1976d2;
  --text-color: #333333;
  --light-text: #f8f9fa;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --main-font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --title-font: "Arial Black", "Arial Bold", Gadget, sans-serif;
  --transition: all 0.3s ease;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--main-font);
  overflow-x: hidden;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  color: var(--white);
}

h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--secondary);
}

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

/* ============================================= */
/* BOTONES (ESTILOS GENERALES) */
/* ============================================= */

/* Botones */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #b7d6df;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(0, 95, 115, 0.3);
  border: none;
  cursor: pointer;
  font-family: var(--main-font);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 95, 115, 0.4);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, transparent, #9de3ad, transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Títulos de sección */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-title p {
  font-size: 1.2rem;
  color: #5f6368;
  max-width: 700px;
  margin: 0 auto;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* ============================================= */
/* BARRA SOCIAL LATERAL */
/* ============================================= */

.social-bar-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    z-index: 2000;
    opacity: 0;
    animation: fadeSlideInLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeSlideInLeft {
    from {
        transform: translateY(-50%) translateX(-40px);
        opacity: 0;
        filter: blur(5px);
    }

    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}



.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: relative;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link i {
    font-size: 20px;
    color: #fff;
    transition: transform 0.3s ease;
}

.social-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);

    padding: 5px 10px;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    margin-left: 55px;
}

.social-link:hover {
    width: 60px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link:hover .social-text {
    opacity: 1;
    margin-left: 10px;
}

/* Colores específicos para cada red social */
.social-facebook {
    background-color: #1877f2;
}

.social-tiktok {
    background-color: #000000;
}

.social-twitter {
    background-color: #1da1f2;
}

.social-youtube {
    background-color: #ff0000;
}

.social-web {
    background-color: #4caf50;
}

/* ============================================= */
/* BARRA DE NAVEGACIÓN */
/* ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0px 0px 40px 40px;  /*  margen de border-inicio */
  height: 80px; 
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 5%;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 150px;
  height: auto;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: rgb(51, 50, 50);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  text-shadow: 1px 1px 3px rgba(250, 247, 247, 0.5);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: rgb(14, 12, 12);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

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

/* Menú hamburguesa */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-menu .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../empresa.png") center/cover;
  color: var(--white);
  padding: 180px 20px 100px;
  margin-top: 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 91vh; /* agrandar fondo */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.8rem;
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 3rem;
}

/* ============================================= */
/* SECCIONES DE CONTENIDO */
/* ============================================= */
.content-section {
  padding: 80px 0;
  background-color: var(--white);
}

.content-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.content-section p {
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================= */
/* SECCIÓN DE CARACTERÍSTICAS */
/* ============================================= */
.features {
  background-color: #f5f9ff;
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-color);
  margin-bottom: 2rem;
}

/* ============================================= */
/* VIDEO DEMO */
/* ============================================= */
.video-demo {
  padding: 80px 0;
  background-color: #f8fafc;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-container iframe {
  width: 100%;
  height: 450px;
  display: block;
  border: none;
  border-radius: 12px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.play-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================= */
/* MODAL PARA VIDEO */
/* ============================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
  z-index: 1001;
}

.close-modal:hover {
  color: var(--secondary);
}

.modal-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.modal-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================= */
/* BENEFICIOS */
/* ============================================= */
#beneficios {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  position: relative;
  padding: 20px 25px 20px 60px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
}

.benefits-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left-width: 6px;
}

.benefits-list i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  color: white;
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
}

.benefits-list li:hover i {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* 
 * GALERÍA DE IMÁGENES Y MODAL 
 * Sistema de galería con lightbox
 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 25px;
  margin: 3rem 0;
  padding: 10px;
}
/* Miniaturas de la galería */
.miniatura {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  filter: brightness(0.95);
  transform: scale(1);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

/* Efecto hover en miniaturas */
.miniatura:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  filter: brightness(1);
  border-color: rgba(255, 255, 255, 0.3);
  z-index: 10;
}

/* Modal (lightbox) */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Clase para mostrar el modal */
.modal.show {
  opacity: 1; /* Visible */
}

/* Contenido del modal */
.modal-contenido {
  display: block;
  margin: auto;
  max-width: 75%;
  max-height: 75%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
}
/* Contenido visible cuando el modal está activo */
.modal.show .modal-contenido {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
/* Botón para cerrar el modal */
.cerrar {
  position: fixed;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  z-index: 3001;
}
/* Efecto hover en botón de cerrar */
.cerrar:hover {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
/* Navegación del modal (anterior/siguiente) */
.modal-nav {
  position: fixed;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3001;
}
/* Botones de navegación */
.modal-nav button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
/* Efecto hover en botones de navegación */
.modal-nav button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--secondary);
}
/* Animación de carga */
.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--secondary);
  animation: spin 1s linear infinite;
  z-index: 3000;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================= */
        /* SECCIÓN DE TESTIMONIOS */
        /* ============================================= */

        .testimonios-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 80px 0;
            color: #333;
        }

        .testimonios-title {
            text-align: center;
            font-weight: 700;
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: #212529;
            position: relative;
        }

        .testimonios-title:after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: #0077ff;
            margin: 10px auto;
            border-radius: 2px;
        }

        .testimonios-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 40px;
            color: #5a6c7d;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .testimonios-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .testimonio-card {
            background-color: #fff;
            box-shadow: 0 5px 30px rgba(100, 100, 100, 0.16);
            transition: all 0.3s ease-out;
            padding: 30px;
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            position: relative;
            overflow: hidden;
            border-left: 4px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .testimonio-card:hover {
            transform: translateY(-5px);
            border-left: 4px solid #0077ff;
        }

        .quote-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            opacity: 0.1;
            font-size: 60px;
            color: #0077ff;
        }

        .rating {
            color: #ffc107;
            margin: 15px 0;
            font-size: 18px;
            display: flex;
            justify-content: center;
            gap: 5px;
        }

        .rating i {
            transition: all 0.3s ease;
        }

        .rating .star {
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform-origin: center;
            color: #ffc107;
        }

        .rating .star:hover {
            animation: rotateStar 0.8s ease-in-out;
            color: #ff9e3d;
        }

        @keyframes rotateStar {
            0% {
                transform: rotate(0) scale(1);
            }
            50% {
                transform: rotate(180deg) scale(1.4);
            }
            100% {
                transform: rotate(360deg) scale(1);
            }
        }

        .testimonio-text {
            font-style: italic;
            line-height: 1.7;
            margin-bottom: 20px;
            color: #555;
            position: relative;
            z-index: 1;
        }

        .testimonio-author-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .testimonio-image {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 6px solid #0077ff;
            padding: 3px;
            display: block;
            box-shadow: 0 8px 20px rgba(0, 119, 255, 0.4);
            transition: all 0.4s ease;
            background-color: white;
        }

        .testimonio-image:hover {
            transform: scale(1.1);
            border-color: #0056b3;
            box-shadow: 0 12px 25px rgba(0, 119, 255, 0.5);
        }

        .testimonio-author {
            font-weight: 700;
            margin-bottom: 5px;
            text-align: center;
            font-size: 1.3rem;
            margin-top: 15px;
            color: #2c3e50;
        }

        .testimonio-position {
            color: #6c757d;
            text-align: center;
            font-size: 1rem;
            margin-bottom: 15px;
            font-weight: 500;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .testimonio-card {
            animation: fadeIn 0.6s ease-out;
        }

/* 
 * SECCIÓN DE CONTACTO 
 * Formulario con imagen lateral
 */
.seccion-contacto {
  background: linear-gradient(135deg, #005f73 0%, #0a9396 100%);
  color: white;
  padding: 80px 0;
}

.contenedor-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contacto-imagen {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.contacto-imagen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
/* Efecto hover en imagen */
.contacto-imagen img:hover {
  transform: scale(1.02);
}

/* Contenedor del formulario */
.cta-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.cta-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-form p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
/* Estilos del formulario */
.formulario-gmail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* Campos de entrada */
.formulario-gmail input,
.formulario-gmail textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
  font-family: inherit;
}
/* Efecto focus en campos */
.formulario-gmail input:focus,
.formulario-gmail textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(148, 210, 189, 0.2);
}

.formulario-gmail textarea {
  resize: vertical;
  min-height: 150px;
}

/* Botón del formulario */
.formulario-gmail button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 95, 115, 0.3);
  font-family: inherit;
  width: 100%;
}
/* Efecto hover en botón */
.formulario-gmail button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 95, 115, 0.4);
  background: var(--secondary);
}
/* Efecto de brillo al pasar el mouse */
.formulario-gmail button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, transparent, var(--accent), transparent);
  transition: 0.5s;
}
/* Animación del brillo al hacer hover */
.formulario-gmail button:hover::before {
  left: 100%;
}
/* Efecto al hacer clic */
.formulario-gmail button:active {
  transform: translateY(-1px);
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: rgba(29, 201, 231, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================= */
/* CHATBOT */
/* ============================================= */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background-color: var(--primary);
}

.chatbot-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.chatbot-float img {
  width: 30px;
  height: 30px;
}

.siamsoft-chat-box {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  height: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.chat-box-header {
  background-color: var(--primary);
  color: white;
  padding: 15px;
  font-weight: bold;
  text-align: center;
}

.chat-box-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f5f5f5;
}

.chat-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
}

.siamsoft-chat-box .chat-message {
  background-color: #e5e5ea;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.siamsoft-chat-box .chat-message.user {
  background-color: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 18px;
}

.siamsoft-chat-box textarea {
  border: none;
  border-top: 1px solid #ddd;
  padding: 10px;
  resize: none;
  outline: none;
  height: 50px;
}

.siamsoft-chat-box button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.siamsoft-chat-box button:hover {
  background-color: var(--secondary);
}

/* ============================================= */
/* MEDIA QUERIES - RESPONSIVE DESIGN */
/* ============================================= */

/* Tablets y dispositivos medianos */
@media (max-width: 1024px) {
  .hero {
    padding: 150px 20px 80px;
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .contenedor-contacto {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dispositivos móviles grandes */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 5%;
  }

  /* Ocultar enlaces de navegación normales */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: white;
  }

  /* Mostrar menú hamburguesa */
  .hamburger-menu {
    display: flex;
  }

  /* Animación para transformar en X */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

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

  .hero {
    padding: 130px 20px 60px;
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

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

  .section-title p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

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

  .testimonios-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonio-card {
        width: 100%;
    }

  .gallery {
    grid-template-columns: 1fr;
  }

  .miniatura {
    height: 300px;
  }

  /* BARRA SOCIAL RESPONSIVE PARA MÓVIL  */
  .social-bar-container {
        top: auto;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        animation: fadeSlideInBottom 1s ease-out forwards;
        animation-delay: 0.4s;
    }

  @keyframes fadeSlideInBottom {
    from {
      transform: translateY(100px);
      opacity: 0;
      filter: blur(5px);
    }
    to {
      transform: translateY(0);
      opacity: 1;
      filter: blur(0);
    }
  }
  @keyframes fadeSlideInBottom {
        from {
            transform: translateX(-50%) translateY(120px);
            opacity: 0;
            filter: blur(5px);
        }
        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            filter: blur(0);
        }
    }

  .social-bar {
        flex-direction: row;
        border-radius: 12px 12px 0 0;
        width: max-content;
        max-width: 100vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

  .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link:hover {
        width: 45px;
        height: 55px;
        border-radius: 0;
    }

  .social-text {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 130px;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 12px;
        margin-left: 0;
        white-space: nowrap;
        z-index: 2001;
    }
    .social-link:hover .social-text {
        opacity: 1;
        margin-left: 0;
    }


  .modal-contenido {
    max-width: 90%;
    max-height: 60%;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    min-width: 100%;
    text-align: center;
  }

  .footer-column h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }
}

/* Dispositivos móviles pequeños */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 5%;
  }

  .logo-img {
    width: 120px;
  }

  .hero {
    padding: 120px 15px 50px;
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 25px 15px;
  }

  .feature-icon {
    font-size: 2.2rem;
  }

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

  .play-text {
    font-size: 1rem;
    padding: 8px 16px;
  }



  .miniatura {
    height: 250px;
  }

  .cta-form {
    padding: 20px;
  }

  .formulario-gmail input,
  .formulario-gmail textarea {
    padding: 12px;
  }

  .siamsoft-chat-box {
    width: 280px;
    height: 380px;
    right: -10px;
  }

  /* BARRA SOCIAL EN PANTALLAS MUY PEQUEÑAS */
  .social-bar {
    transform: scale(0.9);
    transform-origin: center bottom;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link i {
    font-size: 18px;
  }
}

/* Dispositivos muy pequeños (ej: iPhone SE) */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

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

  .testimonio-author {
    font-size: 1rem;
  }

  .testimonio-position {
    font-size: 0.8rem;
  }

  .siamsoft-chat-box {
    width: 260px;
    height: 350px;
  }
}
