/* ==========================================================================
   Roltrac v2 — main.css
   Mobile-first, CSS variables, modern layout
   ========================================================================== */

:root {
    /* Forest palette – leśne odcienie zieleni + ciepłe drewno */
    --c-green-950: #081a0f;
    --c-green-900: #0f2a1c;
    --c-green-800: #19382a;
    --c-green-700: #254c39;
    --c-green-600: #336952;
    --c-green-500: #4a8a66;
    --c-green-400: #7aab8a;
    --c-green-100: #d9e6dc;
    --c-green-50:  #eef3ef;

    /* Wood / bark accent */
    --c-wood-800: #3d2817;
    --c-wood-700: #5a3b20;
    --c-wood-600: #7b5a2f;
    --c-wood-500: #a07a40;

    /* Honey gold accent (zamiast jaskrawego amber) */
    --c-gold-700: #8f6e1d;
    --c-gold-600: #a8831e;
    --c-gold-500: #c49a3a;
    --c-gold-400: #d9b257;

    /* Aliasy dla spójności – mapują amber na gold/zielony */
    --c-amber-600: var(--c-gold-600);
    --c-amber-500: var(--c-gold-500);
    --c-amber-400: var(--c-gold-400);

    --c-wood-50:   #f7f4ec;
    --c-wood-100:  #ede7d6;
    --c-wood-200:  #ddd3b8;

    --c-text:     #0f1f14;
    --c-text-mut: #566760;
    --c-line:     #d4ddd6;
    --c-bg:       #ffffff;
    --c-bg-alt:   #f2f5ee;
    --c-bg-dark:  var(--c-green-900);

    /* Typography – 2026 modern stack */
    --ff-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ff-display: "Fraunces", ui-serif, Georgia, serif;
    --fs-base: 16px;

    /* Layout */
    --container: 1200px;
    --gap: clamp(1rem, 2.5vw, 2rem);
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 42, 28, .06), 0 2px 6px rgba(15, 42, 28, .04);
    --shadow:    0 4px 14px rgba(15, 42, 28, .08), 0 8px 32px rgba(15, 42, 28, .06);
    --shadow-lg: 0 10px 40px rgba(15, 42, 28, .12);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --t: .2s var(--ease);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--ff-sans);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01" on, "cv01" on;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--c-green-700); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-green-900); }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; color: var(--c-green-900); }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { line-height: 1.65; }
.accent {
    color: var(--c-green-700);
    font-family: var(--ff-display);
    font-weight: 500;
    font-style: italic;
    font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 144;
    letter-spacing: -0.015em;
    font-size: 1.02em;
}

/* Accessibility helper */
.skip-link {
    position: absolute; top: -200px; left: 8px;
    background: var(--c-green-900); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm);
    z-index: 9999;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--c-amber-500); outline-offset: 2px; border-radius: 2px; }

