/* =========================
   VARIABLES
========================= */
:root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;

    --green-dark: #4a7a14;
    /* pressed / hover-dark: darker lime */
    --green-main: #82d225;
    /* PRIMARY brand colour */
    --green-mid: #a0e040;
    /* lighter accent, section-label */
    --green-light: #c2f07a;
    /* soft accent, why-num, decorative */
    --green-pale: #eefad0;
    /* very light tint, hover surfaces */
    --green-mist: #f6fde8;
    /* near-white surface, icon bg */

    --cream: #fdfbf8;
    --anthracite: #1e2a25;
    --gray-light: #e8ede9;
    --white: #ffffff;

    --shadow-md: 0 8px 32px rgba(29, 58, 40, 0.12);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================
   GLOBAL UTILITIES
========================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--green-main);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.4);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =========================
   HEADER SECTION
========================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 251, 248, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 136px;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-icon {
    width: 144px;
    height: 120px;
    background: var(--green-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo-text span {
    color: var(--green-mid);
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-mid);
    transition: var(--transition);
    cursor: pointer;
}

nav a:hover,
nav a.active {
    color: var(--green-dark);
    background: var(--green-mist);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 136px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gray-light);
    padding: 16px 24px 24px;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--anthracite);
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

.mobile-nav a:last-child {
    border-bottom: none;
    color: var(--white);
}

.mobile-nav .btn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-whatsapp {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-dark);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-whatsapp svg {
    width: 22px;
    height: 22px;
}

.mobile-whatsapp:hover {
    transform: scale(1.05);
}

/* =========================
   HEADER RESPONSIVE
========================= */
@media(max-width: 768px) {
    nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-whatsapp {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .logo-text {
        display: none;
    }
}