/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* =========================================
   CARGA DE FUENTE LOCAL (.OTF con espacios)
   ========================================= */
@font-face {
    font-family: 'RL Limo Black';
    src: url('fonts/RL%20Limo%20Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body { font-family: 'Montserrat', sans-serif; }

/* VARIABLES COLORES EXACTOS */
:root {
    --lila-text: #9C9CFF; 
    --bg-instructions: #9C9CFF; 
    --bg-faq: #483D8B;
    --yellow-soft: #F4FF5F; 
    --white: #FFFFFF;
}

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

/* NAVBAR: ESTILO BOTÓN (Píldora flotante) */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; 
    padding: 20px; 
    z-index: 1000;
    background: transparent; 
}
.nav-container {
    max-width: 1200px; margin: 0 auto; 
    padding: 15px 40px;
    display: flex; justify-content: space-between; align-items: center;
    border: 4px solid var(--lila-text);
    border-radius: 60px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px); 
}

/* CAMBIO: Tamaño de logo reducido a 1.8rem */
.nav-logo {
    font-family: 'RL Limo Black', sans-serif; 
    font-size: 1.5rem; 
    color: var(--yellow-soft); 
    text-decoration: none; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a {
    text-decoration: none; 
    color: var(--yellow-soft); 
    font-weight: 600;
    text-transform: uppercase; font-size: 0.9rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}
.nav-menu a:hover { color: var(--white); }
.menu-toggle { display: none; color: var(--yellow-soft); font-size: 1.5rem; }

/* --- HERO (BANNER) --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('images/fondo-home.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    padding-top: 190px;
    padding-bottom: 140px;
}

.hero-title {
    font-family: 'RL Limo Black', sans-serif; 
    font-size: clamp(4.5rem, 12vw, 8rem); 
    line-height: 0.85; 
    margin-bottom: -90px; 
    color: var(--lila-text); 
    text-shadow: 4px 4px 0px #000;
    letter-spacing: 1px;
    position: relative; 
    z-index: 1; 
}

.hero-image-container {
    position: relative; 
    max-width: 675px; 
    width: 95%;
    margin: 0 auto 40px;
    z-index: 2; 
}
.box-image { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.7)); }

.hero-footer-text { max-width: 800px; margin: 0 auto; }

.sub-title-lila {
    font-family: 'RL Limo Black', sans-serif; 
    font-size: 3.2rem;
    color: var(--lila-text); line-height: 1.1; margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
}

.long-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem; line-height: 1.6; margin-bottom: 50px;
    color: var(--yellow-soft); 
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
    font-weight: 600;
}

.btn-transparent {
    display: inline-block; padding: 18px 50px;
    border: 4px solid var(--lila-text); 
    color: var(--yellow-soft);
    font-family: 'RL Limo Black', sans-serif; 
    font-size: 1.5rem;
    text-decoration: none; border-radius: 60px;
    transition: all 0.3s ease; background: rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.btn-transparent:hover {
    background: var(--lila-text);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(156, 156, 255, 0.4);
}

/* ESTILOS GENERALES DE SECCIÓN */
.faq-title {
    font-family: 'RL Limo Black', sans-serif; 
    font-size: 3.5rem; line-height: 1; margin-bottom: 40px;
}

.section-title {
    font-family: 'RL Limo Black', sans-serif; 
    font-size: 4.5rem; 
    line-height: 0.95; 
    margin-bottom: 40px;
}

.text-yellow { color: var(--yellow-soft); }
.text-white { color: white; }

/* SECCIÓN "SÍ, FUNCIONA" */
.funcionamiento-section { background: var(--bg-instructions); padding: 80px 0; color: var(--white); }
.funcionamiento-layout { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.col-title-func { flex: 1; }
.col-list-func { flex: 1.2; padding-top: 20px; }
.flowering-list { list-style: none; display: flex; flex-direction: column; gap: 25px; }
.flowering-list li { display: flex; align-items: flex-start; gap: 15px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.bullet-icon-white { color: var(--white); font-size: 1.2rem; margin-top: 4px; }


/* =========================================
   ESTILOS: MANOS A LA TIERRA 
   ========================================= */
.instructions-section { 
    background: var(--bg-instructions); 
    padding: 80px 0 0 0; 
    color: white; 
    overflow: hidden; 
}
.split-layout { 
    display: flex; 
    align-items: stretch; 
    gap: 50px; 
}
.col-info { 
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding-bottom: 80px; 
}
.col-visual { 
    flex: 1; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
}
.hands-img { 
    width: 100%; 
    max-width: 550px; 
    display: block;
    margin-bottom: -20px; 
}
/* ========================================= */

.subtitle-block { display: block; color: var(--yellow-soft); }
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.4); border-radius: 15px; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; }
.step-text h3 { color: var(--yellow-soft); text-transform: uppercase; margin-bottom: 5px; }
.step-icon { font-size: 2rem; color: var(--yellow-soft); }

/* SECCIÓN FAQ (¿Tienes dudas?) */
.faq-section { background: var(--yellow-soft); padding: 240px 0; color: var(--lila-text); }
.faq-section .text-yellow { color: var(--lila-text); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; }
.faq-box { background: transparent; padding: 0; border-radius: 0; display: flex; flex-direction: column; gap: 0; text-align: left; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: opacity 0.3s ease; }
.faq-question:hover { opacity: 0.7; }
.faq-question h3 { color: var(--lila-text); margin-bottom: 0; font-size: 1.3rem; font-weight: 700; }
.faq-question i { color: var(--lila-text); font-size: 1rem; transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { color: var(--lila-text); font-weight: 500; line-height: 1.5; font-size: 0.95rem; display: none; margin-top: 15px; }
.faq-answer.show { display: block; animation: fadeIn 0.4s ease forwards; }

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

/* SECCIÓN: DISEÑADO PARA DEVOLVER */
.footer-section { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('images/fondo-plantas.jpg'); 
    background-size: cover; 
    background-position: center; 
    padding: 120px 0; 
    color: white; 
}
.footer-layout { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; }
.footer-title-col { flex: 1; position: sticky; top: 150px; }
.footer-title { font-family: 'RL Limo Black', sans-serif; font-size: 5rem; line-height: 0.9; margin-bottom: 20px; }
.footer-subtitle { font-family: 'RL Limo Black', sans-serif; font-size: 1.5rem; line-height: 1.2; }
.footer-content-col { flex: 1.2; display: flex; flex-direction: column; gap: 20px; margin-top: 350px; }
.sustainability-box { display: flex; gap: 25px; border: 2px solid var(--yellow-soft); border-radius: 15px; padding: 30px; background: transparent; align-items: flex-start; }
.sustainability-box h4 { flex: 1; color: var(--yellow-soft); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; margin: 0; line-height: 1.2; }
.sustainability-box p { flex: 1.5; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.95rem; line-height: 1.5; margin: 0; }


/* =========================================
   FOOTER FINAL
   ========================================= */
.main-footer {
    background: var(--lila-text);
    padding: 100px 0 50px;
}

.footer-top-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.footer-massive-title {
    font-family: 'RL Limo Black', sans-serif;
    font-size: clamp(4rem, 11vw, 8rem);
    line-height: 0.85;
    margin-bottom: 60px;
}

.footer-middle-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.footer-text-col {
    flex: 1;
}

.footer-text-col p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 25px;
    max-width: 450px;
}

.footer-thanks-col {
    flex: 1.5; 
    display: flex;
    align-items: center; 
    gap: 30px;
}

.footer-thanks-col h3 {
    font-family: 'RL Limo Black', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    margin: 0;
    white-space: normal; 
}

/* CARITA FELIZ Y SU ANIMACIÓN */
.smiley-icon {
    font-size: 8.5rem;
    margin-top: 0; 
    display: inline-block; 
    transform-origin: center;
    transform: rotate(0deg);
}

.smiley-icon.start-rotation {
    animation: rotateSmiley 1.2s ease-in-out forwards; 
}

@keyframes rotateSmiley {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(45deg); }
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 100px;
}