/* Container */
.container { width: 100%; max-width: var(--container); padding: 0 1.25rem; margin: 0 auto; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Utilities */
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--c-green-700);
    padding: .35rem .85rem;
    background: var(--c-green-50);
    border: 1px solid var(--c-green-100);
    border-radius: 100px;
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-gold-500);
}
.muted { color: var(--c-text-mut); }
.accent { color: var(--c-amber-600); }
.alt-bg { background: var(--c-bg-alt); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--c-text-mut); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.5rem; border-radius: var(--radius);
    font-weight: 600; text-align: center; line-height: 1.2; white-space: nowrap;
    border: 2px solid transparent; transition: all var(--t); cursor: pointer;
}
.btn-lg  { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-primary { background: var(--c-green-700); color: #fff; border-color: var(--c-green-700); }
.btn-primary:hover { background: var(--c-green-800); border-color: var(--c-green-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--c-green-800); border-color: var(--c-green-800); }
.btn-ghost:hover { background: var(--c-green-800); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--c-green-900); border-color: #fff; }
.btn-link { color: var(--c-green-700); padding: 0; font-weight: 600; border: 0; }
.btn-link:hover { color: var(--c-green-900); }
.btn-block { display: flex; width: 100%; margin-bottom: .5rem; }

/* ==== HEADER ==== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--c-line);
    transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-gold-500) 20%, var(--c-green-500) 50%, var(--c-gold-500) 80%, transparent 100%);
    opacity: .8;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.99);
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(15, 42, 28, .08);
}
.header-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 72px;
    position: relative;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--c-green-900); flex-shrink: 0; }
.brand:hover { color: var(--c-green-900); }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-sub-line { display: none; }
@media (min-width: 1024px) { .brand-logo { height: 48px; } }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .7rem; border-radius: var(--radius-sm);
    background: var(--c-bg-alt); color: var(--c-green-900); font-weight: 600; font-size: .85rem;
    border: 1px solid transparent; transition: border-color var(--t);
}
.lang-current:hover { border-color: var(--c-green-500); }
.lang-current::after {
    content: ''; width: 8px; height: 8px;
    border-right: 2px solid var(--c-green-700); border-bottom: 2px solid var(--c-green-700);
    transform: rotate(45deg) translate(-1px, -1px);
    margin-left: .25rem;
}
.lang-flag { font-size: 1.1em; line-height: 1; }
.lang-menu {
    position: absolute; top: calc(100% + .5rem); right: 0;
    min-width: 180px; padding: .4rem;
    background: #fff; border: 1px solid var(--c-line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all var(--t);
    z-index: 50; list-style: none;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu li a {
    display: flex; align-items: center; gap: .5rem;
    padding: .55rem .75rem; border-radius: var(--radius-sm);
    color: var(--c-text); font-size: .9rem;
}
.lang-menu li a:hover { background: var(--c-green-50); color: var(--c-green-900); }

.nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-green-900); transition: transform var(--t), opacity var(--t); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
    position: fixed; inset: 72px 0 0 0;
    background: #fff; padding: 1.5rem 1.5rem 2.5rem;
    transform: translateX(100%); transition: transform .3s var(--ease);
    overflow-y: auto; overflow-x: hidden;
    max-height: calc(100dvh - 72px); max-height: calc(100vh - 72px);
    border-top: 1px solid var(--c-line);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 99;
}
.main-nav.is-open { transform: translateX(0); }
.main-nav ul { list-style: none; padding: 0; margin: 0; }
.main-nav > ul > li { border-bottom: 1px solid var(--c-line); }
.main-nav > ul > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem .25rem; font-weight: 600; font-size: 1.05rem;
    color: var(--c-green-900);
}
.main-nav > ul > li > a.is-active { color: var(--c-green-700); }
.submenu {
    padding: 0 0 .75rem .75rem !important;
    border-left: 2px solid var(--c-green-100); margin-left: .25rem;
}
.submenu li a {
    display: block; padding: .5rem 0; color: var(--c-text-mut);
    font-size: .95rem; padding-left: .75rem;
}
.submenu li a:hover { color: var(--c-green-700); }

/* Mobile CTA card inside nav — visible only on mobile */
.mobile-cta {
    display: flex; flex-direction: column; gap: .75rem;
    padding: 1.5rem 0 .5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--c-line);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta .mobile-phone {
    display: flex; align-items: center; gap: .6rem;
    color: var(--c-green-900); font-weight: 700; font-size: 1.15rem;
    padding: .75rem 1rem;
    background: var(--c-green-50);
    border-radius: var(--radius);
    border: 1px solid var(--c-green-100);
}
.mobile-cta .mobile-phone svg { color: var(--c-green-700); flex-shrink: 0; width: 20px; height: 20px; }
@media (min-width: 1024px) {
    .mobile-cta { display: none; }
}

.header-cta { display: none; }

@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
    .nav-toggle { display: none; }
    .main-nav {
        position: static; padding: 0; transform: none; background: transparent;
        border: 0; overflow: visible; max-height: none; flex: 1;
    }
    .main-nav > ul { display: flex; justify-content: center; gap: .25rem; }
    .main-nav > ul > li { border: 0; position: relative; }
    .main-nav > ul > li > a {
        padding: .65rem 1rem; font-size: .95rem;
        position: relative; color: var(--c-green-900);
    }
    .main-nav > ul > li > a::after {
        content: ''; position: absolute; left: 50%; bottom: -4px;
        width: 0; height: 2px; background: var(--c-gold-500);
        transform: translateX(-50%);
        transition: width .25s var(--ease);
    }
    .main-nav > ul > li > a:hover::after { width: calc(100% - 1.5rem); }
    .main-nav > ul > li > a.is-active { color: var(--c-green-700); font-weight: 700; background: transparent; }
    .main-nav > ul > li > a.is-active::after { width: calc(100% - 1.5rem); background: var(--c-green-700); }
    .submenu {
        position: absolute; top: 100%; left: 0;
        min-width: 260px; padding: .5rem !important;
        background: #fff; border: 1px solid var(--c-line);
        border-radius: var(--radius); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: all var(--t);
    }
    .has-submenu:hover .submenu,
    .has-submenu:focus-within .submenu {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    .submenu li a { padding: .5rem .75rem; border-radius: var(--radius-sm); }
    .submenu li a:hover { background: var(--c-bg-alt); }

    .header-cta { display: flex; align-items: center; gap: 1rem; }
    .header-phone {
        display: inline-flex; align-items: center; gap: .5rem;
        font-weight: 700; color: var(--c-green-900); font-size: .95rem;
        position: relative; padding: .35rem .25rem .35rem 1.25rem;
    }
    .header-phone::before {
        content: ''; position: absolute; left: 0; top: 50%;
        width: 8px; height: 8px; border-radius: 50%;
        background: #2bc573; transform: translateY(-50%);
        box-shadow: 0 0 0 0 rgba(43, 197, 115, .7);
        animation: pulse-dot 2s infinite;
    }
    .header-phone:hover { color: var(--c-green-700); }
    .header-phone svg { color: var(--c-green-700); flex-shrink: 0; }
    .header-btn { padding: .6rem 1.4rem !important; position: relative; overflow: hidden; }
    .header-btn::before {
        content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
        transition: left .6s var(--ease);
    }
    .header-btn:hover::before { left: 100%; }
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(43, 197, 115, .5); }
    70%  { box-shadow: 0 0 0 8px rgba(43, 197, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 197, 115, 0); }
}

/* ==== HERO ==== */
.hero {
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(74, 138, 102, .18), transparent 60%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(196, 154, 58, .08), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--c-bg-alt) 100%);
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
    overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lead { margin-bottom: 1.75rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-meta {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    list-style: none; padding: 1.25rem 0 0; border-top: 1px solid var(--c-line);
}
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
    color: var(--c-green-900); letter-spacing: -0.02em;
}
.hero-meta span { font-size: .85rem; color: var(--c-text-mut); }

