/* Scroll progress bar (Worker F) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary, #4CAF50), var(--secondary, #00BCD4));
  z-index: 99999;
  transition: width 0.08s linear;
  pointer-events: none;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  #scroll-progress { transition: none; }
}
/* --- RESET & VARIABLES --- */
/* === Growuild Warm Beige (Light) === */
:root {
    --primary: #4CAF50;
    --primary-glow: rgba(76, 175, 80, 0.15);
    --secondary: #00BCD4;
    /* New semantic tokens — Warm Beige palette */
    --bg-base: #F2E8DC;
    --bg-gradient: radial-gradient(ellipse at 50% 0%, #F5EDE4 0%, #E8D8CA 100%);
    --surface: rgba(255, 248, 240, 0.72);
    --surface-border: 1px solid rgba(80, 60, 40, 0.08);
    --surface-blur: blur(16px) saturate(180%);
    --text-primary: #1A1A1A;
    --text-secondary: rgba(26, 26, 26, 0.6);
    /* Legacy aliases (keep existing references working) */
    --dark: var(--text-primary);
    --light: #F2E8DC;
    --white: rgba(255, 248, 240, 0.72);
    --gray: var(--text-secondary);
    --nav-bg: rgba(255, 248, 240, 0.85);
    --card-border: rgba(80, 60, 40, 0.08);
    --section-alt: rgba(255, 248, 240, 0.45);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --ease-fluid: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Apple signature easing tokens (W8) */
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-apple-in: cubic-bezier(0.42, 0, 1, 1);
    --ease-apple-out: cubic-bezier(0, 0, 0.58, 1);
    --ease-apple-spring: cubic-bezier(0.5, 1.5, 0.5, 1);
    --ease-out-elastic: linear(0, .2178 2.1%, 1.1144 8.49%, 1.3463 11.81%, 1.3726, 1.3643 14.48%, 1.3151 16.2%, 1.0317 21.81%, .8694 27.84%, .8698 29.21%, .8824 30.71%, 1.0122 38.33%, 1.046 42.71%, 1.0416 45.7%, .9961 53.26%, .9839 57.54%, .9853 60.71%, 1.0012 68.14%, 1.0056 72.24%, .9981 86.66%, 1);
    --hero-bg: var(--bg-gradient);
    /* Radius tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 980px;
}

/* === Growuild Obsidian Moss (Dark) === */
body.dark-mode {
    --bg-base: #0B0E0B;
    --bg-gradient: linear-gradient(135deg, #0B0E0B 0%, #1B3022 100%);
    --surface: rgba(27, 48, 34, 0.5);
    --surface-border: 1px solid rgba(76, 175, 80, 0.12);
    --text-primary: #E8F0E8;
    --text-secondary: rgba(232, 240, 232, 0.6);
    --dark: var(--text-primary);
    --light: #0B0E0B;
    --white: rgba(27, 48, 34, 0.5);
    --gray: var(--text-secondary);
    --nav-bg: rgba(11, 14, 11, 0.85);
    --card-border: rgba(76, 175, 80, 0.12);
    --section-alt: rgba(27, 48, 34, 0.35);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.3), 0 0 20px rgba(76, 175, 80, 0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.5);
    --hero-bg: var(--bg-gradient);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', 'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body { background: var(--bg-gradient); background-attachment: fixed; color: var(--text-primary); overflow-x: clip; min-height: 100vh; line-height: 1.6; transition: background 0.3s ease, color 0.3s ease; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Warm Beige noise grain overlay (light mode) === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}
body.dark-mode::before {
    opacity: 0; /* hide noise in dark mode — scan-lines take over */
}

/* === Obsidian Moss scan-line overlay (dark mode) === */
body.dark-mode::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 255, 255, 0.03) 1px, rgba(255, 255, 255, 0.03) 2px);
    mix-blend-mode: overlay;
}

/* === Theme Wipe Transition (R6) === */
.theme-wipe {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 1s var(--ease-apple);
}
.theme-wipe.wipe-to-light {
    background: #F2E8DC;
    clip-path: circle(0% at 100% 0%);
}
.theme-wipe.wipe-to-light.active {
    clip-path: circle(150% at 100% 0%);
}
.theme-wipe.wipe-to-dark {
    background: #0B0E0B;
    clip-path: circle(0% at 0% 0%);
}
.theme-wipe.wipe-to-dark.active {
    clip-path: circle(150% at 0% 0%);
}

section, .site-footer, .modal-overlay, .wa-float-btn, .wa-mobile-bar, .wa-mobile-cta {
    position: relative;
    z-index: 10;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; contain: layout style paint; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 60px; color: var(--dark); font-weight: 800; letter-spacing: -1px; }

