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

:root {
    --color-primary-dark: #1a2332;
    --color-primary-light: #2a3647;
    --color-secondary: #4f7db8;
    --color-gray-light: #f9fafb;
    --color-gray-darker: #1f2937;
    --color-gray-medium: #6b7280;
    --color-success: #059669;
    --color-danger: #c73a3a;
    --color-warning: #b8860b;
    --color-border: #e5e7eb;
    --header-mobile-height: 70px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-gray-darker);
    background-color: var(--color-gray-light);
}

/* ==================== HEADER ==================== */
header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: fit-content;
    flex-shrink: 0;
    max-width: 180px;
}

.logo-img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

/* ==================== NAVBAR (Desktop) ==================== */
.navbar {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

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

.navbar a:hover::after {
    width: 100%;
}

.login-link-mobile {
    display: none;
}

/* ==================== MENU TOGGLE (Hamburger) - Oculto en desktop ==================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== LOGIN LINK ==================== */
.login-link {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: 2px solid white;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-link:hover {
    background-color: white;
    color: var(--color-secondary) !important;
}

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 5rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(79, 125, 184, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease;
}

.hero-logo {
    max-width: 550px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-tagline {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #ffd700;
    margin: 1rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(79, 125, 184, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 125, 184, 0.4);
    background-color: #3a5a8f;
}

/* ==================== SECCIONES COMUNES ==================== */
section {
    animation: fadeIn 0.6s ease;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.6s ease;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--color-gray-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ==================== BENEFICIOS ==================== */
.beneficios-section {
    padding: 4rem 1.5rem;
}

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

.beneficio-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-secondary);
    animation: fadeInUp 0.6s ease;
}

.beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-left-color: #3a5a8f;
}

.beneficio-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.beneficio-card h3 {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.beneficio-card p {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== CARACTERÍSTICAS ==================== */
.caracteristicas-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #f3f4f6 100%);
}

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

.caracteristica-card {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    animation: fadeIn 0.6s ease;
}

.caracteristica-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 12px 30px rgba(79, 125, 184, 0.12);
    transform: translateY(-4px);
}

.caracteristica-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.caracteristica-card:hover .caracteristica-icon {
    transform: scale(1.1);
}

.caracteristica-card h4 {
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.caracteristica-card p {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== PRECIOS ==================== */
.precios-section {
    padding: 4rem 1.5rem;
}

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

.precio-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-secondary);
    position: relative;
    animation: fadeInUp 0.6s ease;
}

.precio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(79, 125, 184, 0.12);
    border-top-color: #3a5a8f;
}

.precio-card.destacado {
    border-top: 4px solid var(--color-primary-dark);
    transform: scale(1.03);
}

.precio-card.destacado:hover {
    transform: scale(1.03) translateY(-6px);
}

.badge-destacado {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #3a5a8f 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.precio-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin: 0.8rem 0;
    font-weight: 700;
}