.hero-visual { position: relative; }
.hero-card {
    position: relative; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
    transform: rotate(-1deg);
}
.hero-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-card-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--c-green-700); color: #fff;
    padding: .4rem .75rem; border-radius: 100px;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(15, 42, 28, .25);
}
.hero-card-info { padding: 1.25rem 1.5rem; }
.hero-card-info h3 { margin-bottom: .25rem; }
.hero-card-info p { color: var(--c-text-mut); font-size: .95rem; }

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ==== TRUST BAR ==== */
.trust-bar {
    background: linear-gradient(90deg, var(--c-green-900), var(--c-green-800));
    color: #fff; padding: 1rem 0;
    border-top: 3px solid var(--c-gold-500);
}
.trust-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem;
    list-style: none; padding: 0; font-size: .9rem;
}
.trust-list li { display: inline-flex; align-items: center; gap: .5rem; }
.trust-list span { color: var(--c-gold-400); font-weight: 700; }

/* ==== SECTIONS ==== */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { margin-bottom: .75rem; }
.section-lead { color: var(--c-text-mut); font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ==== PAGE HERO ==== */
.page-hero {
    background: var(--c-bg-alt);
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--c-line);
}
.breadcrumbs {
    font-size: .85rem; color: var(--c-text-mut);
    margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--c-text-mut); }
.breadcrumbs a:hover { color: var(--c-green-700); }
.breadcrumbs span { margin: 0 .35rem; color: var(--c-line); }

