/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --brand-green: #00B050;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

.hero {
    background-color: #2C3E50;
}

/* Header y navegación */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #00B050;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        padding: 2rem 0 2rem 0;
        gap: 1.5rem;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        opacity: 0.98;
        display: flex;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links a {
        color: #222;
        font-size: 1.1rem;
        padding: 0.6rem 2rem;
        width: 100%;
        display: block;
    }
    .hamburger {
        display: flex;
    }
}
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    padding-top: 70px;
}




.logo {
    display: flex;
    align-items: center;
    background: transparent;
}

.logo-img {
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: transparent;
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        padding: 2rem 0 2rem 0;
        gap: 1.5rem;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        opacity: 0.98;
        display: none;
    }
    .nav-links.active {
        transform: translateX(0);
        display: flex;
    }
    .nav-links a {
        color: #222;
        font-size: 1.1rem;
        padding: 0.6rem 2rem;
        width: 100%;
        display: block;
    }
    .hamburger {
        display: flex;
    }
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00B050;
}

/* Botón CTA principal */
.cta-button {
    background: #00B050;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-top: 1rem;
    display: inline-block;
}
.cta-button:hover {
    background: #00913f;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #F0E9DA;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #111;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hero-slogan {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-slogan-green {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--brand-green);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #00913d;
    transform: translateY(-2px) scale(1.04);
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}



/* Servicios */
.services {
    background: #f5f6fa;
    padding: 3rem 0;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card i {
    font-size: 2.2rem;
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

/* Productos (igual que servicios) */
.products {
    background: #f5f6fa;
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card i {
    font-size: 2.2rem;
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}


.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Sobre Nosotros */
.about {
    padding: 5rem 2rem;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about {
    background: #181818;
    color: #fff;
    padding: 3rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content strong {
    color: var(--brand-green);
    font-weight: bold;
}

.about-content ul {
    color: #fff;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.about-content ul li {
    font-size: 1.1em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
}

.about-bullet {
    color: var(--brand-green);
    font-weight: bold;
    margin-right: 0.5em;
    font-size: 1.2em;
}


/* Contacto */
.contact {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
