:root {
    --primary: #1e3d2a;
    --primary-light: #2d5a3d;
    --accent: #7ec89a;
    --accent-soft: #c8e8d4;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.18);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text: #1a2e23;
    --text-muted: #4a6355;
    --bg: #eaf1ec;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(30, 61, 42, 0.08);
    --shadow-lg: 0 20px 60px rgba(30, 61, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* GRAIN OVERLAY */
.grain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* MESH BACKGROUND */
.mesh-gradient {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(126, 200, 154, 0.25) 0px, transparent 55%),
        radial-gradient(ellipse at 100% 10%, rgba(30, 61, 42, 0.08) 0px, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(126, 200, 154, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(30, 61, 42, 0.06) 0px, transparent 50%),
        linear-gradient(160deg, #eaf1ec 0%, #deeee5 100%);
    animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% { opacity: 1; }
    100% { opacity: 0.85; }
}

/* GLASS UTILITY */
.glass {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* ===================== NAV ===================== */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 14px 28px;
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 32px rgba(30, 61, 42, 0.1);
    top: 12px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-bold { font-weight: 800; color: var(--primary); }
.logo-light { font-weight: 300; color: var(--text-muted); }

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-img-footer {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: rgba(30, 61, 42, 0.06);
}

.btn-glass {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 100px;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-glass:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(30, 61, 42, 0.25) !important;
    background: var(--primary-light) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(234, 241, 236, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    text-decoration: none;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.2s;
}

.mobile-link:hover { color: var(--primary); }

.mobile-link.cta {
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 1rem;
    margin-top: 12px;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 61, 42, 0.25);
    background: var(--primary-light);
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 18px;
}

.btn-secondary {
    padding: 16px 24px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 100px;
    border: 1.5px solid rgba(30, 61, 42, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(30, 61, 42, 0.06);
    border-color: var(--primary);
}

/* ===================== SECTION COMMONS ===================== */
section { position: relative; z-index: 1; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(30, 61, 42, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary-light);
}

/* ===================== MARQUEE ===================== */
.marquee-wrap {
    overflow: hidden;
    padding: 20px 0;
    background: var(--primary);
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.marquee-track .dot { color: var(--accent); letter-spacing: 0; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================== SLIDER ===================== */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(30, 61, 42, 0.2);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(30, 61, 42, 0.2);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(30, 61, 42, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--primary);
    padding: 60px 5% 30px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-logo .logo-bold { color: white; }
.footer-logo .logo-light { color: rgba(255, 255, 255, 0.5); }

.footer-logo p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    font-style: italic;
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-social a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-social a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
    padding: 160px 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero-inner {
    max-width: 760px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 36px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(30, 61, 42, 0.08);
    color: var(--primary);
    border: 1px solid rgba(30, 61, 42, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== FORM STYLES ===================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(30, 61, 42, 0.12);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(30, 61, 42, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6355' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    background-color: rgba(255, 255, 255, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 10px;
    opacity: 0.6;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
    display: none;
}

.form-success.show { display: block; }

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
}

.form-success p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .glass-nav { padding: 12px 20px; }
    .footer-inner { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