.reveal { opacity: 0; transform: translateY(30px); }
.reveal.active { animation: revealFadeUp 0.8s var(--ease-fluid) both; }
@keyframes revealFadeUp { to { opacity: 1; transform: translateY(0); } }


/* Buttons */
.btn { display: inline-block; padding: 16px 40px; border-radius: 14px; font-weight: 800; cursor: pointer; transition: background 0.3s var(--ease-bounce), color 0.3s var(--ease-bounce), transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-bounce); border: none; font-size: 1.05rem; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 20px rgba(76, 175, 80, 0.35); letter-spacing: 0.3px; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s ease; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(76, 175, 80, 0.45); }
.btn-outline { border: 2px solid var(--card-border); color: var(--dark); background: transparent; padding: 16px 36px; font-size: 1.05rem; font-weight: 700; border-radius: 14px; }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-3px); }

/* Theme Toggle */
.theme-btn {
    background: var(--light); border: 1.5px solid var(--card-border); color: var(--dark);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.theme-btn.rotate { transform: rotate(360deg); }
.mega-dropdown-link::after, .mega-nav-link::after { display: none !important; }
.mega-nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mega-nav-item { position: relative; }
.mega-nav-link { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; font-size: 0.95rem; color: var(--dark); padding: 8px 10px; border-radius: 10px; transition: color 0.25s ease, background 0.25s ease; white-space: nowrap; text-decoration: none; }
.mega-nav-link:hover { color: var(--primary); background: rgba(76,175,80,0.06); }
.mega-dropdown-caret { width: 10px; height: 10px; margin-left: 2px; transition: transform 0.3s ease; stroke: currentColor; fill: none; }
.has-mega-dropdown:hover .mega-dropdown-caret, .has-mega-dropdown.mega-open .mega-dropdown-caret { transform: rotate(180deg); }
.mega-dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-8px); min-width: 240px; padding: 12px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s cubic-bezier(0.25,0.1,0.25,1), transform 0.35s cubic-bezier(0.25,0.1,0.25,1), visibility 0s 0.35s; z-index: 1000; }
.has-mega-dropdown:hover > .mega-dropdown, .has-mega-dropdown:focus-within > .mega-dropdown, .has-mega-dropdown.mega-open > .mega-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega-dropdown::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.mega-dropdown.instant-close { transition: none !important; opacity: 0 !important; transform: translateY(8px) !important; pointer-events: none !important; }
.mega-caret-btn { display: none; align-items: center; padding: 2px 4px; cursor: pointer; border-radius: 4px; transition: background 0.2s ease, opacity 0.3s ease; }
.mega-caret-btn:hover { background: rgba(76,175,80,0.12); }
@media (max-width: 768px) { .mega-caret-btn { display: inline-flex; } }
.mega-dropdown-link { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--dark); transition: background 0.2s ease; }
.mega-dropdown-link:hover { background: rgba(76,175,80,0.08); color: var(--dark); }
.mega-dropdown-label { font-weight: 600; font-size: 15px; line-height: 1.4; display: inline-flex; align-items: center; }
.mega-dropdown-desc { font-size: 13px; opacity: 0.55; line-height: 1.3; margin-top: 2px; }
body.dark-mode .mega-dropdown { background: rgba(27, 48, 34, 0.85); border-color: rgba(76,175,80,0.15); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
body.dark-mode .mega-dropdown-link { color: var(--dark); }
body.dark-mode .mega-dropdown-link:hover { background: rgba(76,175,80,0.12); }
body.dark-mode .mega-nav-link { color: var(--dark); }
.mobile-nav-group { list-style: none; display: flex; flex-direction: column; border-bottom: 1px solid var(--card-border); }
.mobile-nav-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; background: transparent; border: none; cursor: pointer; font-family: 'Outfit', 'Segoe UI', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--dark); touch-action: manipulation; }
.mobile-toggle-icon { font-size: 1.2rem; font-weight: 700; line-height: 1; transition: transform 0.3s ease; }
.mobile-nav-sub { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25,0.1,0.25,1); }
.mobile-nav-sub[hidden] { display: block; max-height: 0; padding: 0; }
.mobile-nav-sub:not([hidden]) { max-height: 300px; padding: 0 0 10px 0; }
.mobile-nav-sub li { padding: 0; }
.mobile-nav-sub li a { display: flex; align-items: center; justify-content: center; padding: 10px 15px 10px 30px; font-size: 1rem; font-weight: 500; color: var(--gray); border-bottom: none !important; }
.mobile-nav-sub li a:hover { color: var(--primary); }

#mobileThemeToggle { display: none; }

