/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color, #3c4858);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- HEADER --- */
.header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.nav-menu a:hover { color: var(--primary-color); }

.btn-whatsapp {
    background-color: var(--whatsapp-green) !important;
    color: white !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

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

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero { padding: 40px 0; background: linear-gradient(to right, #ffffff, #f9f9f9); }

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-text { flex: 1; min-width: 300px; }

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero h1 span { font-weight: 300; }

.primary-text-color {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.separator {
    width: 60px;
    height: 5px;
    background-color: var(--primary-color);
    margin-bottom: 25px;
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eco-msg {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-call {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-call:hover { background-color: var(--primary-color); transform: translateY(-3px); }

.hero-image { text-align: right; flex: 1; }
.hero-image img { filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); max-width: 80%; }

/* --- ABOUT SECTION --- */
.about { padding: 80px 0; background-color: #fcfcfc; }

.section-title h2 { 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: #2c3e50; 
    margin-bottom: 15px;
}
.section-title.text-center { text-align: center; margin: 0 auto 50px; }

/* Justificar textos de ¿Qué son? */
.about .section-title p {
    text-align: justify;
}

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }

/* Justificar textos de Innovación/Tecnología/Medio Ambiente */
.feature-item p {
    text-align: justify;
}

.icon-circle { width: 90px; height: 90px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary-color); margin: 0 auto 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.07); }

/* --- HOW WORKS --- */
.how-works { padding: 80px 0; background: #fff; }
.text-center { text-align: center; }

.how-works h2.text-center {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.split-content { display: flex; align-items: center; gap: 60px; margin-top: 50px; flex-wrap: wrap; }
.image-part, .text-part { flex: 1; min-width: 320px; }
.text-part h3 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 20px; }

/* Justificar textos de Funcionamiento y Beneficios */
.text-part p {
    text-align: justify;
}

.benefits-list li { font-size: 1.1rem; margin-bottom: 15px; }
.benefits-list i { color: var(--primary-color); margin-right: 10px; }

/* --- PLANES SECTION --- */
.planes { padding: 100px 0; background-color: #f4f7f6; }

.planes h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.plan-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--primary-color);
}

.plan-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.plan-img { background: #f9f9f9; padding: 40px; text-align: center; }
.plan-img img { height: 250px; object-fit: contain; }
.plan-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.plan-info h3 { font-size: 1.3rem; margin-bottom: 15px; color: #2c3e50; font-weight: 700; height: 3.5rem; overflow: hidden; }

/* Justificar descripción de los planes */
.plan-desc { 
    font-size: 0.95rem; 
    color: #777; 
    margin-bottom: 20px; 
    text-align: justify; 
}

.plan-features { margin-bottom: 30px; flex-grow: 1; }
.plan-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.plan-features i { color: var(--primary-color); }

/* Color verde y reducción de espacio en Inversión */
.plan-price-green {
    color: #28a745 !important; 
    margin-bottom: 0px !important; 
    height: auto !important; 
}

.plan-payment-info {
    margin-top: 0px !important; 
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-plan { display: block; text-align: center; background: var(--primary-color); color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; }
.btn-plan:hover { background: #2c3e50; }

/* --- FOOTER / CONTACT --- */
.footer-section { padding: 80px 0 30px; background: #fff; border-top: 1px solid #eee; }

.footer-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.footer-container { display: flex; flex-wrap: wrap; gap: 60px; }
.contact-form-wrapper { flex: 1.5; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border-radius: 10px; border: 1px solid #ddd; font-family: inherit; margin-bottom: 15px; }
.btn-submit { background: var(--primary-color); color: #fff; border: none; padding: 15px 40px; border-radius: 50px; font-weight: 700; cursor: pointer; }
.btn-submit:hover { opacity: 0.9; }

.info-item i { color: var(--primary-color); margin-right: 10px; }
.social-icons a:hover { background: var(--primary-color); color: #fff; }
.green-line { height: 4px; width: 50px; background-color: var(--primary-color); margin: 20px 0; }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #f0f0f0; font-size: 0.8rem; color: #999; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; text-align: center; }
    .mobile-toggle { display: block; }
}