/* ==== CATEGORY GRID ==== */
.cat-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.cat-card {
    display: block; padding: 1.75rem; background: #fff;
    border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    transition: all var(--t); color: var(--c-text);
}
.cat-card:hover {
    border-color: var(--c-green-500); transform: translateY(-2px);
    box-shadow: var(--shadow); color: var(--c-text);
}
.cat-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.cat-ico {
    display: inline-block; width: 42px; height: 42px; border-radius: 10px;
    background: var(--c-green-800); position: relative;
    box-shadow: inset 0 0 0 1px var(--c-green-700);
}
.cat-ico::before {
    content: ''; position: absolute; inset: 10px;
    background: var(--c-gold-500); mask-size: contain; mask-repeat: no-repeat; mask-position: center;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.cat-ico-saw::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 17l5-5 5 5 5-5 5 5v2H2zm2-8c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 17l5-5 5 5 5-5 5 5v2H2zm2-8c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm5 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z'/></svg>"); }
.cat-ico-wood::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M12 2L4 7v10l8 5 8-5V7l-8-5zm0 2.2L18 8v8l-6 3.8L6 16V8l6-3.8z'/><circle cx='12' cy='12' r='3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M12 2L4 7v10l8 5 8-5V7l-8-5zm0 2.2L18 8v8l-6 3.8L6 16V8l6-3.8z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.cat-ico-sharp::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M3 17l6-6 4 4 8-8v4l-8 8-4-4-6 6z'/><circle cx='5' cy='19' r='2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M3 17l6-6 4 4 8-8v4l-8 8-4-4-6 6z'/><circle cx='5' cy='19' r='2'/></svg>"); }
.cat-ico-spread::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M7 4v16l4-4h2l4 4V4H7zm2 2h6v10l-2-2h-2l-2 2V6z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M7 4v16l4-4h2l4 4V4H7zm2 2h6v10l-2-2h-2l-2 2V6z'/></svg>"); }
.cat-ico-table::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 10h20v4H2zm2 5h2v5H4zm14 0h2v5h-2z'/><circle cx='7' cy='12' r='1.5'/><circle cx='12' cy='12' r='1.5'/><circle cx='17' cy='12' r='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 10h20v4H2zm2 5h2v5H4zm14 0h2v5h-2z'/><circle cx='7' cy='12' r='1.5'/><circle cx='12' cy='12' r='1.5'/><circle cx='17' cy='12' r='1.5'/></svg>"); }
.cat-ico-blade::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 12l3-3 3 3-1.5 1.5L8 15l1.5-1.5L11 15l1.5-1.5L14 15l1.5-1.5L17 15l1.5-1.5L20 15l2-3-3-3-1.5 1.5L16 9l-1.5 1.5L13 9l-1.5 1.5L10 9l-1.5 1.5L7 9 5.5 10.5 4 9l-2 3z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M2 12l3-3 3 3-1.5 1.5L8 15l1.5-1.5L11 15l1.5-1.5L14 15l1.5-1.5L17 15l1.5-1.5L20 15l2-3-3-3-1.5 1.5L16 9l-1.5 1.5L13 9l-1.5 1.5L10 9l-1.5 1.5L7 9 5.5 10.5 4 9l-2 3z'/></svg>"); }
.cat-card h3 { font-size: 1.1rem; }
.cat-card p { color: var(--c-text-mut); font-size: .95rem; margin-bottom: 1rem; }
.cat-card-link { font-weight: 600; color: var(--c-green-700); font-size: .9rem; }
.cat-card:hover .cat-card-link { color: var(--c-green-800); }

/* ==== PRODUCT GRID ==== */
.product-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--t);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.product-card-img {
    display: block; aspect-ratio: 4/3; overflow: hidden;
    background: linear-gradient(135deg, var(--c-bg-alt), var(--c-wood-100));
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.product-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.product-card-body h3 a { color: var(--c-green-900); }
.product-card-body h3 a:hover { color: var(--c-green-700); }
.product-card-body p {
    color: var(--c-text-mut); font-size: .95rem; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==== CATEGORY BLOCK ==== */
.cat-block { padding: 2.5rem 0; border-bottom: 1px solid var(--c-line); }
.cat-block:first-child { padding-top: 0; }
.cat-block:last-child { border: 0; padding-bottom: 0; }
.cat-block-head {
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 2rem;
}
.cat-block-head p { color: var(--c-text-mut); max-width: 60ch; }
@media (min-width: 768px) {
    .cat-block-head { flex-direction: row; align-items: end; justify-content: space-between; }
}

/* ==== TWO-COL LAYOUT ==== */
.two-col {
    display: grid; gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: 1fr;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1.6fr 1fr; } }
.prose h2 { margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }

/* ==== WHY SECTION ==== */
.why-grid {
    display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.1fr .9fr; } }
.why-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.why-list li {
    padding: 1rem 0 1rem 2.25rem; position: relative;
    border-top: 1px solid var(--c-line);
}
.why-list li:last-child { border-bottom: 1px solid var(--c-line); }
.why-list li::before {
    content: '✓'; position: absolute; left: 0; top: 1.1rem;
    width: 22px; height: 22px; background: var(--c-green-800); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
}
.why-visual img {
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    aspect-ratio: 3/2; object-fit: cover; width: 100%;
}