.precio-label {
    font-size: 0.8rem;
    color: var(--color-gray-medium);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.precio-original {
    font-size: 1rem;
    color: #ccc;
    text-decoration: line-through;
    margin-bottom: 0.3rem;
}

.precio-actual {
    font-size: clamp(2rem, 5vw, 2.6rem);
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.moneda {
    font-size: 1.2rem;
}

.precio-beneficios {
    background-color: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    text-align: left;
}

.precio-beneficios p {
    font-size: 0.9rem;
    color: var(--color-gray-darker);
    margin: 0.7rem 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.precio-beneficios p::before {
    content: '✓';
    color: var(--color-success);
    font-weight: 700;
    margin-right: 0.6rem;
    font-size: 1rem;
}

/* ==================== BOTÓN COMPRAR ==================== */
.btn-comprar-costos {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #3a5a8f 100%);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 125, 184, 0.3);
    letter-spacing: 0.2px;
}

.btn-comprar-costos:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 125, 184, 0.4);
    background: linear-gradient(135deg, #3a5a8f 0%, #2a4570 100%);
}

.btn-comprar-costos:active {
    transform: translateY(0);
}

/* ==================== GARANTÍAS ==================== */
.garantias-section {
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #f3f4f6 100%);
    padding: 4rem 1.5rem;
}

.garantias-container {
    max-width: 1200px;
    margin: 0 auto;
}

.garantia-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.garantia-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.garantia-item h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.garantia-item p {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== AVISO LEGAL ==================== */
.aviso-legal {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 3.5rem 1.5rem;
}

.aviso-container {
    max-width: 1200px;
    margin: 0 auto;
}

.aviso-legal h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.aviso-legal-text {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.aviso-legal-text p {
    font-size: 0.95rem;
    color: var(--color-gray-darker);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.aviso-legal-text strong {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.aviso-legal-text a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.aviso-legal-text a:hover {
    color: #3a5a8f;
    text-decoration: underline;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 0.6rem;
}

.footer-section strong {
    color: var(--color-secondary);
    font-weight: 600;
}

.whatsapp-link {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background-color: #20BA58;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
    padding-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* ==================== ANIMACIONES ==================== */
@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE - MÓVIL ==================== */
@media (max-width: 768px) {
    :root {
        --header-mobile-height: 64px;
    }

    header {
        padding: 0.8rem 1rem;
    }

    .header-container {
        gap: 0.8rem;
        align-items: center;
        justify-content: space-between;
    }

    .logo-container {
        max-width: 120px;
        flex-shrink: 0;
    }

    .logo-img {
        max-width: 105px;
        height: auto;
    }

    /* Mostrar hamburguesa en móvil */
    .menu-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Ocultar login link desktop en móvil */
    .login-link {
        display: none;
    }

    /* Navbar - oculta por defecto en móvil */
    .navbar {
        position: fixed;
        top: var(--header-mobile-height);
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: none;
        border-top: none;
    }

    .navbar.active {
        max-height: 500px;
        padding: 1rem 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar a {
        padding: 0.9rem 1.5rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }

    .navbar a:last-child {
        border-bottom: none;
    }

    .navbar a::after {
        display: none;
    }

    /* Mostrar login link móvil dentro del menú */
    .login-link-mobile {
        display: block;
        background-color: var(--color-secondary);
        margin-top: 0.5rem;
        border-radius: 6px;
        font-weight: 600;
    }

    .login-link-mobile:hover {
        background-color: #3a5a8f;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero-logo {
        max-width: 450px;
    }

    .precios-grid,
    .beneficios-grid,
    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .precio-card.destacado {
        transform: scale(1);
    }

    .precio-card.destacado:hover {
        transform: translateY(-6px);
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

    .section-container {
        padding: 0 1rem;
    }
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }

    .logo-container {
        max-width: 150px;
    }

    .logo-img {
        max-width: 130px;
    }

    .navbar {
        gap: 1.2rem;
    }

    .navbar a {
        font-size: 0.85rem;
    }

    .login-link {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .precios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* ==================== RESPONSIVE - MÓVIL PEQUEÑO ==================== */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    header {
        padding: 0.6rem 0.8rem;
    }

    .logo-container {
        max-width: 95px;
    }

    .logo-img {
        max-width: 85px;
    }

    .hero {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .beneficio-card,
    .caracteristica-card,
    .precio-card,
    .garantia-item {
        padding: 1.2rem 1rem;
    }

    .precio-beneficios {
        padding: 1rem;
    }

    .btn-comprar-costos {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .whatsapp-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .navbar.active {
        max-height: 450px;
    }
}

@media (max-width: 360px) {
    .logo-container {
        max-width: 80px;
    }

    .logo-img {
        max-width: 70px;
    }

    .hero-logo {
        max-width: 200px;
    }

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

    .section-title {
        font-size: 1.3rem;
    }

    .precio-actual {
        font-size: 1.8rem;
    }

    .precio-card h3 {
        font-size: 1.2rem;
    }

    .menu-toggle span {
        width: 20px;
        height: 2.5px;
    }
}