/* ---------- RESET Y BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #F8F9FA;
    color: #1A1A2E;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- BOTONES (Morado neón) ---------- */
.btn-primary {
    background: linear-gradient(135deg, #7B2FBE, #9B4DCA);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(123, 47, 190, 0.4);
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 35px rgba(123, 47, 190, 0.6);
    background: linear-gradient(135deg, #9B4DCA, #7B2FBE);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF006E, #FF3D8F);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.35);
}
.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 35px rgba(255, 0, 110, 0.5);
}

.btn-outline {
    background: transparent;
    color: #7B2FBE;
    border: 2px solid #7B2FBE;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: #7B2FBE;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(123, 47, 190, 0.2);
}

/* ---------- HEADER ---------- */
header {
    background: #FFFFFF;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A2E;
}
.logo span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;        
    overflow: hidden;         
    box-shadow: 0 4px 15px rgba(123, 47, 190, 0.3);
    background: transparent;  
    flex-shrink: 0;
}

.logo span img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-menu a:not(.btn-primary) {
    font-weight: 500;
    color: #4A4A6A;
    transition: 0.3s;
    font-size: 0.98rem;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00D2FF;
    transition: 0.3s;
}
.nav-menu a:hover::after {
    width: 100%;
}
.nav-menu a:hover {
    color: #7B2FBE;
}

/* Submenú */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #E9ECEF;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #fafafa;
    font-size: 0.9rem;
}
.dropdown-menu a:hover {
    background: #4A4A6A;
    color: #7B2FBE;
}
.dropdown:hover .dropdown-menu {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #1A1A2E;
    border-radius: 4px;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(135deg, #F3E8FF 0%, #E0F7FA 50%, #FFF0F5 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15), transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 47, 190, 0.10), transparent 70%);
    border-radius: 50%;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #1A1A2E;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero h1 strong {
    background: linear-gradient(135deg, #7B2FBE, #00D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.3rem;
    color: #1A1A2E;  /* <-- Cambiado a oscuro */
    max-width: 700px;
    margin: 0 auto 36px;
    font-weight: 300;
}
.hero .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Imagen decorativa en el hero (mitad derecha, opaca) */
.hero {
    position: relative;
    overflow: hidden;
}
.hero-bg-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('recicladora.jpeg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;               
}

/* ---------- SECCIONES ---------- */
section {
    padding: 80px 0;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1A1A2E;
}
.section-title span {
    background: linear-gradient(135deg, #7B2FBE, #00D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    text-align: center;
    color: #4A4A6A;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    font-weight: 300;
}

/* ---------- TARJETAS DE MATERIALES ---------- */
.materiales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.material-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 2px solid #E9ECEF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 47, 190, 0.15);
    border-color: #7B2FBE;
}
.material-card .card-image {
    width: 100%;
    height: 160px;
    background: #E9ECEF;
    border-radius: 16px;
    margin-bottom: 16px;
    background-size: cover;
    background-position: center;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    font-size: 0.9rem;
}
.material-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1A1A2E;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.material-card h3 i {
    color: #7B2FBE;
}
.material-card ul {
    list-style: disc;
    padding-left: 20px;
    color: #4A4A6A;
    font-weight: 300;
    line-height: 1.8;
}
.material-card ul li {
    margin-bottom: 4px;
}

/* ---------- BENEFICIOS ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.benefit-item {
    background: #FFFFFF;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-left: 6px solid #7B2FBE;
    transition: 0.3s;
}
.benefit-item:hover {
    transform: translateX(8px);
    border-left-color: #00D2FF;
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.1);
}
.benefit-item i {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #FF006E, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 44px;
    margin-top: 2px;
}
.benefit-item h4 {
    color: #1A1A2E;
}
.benefit-item p {
    color: #4A4A6A;
    font-weight: 300;
}

/* ---------- CONTACTO ---------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #1A1A2E;
}
.contact-info p {
    color: #4A4A6A;
    font-weight: 300;
    margin-bottom: 24px;
}
.contact-info .detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-info .detail i {
    background: linear-gradient(135deg, #7B2FBE, #00D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 26px;
    font-size: 1.3rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E9ECEF;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    margin-bottom: 18px;
    background: #FFFFFF;
    color: #1A1A2E;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #7B2FBE;
    box-shadow: 0 0 0 5px rgba(123, 47, 190, 0.08);
}
.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}
.contact-form button {
    width: 100%;
}

/* ---------- FOOTER ---------- */
footer {
    background: #1A1A2E;
    color: #CBD5E0;
    padding: 50px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}
.footer-grid h4 {
    color: #00D2FF;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}
.footer-grid a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: 0.3s;
}
.footer-grid a:hover {
    color: #00D2FF;
}
.footer-bottom {
    border-top: 1px solid #2D2D4A;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #FFFFFF;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        border-top: 2px solid #E9ECEF;
    }
    .nav-menu.active {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: #F8F9FA;
        border-radius: 8px;
        margin-top: 8px;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}