/* ==== PROCESS ==== */
.process-list {
    display: grid; gap: 1.5rem; list-style: none; padding: 0; counter-reset: steps;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.process-list li {
    position: relative; padding: 1.75rem; background: #fff;
    border-radius: var(--radius-lg); border: 1px solid var(--c-line);
}
.step-num {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--c-green-800); color: #fff;
    font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem;
    box-shadow: inset 0 0 0 2px var(--c-gold-500);
}
.process-list h3 { margin-bottom: .5rem; }
.process-list p { color: var(--c-text-mut); font-size: .95rem; }

/* ==== FAQ ==== */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.faq-head { text-align: left; margin: 0; max-width: none; }
.faq-head .btn { margin-top: 1rem; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list-wide { max-width: 900px; margin: 0 auto; }
.faq-list details {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    transition: border-color var(--t);
}
.faq-list details[open] { border-color: var(--c-green-500); background: var(--c-green-50); }
.faq-list summary {
    list-style: none; padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600;
    color: var(--c-green-900); position: relative; padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: ''; position: absolute; right: 1.5rem; top: 50%;
    width: 10px; height: 10px; border-right: 2px solid var(--c-green-800); border-bottom: 2px solid var(--c-green-800);
    transform: translateY(-70%) rotate(45deg); transition: transform var(--t);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 1.5rem 1.25rem; color: var(--c-text-mut); }

/* ==== CTA BAND ==== */
.section-cta-band {
    background: linear-gradient(135deg, var(--c-green-900), var(--c-green-700));
    color: #fff; padding: clamp(3rem, 5vw, 4rem) 0;
    border-top: 3px solid var(--c-gold-500);
    position: relative;
}
.section-cta-band::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.03) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(196, 154, 58, .06) 0, transparent 40%);
    pointer-events: none;
}
.section-cta-band > * { position: relative; }
.section-cta-band .btn-primary { background: var(--c-gold-500); border-color: var(--c-gold-500); color: var(--c-green-900); }
.section-cta-band .btn-primary:hover { background: var(--c-gold-400); border-color: var(--c-gold-400); color: var(--c-green-900); }
.section-cta-band h2 { color: #fff; margin-bottom: .5rem; }
.section-cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-band-grid { display: grid; gap: 1.5rem; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 768px) { .cta-band-grid { grid-template-columns: 1fr auto; } }

/* ==== ABOUT PAGE ==== */
.about-facts ul { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.about-facts li {
    padding: 1.25rem; background: var(--c-bg-alt); border-radius: var(--radius);
    display: flex; flex-direction: column;
}
.about-facts strong {
    font-size: 1.75rem; color: var(--c-green-700); margin-bottom: .25rem; font-weight: 800; letter-spacing: -0.02em;
}
.values-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.values-grid article {
    padding: 1.75rem; background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--c-line);
}
.values-grid h3 { margin-bottom: .75rem; color: var(--c-green-900); }
.values-grid p { color: var(--c-text-mut); font-size: .95rem; }
.timeline { list-style: none; padding: 0; max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
    background: var(--c-line);
}
.timeline li {
    position: relative; padding: 0 0 1.5rem 2.5rem;
    display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: start;
}
.timeline li::before {
    content: ''; position: absolute; left: 0; top: .5rem;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--c-green-600); border: 3px solid var(--c-bg);
    box-shadow: 0 0 0 2px var(--c-gold-400);
}
.timeline strong { color: var(--c-green-700); font-weight: 700; }
.timeline span { color: var(--c-text); }

