/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN INICIAL
   ========================================================================== */
:root {
    /* Paleta Estricta Requerida */
    --crema-vainilla: #FFF8E7;
    /* Fondo principal y cajas */
    --marron-cacao: #4A3728;
    /* Textos y estructura */
    --rosa-merengue: #F4C2C2;
    /* Detalles y acentos visuales */
    --dorado-arequipe: #C68E4B;
    /* Botones de compra y urgencia */

    /* Configuración Global y Mapeo */
    --primary-color: var(--dorado-arequipe);
    --primary-hover: #b37e3e;
    /* Dorado oscuro */
    --secondary-color: var(--crema-vainilla);
    --accent-color: var(--rosa-merengue);

    --bg-color: var(--crema-vainilla);
    --text-main: var(--marron-cacao);
    --text-light: var(--marron-cacao);
    --title-color: var(--marron-cacao);
    --white: var(--crema-vainilla);

    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Sombras y Radios */
    --shadow-sm: 0 4px 6px rgba(44, 30, 22, 0.05);
    --shadow-md: 0 10px 20px rgba(44, 30, 22, 0.08);
    --shadow-lg: 0 15px 30px rgba(216, 131, 115, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--title-color);
    line-height: 1.2;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 35px rgba(216, 131, 115, 0.25);
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(216, 131, 115, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(216, 131, 115, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(216, 131, 115, 0);
    }
}

/* ==========================================================================
   HERO SECTION (ATENCIÓN)
   ========================================================================== */
.hero {
    background-color: var(--crema-vainilla);
    position: relative;
    padding: 100px 0 150px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(198, 142, 75, 0.15);
    /* 15% opacity de Dorado Arequipe */
    color: var(--dorado-arequipe);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.badge i {
    margin-right: 6px;
    color: var(--dorado-arequipe);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-details {
    margin: 0 auto 35px auto;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color);
    max-width: 450px;
    text-align: left;
}

.hero-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.hero-details p:last-child {
    margin-bottom: 0;
}

.hero-details i {
    width: 25px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.guarantee-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Fondo decorativo animado (Parallax) */
.floating-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-bg i {
    position: absolute;
    color: var(--rosa-merengue);
    opacity: 0.45;
    display: block;
    will-change: transform;
}

.float-1 {
    top: 10%;
    left: 8%;
    font-size: 4rem;
}

.float-2 {
    top: 25%;
    right: 12%;
    font-size: 3rem;
    transform: rotate(15deg);
}

.float-3 {
    top: 55%;
    left: 18%;
    font-size: 5rem;
    transform: rotate(-10deg);
}

.float-4 {
    top: 75%;
    right: 15%;
    font-size: 4.5rem;
}

.float-5 {
    top: 40%;
    left: 5%;
    font-size: 2.5rem;
    transform: rotate(20deg);
}

.float-6 {
    top: 45%;
    right: 5%;
    font-size: 3.5rem;
    transform: rotate(-15deg);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    box-shadow: var(--shadow-md);
    border: 2px dashed #e8d8d0;
    text-align: center;
    padding: 20px;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #e8d8d0;
}

/* Olas Inferiores */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-bottom .shape-fill {
    fill: var(--rosa-merengue);
}

/* ==========================================================================
   WHAT YOU LEARN (INTERÉS)
   ========================================================================== */
.what-you-learn {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.module-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 194, 194, 0.3);
    /* Rosa Merengue transparente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--rosa-merengue);
    font-size: 1.5rem;
    transition: var(--transition);
}

.module-card:hover .module-icon {
    background: var(--rosa-merengue);
    color: var(--marron-cacao);
}

.module-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.module-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 600;
}

.module-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.highlight-card {
    border: 2px solid var(--primary-color);
    position: relative;
}

.bonus-alert {
    background: var(--rosa-merengue);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--dorado-arequipe);
}

.bonus-alert i {
    font-size: 2rem;
    color: var(--primary-color);
}

.bonus-alert p {
    font-size: 1.05rem;
}

/* ==========================================================================
   INSTRUCTOR (DESEO)
   ========================================================================== */
.instructor {
    padding: 80px 0;
    background-color: var(--white);
}

.instructor-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.instructor-text {
    flex: 1;
}

.instructor-text h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.instructor-text h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--title-color);
}

.instructor-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.instructor-signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem !important;
    color: var(--primary-color);
    margin-top: 30px;
}

.instructor-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.instructor-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--crema-vainilla);
    outline: 2px dashed var(--rosa-merengue);
    outline-offset: 5px;
}

/* ==========================================================================
   OFFER & CTA (ACCIÓN)
   ========================================================================== */
.offer {
    padding: 100px 0;
    background-color: var(--crema-vainilla);
    text-align: center;
}

.offer h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.offer-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.offer-box {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    border-top: 6px solid var(--primary-color);
}

.offer-header h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.offer-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.offer-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.offer-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.price-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.regular-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.offer-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--title-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.offer-price span {
    font-size: 3.5rem;
    color: var(--primary-color);
    display: block;
    margin-top: 5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--marron-cacao);
    color: var(--crema-vainilla);
    padding: 60px 0 40px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--crema-vainilla);
    text-decoration: underline;
    opacity: 0.8;
    margin: 0 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--dorado-arequipe);
    opacity: 1;
}

.disclaimer {
    font-size: 0.75rem !important;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVILES, TABLETs Y ESCRITORIO)
   ========================================================================== */
/* Tablet & Laptops pequeñas */
@media (max-width: 992px) {

    .hero-content,
    .instructor-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image,
    .instructor-image {
        margin-top: 40px;
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-details {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 30px auto;
    }

    .instructor-text h2,
    .instructor-text h3 {
        text-align: center;
    }

    .instructor-signature {
        text-align: center;
    }
}

/* Teléfonos grandes y Tablets verticales */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 100px 0;
    }

    .what-you-learn,
    .instructor,
    .offer {
        padding: 50px 0;
    }

    .section-title h2,
    .offer h2 {
        font-size: 2.2rem;
    }

    .offer-box {
        padding: 40px 30px;
    }

    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .bonus-alert {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.05rem;
    }

    .section-title h2,
    .offer h2 {
        font-size: 1.8rem;
    }

    .offer-box {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }

    .offer-price {
        font-size: 2.5rem;
    }

    .hero-details {
        padding: 15px;
    }

    .hero-details p {
        font-size: 0.95rem;
    }

    .offer-list li {
        font-size: 1rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

}