/* ==========================================================
   LEGEND POS — Site-wide stylesheet
   Consolidated design system: this file is now the single
   source of truth for all site styling. It folds in what used
   to be separate <style> blocks in includes/header.php,
   blog.php and blog-post.php so every page shares one cached,
   consistent stylesheet instead of re-shipping CSS per page.
   ========================================================== */

/* ----- FONTS -----
   Barlow / Barlow Condensed load from Google Fonts (see the
   <link> tags in includes/header.php). We reference those
   family names directly instead of the old broken @font-face
   block, which pointed at local font files that were never
   part of this project (assets/fonts/ does not exist) and
   silently 404'd on every page load. */

/* ----- RESET & ROOT ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand colors — unchanged from the original palette so
       every inline style="color:var(--green)" elsewhere in the
       site (contact, cart, checkout, 404, order-confirmation,
       marketplace-product) and every hardcoded #004d00 /
       #000080 left in untouched pages still match exactly. */
    --green: #004d00;
    --green-light: #006a00;
    --green-glow: #00cc44;
    --border: #d0d8d0;
    --dark-blue: #000080;
    --text-dark: #1a2a1a;
    --bg-light: #f7f7f7;
    --max-width: 1280px;

    /* Extended tokens — new, additive. Nothing above was
       renamed, so nothing already on the site can break. */
    --green-50: #eaf3ea;
    --green-100: #d7ead7;
    --green-700: #0a5c0a;
    --navy-50: #eef0fb;
    --gold: #f1c40f;
    --red: #b30000;
    --red-light: #cc0000;
    --gray-50: #f8faf8;
    --gray-100: #f0f4f0;
    --gray-200: #e4eae4;
    --gray-400: #9aa89a;
    --gray-600: #5b6b5b;
    --gray-900: #16211a;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 3px rgba(10, 30, 10, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 30, 10, 0.08);
    --shadow-lg: 0 16px 40px rgba(10, 30, 10, 0.12);
    --shadow-glow: 0 6px 20px rgba(0, 77, 0, 0.28);

    --ease: cubic-bezier(.4,0,.2,1);
    --nav-h: 72px;
    --topbar-h: 40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Barlow", "Barlow Condensed", Arial, sans-serif;
    background: #e8eee8;
    min-height: 100vh;
    color: var(--text-dark);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.full-page {
    width: 100%;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

/* ----- ACCESSIBILITY UTILITIES ----- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: white;
    color: var(--green);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--green-glow);
    outline-offset: 2px;
    border-radius: 3px;
}

/* ----- FONT UTILITY CLASSES (kept for backward-compatibility with
   any inline references; now point at the real Google Font names) ----- */
.font-condensed-regular,
.font-condensed-medium,
.font-condensed-semibold,
.font-condensed-bold,
.font-condensed-black { font-family: "Barlow Condensed", sans-serif; }
.font-secondary-regular,
.font-secondary-medium,
.font-secondary-semibold,
.font-secondary-bold,
.font-secondary-black { font-family: "Barlow", sans-serif; }

/* ----- TYPOGRAPHY SCALE ----- */
h1, .h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 52px; line-height: 1.1; }
h2, .h2 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 40px; line-height: 1.15; }
h3, .h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 30px; line-height: 1.25; }
h4, .h4 { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 24px; line-height: 1.3; }
h5, .h5 { font-family: "Barlow Condensed", sans-serif; font-weight: 500; font-size: 20px; line-height: 1.35; }
h6, .h6 { font-family: "Barlow Condensed", sans-serif; font-weight: 500; font-size: 17px; line-height: 1.4; }
p { font-family: "Barlow", sans-serif; }

/* ==========================================================
   TOP BAR — utility strip above the main nav. Contact details
   pull from existing site_settings; each portal link is
   conditionally rendered by includes/header.php only when an
   admin has configured it (Admin → Site Settings → Top Bar
   Portal Links), so nothing here ever points at a dead URL.
   ========================================================== */
.top-bar {
    background: var(--gray-900);
    color: #cfe0cf;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.top-bar .top-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-contacts,
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 6px 0;
}

.top-bar a {
    color: #cfe0cf;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .15s var(--ease);
    white-space: nowrap;
}

.top-bar a:hover { color: #ffffff; }
.top-bar a i { color: var(--green-glow); font-size: 12px; }

.top-bar-links {
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.15);
}

.top-bar-links .portal-link {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: .2px;
    font-size: 12.5px;
}