/* ==== PRODUCT DETAIL ==== */
.product-hero { padding-bottom: 0; }
.product-hero-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .product-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.product-hero-media {
    background: #fff; border-radius: var(--radius-lg); padding: 1rem;
    border: 1px solid var(--c-line);
}
.product-hero-media img {
    width: 100%; aspect-ratio: 4/3; object-fit: contain;
}
.product-hero-copy h1 { margin-bottom: 1rem; }
.product-hero-copy .lead { margin-bottom: 1.75rem; }
.spec-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.spec-list li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .65rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem;
}
.spec-label { color: var(--c-text-mut); }
.spec-val { font-weight: 600; color: var(--c-green-900); text-align: right; }
.product-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.adv-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.adv-list li {
    padding: .75rem 1rem .75rem 2.25rem; background: var(--c-bg-alt);
    border-radius: var(--radius); position: relative;
}
.adv-list li::before {
    content: '✓'; position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; background: var(--c-green-700); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
}
.spec-card, .side-card {
    padding: 1.75rem; background: var(--c-bg-alt);
    border-radius: var(--radius-lg); border: 1px solid var(--c-line);
    position: sticky; top: 100px;
}
.spec-card h3, .side-card h3 { margin-bottom: 1rem; }
.side-card p { color: var(--c-text-mut); margin-bottom: 1.25rem; }
.spec-dl { display: grid; gap: .5rem; margin-bottom: 1rem; }
.spec-dl dt { font-weight: 500; color: var(--c-text-mut); font-size: .85rem; }
.spec-dl dd { margin: 0 0 .75rem; font-weight: 600; color: var(--c-green-900); padding-bottom: .75rem; border-bottom: 1px solid var(--c-line); }
.spec-dl dd:last-child { border-bottom: 0; }

/* ==== GALLERY ==== */
.gallery-grid {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery-grid-lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-item {
    display: block; aspect-ratio: 1; overflow: hidden;
    border-radius: var(--radius); background: var(--c-bg-alt);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(15, 42, 28, .95);
    display: none; align-items: center; justify-content: center;
    z-index: 1000; padding: 2rem; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ==== CONTACT ==== */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-block { margin-bottom: 1.75rem; }
.contact-block h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--c-green-700); }
.contact-block address { font-style: normal; line-height: 1.7; }
.contact-link { font-size: 1.15rem; font-weight: 600; color: var(--c-green-900); }
.contact-link:hover { color: var(--c-green-700); }

.contact-form {
    padding: 2rem; background: var(--c-bg-alt);
    border-radius: var(--radius-lg); border: 1px solid var(--c-line);
}
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4rem; color: var(--c-green-900); }
.form-field input, .form-field textarea {
    display: block; width: 100%; padding: .75rem 1rem;
    border: 1px solid var(--c-line); border-radius: var(--radius);
    background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--c-green-600); outline: 0;
    box-shadow: 0 0 0 3px rgba(51, 105, 82, .18);
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert-success { background: #e4f3ea; color: #0f5132; border: 1px solid #bfe0cc; }
.alert-error { background: #fde8e8; color: #842029; border: 1px solid #f5c2c7; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg-alt); border: 1px solid var(--c-line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-link { padding: .75rem 1.25rem; background: #fff; font-size: .85rem; }

/* ==== ERROR ==== */
.error-section { padding: clamp(3rem, 8vw, 6rem) 0; text-align: center; }
.error-grid { max-width: 600px; margin: 0 auto; }
.error-code {
    font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1;
    color: var(--c-green-700); letter-spacing: -0.05em; margin-bottom: 1rem;
    text-shadow: 4px 4px 0 var(--c-gold-400);
}

/* ==== FOOTER ==== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--c-green-900) 0%, var(--c-green-950) 100%);
    color: rgba(255,255,255,.82);
    padding: 0;
    overflow: hidden;
}
.site-footer::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--c-gold-500) 0%, var(--c-green-500) 50%, var(--c-gold-500) 100%);
    z-index: 2;
}
.site-footer::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(196, 154, 58, .08) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(74, 138, 102, .1) 0, transparent 45%);
}
.site-footer > * { position: relative; z-index: 1; }

/* Pre-footer stats strip */
.footer-stats {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    list-style: none;
}
@media (min-width: 768px) { .footer-stats { grid-template-columns: repeat(4, 1fr); } }
.footer-stats li {
    display: flex; flex-direction: column; gap: .2rem;
    padding: .6rem .75rem;
    border-left: 2px solid var(--c-gold-500);
}
@media (min-width: 768px) { .footer-stats li { padding: .75rem 1.25rem; } }
.footer-stats strong {
    color: #fff; font-size: 1.5rem; font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.1;
    font-family: var(--ff-display); font-variation-settings: "SOFT" 50;
}
@media (min-width: 768px) { .footer-stats strong { font-size: 1.75rem; } }
.footer-stats span { color: rgba(255,255,255,.7); font-size: .85rem; }

.site-footer h3 {
    color: #fff; font-size: .8rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem;
    position: relative; padding-bottom: .75rem;
}
.site-footer h3::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 32px; height: 2px; background: var(--c-gold-500);
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--c-gold-400); }
.footer-logo {
    height: 60px; width: auto; display: block; margin-bottom: 1.25rem;
    background: #fff; padding: .6rem .85rem; border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.footer-grid {
    display: grid; gap: 2.5rem;
    grid-template-columns: 1fr;
    padding: 3rem 0;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } }
.footer-col { min-width: 0; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { padding: .35rem 0; font-size: .94rem; }
.footer-col li a {
    position: relative; transition: padding-left var(--t);
}
.footer-col li a::before {
    content: '→'; position: absolute; left: -1rem; opacity: 0;
    transition: opacity var(--t), left var(--t);
    color: var(--c-gold-500);
}
.footer-col li a:hover { padding-left: .75rem; }
.footer-col li a:hover::before { opacity: 1; left: 0; }

.footer-tag { margin: 1rem 0 1.5rem; font-size: .95rem; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 36ch; }
.footer-col address { font-style: normal; font-size: .94rem; line-height: 1.8; word-break: break-word; overflow-wrap: anywhere; }
.footer-col address strong { color: #fff; font-weight: 700; font-size: 1rem; }
.footer-col address a { font-weight: 500; color: #fff; }
.footer-col address a:hover { color: var(--c-gold-400); }

.footer-contact-badges {
    display: flex; flex-direction: column; gap: .5rem; margin-top: 1.25rem;
}
.footer-contact-badges a {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .5rem .85rem; border-radius: var(--radius);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    color: #fff !important; font-weight: 600; font-size: .9rem;
    transition: background var(--t), border-color var(--t), transform var(--t);
    word-break: break-word; overflow-wrap: anywhere;
}
.footer-contact-badges a:hover { background: rgba(196, 154, 58, .15); border-color: var(--c-gold-500); transform: translateX(2px); }
.footer-contact-badges svg { color: var(--c-gold-400); flex-shrink: 0; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin-top: 1rem; }
.social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    transition: background var(--t), color var(--t), transform var(--t);
    border: 1px solid rgba(255,255,255,.1);
}
.social a:hover {
    background: var(--c-gold-500); color: var(--c-green-900);
    border-color: var(--c-gold-500); transform: translateY(-2px);
}
.social a svg { display: block; }
/* Contact page variant uses text labels */
.contact-block .social a {
    width: auto; height: auto; padding: .45rem .9rem;
    border-radius: 100px; background: var(--c-green-50);
    color: var(--c-green-800); font-size: .85rem; font-weight: 600;
    border: 1px solid var(--c-green-100);
}
.contact-block .social a:hover { background: var(--c-green-700); color: #fff; border-color: var(--c-green-700); transform: translateY(-1px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.2);
    padding: 1.25rem; font-size: .85rem;
}
@media (min-width: 768px) { .footer-bottom { padding: 1.25rem 2rem; } }
.footer-bottom .container {
    display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.6); }
@media (min-width: 768px) {
    .footer-bottom .container { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Contact page social variant — pills */
.social.social-contact {
    flex-direction: column; gap: .5rem; margin-top: .5rem;
}
.social.social-contact li { width: 100%; }
.social.social-contact a {
    width: 100%; height: auto; justify-content: flex-start;
    padding: .6rem 1rem; border-radius: var(--radius);
    background: var(--c-green-50); color: var(--c-green-800) !important;
    border: 1px solid var(--c-green-100);
    font-weight: 600; font-size: .92rem;
    gap: .6rem;
}
.social.social-contact a:hover {
    background: var(--c-green-700); color: #fff !important;
    border-color: var(--c-green-700); transform: translateX(2px);
}
.social.social-contact a svg { flex-shrink: 0; color: var(--c-gold-600); transition: color var(--t); }
.social.social-contact a:hover svg { color: var(--c-gold-400); }
.social.social-contact span { flex: 1; }

/* ==== MOTION ==== */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==== PRINT ==== */
@media print {
    .site-header, .site-footer, .hero-actions, .product-hero-cta, .section-cta-band, .nav-toggle, .main-nav { display: none !important; }
    body { color: #000; background: #fff; }
    .container { max-width: 100%; padding: 0; }
}
