/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}
/* ===== POPUP FACTURA ===== */

.pay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.pay-modal {
  position: relative;
  width: 92%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  animation: payIn 0.35s ease;
}

/* Título */
.pay-modal h3 {
  margin: 0 0 12px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

/* Botón cerrar */
.pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #6b7280;
}

/* BOTÓN PAGO */
.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 70%;
  padding: 14px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow:
    0 0 0 rgba(22,163,74,0.6),
    0 10px 30px rgba(22,163,74,0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pay-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 25px rgba(22,163,74,0.9),
    0 18px 45px rgba(22,163,74,0.7);
}

.pay-button .lock {
  font-size: 18px;
}

/* Métodos de pago */
.pay-methods {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.pay-methods img {
  height: 35px;
  padding: 6px 6px;
  background: #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Logo WispHub */
.pay-brand {
  position: absolute;
  top: 14px;
  left: 16px;
}

.pay-brand img {
  height: 26px;
  width: auto;
}


/* Animación */
@keyframes payIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: relative;
    top: 0;
    z-index: 10000;
    overflow: visible;
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9999;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

@media (max-width: 768px) {

   nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        max-width: 600px;
        height: 100vh;
        background: #ffffff;
        display: none;
        flex-direction: column;
        padding: 30px 24px 24px;
        z-index: 10002;
    }

    nav.active {
        display: flex;
    }

    nav a {
        text-align: left;
        width: 90%;
        padding: 7px 0;
        font-size: 16px;
        color: #111;
        text-decoration: none;
        border-bottom: 1px solid #e6e6e6;
        padding-left: 8px;
    }
    nav a:active {
        background: #f5f5f5;
    }

    nav a:last-child {
        border-bottom: none;
        margin-top: auto;
    }

    .cta-button {
        background: #e63946;
        color: #fff !important;
        text-align: center;
        padding: 14px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 10003;
    }
}



.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;

}

.logo img {
    height: 50px;
    margin-left: 0;
}

.navbar-company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(238, 37, 37);
}

nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    pointer-events: auto;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.90rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #fa1d1d;
}

.cta-button {
    background: #e42f2f;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    position: static;
    right: 1rem;
   

}

.cta-button:hover {
    background: #f11b1b;
    color: #f3efef;
    transform: translateY(-2px);
}


.hero {
    text-align: center;
    padding: 6rem 2rem;
    background:
        linear-gradient(135deg,
            rgba(30, 58, 88, 0.45) 0%,
            rgba(44, 82, 130, 0.4) 100%),
        url('https://images.pexels.com/photos/9290878/pexels-photo-9290878.jpeg') center top / cover no-repeat;
    color: white;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.hero-badge {
    display: inline-block;
    border: 2px solid rgba(230, 57, 70, 0.8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;

    margin-top: -1.5rem;
    margin-bottom: 1rem;

    backdrop-filter: blur(10px);
    background: rgba(230, 57, 70, 0.2);
}


.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #e63946;
    color: white;
    padding: 0.65rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.25);
}



.btn-hero-primary:hover {
    background: #d62828;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 0.65rem 1.8rem;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-hero-secondary:hover {
    background: white;
    color: #1f3b5c;
    transform: translateY(-3px);
}

@media (max-width: 768px) {

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
}


/* Sección de Servicios */
.services-section {
    text-align: center;
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.services-subtitle {
    color: #e63946;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.services-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #e63946;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #ffe5e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e63946;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #e63946;
    color: white;
    transform: scale(1.1);
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.6rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: "✓";
    color: #e63946;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.plans-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: white;
}

.plans-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.plans-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.plans-container {
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    padding-top: 1.25rem;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #e63946;

}



.plan-badge {
    position: relative;
    /* o simplemente elimina position */
    margin-bottom: 0.75rem;
    background: #f0f0f0;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.5rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    display: inline-block;
}


.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #e63946;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.rem;
    font-weight: bold;
}