/* Navigation */
nav {
    position: fixed; top: 0; width: 100%;
    background: var(--nav-bg); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 20001; box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    height: 80px; display: flex; align-items: center;
    transition: background 0.45s var(--ease-apple), backdrop-filter 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple), border-color 0.45s var(--ease-apple);
    border-bottom: 1px solid transparent;
}
/* Apple frosted glass scrolled state (W8) */
nav.scrolled {
    background: var(--surface);
    backdrop-filter: var(--surface-blur);
    -webkit-backdrop-filter: var(--surface-blur);
    border-bottom: var(--surface-border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
body.dark-mode nav.scrolled {
    background: rgba(27, 48, 34, 0.5);
    border-bottom: 1px solid rgba(76, 175, 80, 0.12);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.6rem; color: var(--dark); letter-spacing: -0.5px; }
.logo-area img { height: 40px; width: auto; transition: transform 0.5s var(--ease-bounce); }
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; position: relative; padding: 5px 0; color: var(--dark); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s var(--ease-fluid); border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--secondary); }

.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
}
.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease, top 0.4s ease;
}
.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
body.dark-mode .hamburger span { background: var(--text-primary); }

.mobile-menu {
    position: fixed; top: 80px; left: 0; width: 100%;
    background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 0; display: flex; flex-direction: column; text-align: center;
    z-index: 20000; max-height: 0; overflow: hidden;
    transition: max-height 0.5s var(--ease-fluid);
}
.mobile-menu.active { max-height: calc(100vh - 80px); padding: 20px 0; overflow-y: auto; }
.mobile-menu a { font-weight: 600; font-size: 1.1rem; padding: 15px; border-bottom: 1px solid var(--card-border); color: var(--dark); touch-action: manipulation; }

/* Theme toggle button */
.theme-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: color 0.4s ease, background 0.4s ease, transform 0.3s ease, border-color 0.3s ease;
}
.theme-btn:hover { transform: rotate(-15deg); background: rgba(0,0,0,0.05); }
body.dark-mode .theme-btn { color: #fff; border-color: rgba(255,255,255,0.2); }
body.dark-mode .theme-btn:hover { background: rgba(255,255,255,0.08); }
.theme-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.theme-btn:hover .theme-icon { transform: rotate(20deg) scale(1.1); }

/* === SVG Sun-to-Moon Morph Toggle === */
.theme-morph { transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1); color: var(--text-primary, #0B0E0B); }
.theme-morph .sun-core { transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); }
.theme-morph .sun-rays line { transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); transform-origin: center; }
.theme-morph .moon-mask { transition: cx 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), r 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); cx: 30; r: 0; }
body.dark-mode .theme-morph { transform: rotate(-40deg); color: #E8F0E8; }
body.dark-mode .theme-morph .sun-rays line { opacity: 0; transform: scale(0); }
body.dark-mode .theme-morph .moon-mask { cx: 15; r: 9; }
body.dark-mode .theme-morph .sun-core { transform: scale(1.3); }

/* Lenis smooth scroll overrides */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

/* === Nav mobile cluster === */
.nav-mobile-cluster {
    display: none;
    align-items: center;
    gap: 10px;
}

/* === Nav dropdown (currency) === */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-icon-btn {
    background: transparent;
    border: 1.5px solid var(--card-border);
    border-radius: 50px;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    line-height: 1;
}
.nav-icon-btn:hover {
    background: rgba(76, 175, 80, 0.08);
    border-color: var(--primary);
    transform: translateY(-1px);
}
.nav-dropdown-caret { transition: transform 0.3s ease; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), max-height 0.3s ease;
    z-index: 9999;
    padding: 0;
}
.nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0) scale(1);
    overflow-y: auto;
    padding: 8px 0;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