.top-bar-links .portal-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    justify-content: center;
    font-size: 11.5px;
}
.top-bar-social a i { color: #cfe0cf; }
.top-bar-social a:hover { background: var(--green); }
.top-bar-social a:hover i { color: #fff; }

@media (max-width: 900px) {
    .top-bar .top-bar-inner { justify-content: center; text-align: center; padding: 6px 16px; }
    .top-bar-contacts { justify-content: center; width: 100%; gap: 12px 16px; }
    .top-bar-links { border-left: none; padding-left: 0; justify-content: center; width: 100%; }
}

@media (max-width: 640px) {
    /* Top bar drops off entirely on phones — the hamburger menu and
       footer already carry the same contact/portal links, and the
       phone viewport is better spent on content. */
    .top-bar { display: none; }
}

/* ==========================================================
   NAVBAR — sticky, database-driven mega menu
   ========================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--green);
    color: white;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: var(--nav-h);
    box-shadow: var(--shadow-md);
    font-family: "Barlow Condensed", sans-serif;
    transition: box-shadow .2s var(--ease), min-height .2s var(--ease);
}

.navbar .brand {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: "Barlow Condensed", sans-serif;
}

.navbar .brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.navbar .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.navbar .brand-mark svg { width: 22px; height: 22px; }

.navbar .brand h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .5px;
    line-height: 1;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.cart-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.cart-icon-wrap:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red);
    color: white;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--green);
    font-family: "Barlow Condensed", sans-serif;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 1001;
    transition: background .15s var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,.16); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Overlay behind the open mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.nav-overlay.open { display: block; opacity: 1; }

/* ----- MEGA MENU ----- */
.mega-menu {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.mega-menu > ul {
    display: flex;
    list-style: none;
    gap: 2px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.mega-menu > ul > li { position: relative; }

.mega-menu > ul > li > a {
    color: #ddeedd;
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease);
    font-family: "Barlow Condensed", sans-serif;
}

.mega-menu > ul > li > a:hover,
.mega-menu > ul > li > a.active {
    background: rgba(255,255,255,0.14);
    color: white;
}

.mega-menu > ul > li > a.cta-btn {
    background: var(--red);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(179,0,0,.35);
}

.mega-menu > ul > li > a.cta-btn:hover { background: var(--red-light); }

.mega-menu > ul > li > a i.fa-caret-down { font-size: 11px; opacity: .8; transition: transform .2s var(--ease); }
.mega-menu > ul > li:hover > a i.fa-caret-down,
.mega-menu > ul > li:focus-within > a i.fa-caret-down { transform: rotate(180deg); }

.mega-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    min-width: 420px;
    max-width: 600px;
    width: max-content;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    z-index: 999;
    font-family: "Barlow", sans-serif;
}

.mega-menu > ul > li:hover .mega-dropdown,
.mega-menu > ul > li:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown .mega-grid { display: flex; gap: 26px; flex-wrap: wrap; }
.mega-dropdown .mega-col { min-width: 150px; }

.mega-dropdown .mega-col h4 {
    color: var(--green);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
}

.mega-dropdown .mega-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #223;
    text-decoration: none;
    padding: 6px 6px;
    margin: 0 -6px;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    transition: all .15s var(--ease);
    font-family: "Barlow", sans-serif;
}

.mega-dropdown .mega-col a:hover {
    color: var(--green);
    background: var(--green-50);
}

.mega-dropdown .mega-col a i {
    width: 16px;
    color: var(--green);
    font-size: 12px;
}

.mega-dropdown .mega-feature {
    background: var(--green-50);
    padding: 14px 16px;
    border-left: 4px solid var(--green);
    margin-top: 14px;
    border-radius: 4px var(--radius-md) var(--radius-md) 4px;
    font-size: 13px;
}

@media (max-width: 1180px) and (min-width: 1025px) {
    .mega-menu > ul > li > a { font-size: 13px; padding: 9px 11px; }
}

@media (max-width: 1024px) {
    .navbar { padding: 0 16px; }
    .hamburger { display: flex; }

    .mega-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 86vw);
        height: 100vh;
        background: var(--green);
        flex-direction: column;
        padding: calc(var(--nav-h) + var(--topbar-h) + 20px) 20px 30px;
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        overflow-y: auto;
        z-index: 999;
        box-shadow: -12px 0 40px rgba(0,0,0,.25);
    }

    .mega-menu.open { transform: translateX(0); }

    .mega-menu > ul {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        margin: 0;
    }

    .mega-menu > ul > li > a {
        padding: 13px 14px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        color: #eee;
        border-radius: 0;
    }

    .mega-dropdown {
        position: static;
        min-width: 0;
        max-width: none;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0,0,0,.15);
        display: none;
        margin: 4px 0 8px;
        max-height: 0;
        overflow: hidden;
        padding: 0 16px;
        transition: max-height .25s var(--ease), padding .25s var(--ease);
    }

    .mega-menu > ul > li:hover .mega-dropdown { display: none; }
    .mega-menu > ul > li .mega-dropdown.active { display: block; max-height: 800px; padding: 16px; }

    .mega-dropdown .mega-grid { flex-direction: column; gap: 14px; }

    .mega-dropdown .mega-col h4 {
        color: #8f8;
        border-bottom-color: rgba(255,255,255,.15);
    }

    .mega-dropdown .mega-col a { color: #ddd; }
    .mega-dropdown .mega-col a:hover {
        background: rgba(255,255,255,.08);
        color: white;
    }

    .mega-dropdown .mega-feature {
        background: rgba(255,255,255,.08);
        color: #ddd;
        border-radius: 4px;
    }
}