.plan-title {
    font-size: 1.5rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 0.25rem;
}


.plan-price {
    font-size: 2.5rem;
    color: #e63946;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.plan-speed {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.benefits {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-left: 0;
}


.benefits li {
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    color: #555;
}

.benefits li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.75rem;
    background: #d4edda;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary {
    background: #e63946;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #d62828;
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: #e63946;
    padding: 1rem;
    border: 2px solid #e63946;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;

    /* CLAVES PARA <a> */
    text-decoration: none;
    /* quita subrayado */
    display: inline-flex;
    /* se comporta como botón */
    align-items: center;
    justify-content: center;
}



.btn-secondary:hover {
    background: #e63946;
    color: white;
}

/* Sección de Tecnología */
.tech-section {
    background: white;
    padding: 5rem 2rem;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.tech-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.tech-card-reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.tech-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
    max-height: 450px;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-label {
    color: #e63946;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-label svg {
    width: 16px;
    height: 16px;
}

.tech-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.tech-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-feature-box {
    background: #fff5f6;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.tech-feature-box:hover {
    background: white;
    border-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
}

.tech-feature-box svg {
    width: 20px;
    height: 20px;
    color: #e63946;
    flex-shrink: 0;
}

.tech-feature-box span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.btn-tech {
    background: #e63946;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    max-width: fit-content;
}

.btn-tech::after {
    content: "→";
    font-size: 1.2rem;
}

.btn-tech:hover {
    background: #d62828;
    transform: translateX(5px);
}

/* Sección de Contacto */
.contact-section {
    background: #1a2332;
    padding: 5rem 2rem;
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links p {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: white;
    color: #1a2332;
    border-color: white;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.btn-submit {
    background: #f51d2f;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #f51d2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* ==================== SPEED TEST SECTION ==================== */
.speed-test-section {
    background-color: var(--color-white);
    padding: 4rem 1.5rem;
    margin-top: 2rem;
}

.speed-test-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-background);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.speed-test-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.speed-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6b 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.speed-test-header-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.speed-test-header-text p {
    font-size: 1rem;
    color: var(--color-text-gray);
}

.speed-test-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.speed-test-description {
    font-size: 1rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Nueva tarjeta para iniciar test de velocidad (reemplaza iframe) */
.speed-test-card {
    background-color: var(--color-white);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px dashed var(--color-border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.speed-test-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.1);
}

.speed-test-card-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.speed-test-card-icon svg {
    width: 80px;
    height: 80px;
}

.speed-test-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.speed-test-card-text {
    font-size: 1rem;
    color: var(--color-text-gray);
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.btn-speed-test {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-speed-test:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-speed-test svg {
    flex-shrink: 0;
}

.speed-test-tips {
    background-color: var(--color-white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

.speed-test-tips h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.speed-test-tips ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.speed-test-tips li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

.speed-test-tips li svg {
    color: var(--color-green);
    flex-shrink: 0;
}

/* Responsive Speed Test */
@media (max-width: 768px) {
    .speed-test-section {
        padding: 2rem 1rem;
    }

    .speed-test-container {
        padding: 1.5rem;
    }

    .speed-test-header {
        flex-direction: column;
        text-align: center;
    }

    .speed-icon {
        width: 56px;
        height: 56px;
    }

    /* ==================== FOOTER ==================== */
.footer {
  background: #f51d2f;
        /* rojo más elegante */
        color: white;
        padding: 2.5rem 1.5rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

/* Logo del Footer */
.footer-logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

/* Agregando estilo para la imagen del logo en el footer */
.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  font-style: italic;
}

.footer-logo-slogan {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Columnas del Footer */
.footer-columns {
  display: flex;
  gap: 4rem;
  flex: 1;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Barra inferior del Footer */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Redes Sociales */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.footer-powered {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== RESPONSIVE FOOTER ==================== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-columns {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .footer-column {
    min-width: 150px;
  }
}

@media (max-width: 600px) {
  .footer-columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-copyright {
    order: 2;
  }

  .footer-social {
    order: 1;
  }

  .footer-powered {
    order: 3;
  }
}



    /* WhatsApp Flotante */
    .whatsapp-widget {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1000;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        background-color: #25d366;
        color: white;
        border-radius: 50%;
        text-align: center;
        font-size: 30px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .whatsapp-float:hover {
        background-color: #128c7e;
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }

    .whatsapp-popup {
        position: absolute;
        bottom: 80px;
        right: 0;
        width: 300px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        transition: all 0.3s ease;
    }

    .whatsapp-widget:hover .whatsapp-popup {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .whatsapp-popup-header {
        background: #25d366;
        color: white;
        padding: 1rem;
        border-radius: 16px 16px 0 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 600;
        font-size: 1rem;
    }

    .whatsapp-popup-body {
        padding: 1.5rem;
        background: #f0f0f0;
    }

    .whatsapp-greeting {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .whatsapp-message {
        font-size: 0.9rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .whatsapp-question {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.4;
    }

    .whatsapp-popup-footer {
        padding: 1rem;
        background: white;
        border-radius: 0 0 16px 16px;
    }

    .whatsapp-chat-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: #25d366;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s;
    }

    .whatsapp-chat-btn:hover {
        background: #128c7e;
        transform: translateX(3px);
    }

    .whatsapp-chat-btn svg {
        width: 20px;
        height: 20px;
    }

    @media (max-width: 768px) {
        nav {
            display: none;
        }

        .logo img {
            height: 40px;
        }

        .hero {
            padding: 4rem 1.5rem;
            min-height: 500px;
        }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

        .hero-buttons {
            flex-direction: column;
            width: 100%;
            max-width: 300px;
        }

        .btn-hero-primary,
        .btn-hero-secondary {
            width: 100%;
            text-align: center;
        }

        .plans-header h2 {
            font-size: 1.8rem;
        }

        .plans-header p {
            font-size: 1rem;
        }

        .plans-container {
            grid-template-columns: 1fr;
        }

        .whatsapp-widget {
            bottom: 20px;
            right: 20px;
        }

        .whatsapp-float {
            width: 50px;
            height: 50px;
        }

        .whatsapp-float svg {
            width: 26px;
            height: 26px;
        }

        .whatsapp-popup {
            width: 280px;
            bottom: 70px;
        }

        .tech-card,
        .tech-card-reverse {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .tech-image {
            max-height: 300px;
        }

        .tech-features-grid {
            grid-template-columns: 1fr;
        }

        .tech-title {
            font-size: 1.6rem;
        }

        .plan-badge {
            font-size: 0.6rem;
            padding: 0.35rem 0.6rem;
        }

        .contact-container {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .footer-content {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-logo {
            margin: 0 auto;
        }

        .footer-section ul {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-bottom-content {
            flex-direction: column;
            text-align: center;
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .hero h1 {
            font-size: 2.5rem;
        }

        .plans-container {
            grid-template-columns: repeat(2, 1fr);
        }

        .tech-container {
            gap: 4rem;
        }

        .tech-title {
            font-size: 1.8rem;
        }

        .footer-content {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-section:first-child {
            grid-column: 1 / -1;
            text-align: center;
        }
    }

    

    /* Responsive para botón flotante */
    @media (max-width: 768px) {
        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            padding: 0.7rem 1.2rem;
            gap: 0.8rem;
        }

        .whatsapp-icon {
            width: 40px;
            height: 40px;
        }

        .whatsapp-icon svg {
            width: 24px;
            height: 24px;
        }

        .support-label {
            font-size: 0.7rem;
        }

        .support-number {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .whatsapp-float {
            padding: 0.6rem 1rem;
        }

        .whatsapp-text {
            display: none;
        }

        .whatsapp-icon {
            margin: 0;
        }

        .whatsapp-float {
            border-radius: 50%;
            padding: 0.8rem;
        }
    }
}