/* ================================================================
   Woodage Design System — Shared Styles
   Performance: external file = cached across all 3 pages
   ================================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary: #1B4D3E;
    --primary-light: #26725A;
    --primary-dark: #0F3028;
    --primary-subtle: rgba(27,77,62,0.06);
    --accent: #C8963E;
    --accent-light: #E0B460;
    --accent-subtle: rgba(200,150,62,0.12);
    --bg: #FAFAF7;
    --bg-white: #FFFFFF;
    --bg-alt: #F2F0EB;
    --bg-warm: #F7F4EF;
    --bg-dark: #0F3028;
    --text: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    --border: #E7E5E4;
    --border-strong: #D6D3D1;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- SKIP TO CONTENT (Accessibility) --- */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--primary); color: #fff;
    padding: 12px 24px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px; font-weight: 600;
    text-decoration: none; z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* --- FOCUS STYLES (Accessibility) --- */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250,250,247,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.nav-container {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: 'Clash Display', sans-serif;
    font-size: 22px; font-weight: 700; color: var(--primary);
    text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--text-secondary);
    font-size: 15px; font-weight: 500;
    padding: 8px 16px; border-radius: var(--radius-full);
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--primary-subtle); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta {
    background: var(--primary) !important; color: #fff !important;
    padding: 10px 24px !important; border-radius: var(--radius-full) !important;
    font-size: 14px !important; font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.hamburger {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); margin: 5px auto;
    border-radius: 2px; transition: var(--transition);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    padding: 14px 32px; border-radius: var(--radius-full);
    text-decoration: none; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,77,62,0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--border-strong); color: var(--text);
    padding: 12px 28px; border-radius: var(--radius-full);
    text-decoration: none; font-weight: 600; font-size: 15px;
    background: transparent; cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-secondary:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-subtle);
}

/* --- SECTION FRAMEWORK --- */
.section { padding: 100px 40px; }
.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 16px;
}
.section-label::before {
    content: ''; display: block;
    width: 24px; height: 2px;
    background: var(--accent);
}
.section-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 40px; font-weight: 700; color: var(--text);
    margin-bottom: 16px; line-height: 1.15;
    letter-spacing: -0.5px;
}
.section-dark .section-title { color: #fff; }
.section-desc {
    font-size: 17px; color: var(--text-secondary);
    max-width: 580px; margin-bottom: 48px; line-height: 1.8;
}
.section-dark .section-desc { color: rgba(255,255,255,0.75); }

/* --- FOOTER --- */
.footer {
    background: var(--bg-dark); color: #fff;
    padding: 72px 40px 32px;
}
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-logo {
    font-family: 'Clash Display', sans-serif;
    font-size: 22px; font-weight: 700;
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
    font-size: 14px; color: rgba(255,255,255,0.6);
    line-height: 1.7; max-width: 280px;
}
.footer h4 {
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 1px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
    color: rgba(255,255,255,0.6); text-decoration: none;
    font-size: 14px; transition: color var(--transition);
}
.footer ul a:hover { color: #fff; }
.footer-bottom {
    max-width: 1280px; margin: 48px auto 0;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between;
    font-size: 13px; color: rgba(255,255,255,0.4);
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
}
.whatsapp-float a {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: #25D366; border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* --- LIGHTBOX --- */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: rgba(255,255,255,0.1); border: none; color: #fff;
    font-size: 24px; cursor: pointer; padding: 0;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* --- TOAST --- */
.toast {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary); color: #fff;
    padding: 16px 32px; border-radius: var(--radius-full);
    font-size: 15px; font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 3000; opacity: 0;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0; transform: translateX(-32px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0; transform: translateX(32px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0; transform: scale(0.92);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* --- REDUCED MOTION (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1; transform: none;
        transition: none;
    }
}

/* --- SVG ICON BASE --- */
.icon-box {
    width: 44px; height: 44px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.icon-box svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .section-title { font-size: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    .nav-links {
        display: none; list-style: none;
    }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--bg); padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md); gap: 4px;
    }
    .nav-links.open .nav-cta { text-align: center; margin-top: 8px; }
    .hamburger { display: flex; }
    .section { padding: 64px 20px; }
    .section-title { font-size: 28px; }
    .section-desc { font-size: 16px; margin-bottom: 32px; }
    .footer { padding: 48px 20px 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
