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

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #283135;
    background-color: #f7f5f0;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: relative;
    background-image: url('../img/olivo_6.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 4.5rem 0 5.5rem;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 34, 20, 0.88), rgba(24, 77, 42, 0.78));
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.site-header h1 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.subtitle {
    font-size: 0.95rem;
    max-width: 420px;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn.primary {
    background: #2c6b3f;
    color: #fff;
    border-color: #2c6b3f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn.primary:hover {
    background: #234f31;
    border-color: #234f31;
}

.btn.outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn.full-width {
    width: 100%;
}

.main-nav {
    background: #0f1f17;
    color: #fff;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
}

.nav-logo {
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #dfeee4;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e7f3ea;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #7fc08a;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
}

.intro-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f3226;
}

.intro-text p {
    margin-bottom: 0.75rem;
}

.tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tags li {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e1eddd;
    font-size: 0.8rem;
    color: #234824;
}

.intro-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.intro-img {
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(16, 32, 23, 0.25);
    object-fit: cover;
}

.intro-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.thumb {
    border-radius: 0.75rem;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.95);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.thumb:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.feature-section {
    background: #ffffff;
    padding: 3rem 0 3.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
}

.feature-grid h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #1f3226;
}

.feature-grid p + p {
    margin-top: 0.75rem;
}

.cards {
    display: grid;
    gap: 1rem;
}

.card {
    background: #f4f7f2;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(68, 105, 76, 0.15);
    box-shadow: 0 10px 24px rgba(13, 30, 19, 0.06);
}

.card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    color: #24432b;
}

.benefits-section {
    padding: 3rem 0;
}

.benefits-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #1f3226;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.benefit {
    background: #e7efe6;
    border-radius: 0.9rem;
    padding: 1rem;
    text-align: left;
}

.benefit h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #24432b;
}

.gallery-section {
    background: #ffffff;
    padding: 3rem 0 3.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #1f3226;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.gallery-item {
    border-radius: 0.9rem;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.lightbox-img {
    max-width: min(900px, 94%);
    max-height: 90vh;
    border-radius: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.video-section {
    padding: 3rem 0;
    background: #f4f7f2;
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.video-grid h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1f3226;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.social-section {
    padding: 3rem 0;
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.fb-embed iframe {
    width: 100%;
    max-width: 520px;
}

.contact-section {
    background: #ffffff;
    padding: 3.2rem 0 3.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1f3226;
}

.contact-list {
    list-style: none;
    margin-top: 0.5rem;
}

.contact-list li + li {
    margin-top: 0.35rem;
}

.contact-list a {
    color: #2c6b3f;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f4f7f2;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(68, 105, 76, 0.15);
    box-shadow: 0 14px 32px rgba(12, 30, 18, 0.08);
}

.field {
    margin-bottom: 0.9rem;
}

.field label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(113, 135, 115, 0.6);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    background: #ffffff;
}

.field input:focus,
.field textarea:focus {
    border-color: #2c6b3f;
    box-shadow: 0 0 0 3px rgba(44, 107, 63, 0.16);
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: #6b7b6b;
}

.site-footer {
    background: #0f1f17;
    color: #c9dbc9;
    padding: 1.5rem 0;
    font-size: 0.82rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}

.site-footer a {
    color: #9ad3a0;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* WhatsApp botón flotante */
.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.4rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    z-index: 60;
}

.wa-icon {
    font-size: 1.5rem;
    color: #fff;
}

/* Responsivo */
@media (max-width: 960px) {
    .intro-section,
    .feature-grid,
    .benefits-grid,
    .gallery-grid,
    .video-grid,
    .social-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item {
        height: 160px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 3.2rem 0 3.6rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: #0f1f17;
        flex-direction: column;
        padding: 0.75rem 1rem 1rem;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .intro-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item {
        height: 150px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-item {
        height: 190px;
    }
}