@media (max-width: 420px) {
    .mega-menu { width: 100vw; }
}

/* ----- MAIN CONTENT / SECTIONS ----- */
.main-content {
    flex: 1;
    background: var(--bg-light);
    line-height: 1.8;
    font-family: "Barlow", sans-serif;
}

.section-block {
    padding: 56px 20px 60px;
    background: white;
    margin-bottom: 4px;
}

.section-block.alt { background: var(--gray-50); }

.section-block .container { max-width: var(--max-width); margin: 0 auto; }

.section-block h2 {
    color: var(--green);
    font-size: 32px;
    border-bottom: 3px solid var(--gray-100);
    padding-bottom: 14px;
    margin-bottom: 26px;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
}

.section-block h2 i {
    margin-right: 10px;
    color: var(--green-glow);
}

.section-block h3 {
    color: var(--dark-blue);
    font-size: 22px;
    margin: 22px 0 10px;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
}

.section-block p {
    margin-bottom: 14px;
    font-size: 16px;
    color: #2a3a2a;
    line-height: 1.85;
    font-family: "Barlow", sans-serif;
}

.section-intro {
    color: var(--gray-600);
    font-size: 16px;
    max-width: 760px;
    margin-bottom: 10px !important;
}

.page-hero {
    background: linear-gradient(150deg, var(--green-50) 0%, #dce8dc 100%);
    padding: 56px 20px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 42px;
    color: var(--green);
    font-weight: 800;
    margin-bottom: 12px;
    font-family: "Barlow Condensed", sans-serif;
}

.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #1f3a1f;
    font-family: "Barlow", sans-serif;
}

.breadcrumb {
    font-size: 13.5px;
    color: #567;
    margin-top: 12px;
    font-family: "Barlow", sans-serif;
}

.breadcrumb a {
    color: var(--green);
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ----- IMAGE FEATURE ----- */
.image-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.image-feature.reverse { direction: rtl; }
.image-feature.reverse > * { direction: ltr; }

.image-feature .img-full {
    width: 100%;
    min-height: 320px;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-feature .img-full img,
.image-feature .img-full svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-feature .feature-text {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-feature .feature-text h3 {
    color: var(--green);
    font-size: 26px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 14px;
    font-weight: 700;
    margin-top: 0;
    font-family: "Barlow Condensed", sans-serif;
}

.image-feature .feature-text ul {
    margin: 10px 0 12px;
    list-style: none;
}

.image-feature .feature-text ul li {
    margin-bottom: 8px;
    font-size: 14.5px;
    padding-left: 26px;
    position: relative;
    font-family: "Barlow", sans-serif;
    line-height: 1.6;
}

.image-feature .feature-text ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--green);
    width: 18px;
}

@media (max-width: 1024px) {
    .image-feature { grid-template-columns: 1fr; border-radius: var(--radius-md); }
    .image-feature.reverse { direction: ltr; }
    .image-feature .img-full { min-height: 220px; }
    .image-feature .feature-text { padding: 26px 24px; }
}

/* ----- HERO (home) ----- */
.hero {
    background: linear-gradient(150deg, var(--green-50) 0%, #dce8dc 100%);
    padding: 56px 20px 48px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 46px;
    color: var(--green);
    margin-bottom: 8px;
    font-weight: 800;
    font-family: "Barlow Condensed", sans-serif;
}

.hero-text h1 .highlight {
    background: var(--green);
    color: white;
    padding: 2px 18px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.hero-text .subtitle {
    font-size: 19px;
    color: #1f3a1f;
    margin-bottom: 14px;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
}

.hero-text .tagline {
    background: var(--dark-blue);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    display: inline-block;
    font-weight: 700;
    font-size: 13.5px;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: .2px;
    box-shadow: var(--shadow-sm);
}

.hero-img { position: relative; }
.hero-img img,
.hero-img svg {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,40,0,.18));
}

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 32px; }
    .hero-img { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ----- FEATURE GRID / CARDS ----- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin: 22px 0;
}

