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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #102A43;
    background-color: #F0F4F8;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- UTILIDADES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #102A43;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #1a3a5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* --- NAVBAR (EFECTO CRISTAL) --- */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s ease;
}

.navbar {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.navbar-wrapper.scrolled {
    padding: 10px 0;
}

.navbar-wrapper.scrolled .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 1);
}

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

.logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.navbar-wrapper.scrolled .logo img {
    max-height: 35px; 
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #334E68;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover {
    color: #2563EB;
}

/* --- BOTÓN INICIO DE SESIÓN MODERNO --- */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #102A43 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), 0 0 0 0 rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

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

.btn-login:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 20px rgba(37, 99, 235, 0.2);
}

.btn-login:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-login svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-login:hover svg {
    transform: translateX(3px);
}

/* --- BADGE "REQUIERE LOGIN" --- */
.login-required-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    margin-left: 8px;
    white-space: nowrap;
}

.login-required-badge svg {
    width: 12px;
    height: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #102A43;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

/* --- DROPDOWN ESCRITORIO --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #334E68;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.dropdown-toggle:hover {
    color: #2563EB;
}

.dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: #334E68;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item svg {
    width: 22px;
    height: 22px;
    color: #3b82f6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #102A43 100%);
    color: white;
    transform: translateX(5px);
}

.dropdown-item:hover svg {
    color: white;
    transform: scale(1.1);
}

.navbar-wrapper.scrolled .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

/* --- SECCIÓN: INICIO (HERO) --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: #e0e7ff;
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, #3b82f6 0%, #102A43 100%);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #102A43;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: #486581;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* --- SECCIÓN: SERVICIOS (E-COMMERCE STYLE) --- */
.services-section {
    background-color: #F0F4F8;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 16px;
}

.services-header p {
    font-size: 1.1rem;
    color: #627D98;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.service-card-header {
    padding: 30px 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.service-card-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #102A43);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #102A43 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.service-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #102A43;
}

.service-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body p {
    color: #486581;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #334E68;
    font-size: 0.9rem;
}

.service-features li svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
    flex-shrink: 0;
}

.service-price {
    text-align: center;
    margin-bottom: 16px;
}

.service-price .price-label {
    font-size: 0.85rem;
    color: #627D98;
    display: block;
    margin-bottom: 4px;
}

.service-price .price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #102A43;
}

.service-price .price-note {
    font-size: 0.8rem;
    color: #94a3b8;
}

.btn-cotizar {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-cotizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* --- SECCIÓN: PLANES REDES SOCIALES --- */
.plans-section {
    background: linear-gradient(135deg, #102A43 0%, #1a3a5c 100%);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.plans-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.plans-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.plans-header p {
    font-size: 1.1rem;
    color: #829AB1;
    max-width: 600px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.plan-card.featured {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 0.9rem;
    color: #829AB1;
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 24px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: #829AB1;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #e2e8f0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: #627D98;
}

.plan-features li.disabled svg {
    color: #475569;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
}

.plan-card.featured .btn-plan {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.plan-card.featured .btn-plan:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

/* --- SECCIÓN: ESTADÍSTICAS --- */
.stats-section {
    background-color: #F0F4F8;
}

.stats-header {
    text-align: center;
    margin-bottom: 64px;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 16px;
}

.stats-header p {
    font-size: 1.1rem;
    color: #627D98;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    background: white;
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: #3b82f6;
    margin-bottom: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #102A43;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: #627D98;
}

/* --- SECCIÓN: CLIENTES (CARRUSEL) --- */
.clients-section {
    background-color: #ffffff;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.carousel-track {
    display: flex;
    gap: 30px;
    padding-right: 30px;
    width: max-content;
    animation: scroll-carousel 25s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.client-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F0F4F8;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    min-width: 320px;
    border: 1px solid #e2e8f0;
}

.client-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: white;
}

.client-name {
    font-weight: 600;
    color: #102A43;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- SECCIÓN: ACERCA DE NOSOTROS --- */
.about-section {
    background-color: #F0F4F8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.1rem;
    color: #486581;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

/* --- MODAL ADBLOCK --- */
.adblock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 42, 67, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.adblock-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.adblock-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.4s ease;
}

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

.adblock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adblock-icon svg {
    width: 40px;
    height: 40px;
    color: #dc2626;
}

.adblock-modal h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 15px;
}

.adblock-modal p {
    color: #486581;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.adblock-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.adblock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.adblock-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.adblock-skip {
    display: block;
    margin-top: 20px;
    color: #627D98;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.adblock-skip:hover {
    color: #102A43;
}

/* --- FOOTER --- */
.site-footer {
    background: linear-gradient(135deg, #102A43 0%, #1a3a5c 100%);
    color: #F0F4F8;
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    font-size: 0.95rem;
    color: #829AB1;
    line-height: 1.6;
    max-width: 300px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #829AB1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: #829AB1;
    margin: 0;
}

.footer-custom {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 500;
    margin: 0;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* =========================================
   RESPONSIVIDAD - MÓVIL CORREGIDO
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    /* Ajustes generales */
    .navbar-wrapper { 
        padding: 10px 0; 
    }

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

    .section-padding { padding: 60px 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }

    .client-card {
        min-width: 280px;
        padding: 12px 20px;
    }

    /* ========== BOTÓN HAMBURGUESA ========== */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.9);
        color: #102A43;
        cursor: pointer;
        padding: 10px;
        border-radius: 12px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    }

    /* ========== MENÚ MÓVIL SLIDER ========== */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 90px 20px 30px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        box-shadow: -10px 0 40px rgba(16, 42, 67, 0.2);
        border-left: 1px solid rgba(255, 255, 255, 0.9);
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 24px 0 0 24px;
    }

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

    /* Overlay oscuro */
    .nav-links.active::before {
        content: "";
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(16, 42, 67, 0.5);
        backdrop-filter: blur(4px);
        z-index: -1;
    }

    /* Links del menú */
    .nav-link {
        padding: 14px 18px;
        border-radius: 12px;
        font-size: 1rem;
        color: #334E68;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: none;
        margin: 2px 0;
        width: 100%;
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #2563EB;
        transform: translateX(5px);
    }

    /* Botón login en móvil */
    .btn-login {
        margin-top: 10px;
        justify-content: center;
    }

    /* ========== DROPDOWN MÓVIL - COMPLETAMENTE RESETADO ========== */
    .dropdown {
        position: relative;
        display: block;
        width: 100%;
        margin: 2px 0;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 18px;
        border-radius: 12px;
        font-size: 1rem;
        color: #334E68;
        font-weight: 500;
        transition: all 0.3s ease;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .dropdown-toggle:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #2563EB;
    }

    .dropdown-toggle svg {
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    /* Rotar flecha cuando está activo */
    .dropdown.active .dropdown-toggle svg {
        transform: rotate(180deg);
    }

    /* Submenú desplegable - RESET COMPLETO DE POSICIÓN */
    .dropdown-menu {
        position: relative;
        left: 0;
        top: 0;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(240, 244, 248, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 10px;
        margin: 8px 0;
        min-width: 100%;
        max-width: 100%;
        box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-sizing: border-box;
    }

    /* Mostrar cuando está activo */
    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
        margin-bottom: 6px;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-item:last-child {
        margin-bottom: 0;
    }

    .dropdown-item svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand-text {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Modal adblock */
    .adblock-modal {
        padding: 40px 25px;
    }

    .adblock-modal h2 {
        font-size: 1.5rem;
    }
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}