.email-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.email-link:hover { opacity: 0.7; }
.footer-links-copyright { text-align: right; }
.footer-links { list-style: none; margin-bottom: 25px; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-family: 'Montserrat', sans-serif; font-weight: 700; text-decoration: none; font-size: 1.1rem; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 0.7; }
.copyright { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; }


/* MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
    .hero-title { font-size: 4.5rem; margin-bottom: -45px; } 
    .sub-title-lila { font-size: 2.2rem; }
    .section-title { font-size: 3.5rem; }

    .split-layout, .funcionamiento-layout, .footer-layout { flex-direction: column; }
    
    .col-visual { order: 2; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
    .col-info, .col-title-func, .col-list-func { order: 1; text-align: left; }
    
    .col-info { padding-bottom: 40px; } 

    .col-title-func { text-align: center; margin-bottom: 30px;} 

    .faq-grid { text-align: center; }
    .faq-box { text-align: left; }
    .faq-question { justify-content: space-between; }
    .faq-section { padding: 120px 0; }

    .footer-title-col { position: static; text-align: left; margin-bottom: 20px; }
    .footer-title { font-size: 4rem; }
    .footer-content-col { margin-top: 0; }
    .sustainability-box { flex-direction: column; gap: 15px; padding: 25px; }
    .sustainability-box h4, .sustainability-box p { flex: auto; width: 100%; }

    /* Ajustes móviles para el nuevo Footer */
    .footer-massive-title { font-size: 4.5rem; margin-bottom: 40px; }
    .footer-middle-content { flex-direction: column; gap: 40px; }
    
    .footer-thanks-col { flex: auto; flex-direction: column; align-items: flex-start; }
    .smiley-icon { margin-top: 15px; font-size: 6.5rem; } 
    .footer-bottom-content { flex-direction: column; align-items: flex-start; gap: 40px; margin-top: 60px; }
    .footer-links-copyright { text-align: left; }
}