/* FUENTES Y ESTILOS GENERALES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --jafra-purple: #702F8A; /* Púrpura oficial */
    --jafra-gold: #C7A465;   /* Dorado oficial */
    --dark-text: #333333;
    --light-text: #ffffff;
    --bg-light: #f8f9fa;
    --gray-text: #6b7280;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    color: var(--jafra-purple);
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { color: var(--gray-text); }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }

/* SECCIONES */
.section {
    padding: 80px 0;
}
.section.bg-light {
    background-color: var(--bg-light);
}
.section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

/* HEADER */
.main-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-header .logo img {
    height: 40px;
    display: block; /* Asegura que no haya espacio extra debajo de la imagen */
}
/* Estilo para el fondo del logo en el header */
.main-header .logo {
    background-color: var(--jafra-purple);
    padding: 5px 10px;
    border-radius: 8px;
}


/* BOTONES */
.cta-button, .cta-button-hero, .submit-button {
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover, .cta-button-hero:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cta-button {
    background-color: var(--jafra-gold);
    color: white;
    padding: 10px 24px;
}
.cta-button-hero {
    background-color: white;
    color: var(--jafra-purple);
    padding: 15px 35px;
    font-size: 1.1rem;
}
.submit-button {
    background-color: var(--jafra-purple);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    width: auto;
}

/* HERO SECTION */
.hero-section {
    /* Reemplaza esta URL con la ruta a tu imagen de fondo */
    background-image: url('/img/portada-princ.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}
.hero-overlay {
    /* Capa de color morado con 70% de opacidad */
    background-color: rgba(96, 32, 122, 0.7);
    padding: 100px 0;
    text-align: center;
}
.hero-section h1, .hero-section h3 {
    color: white; /* Asegura que el texto sea blanco */
}
.hero-section h1 {
    margin-bottom: 1rem;
}
.hero-section h3 {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
}

/* NUEVA SECCIÓN: GANA CON JAFRA */
.ganancias-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.ganancia-principal {
    flex: 2;
    min-width: 300px;
    text-align: left;
    border-right: 2px solid var(--border-color);
    padding-right: 30px;
}
.ganancia-principal i {
    font-size: 3rem;
    color: var(--jafra-gold);
    margin-bottom: 1rem;
}
.ganancia-secundaria {
    flex: 1;
    min-width: 250px;
    text-align: left;
}
.ganancia-secundaria ul {
    list-style: none;
    padding: 0;
}
.ganancia-secundaria li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.ganancia-secundaria i {
    color: var(--jafra-gold);
    margin-right: 10px;
}
.premios-title {
    margin-bottom: 40px;
}
.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.premio-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}
.premio-item:hover {
    transform: translateY(-8px);
}
.premio-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.premio-item p {
    padding: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}


/* VIDEO SECTION */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HOW-TO-START SECTION */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.step-number {
    background-color: var(--jafra-purple);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* LEADERSHIP SECTION */
.leadership-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}
.leadership-block.reverse {
    flex-direction: row-reverse;
}
.leadership-image, .leadership-text {
    flex: 1;
    min-width: 300px;
}
.leadership-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.leadership-text ul {
    list-style: none;
    padding: 0;
}
.leadership-text li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.leadership-text i {
    color: var(--jafra-gold);
    margin-right: 10px;
    margin-top: 5px;
}

/* GALLERY SECTION */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: opacity 0.3s ease;
}
.gallery-grid img:hover {
    opacity: 0.8;
}

/* FORM SECTION */
.form-container {
    max-width: 900px;
}
.contact-form {
    margin-top: 30px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-section {
    margin-bottom: 40px;
}
.form-section h4 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.form-grid-3, .form-grid-2 {
    display: grid;
    gap: 20px;
}
.form-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.form-grid-2 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Important for consistent sizing */
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--jafra-purple);
    box-shadow: 0 0 0 2px rgba(112, 47, 138, 0.2);
}
.contact-form .full-width {
    grid-column: 1 / -1;
}
.contact-form textarea {
    margin-top: 20px;
    width: 100%;
}
.form-warning {
    font-size: 0.9em;
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 4px solid var(--jafra-gold);
    background-color: #fffbeb;
    color: #b45309;
}
.form-warning.blue {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
    color: #1e40af;
}

/* FOOTER */
.main-footer {
    background-color: var(--jafra-purple);
    color: white;
    padding: 40px 0;
    text-align: center;
}
.main-footer img {
    height: 40px;
    margin: 0 auto 1rem auto;
}
.main-footer a {
    color: var(--jafra-gold);
    text-decoration: none;
}
.main-footer a:hover {
    text-decoration: underline;
}
.main-footer .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .main-header .cta-button { display: none; }
    .leadership-block, .leadership-block.reverse {
        flex-direction: column;
    }
    .ganancia-principal {
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}
