 :root {
     --primary: #2563eb;
     --primary-dark: #1d4ed8;
     --secondary: #10b981;
     --accent: #f97316;
     --dark: #1e293b;
     --light: #f8fafc;
     --gray: #64748b;
     --light-gray: #e2e8f0;
 }

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

 body {
     font-family: 'Poppins', sans-serif;
     color: var(--dark);
     line-height: 1.6;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5 {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
 }

 /* Header y Navegación */
 header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     transition: all 0.3s ease;
 }

 .scrolled {
     background: rgba(255, 255, 255, 0.95);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     backdrop-filter: blur(10px);
 }

 .scrolled .menu-links a {
     color: var(--dark);
 }

 .scrolled .logo img {
     height: 50px;
 }

 .menu {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 15px 5%;
 }

 .logo img {
     height: 60px;
     transition: all 0.3s ease;
 }

 .menu-links {
     display: flex;
     list-style: none;
     gap: 30px;
 }

 .menu-links a {
     text-decoration: none;
     color: white;
     font-weight: 500;
     font-size: 16px;
     transition: all 0.3s ease;
     position: relative;
 }

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

 .menu-links a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -5px;
     left: 0;
     background-color: var(--accent);
     transition: width 0.3s ease;
 }

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

 .dropdown_list {
     position: relative;
 }

 .dropdown-menu-list {
     position: absolute;
     top: 100%;
     left: 0;
     background: white;
     width: 220px;
     border-radius: 8px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
     padding: 10px 0;
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px);
     transition: all 0.3s ease;
     z-index: 100;
 }

 .dropdown_list:hover .dropdown-menu-list {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .dropdown-menu-list li {
     padding: 0;
 }

 .dropdown-menu-list a {
     color: var(--dark) !important;
     padding: 10px 20px;
     display: block;
     font-size: 14px;
 }

 .dropdown-menu-list a:hover {
     background: var(--light-gray);
     color: var(--primary) !important;
 }

 .hamburger-menu {
     display: none;
     font-size: 24px;
     color: white;
     cursor: pointer;
 }

 .scrolled .hamburger-menu {
     color: var(--dark);
 }

 /* Hero Section */
 .hero {
     height: 100vh;
     position: relative;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 #background-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: -1;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to right, rgba(37, 99, 235, 0.8), rgba(16, 185, 129, 0.7));
     z-index: -1;
 }

 .hero-content {
     text-align: center;
     color: white;
     max-width: 800px;
     padding: 0 20px;
     z-index: 2;
 }

 .hero-content h1 {
     font-size: 3.5rem;
     margin-bottom: 20px;
     animation: fadeInDown 1s ease;
 }

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     animation: fadeInUp 1s ease;
 }

 .cta-button {
     display: inline-block;
     background: var(--accent);
     color: white;
     padding: 15px 30px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     animation: fadeIn 1.5s ease;
 }

 .cta-button:hover {
     background: #ea580c;
     transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
 }

 .scroll-down {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     color: white;
     font-size: 2rem;
     animation: bounce 2s infinite;
 }

 /* Sección de Planes Fibra Óptica */
 .planes-section {
     padding: 100px 5%;
     background: var(--light);
 }

 .section-title {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-title h2 {
     font-size: 2.5rem;
     color: var(--dark);
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-title h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: var(--primary);
     border-radius: 2px;
 }

 .section-title p {
     color: var(--gray);
     max-width: 600px;
     margin: 0 auto;
 }

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

 .plan {
     background: white;
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     transition: all 0.3s ease;
     position: relative;
 }

 .plan:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
 }

 .plan.popular::before {
     content: 'MÁS POPULAR';
     position: absolute;
     top: 0;
     right: 0;
     background: var(--accent);
     color: white;
     padding: 8px 15px;
     font-size: 12px;
     font-weight: 600;
     border-radius: 0 0 0 15px;
 }

 .plan-header {
     padding: 30px 20px;
     text-align: center;
     background: var(--primary);
     color: white;
 }

 .plan-header h3 {
     font-size: 1.5rem;
     margin-bottom: 10px;
 }

 .plan-price {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 5px;
 }

 .plan-price span {
     font-size: 1rem;
     font-weight: 400;
 }

 .plan-body {
     padding: 30px;
 }

 .plan-features {
     list-style: none;
     margin-bottom: 30px;
 }

 .plan-features li {
     padding: 10px 0;
     border-bottom: 1px solid var(--light-gray);
     display: flex;
     align-items: center;
 }

 .plan-features li:last-child {
     border-bottom: none;
 }

 .plan-features li i {
     color: var(--secondary);
     margin-right: 10px;
 }

 .plan-button {
     display: block;
     width: 100%;
     padding: 15px;
     background: var(--primary);
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .plan-button:hover {
     background: var(--primary-dark);
 }

 /* Sección de Planes Antenas Inalámbricas */
 .planes-inalambricos {
     padding: 100px 5%;
     background: white;
 }

 .plan.inalambrico .plan-header {
     background: var(--secondary);
 }

 .plan.inalambrico .plan-button {
     background: var(--secondary);
 }

 .plan.inalambrico .plan-button:hover {
     background: #0da271;
 }

 /* Sección de Cobertura */
 .zonas-cobertura {
     padding: 100px 5%;
     background: var(--light);
 }

 .cobertura-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     align-items: center;
 }

 .cobertura-map {
     position: relative;
     height: 400px;
     background: var(--light-gray);
     border-radius: 15px;
     overflow: hidden;
 }

 .cobertura-content h3 {
     font-size: 1.8rem;
     margin-bottom: 20px;
     color: var(--dark);
 }

 .cobertura-content p {
     color: var(--gray);
     margin-bottom: 30px;
 }

 .zona-list {
     list-style: none;
 }

 .zona-item {
     margin-bottom: 15px;
     padding: 15px;
     background: var(--light);
     border-radius: 8px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .zona-item:hover {
     background: var(--primary);
     color: white;
 }

 .zona-item i {
     margin-right: 10px;
     color: var(--primary);
 }

 .zona-item:hover i {
     color: white;
 }

 .sectores {
     display: none;
     margin-top: 10px;
     padding-left: 30px;
 }

 .zona-item.active .sectores {
     display: block;
 }

 .consulta-btn {
     display: inline-block;
     margin-top: 20px;
     padding: 12px 25px;
     background: var(--secondary);
     color: white;
     border: none;
     border-radius: 50px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .consulta-btn:hover {
     background: #0da271;
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 /* Sección de Galería */
 .galeria {
     padding: 100px 5%;
     background: white;
 }

 .galeria-container {
     position: relative;
     max-width: 1200px;
     margin: 0 auto;
     overflow: hidden;
 }

 .carrusel {
     position: relative;
     width: 100%;
     height: 400px;
 }

 .carrusel-track {
     display: flex;
     transition: transform 0.5s ease-in-out;
     height: 100%;
 }

 .carrusel-item {
     min-width: 100%;
     height: 100%;
     position: relative;
 }

 .carrusel-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 10px;
 }

 .carrusel-caption {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     padding: 20px;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
     color: white;
     border-radius: 0 0 10px 10px;
 }

 .carrusel-controls {
     position: absolute;
     top: 50%;
     width: 100%;
     display: flex;
     justify-content: space-between;
     transform: translateY(-50%);
     padding: 0 20px;
     z-index: 10;
 }

 .carrusel-control {
     background: rgba(255, 255, 255, 0.8);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .carrusel-control:hover {
     background: white;
 }

 .carrusel-dots {
     display: flex;
     justify-content: center;
     margin-top: 20px;
     gap: 10px;
 }

 .carrusel-dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: var(--light-gray);
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .carrusel-dot.active {
     background: var(--primary);
     transform: scale(1.2);
 }

 /* Sección de Contacto */
 .contacto {
     padding: 100px 5%;
     background: var(--light);
 }

 .contacto-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
 }

 .contacto-info h3 {
     font-size: 1.8rem;
     margin-bottom: 20px;
     color: var(--dark);
 }

 .contacto-details {
     list-style: none;
     margin-bottom: 30px;
 }

 .contacto-details li {
     margin-bottom: 15px;
     display: flex;
     align-items: flex-start;
 }

 .contacto-details li i {
     color: var(--primary);
     font-size: 1.2rem;
     margin-right: 15px;
     margin-top: 3px;
 }

 .redes-sociales {
     display: flex;
     gap: 15px;
 }

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

 .redes-sociales a:hover {
     background: var(--primary-dark);
     transform: translateY(-3px);
 }

 .contacto-form {
     background: white;
     padding: 30px;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
 }

 .form-group {
     margin-bottom: 20px;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 15px;
     border: 1px solid var(--light-gray);
     border-radius: 8px;
     font-family: 'Poppins', sans-serif;
     transition: all 0.3s ease;
 }

 .form-group input:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
 }

 .form-group textarea {
     min-height: 150px;
     resize: vertical;
 }

 .submit-btn {
     background: var(--primary);
     color: white;
     border: none;
     padding: 15px 30px;
     border-radius: 8px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     width: 100%;
 }

 .submit-btn:hover {
     background: var(--primary-dark);
 }

 /* Footer */
 footer {
     background: var(--dark);
     color: white;
     padding: 50px 5% 20px;
     text-align: center;
 }

 .footer-content {
     max-width: 1200px;
     margin: 0 auto;
 }

 .footer-logo {
     margin-bottom: 20px;
 }

 .footer-logo img {
     height: 60px;
 }

 .footer-text {
     margin-bottom: 30px;
     color: var(--light-gray);
 }

 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding-top: 20px;
     color: var(--light-gray);
     font-size: 0.9rem;
 }

 /* Modal */
 .modal-content {
     border-radius: 15px;
     overflow: hidden;
     border: none;
 }

 .modal-header {
     background: var(--primary);
     color: white;
     border: none;
 }

 .btn-close {
     filter: invert(1);
 }

 .modal-body {
     padding: 30px;
 }

 .titulo_r {
     text-align: center;
     font-size: 1.5rem;
     margin-bottom: 20px;
     color: var(--dark);
 }

 .input {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid var(--light-gray);
     border-radius: 8px;
     margin-bottom: 15px;
     transition: all 0.3s ease;
 }

 .input:focus {
     outline: none;
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
 }

 .btn_save {
     width: 100%;
     padding: 12px;
     background: var(--primary);
     color: white;
     border: none;
     border-radius: 8px;
     font-weight: 600;
     transition: all 0.3s ease;
 }

 .btn_save:hover {
     background: var(--primary-dark);
 }

 /* Animaciones */
 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes fadeInDown {
     from {
         opacity: 0;
         transform: translateY(-20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes bounce {

     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateY(0) translateX(-50%);
     }

     40% {
         transform: translateY(-10px) translateX(-50%);
     }

     60% {
         transform: translateY(-5px) translateX(-50%);
     }
 }

 /* Responsive */
 @media (max-width: 1024px) {

     .cobertura-container,
     .contacto-container {
         grid-template-columns: 1fr;
         gap: 40px;
     }

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

 @media (max-width: 768px) {
     .menu-links {
         position: fixed;
         top: 0;
         right: -100%;
         height: 100vh;
         width: 70%;
         background: white;
         flex-direction: column;
         padding: 80px 30px 30px;
         transition: all 0.4s ease;
         box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
     }

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

     .menu-links a {
         color: var(--dark);
         font-size: 18px;
         padding: 15px 0;
         display: block;
     }

     .dropdown-menu-list {
         position: static;
         opacity: 1;
         visibility: visible;
         transform: none;
         box-shadow: none;
         width: 100%;
         margin: 10px 0;
         display: none;
     }

     .dropdown_list.active .dropdown-menu-list {
         display: block;
     }

     .hamburger-menu {
         display: block;
         z-index: 1001;
     }

     .scrolled .menu-links {
         background: white;
     }

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

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

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

     .plan-header h3 {
         font-size: 1.3rem;
     }

     .plan-price {
         font-size: 2rem;
     }

     .carrusel-control {
         width: 40px;
         height: 40px;
     }
 }

 @media (max-width: 480px) {
     .menu {
         padding: 15px;
     }

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

     .cta-button {
         padding: 12px 25px;
         font-size: 1rem;
     }

     .planes-container {
         grid-template-columns: 1fr;
     }
 }