.nav-dropdown-item:hover {
    background: rgba(76, 175, 80, 0.08);
    padding-left: 20px;
}
.nav-dropdown-item.active {
    background: rgba(76, 175, 80, 0.15);
    color: var(--primary);
}
.nav-dropdown-item span { font-size: 1.1rem; line-height: 1; }
body.dark-mode .nav-icon-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
body.dark-mode .nav-dropdown-menu {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.15);
}
body.dark-mode .nav-dropdown-item { color: #fff; }
body.dark-mode .nav-dropdown-item:hover { background: rgba(76, 175, 80, 0.15); }

/* === Site Footer (R6) === */
.site-footer {
    background: var(--section-alt);
    color: var(--text-primary);
    padding: 60px 0 0 0;
    margin-top: 60px;
    position: relative;
}
.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 24px;
}
.footer-brand-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.footer-stamp-area {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    cursor: none;
}
.footer-stamp {
    pointer-events: none;
    position: absolute;
    width: 80px;
    height: 80px;
    transition: none;
    opacity: 0;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
}
.footer-stamp-area:hover .footer-stamp {
    opacity: 1;
}
.stamp-imprint {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0;
    animation: stamp-land 0.3s cubic-bezier(0.25,0.1,0.25,1) forwards, stamp-fade 2s ease 0.8s forwards;
}
@keyframes stamp-land {
    0% { transform: scale(calc(var(--stamp-scale, 1) * 1.4)) rotate(var(--stamp-rotation, 0deg)); opacity: 0; }
    50% { transform: scale(calc(var(--stamp-scale, 1) * 0.92)) rotate(var(--stamp-rotation, 0deg)); opacity: 0.9; }
    100% { transform: scale(var(--stamp-scale, 1)) rotate(var(--stamp-rotation, 0deg)); opacity: 0.75; }
}
@keyframes stamp-fade {
    0% { opacity: 0.75; filter: none; }
    100% { opacity: 0; filter: blur(2px); }
}
.stamp-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    animation: particle-burst 0.6s cubic-bezier(0.25,0.1,0.25,1) forwards;
}
@keyframes particle-burst {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(0.5); opacity: 0; }
}
@media (max-width: 768px) {
    .footer-stamp-area { cursor: default; }
    .footer-stamp { display: none; }
}
.stamp-svg {
    width: 100%;
    height: 100%;
}
.footer-links-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 50px 24px;
}
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.25s var(--ease-apple), color 0.25s ease;
    display: inline-block;
}
.footer-col ul a:hover {
    text-decoration: underline;
    color: #7CB342;
}
body.dark-mode .footer-col ul a {
    color: #6FCF70;
}
body.dark-mode .footer-col ul a:hover {
    color: #A7E0A8;
}
.footer-ticker {
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.footer-ticker__track {
    display: flex;
    gap: 20px;
    animation: ticker 20s linear infinite;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.footer-ticker__track span {
    flex-shrink: 0;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .footer-links-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-stamp-area { min-height: 150px; }
}

/* WhatsApp Float — Desktop Hover Expand */
.wa-float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 9990;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    max-width: 60px;
    height: 60px;
}
.wa-float-btn:hover {
    max-width: 220px;
    gap: 10px;
    padding: 16px 24px 16px 16px;
    border-radius: 50px;
}
.wa-icon { display: flex; flex-shrink: 0; }
.wa-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.wa-float-btn:hover .wa-text {
    opacity: 1;
    transform: translateX(0);
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 2000; opacity: 0; transition: 0.3s; }
.modal-overlay.show { opacity: 1; }
.modal-box { background: var(--white); padding: 50px; border-radius: 25px; text-align: center; width: 90%; max-width: 450px; transform: scale(0.8); transition: 0.4s var(--ease-bounce); border: 2.5px solid var(--card-border); }
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-btn { display: block; width: 100%; padding: 18px; margin: 15px 0; border-radius: 15px; font-weight: 700; border: 1.5px solid var(--card-border); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-mobile-cluster {
        display: flex;
        gap: 8px;
    }
    .nav-content { gap: 10px; }
    .logo-area img { height: 32px; }
    .logo-area { font-size: 1.1rem; }
    .nav-mobile-cluster .nav-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 0;
        justify-content: center;
    }
    .nav-mobile-cluster #mobileThemeToggle,
    .nav-mobile-cluster .theme-btn {
        width: 36px !important;
        height: 36px !important;
    }
    .nav-mobile-cluster .theme-icon {
        font-size: 18px;
    }
    .hamburger {
        width: 28px;
        height: 22px;
        flex-shrink: 0;
    }
    #mobileThemeToggle { display: flex; margin-left: 0; margin-right: 0; }
    .wa-float-btn { display: none !important; }
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary:active { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 25px rgba(0, 188, 212, 0.5); }
    .btn-outline:active { background: var(--dark); color: var(--white); transform: translateY(-3px); }
    .btn, .btn-outline { -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important; }
}

/* === MOBILE-FIRST OPTIMIZATIONS === */
html, body { max-width: 100vw; }
img { max-width: 100%; height: auto; }
body {
    -webkit-tap-highlight-color: transparent;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
/* Touch targets */
.mobile-menu a { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.hamburger { min-width: 44px; min-height: 44px; }
.modal-btn { min-height: 48px; }

/* 404-specific mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
}

/* === SINGLE SCROLLBAR FIX & CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(76, 175, 80, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(76, 175, 80, 0.5); }
body.dark-mode ::-webkit-scrollbar-thumb { background: rgba(76, 175, 80, 0.4); }

/* === W8: Apple-style blanket reduced-motion respect === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
