@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #1a432b;    /* Deep Forest Green */
    --primary-light: #2c6843;
    --accent: #c89666;      /* Warm Wood */
    --accent-hover: #b38255;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-main: #f8fafc;
    --bg-alt: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}

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

/* =========================
   HEADER
   ========================= */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.logo {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header nav {
    display: flex;
    gap: 32px;
}

.header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 4px;
    right: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.header nav a:hover::after {
    width: 100%;
    left: 0;
    background: var(--accent);
}

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 50px 60px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-box h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-text-box p {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    color: rgba(255, 255, 255, 0.95);
}

/* =========================
   EMPRESA
   ========================= */
.empresa {
    padding: 100px 0;
    background: var(--bg-alt);
    text-align: center;
}

.empresa h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.empresa h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.empresa-desc {
    max-width: 750px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.empresa-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.empresa-info p {
    background: var(--bg-main);
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   PRODUCTOS
   ========================= */
.productos {
    padding: 100px 0;
}

.productos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background: var(--bg-alt);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
    position: relative;
    background: var(--bg-alt);
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================
   CONTACTO
   ========================= */
.contacto {
    background: var(--primary);
    padding: 100px 0;
    color: white;
}

.contacto .container {
    max-width: 800px;
    text-align: center;
}

.contacto h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contacto > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp::before {
    content: '💬';
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.contact-email {
    font-size: 1.05rem;
    background: rgba(255,255,255,0.1);
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Formulario */
.contact-form {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: grid;
    gap: 20px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafb;
    transition: all 0.3s ease;
    color: var(--text-main);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 150, 102, 0.1);
}

.contact-form .btn-primary {
    background: var(--primary);
    color: white;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 10px;
}

.contact-form .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 67, 43, 0.2);
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background: #111827;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header nav {
        gap: 15px;
    }
    .header nav a {
        font-size: 0.95rem;
    }
    .hero-text-box h2 {
        font-size: 2.2rem;
    }
    .hero-text-box {
        padding: 30px;
    }
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .empresa-info {
        flex-direction: column;
        gap: 15px;
    }
}
