/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #2d2d2d;
    background: #fff;
    overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
    --green: #2e7d52;
    --green-dark: #1b5e3b;
    --green-light: #e8f5ee;
    --celeste: #7ec8e3;
    --celeste-light: #e3f5fb;
    --celeste-dark: #4da8c7;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
h2.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    margin-bottom: .5em;
    color: var(--green-dark);
}
.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(46,125,82,.1);
    transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem;
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--green-dark);
    text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--gray-600);
    font-weight: 500; font-size: .95rem;
    transition: color .2s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--green);
    transition: width .3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--green-dark); border-radius: 2px; transition: .3s; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 2rem; border-radius: 50px;
    font-weight: 600; font-size: 1rem;
    text-decoration: none; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-celeste { background: var(--celeste); color: #fff; }
.btn-celeste:hover { background: var(--celeste-dark); }

/* ===== SECTIONS ===== */
section { padding: 6rem 2rem; }

/* ===== FOOTER ===== */
footer {
    background: var(--gray-800);
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 3rem 2rem;
    font-size: .9rem;
}
footer a { color: var(--celeste); text-decoration: none; }
footer .footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: .5rem;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
    opacity: 1; transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        flex-direction: column; background: #fff;
        padding: 5rem 2rem 2rem; gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: right .35s ease;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    section { padding: 4rem 1.2rem; }
}
