@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&display=swap");

/* ==========================
   VARIABLES DE MARCA
========================== */

:root {
    --green-dark: #368434;
    --green-light: #94C121;
    --brown: #523925;
    --black: #1D1D1B;
    --white: #FFFFFF;
    --soft: #F4F8F1;
    --border: #E2E8DE;

    --font-title: "Bebas Neue", sans-serif;
    --font-body: "Montserrat", sans-serif;
    --font-accent: "Brush Script MT", "Segoe Script", cursive;

    --max-width: 1200px;
}

/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

/* ==========================
   CONTENEDOR
========================== */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

/* ==========================
   HEADER
========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    font-family: var(--font-title);
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--green-dark);
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--green-dark);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--green-dark);
}

.menu a:hover::after {
    width: 100%;
}

/* ==========================
   BOTONES
========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--green-dark);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-light);
    color: var(--black);
}

.btn-secondary {
    background: transparent;
    color: var(--green-dark);
}

.btn-secondary:hover {
    background: var(--soft);
}

/* ==========================
   HERO
========================== */

.hero {
    padding: 70px 0 30px;
    background:
        linear-gradient(
            135deg,
            var(--white) 0%,
            var(--soft) 100%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 10px;
    font-family: var(--font-title);
    font-size: clamp(4.3rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
}

.hero h1 span {
    display: block;
    color: var(--green-dark);
}

.slogan {
    margin-bottom: 14px;
    font-family: var(--font-accent);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--green-dark);
}

.hero-description {
    max-width: 560px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #3E3E3B;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    min-height: 480px;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px dashed var(--green-dark);
    border-radius: 20px;
    background: #E8F2E3;
    color: var(--green-dark);
    font-weight: 700;
    text-align: center;
}

.image-placeholder-small {
    min-height: 320px;
}

/* ==========================
   ESTADÍSTICAS
========================== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.stat {
    padding-right: 16px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1;
    color: var(--black);
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================
   BENEFICIOS
========================== */

.benefits {
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit {
    padding-right: 24px;
    border-right: 1px solid var(--border);
}

.benefit:last-child {
    border-right: none;
}

.benefit h3 {
    margin-bottom: 8px;
    font-family: var(--font-title);
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
}

.benefit p {
    font-size: 0.86rem;
    color: #55554F;
}

/* ==========================
   SECCIONES
========================== */

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--soft);
}

.section-label {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2,
h3 {
    font-family: var(--font-title);
    letter-spacing: 1px;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    text-transform: uppercase;
}

h3 {
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.section-description {
    max-width: 760px;
    color: #55554F;
}

/* ==========================
   SOBRE MÍ
========================== */

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-content p {
    margin-bottom: 16px;
    color: #4E4E49;
}

.about-content .btn {
    margin-top: 12px;
}

/* ==========================
   TARJETAS
========================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(29, 29, 27, 0.06);
}

.card p {
    color: #55554F;
}

.testimonial-card strong {
    display: block;
    margin-top: 18px;
    color: var(--green-dark);
}

/* ==========================
   CONTACTO
========================== */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--green-light);
    border-color: transparent;
}

/* ==========================
   FOOTER
========================== */

.footer {
    padding: 30px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    font-size: 0.86rem;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1000px) {

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 0;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 20px;
    }

    .hero-content,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        min-height: 340px;
    }
}

@media (max-width: 600px) {

    .header .btn {
        width: 100%;
    }

    .hero {
        padding: 54px 0 24px;
    }

    .section {
        padding: 68px 0;
    }

    .hero h1 {
        font-size: 3.8rem;
    }

    .slogan {
        font-size: 1.8rem;
    }

    .stats,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stat,
    .benefit {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 18px;
    }

    .stat:last-child,
    .benefit:last-child {
        border-bottom: none;
    }
}