:root {
    --azul: #2A5BDC;
    --verde: #00C04D;
    --gris-oscuro: #333;
    --gris-claro: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--gris-oscuro);
    line-height: 1.6;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--azul);
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 600;
}

.btn-cta {
    background: var(--verde);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: #00a742;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--azul);
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-secundario {
    background: white;
    color: var(--azul);
    border: 2px solid var(--azul);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secundario:hover {
    background: var(--azul);
    color: white;
}

.hero-img {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.hero-img:hover {
    transform: translateY(-5px);
}

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

/* Beneficios - Carrusel Mejorado */
.beneficios {
    padding: 100px 0;
    background: white;
}

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

.section-title h2 {
    font-size: 2.2rem;
    color: var(--azul);
}

.section-title p {
    max-width: 800px;
    margin: 20px auto 0;
}

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

.beneficios-carousel {
    display: flex;
    transition: transform 0.5s ease;
    padding-bottom: 20px;
}

.beneficio-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    scroll-snap-align: start;
    transition: all 0.3s;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--gris-claro);
}

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

.beneficio-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--azul);
}

.beneficio-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    background: var(--azul);
    color: white;
    border: none;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--azul);
}

/* Testimonios */
.testimonios {
    padding: 100px 0;
    background: var(--gris-claro);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonio-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.testimonio-card:hover {
    transform: translateY(-5px);
}

.testimonio-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonio-autor {
    display: flex;
    align-items: center;
}

.testimonio-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.autor-info h4 {
    font-weight: 600;
}

.autor-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Precios */
.precios {
    padding: 100px 0;
    background: white;
}

.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.precio-card {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid var(--azul);
    position: relative;
    transition: transform 0.3s;
}

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

.precio-titulo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--azul);
}

.precio-monto {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--verde);
}

.precio-monto span {
    font-size: 1rem;
    color: #666;
}

.precio-lista {
    text-align: left;
    margin-bottom: 30px;
}

.precio-lista li {
    margin-bottom: 10px;
    list-style-type: none;
    padding-left: 25px;
    position: relative;
}

.precio-lista li:before {
    content: "✓";
    color: var(--verde);
    position: absolute;
    left: 0;
}

.etiqueta-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--verde);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.descuento-anual {
    color: var(--verde);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    background: rgba(0, 192, 77, 0.1);
    padding: 8px;
    border-radius: 5px;
    display: inline-block;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--azul) 0%, #1a4bc7 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Formulario */
.formulario {
    max-width: 500px;
    margin: 0 auto;
}

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

.formulario label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

.formulario input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    transition: box-shadow 0.3s;
}

.formulario input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 91, 220, 0.3);
}

.formulario button {
    background: var(--verde);
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.formulario button:hover {
    background: #00a742;
    transform: translateY(-2px);
}

/* WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: all 0.3s;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    animation: none;
}

/* Modal Video */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

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

/* Footer */
footer {
    background: var(--gris-oscuro);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}