.feature-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    border-top: 4px solid var(--green);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card h4 {
    color: var(--green);
    font-size: 18px;
    margin-bottom: 8px;
    font-family: "Barlow Condensed", sans-serif;
}

.feature-card p {
    font-size: 14px;
    color: #445;
    margin: 0;
    font-family: "Barlow", sans-serif;
    line-height: 1.6;
}

.stat-highlight {
    background: var(--dark-blue);
    color: white;
    padding: 16px 20px;
    margin: 18px 0;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-family: "Barlow Condensed", sans-serif;
}

.testimonial {
    background: var(--green-50);
    padding: 18px 22px;
    border-left: 5px solid var(--green);
    margin: 10px 0;
    font-style: italic;
    font-size: 15px;
    border-radius: 4px var(--radius-md) var(--radius-md) 4px;
    font-family: "Barlow", sans-serif;
}

.testimonial .author {
    font-style: normal;
    font-weight: 700;
    margin-top: 8px;
    color: var(--green);
    font-family: "Barlow Condensed", sans-serif;
}

/* ----- TAGS / BUTTONS ----- */
.tag {
    display: inline-block;
    padding: 4px 13px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: .2px;
}

.tag-success { background: #d4edda; color: #155724; border-color: #a3d3ad; }
.tag-danger { background: #f8d7da; color: #721c24; border-color: #eab8bd; }
.tag-warning { background: #fff3cd; color: #856404; border-color: #f0dda1; }
.tag-info { background: #d1ecf1; color: #0c5460; border-color: #a9dbe4; }
.tag-gold { background: #fdebb3; color: #7a6200; border-color: #f0d780; }
.tag-primary { background: var(--green-50); color: var(--green); border-color: var(--green-100); }

.btn {
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin: 4px 6px 4px 0;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: .2px;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,77,0,.35); }

.btn-secondary {
    background: white;
    color: var(--green);
    border: 2px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--green); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--green);
    color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: var(--red-light); }

/* ----- NEWSLETTER BAND (footer, site-wide) ----- */
.newsletter-band {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.newsletter-band .container { max-width: 620px; margin: 0 auto; }

.newsletter-band h2 {
    color: white;
    font-size: 26px;
    margin-bottom: 8px;
    font-family: "Barlow Condensed", sans-serif;
}

.newsletter-band p { color: rgba(255,255,255,0.85); margin-bottom: 18px; font-family: "Barlow", sans-serif; }

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 13px 20px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    outline: none;
    font-family: "Barlow", sans-serif;
}

.newsletter-form button {
    background: var(--gold);
    color: #1a1a1a;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    transition: background .15s var(--ease), transform .15s var(--ease);
}
.newsletter-form button:hover { background: #ffc233; transform: translateY(-2px); }

.newsletter-band .success-msg { color: white; font-weight: 600; font-size: 16px; }
.newsletter-band .error-msg { color: #ffd7d7; font-size: 13px; margin-bottom: 10px; }
.newsletter-band .fine-print { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 12px; }

/* ----- STATUS BAR & FOOTER ----- */
.status {
    min-height: 32px;
    background: #071007;
    color: #6dffa0;
    font-family: "Courier New", monospace;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    letter-spacing: .6px;
    text-align: center;
    flex-wrap: wrap;
    gap: 6px;
}
.status .status-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 8px #00ff66;
    animation: statusPulse 2s ease-in-out infinite;
    margin-right: 8px;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
    .status .status-dot { animation: none; }
}

.rich-footer {
    background: #0d1f0d;
    color: #c8dcc8;
    padding: 52px 20px 26px;
    border-top: 4px solid var(--green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 36px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4 {
    color: #8f8;
    font-size: 16px;
    margin-bottom: 14px;
    border-bottom: 2px solid #1a3a1a;
    padding-bottom: 8px;
    font-family: "Barlow Condensed", sans-serif;
}

.footer-col p {
    font-size: 13.5px;
    color: #a8c8a8;
    margin-bottom: 8px;
    font-family: "Barlow", sans-serif;
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: #a8c8a8;
    text-decoration: none;
    padding: 4px 0;
    font-size: 13.5px;
    font-family: "Barlow", sans-serif;
    transition: color .15s var(--ease), padding-left .15s var(--ease);
}

.footer-col a:hover {
    color: #8f8;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    background: #1a3a1a;
    color: #c8dcc8;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background .15s var(--ease), transform .15s var(--ease);
}

.footer-social a:hover {
    background: var(--green);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 2px solid #1a3a1a;
    margin-top: 28px;
    padding-top: 18px;
    text-align: center;
    font-size: 12.5px;
    color: #6a8a6a;
    font-family: "Barlow", sans-serif;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ----- MARKETPLACE ----- */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.category-filter a {
    padding: 9px 18px;
    border: 2px solid var(--green);
    border-radius: var(--radius-pill);
    color: var(--green);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    transition: all .15s var(--ease);
}

.category-filter a.active,
.category-filter a:hover {
    background: var(--green);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s var(--ease);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-card .product-img {
    height: 200px;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h4 {
    color: var(--green);
    font-size: 17px;
    margin-bottom: 6px;
    font-family: "Barlow Condensed", sans-serif;
}

.product-card p.desc {
    font-size: 13.5px;
    color: #445;
    margin-bottom: 10px;
    flex: 1;
    font-family: "Barlow", sans-serif;
    line-height: 1.6;
}

.product-card .price-note {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 14px;
    margin-bottom: 10px;
    font-family: "Barlow Condensed", sans-serif;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

.product-detail-grid .product-img-large {
    background: var(--green-50);
    min-height: 340px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-grid .product-img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specs-list {
    list-style: none;
    margin: 16px 0;
}

.specs-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14.5px;
    font-family: "Barlow", sans-serif;
}

.specs-list li i {
    color: var(--green);
    margin-right: 8px;
}

@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ----- FORMS ----- */
.form-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 34px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 7px;
    color: var(--green);
    font-family: "Barlow Condensed", sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: "Barlow", sans-serif;
    outline: none;
    transition: border-color .15s var(--ease);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

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

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

.alert {
    padding: 15px 20px;
    margin-bottom: 22px;
    font-size: 14.5px;
    border-left: 5px solid;
    border-radius: 4px var(--radius-md) var(--radius-md) 4px;
    font-family: "Barlow", sans-serif;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #721c24;
}

/* ----- PRICING (quotation cards) ----- */
.plan-note {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 22px;
    font-size: 14.5px;
    font-family: "Barlow", sans-serif;
}

/* ==========================================================
   BLOG (folded in from the old page-level <style> blocks in
   blog.php and blog-post.php — same visuals, now shared and
   cached site-wide instead of re-downloaded on every post)
   ========================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-img {
    height: 210px;
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-img img { transform: scale(1.04); }

.blog-card .blog-img .img-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--green);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card .blog-body { padding: 22px 22px 24px; }

.blog-card .blog-body .meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-card .blog-body .meta .meta-divider { color: #ddd; }
.blog-card .blog-body .meta .author-name { color: var(--green); font-weight: 600; }

.blog-card .blog-body h3 {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-card .blog-body h3 a { color: #1a1a1a; text-decoration: none; transition: color 0.2s var(--ease); }
.blog-card .blog-body h3 a:hover { color: var(--green); }

.blog-card .blog-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    font-family: "Barlow", sans-serif;
}

.blog-card .blog-body .btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: white;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s var(--ease);
    border: none;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-card .blog-body .btn-read:hover {
    background: var(--green-light);
    box-shadow: 0 6px 16px rgba(0, 77, 0, 0.3);
}

.blog-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-stats .stats-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin: 0;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-stats .stats-count {
    font-size: 13px;
    color: #999;
    background: var(--gray-100);
    padding: 4px 16px;
    border-radius: var(--radius-pill);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.empty-state .empty-icon { font-size: 56px; margin-bottom: 15px; display: block; }
.empty-state h3 { margin-bottom: 8px; color: #333; font-weight: 600; }
.empty-state p { color: #888; font-size: 15px; }

.blog-featured { margin-bottom: 44px; }

.blog-featured .featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--green-100);
}

.blog-featured .featured-card .featured-img { height: 100%; min-height: 320px; overflow: hidden; }
.blog-featured .featured-card .featured-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-featured .featured-card .featured-body {
    padding: 32px 32px 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured .featured-card .featured-body .featured-badge {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.blog-featured .featured-card .featured-body h2 {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
    border: none;
    padding: 0;
    color: #1a1a1a;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-featured .featured-card .featured-body h2 a { color: #1a1a1a; text-decoration: none; }
.blog-featured .featured-card .featured-body h2 a:hover { color: var(--green); }

.blog-featured .featured-card .featured-body p {
    color: #666;
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 18px;
    font-family: "Barlow", sans-serif;
}

.blog-featured .featured-card .featured-body .featured-meta { font-size: 13px; color: #999; }
.blog-featured .featured-card .featured-body .featured-meta i { margin-right: 4px; }

.blog-featured .featured-card .featured-body .btn-read-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: white;
    padding: 11px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s var(--ease);
    width: fit-content;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-featured .featured-card .featured-body .btn-read-lg:hover {
    background: var(--green-light);
    box-shadow: 0 6px 18px rgba(0, 77, 0, 0.3);
}

.blog-featured .featured-card .featured-body .featured-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.blog-featured .featured-card .featured-body .featured-author .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-featured .featured-card .featured-body .featured-author .author-info { font-size: 14px; }
.blog-featured .featured-card .featured-body .featured-author .author-info .name { font-weight: 600; color: #1a1a1a; }
.blog-featured .featured-card .featured-body .featured-author .author-info .role { font-size: 12px; color: #999; }

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card .blog-img { height: 180px; }
    .blog-card .blog-body { padding: 18px 18px 20px; }
    .blog-card .blog-body h3 { font-size: 17px; }
    .blog-featured .featured-card { grid-template-columns: 1fr; }
    .blog-featured .featured-card .featured-img { min-height: 200px; }
    .blog-featured .featured-card .featured-body { padding: 22px; }
    .blog-featured .featured-card .featured-body h2 { font-size: 21px; }
}

/* ----- BLOG POST ----- */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    font-family: "Barlow", sans-serif;
}
.blog-post-content p { margin-bottom: 16px; }

.blog-post-wrapper {
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 44px 52px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.blog-post-wrapper .post-header { margin-bottom: 30px; }

.blog-post-wrapper .post-header .post-category {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 4px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-post-wrapper .post-header h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-post-wrapper .post-header .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: #888;
    font-size: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-family: "Barlow", sans-serif;
}

.blog-post-wrapper .post-header .post-meta .meta-item { display: flex; align-items: center; gap: 6px; }
.blog-post-wrapper .post-header .post-meta .meta-item i { color: var(--green); }

.blog-post-wrapper .post-header .post-meta .author-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    font-family: "Barlow Condensed", sans-serif;
}

.blog-post-wrapper .post-header .post-meta .author-name { font-weight: 600; color: #1a1a1a; }

.blog-post-wrapper .post-featured-image {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.blog-post-wrapper .post-featured-image img { width: 100%; height: auto; display: block; }

.blog-post-wrapper .post-body { font-size: 17.5px; line-height: 1.85; color: #333; font-family: "Barlow", sans-serif; }
.blog-post-wrapper .post-body h2 { font-size: 27px; font-weight: 700; color: #1a1a1a; margin-top: 36px; margin-bottom: 16px; font-family: "Barlow Condensed", sans-serif; }
.blog-post-wrapper .post-body h3 { font-size: 22px; font-weight: 600; color: #1a1a1a; margin-top: 28px; margin-bottom: 12px; font-family: "Barlow Condensed", sans-serif; }
.blog-post-wrapper .post-body p { margin-bottom: 18px; }
.blog-post-wrapper .post-body ul,
.blog-post-wrapper .post-body ol { margin-bottom: 18px; padding-left: 25px; }
.blog-post-wrapper .post-body ul li,
.blog-post-wrapper .post-body ol li { margin-bottom: 8px; }

.blog-post-wrapper .post-body blockquote {
    background: var(--gray-50);
    border-left: 4px solid var(--green);
    padding: 20px 25px;
    margin: 26px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #555;
}
.blog-post-wrapper .post-body blockquote p { margin-bottom: 0; }
.blog-post-wrapper .post-body img { max-width: 100%; border-radius: var(--radius-md); margin: 20px 0; }

.blog-post-wrapper .post-footer {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-100);
}

.share-section { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.share-section .share-label { font-weight: 600; color: #333; font-size: 15px; font-family: "Barlow Condensed", sans-serif; }

.share-section .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s var(--ease);
    border: none;
    cursor: pointer;
}
.share-section .share-btn i { font-size: 15px; }
.share-section .share-btn.facebook { background: #1877f2; color: white; }
.share-section .share-btn.facebook:hover { background: #0d65d9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(24,119,242,.3); }
.share-section .share-btn.twitter { background: #000; color: white; }
.share-section .share-btn.twitter:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,.3); }
.share-section .share-btn.linkedin { background: #0a66c2; color: white; }
.share-section .share-btn.linkedin:hover { background: #0957a8; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(10,102,194,.3); }
.share-section .share-btn.whatsapp { background: #25d366; color: white; }
.share-section .share-btn.whatsapp:hover { background: #1da85c; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,.3); }
.share-section .share-btn.email { background: #666; color: white; }
.share-section .share-btn.email:hover { background: #555; transform: translateY(-2px); }

.copy-link-section {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--gray-100);
    padding: 11px 16px;
    border-radius: var(--radius-md);
    margin-top: 15px;
}
.copy-link-section input { flex: 1; border: none; background: transparent; font-size: 13px; color: #666; padding: 5px 0; outline: none; }
.copy-link-section .btn-copy {
    background: var(--green);
    color: white;
    border: none;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s var(--ease);
    font-family: "Barlow Condensed", sans-serif;
}
.copy-link-section .btn-copy:hover { background: var(--green-light); }
.copy-link-section .btn-copy.copied { background: #1a9650; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.post-tags .tag {
    background: var(--gray-100);
    padding: 5px 14px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    border: none;
}
.post-tags .tag:hover { background: var(--green); color: white; }

.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.post-actions .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s var(--ease);
    border: none;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
}
.post-actions .btn-action.btn-primary { background: var(--green); color: white; }
.post-actions .btn-action.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,77,0,.3); }
.post-actions .btn-action.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.post-actions .btn-action.btn-outline:hover { background: var(--green); color: white; transform: translateY(-2px); }

@media (max-width: 768px) {
    .blog-post-wrapper { padding: 26px 20px; border-radius: var(--radius-lg); }
    .blog-post-wrapper .post-header h1 { font-size: 27px; }
    .blog-post-wrapper .post-body { font-size: 15.5px; }
    .blog-post-wrapper .post-body h2 { font-size: 22px; }
    .blog-post-wrapper .post-body h3 { font-size: 19px; }
    .share-section .share-btn { padding: 7px 14px; font-size: 12px; }
    .share-section .share-btn span { display: none; }
    .post-actions .btn-action { padding: 9px 18px; font-size: 13px; }
}

/* ----- TECHNOLOGY ----- */
.tech-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 22px 0;
}

.tech-badge {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tech-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tech-badge i { font-size: 32px; color: var(--green); margin-bottom: 12px; display: block; }
.tech-badge h4 { font-size: 16px; color: var(--green); margin-bottom: 5px; font-family: "Barlow Condensed", sans-serif; }
.tech-badge p { font-size: 13px; color: #567; margin: 0; font-family: "Barlow", sans-serif; }

.arch-diagram {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
    margin: 22px 0;
}

/* ----- STATS BAR (corporate credibility strip) ----- */
.stats-bar {
    background: linear-gradient(135deg, var(--dark-blue), #000a66);
    padding: 34px 20px;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.stat-item .stat-num { font-size: 34px; font-weight: 800; color: white; font-family: "Barlow Condensed", sans-serif; }
.stat-item .stat-label { font-size: 13px; color: #cdd6f0; margin-top: 4px; letter-spacing: .3px; font-family: "Barlow", sans-serif; }

/* ----- HOW IT WORKS (numbered steps) ----- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.step-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    position: relative;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: "Barlow Condensed", sans-serif;
    box-shadow: var(--shadow-glow);
}

.step-card h4 { color: var(--green); font-size: 17px; margin-bottom: 8px; font-family: "Barlow Condensed", sans-serif; }
.step-card p { font-size: 14px; color: #556; line-height: 1.7; margin: 0; font-family: "Barlow", sans-serif; }

/* ----- TRUST BADGE ROW (marketplace) ----- */
.trust-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: center;
    padding: 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 26px;
}

.trust-badge-row span {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Barlow Condensed", sans-serif;
}

/* ----- LOCATIONS (local SEO) ----- */
.location-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }

.location-chip {
    display: inline-block;
    padding: 9px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--green);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all .15s var(--ease);
    font-family: "Barlow Condensed", sans-serif;
}

.location-chip:hover { background: var(--green); color: white; border-color: var(--green); transform: translateY(-2px); }

.region-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 22px 0 10px;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.region-nav a {
    padding: 7px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    color: var(--green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: all .15s var(--ease);
    font-family: "Barlow Condensed", sans-serif;
}

.region-nav a:hover { background: var(--green); color: white; border-color: var(--green); }

.location-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 20px 0 10px;
}

.location-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: all .2s var(--ease);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s var(--ease);
}

.location-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.location-card:hover::before { transform: scaleX(1); }

.location-card-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 14px;
}

.location-card h4 { color: var(--green); font-size: 17px; margin-bottom: 8px; font-family: "Barlow Condensed", sans-serif; }
.location-card p { font-size: 13.5px; color: #556; line-height: 1.7; margin-bottom: 14px; flex: 1; font-family: "Barlow", sans-serif; }
.location-card-link { font-size: 13px; font-weight: 700; color: var(--dark-blue); font-family: "Barlow Condensed", sans-serif; }
.location-card-link i { margin-left: 4px; font-size: 11px; transition: transform .15s var(--ease); }
.location-card:hover .location-card-link i { transform: translateX(4px); }

/* ----- FAQ ACCORDION ----- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Barlow Condensed", sans-serif;
    gap: 16px;
}

.faq-question i { transition: transform .2s var(--ease); font-size: 13px; color: #789; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s var(--ease);
    font-size: 15px;
    color: #445;
    line-height: 1.8;
    padding: 0 4px;
    font-family: "Barlow", sans-serif;
}

.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 18px; }

/* ----- TESTIMONIALS GRID (homepage) ----- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.testimonial-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial-card .stars { color: var(--gold); margin-bottom: 8px; font-size: 15px; }
.testimonial-card .quote { font-style: italic; font-size: 14.5px; color: #334; margin-bottom: 10px; font-family: "Barlow", sans-serif; line-height: 1.6; }
.testimonial-card .author { font-weight: 700; color: var(--green); font-size: 14px; font-family: "Barlow Condensed", sans-serif; }
.testimonial-card .author span { font-weight: 400; color: #789; display: block; font-size: 12.5px; font-family: "Barlow", sans-serif; }

/* ----- RESPONSIVE: Tablet ----- */
@media (max-width: 1024px) {
    .navbar .brand h1 { font-size: 22px; }
    h1, .h1 { font-size: 38px; }
    h2, .h2 { font-size: 32px; }
    h3, .h3 { font-size: 26px; }
    .hero-text h1 { font-size: 38px; }
    .page-hero h1 { font-size: 36px; }
    .section-block { padding: 44px 20px 48px; }
}

/* ----- RESPONSIVE: Mobile ----- */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .navbar .brand h1 { font-size: 19px; }
    h1, .h1 { font-size: 30px; }
    h2, .h2 { font-size: 26px; }
    h3, .h3 { font-size: 22px; }
    h4, .h4 { font-size: 19px; }
    h5, .h5 { font-size: 17px; }
    p { font-size: 15.5px; }
    .hero-text h1 { font-size: 32px; }
    .hero-text .subtitle { font-size: 16.5px; }
    .page-hero { padding: 40px 18px 38px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 15.5px; }
    .section-block { padding: 36px 16px 40px; }
    .section-block h2 { font-size: 26px; }
    .section-block h3 { font-size: 20px; }
    .stat-item .stat-num { font-size: 28px; }
    .btn { font-size: 14.5px; padding: 12px 22px; }
    .cart-icon-wrap { width: 38px; height: 38px; font-size: 16px; }
    .form-card { padding: 24px 20px; }
    .blog-post-wrapper { padding: 22px 18px; }
}

/* ----- RESPONSIVE: Small Mobile ----- */
@media (max-width: 480px) {
    .navbar { padding: 0 12px; }
    .navbar .brand h1 { font-size: 16.5px; }
    .navbar .brand-mark { width: 32px; height: 32px; }
    .navbar .brand-mark svg { width: 18px; height: 18px; }
    h1, .h1 { font-size: 26px; }
    h2, .h2 { font-size: 22px; }
    h3, .h3 { font-size: 19px; }
    .hero-text h1 { font-size: 27px; }
    .page-hero h1 { font-size: 24px; }
    .section-block h2 { font-size: 22px; }
    .btn { font-size: 14px; padding: 11px 18px; }
}

/* Respect reduced-motion preferences across the board */
@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;
    }
}
