/* =====================================================================
   Himalaya Technology - public site theme
   Brand kit: Pine Green #1B5E3B · Marigold #F6B800 · Deep Forest #12301F
              Snow White #FFFFFF · Montserrat (800 headlines, 600 labels, 500 body)
   Direction: editorial and restrained - solid colour, hairline rules,
   left-aligned hierarchy. Marigold is reserved for the primary action.
   ===================================================================== */

:root {
    --pine:        #1B5E3B;
    --pine-700:    #154A2F;
    --pine-100:    #E4EEE8;
    --pine-50:     #F2F6F3;
    --sage:        #8DB49D;
    --forest:      #12301F;
    --marigold:    #F6B800;
    --marigold-600:#E0A800;
    --snow:        #FFFFFF;

    --text:        #12301F;
    --text-muted:  #51625A;
    --text-soft:   #7B8A82;
    --line:        #DDE5E0;
    --line-strong: #C5D2CA;
    --bg:          #FFFFFF;
    --bg-alt:      #F5F7F5;

    --radius-sm:   4px;
    --radius:      6px;
    --radius-lg:   10px;
    --shadow:      0 1px 2px rgba(18,48,31,.05), 0 8px 24px rgba(18,48,31,.06);

    --font:        'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container:   1240px;
    --header-h:    80px;
    --ease:        cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.65;
    color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration: none; transition: color .15s; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--forest); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
::selection { background: var(--marigold); color: var(--forest); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-rule { border-top: 1px solid var(--line); }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small section label - used sparingly */
.eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--pine); margin-bottom: .9rem; }
.eyebrow--light { color: var(--sage); }

/* Section heading row: title left, supporting link/text right */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head > div { max-width: 640px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--text-muted); margin: .7rem 0 0; }
.section-head--left { display: block; }
.link-arrow { font-weight: 700; font-size: .92rem; color: var(--pine); display: inline-flex; gap: .45rem; align-items: center; white-space: nowrap; }
.link-arrow:hover i { transform: translateX(3px); }
.link-arrow i { transition: transform .15s; font-size: .8em; }

/* Brand route line: dotted journey ending in a ring (from the business card) */
.route-line {
    position: relative; height: 12px; margin-right: 16px;
    background-image: radial-gradient(circle, var(--pine) 2.4px, transparent 2.8px);
    background-size: 14px 12px; background-repeat: repeat-x; background-position: left center;
}
.route-line::after {
    content: ""; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 12px; border: 3px solid var(--pine); border-radius: 50%; background: var(--bg);
}
.route-line--light { background-image: radial-gradient(circle, rgba(255,255,255,.35) 2.4px, transparent 2.8px); }
.route-line--light::after { border-color: var(--marigold); background: var(--forest); }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font); font-weight: 700; font-size: .92rem; line-height: 1;
    padding: 15px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--marigold); color: var(--forest); }
.btn-primary:hover { background: var(--marigold-600); color: var(--forest); }
.btn-green { background: var(--pine); color: var(--snow); }
.btn-green:hover { background: var(--forest); color: var(--snow); }
.btn-outline { border-color: var(--line-strong); color: var(--forest); background: var(--snow); }
.btn-outline:hover { border-color: var(--pine); color: var(--pine); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: var(--snow); background: transparent; }
.btn-ghost-light:hover { border-color: var(--snow); color: var(--snow); }
.btn-whatsapp { background: #1FAF54; color: #fff; }
.btn-whatsapp:hover { background: #18934A; color: #fff; }
.btn-sm { padding: 11px 16px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ------------------------------------------- */
.topbar { background: var(--forest); color: rgba(255,255,255,.72); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--marigold); }
.topbar-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-tag { display: inline-flex; align-items: center; gap: .45rem; }
.topbar i { opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 900; background: var(--snow); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.site-header nav { flex: 1; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a { display: flex; align-items: center; gap: .35rem; padding: 10px 14px; font-weight: 600; font-size: .92rem; color: var(--forest); position: relative; }
.nav > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--marigold); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav > li > a:hover::after, .nav > li > a.active::after { transform: scaleX(1); }
.nav > li > a:hover { color: var(--forest); }
.nav .chev { font-size: .6rem; opacity: .55; }
.nav-dropdown {
    position: absolute; top: calc(100% + 18px); left: 0; min-width: 300px;
    background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-dropdown::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav > li:hover .nav-dropdown, .nav > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: flex; align-items: center; gap: .8rem; padding: 10px 18px; color: var(--forest); font-weight: 600; font-size: .9rem; }
.nav-dropdown a:hover { background: var(--pine-50); color: var(--pine); }
.nav-dropdown a i { width: 18px; color: var(--pine); font-size: .9rem; text-align: center; }
.nav-dropdown .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--pine); }
.header-cta { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-phone { display: flex; flex-direction: column; line-height: 1.25; font-size: .78rem; color: var(--text-soft); }
.header-phone a { font-size: .95rem; font-weight: 700; color: var(--forest); }
.header-phone a:hover { color: var(--pine); }
.header-search { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--forest); }
.header-search:hover { border-color: var(--pine); color: var(--pine); }

.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--snow); border-radius: var(--radius-sm); cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--forest); }

.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 1100; background: var(--snow); padding: 24px; transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; overflow-y: auto; border-left: 1px solid var(--line); }
.mobile-nav.open { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-nav-head img { height: 36px; }
.mobile-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--forest); line-height: 1; }
.mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; gap: .7rem; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--forest); font-weight: 600; }
.mobile-nav .label { font-size: .75rem; font-weight: 700; color: var(--text-soft); padding: 20px 0 4px; }
.mobile-nav .sub a { font-weight: 500; }
.mobile-nav .sub i { color: var(--pine); width: 18px; text-align: center; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(18,48,31,.4); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity .2s; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Home hero --------------------------------------------------- */
.hero { border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: stretch; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; color: var(--forest); margin-bottom: .45em; max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--pine); }
.welcome-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: .6em; max-width: 22ch; }
.hero-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-search { display: flex; max-width: 560px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--snow); transition: border-color .15s; }
.hero-search:focus-within { border-color: var(--pine); }
.hero-search i { align-self: center; padding: 0 4px 0 18px; color: var(--text-soft); }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; border: 0; padding: 16px 12px; background: transparent; color: var(--forest); }
.hero-search input:focus { outline: none; }
.hero-search .btn { border-radius: 0 2px 2px 0; margin: -1.5px -1.5px -1.5px 0; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .88rem; color: var(--text-soft); }
.hero-quick a { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.hero-quick a:hover { color: var(--pine); border-color: var(--pine); }

.hero-panel { position: relative; background: var(--pine); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; overflow: hidden; }
.hero-panel-mark { flex: 1; display: grid; place-items: center; padding: 48px 40px 24px; }
.hero-panel-mark img { width: 100%; max-width: 360px; height: auto; }
.hero-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--forest); color: rgba(255,255,255,.75); font-size: .88rem; }
.hero-panel-foot strong { display: block; color: var(--snow); font-size: 1rem; }
.hero-panel-foot .btn { flex-shrink: 0; }
.hero-slide-img { position: absolute; inset: 0; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Order process (route line) --------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 34px; }
.process::before { /* dotted route across the steps */
    content: ""; position: absolute; top: 12px; left: 0; right: 28px; height: 12px;
    background-image: radial-gradient(circle, var(--sage) 2.4px, transparent 2.8px); background-size: 14px 12px; background-repeat: repeat-x;
}
.process::after { content: ""; position: absolute; top: 18px; right: 0; transform: translateY(-50%); width: 14px; height: 14px; border: 3px solid var(--pine); border-radius: 50%; background: var(--bg-alt); }
.process-step { position: relative; }
.process-num { position: absolute; top: -34px; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pine); color: var(--snow); font-weight: 800; font-size: .9rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg-alt); }
.process-step:nth-child(2) .process-num { background: var(--marigold); color: var(--forest); }
.process-step h3 { margin: 26px 0 6px; }
.process-step p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Category index --------------------------------------------- */
.cat-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.cat-layout .intro { position: sticky; top: calc(var(--header-h) + 32px); }
.cat-layout .intro p { color: var(--text-muted); }
.cat-list { border-top: 1px solid var(--forest); }
.cat-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: 20px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--forest); transition: background .15s, padding .2s var(--ease); }
.cat-row:hover { background: var(--pine-50); padding-left: 16px; color: var(--forest); }
.cat-row .ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--pine-100); color: var(--pine); display: grid; place-items: center; font-size: 1.05rem; }
.cat-row h3 { margin: 0 0 2px; font-size: 1.08rem; }
.cat-row p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.cat-row .count { font-size: .82rem; color: var(--text-soft); white-space: nowrap; }
.cat-row .go { color: var(--line-strong); transition: color .15s, transform .15s; }
.cat-row:hover .go { color: var(--pine); transform: translateX(3px); }

/* Legacy category cards (kept for any CMS content using them) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

/* ---------- Product cards ---------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.product-card { display: flex; flex-direction: column; }
.product-media { container-type: inline-size; position: relative; aspect-ratio: 4 / 3; background: var(--pine-50); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; transition: border-color .15s; }
.product-card:hover .product-media { border-color: var(--line-strong); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-media .ph { font-size: 2.4rem; color: var(--sage); }
.product-tag { display: none; }
.product-body { padding: 16px 0 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .78rem; font-weight: 700; color: var(--pine); }
.product-body h3 { margin: 0; font-size: 1.05rem; }
.product-body h3 a { color: var(--forest); }
.product-body h3 a:hover { color: var(--pine); }
.product-body p { color: var(--text-muted); font-size: .9rem; margin: 0; flex: 1; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-actions .link-arrow { font-size: .86rem; }

.empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); text-align: left; }
.empty-state > i { width: 56px; height: 56px; border-radius: var(--radius); background: var(--pine-100); color: var(--pine); display: grid; place-items: center; font-size: 1.4rem; margin: 0; }
.empty-state h3 { margin: 0 0 4px; }
.empty-state p { color: var(--text-muted); margin: 0; }
.empty-state .btn { justify-self: end; }

/* ---------- Inner page header & breadcrumbs ---------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 60px; }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -36px; width: 420px; height: 210px; background: url('../images/logo-mark-color.png') no-repeat right bottom / contain; opacity: .07; pointer-events: none; }
.page-hero.has-image::after { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; font-size: .9rem; color: var(--text-muted); }
.page-hero-meta strong { color: var(--forest); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 860px; margin-bottom: .3em; }
.page-hero p { color: var(--text-muted); max-width: 720px; margin: 0; font-size: 1.05rem; }
.page-hero.has-image { background-size: cover; background-position: center; border-bottom: 0; padding: 72px 0 76px; }
.page-hero.has-image h1 { color: var(--snow); }
.page-hero.has-image p { color: rgba(255,255,255,.85); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .84rem; }
.crumbs li { color: var(--text-soft); }
.crumbs a { color: var(--text-muted); font-weight: 600; }
.crumbs a:hover { color: var(--pine); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.page-hero.has-image .crumbs a, .page-hero.has-image .crumbs li { color: rgba(255,255,255,.8); }

/* ---------- Layout helpers --------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Product detail --------------------------------------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pd-media { container-type: inline-size; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--pine-50); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media .ph { font-size: 5rem; color: var(--sage); }
.pd-info .cat-link { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; font-size: .85rem; color: var(--pine); margin-bottom: .8rem; }
.pd-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.pd-info .lead { font-size: 1.08rem; color: var(--text-muted); }
.pd-points { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.pd-points li { display: flex; gap: .9rem; align-items: center; font-size: .94rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-points i { color: var(--pine); width: 18px; text-align: center; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Prose (CMS body) ------------------------------------------- */
.prose { font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .55em; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: #2A4536; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; padding-left: .2rem; }
.prose ul li::marker { color: var(--pine); }
.prose ol li::marker { color: var(--pine); font-weight: 700; }
.prose a { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--marigold); color: var(--text-muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
.prose th, .prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 700; border-bottom-color: var(--forest); }
@media (max-width: 700px) {
    .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: normal; }
    .prose table th, .prose table td { min-width: 140px; }
}

/* Freshness date */
.updated { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-soft); }
.updated i { color: var(--pine); margin-right: .3rem; }

/* ---------- Inquiry form ------------------------------------------------ */
.inquiry-card { background: var(--snow); border: 1px solid var(--line); border-top: 3px solid var(--pine); border-radius: var(--radius); }
.inquiry-head { padding: 24px 24px 0; }
.inquiry-head .ic { display: none; }
.inquiry-head h2 { font-size: 1.2rem; margin: 0 0 4px; }
.inquiry-head p { margin: 0; font-size: .88rem; color: var(--text-muted); }
.inquiry-body { padding: 20px 24px 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--forest); margin-bottom: 6px; }
.field label em { color: #B3261E; font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--forest);
    background: var(--snow); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); }
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(27,94,59,.12); }
.form-note { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-muted); margin: 2px 0 16px; }
.form-note i { color: var(--pine); }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 14px; }
.alert-success { background: var(--pine-100); color: var(--pine); }
.alert-error { background: #FBECEA; color: #8E2A20; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.inquiry-alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-muted); }
.inquiry-alt a { font-weight: 700; color: #18934A; }

/* ---------- Contact page ----------------------------------------------- */
.contact-cards { border-top: 1px solid var(--forest); }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--forest); }
a.contact-card:hover { color: var(--pine); background: var(--pine-50); }
.contact-card .ic { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--pine-100); color: var(--pine); flex-shrink: 0; }
.contact-card .ic.wa { background: #E2F5E9; color: #18934A; }
.contact-card small { display: block; font-size: .8rem; color: var(--text-soft); }
.contact-card strong { font-weight: 700; }

/* ---------- Testimonials, team, blog ----------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.quote-card { padding: 28px 0 0; border-top: 2px solid var(--forest); display: flex; flex-direction: column; gap: 18px; }
.quote-card .q { display: none; }
.quote-card p { color: #2A4536; margin: 0; flex: 1; font-size: 1.02rem; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pine-100); color: var(--pine); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who strong { display: block; font-size: .95rem; }
.who small { display: block; color: var(--text-soft); font-size: .82rem; }
.stars { color: var(--marigold-600); font-size: .78rem; }

.team-card { padding: 28px 0 0; border-top: 2px solid var(--forest); }
.team-card .avatar { width: 88px; height: 88px; margin-bottom: 16px; font-size: 1.5rem; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { font-size: .86rem; font-weight: 600; color: var(--pine); }
.team-card .prose { margin-top: 12px; font-size: .92rem; }

.post-card { display: flex; flex-direction: column; color: var(--forest); }
.post-card:hover { color: var(--forest); }
.post-media { container-type: inline-size; position: relative; aspect-ratio: 16 / 10; background: var(--pine-50); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--sage); font-size: 2rem; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.03); }
.post-body { padding: 16px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: .8rem; color: var(--text-soft); display: flex; gap: 1rem; flex-wrap: wrap; }
.post-body h3 { margin: 0; font-size: 1.1rem; }
.post-card:hover h3 { color: var(--pine); }
.post-body p { color: var(--text-muted); font-size: .9rem; margin: 0; flex: 1; }
.read-more { font-weight: 700; font-size: .86rem; color: var(--pine); display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- FAQ --------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-layout .intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-layout .intro p { color: var(--text-muted); }
.faq { border-top: 1px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 24px; align-items: center; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pine); }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 48px 24px 0; color: var(--text-muted); }

/* ---------- Search, pagination ----------------------------------------- */
.search-form { display: flex; max-width: 620px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--snow); }
.search-form:focus-within { border-color: var(--pine); }
.search-form input { flex: 1; min-width: 0; font: inherit; padding: 14px 16px; border: 0; background: transparent; color: var(--forest); }
.search-form input:focus { outline: none; }
.search-form .btn { border-radius: 0 2px 2px 0; margin: -1.5px -1.5px -1.5px 0; }
.result-group + .result-group { margin-top: 56px; }
.result-list { border-top: 1px solid var(--forest); }
.result-item { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--forest); }
.result-item:hover { background: var(--pine-50); color: var(--forest); }
.result-item strong { display: block; }
.result-item span { color: var(--text-muted); font-size: .9rem; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--forest); }
.pager a:hover { border-color: var(--pine); color: var(--pine); }
.pager .current { background: var(--forest); border-color: var(--forest); color: var(--snow); }
.pager .disabled { color: var(--text-soft); }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band { background: var(--forest); color: var(--snow); }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; padding: 72px 0; }
.cta-box h2 { color: var(--snow); margin-bottom: .35em; }
.cta-box p { margin: 0; color: rgba(255,255,255,.72); max-width: 560px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--forest); color: rgba(255,255,255,.68); font-size: .92rem; border-top: 1px solid rgba(255,255,255,.1); padding: 64px 0 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--marigold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-brand img { height: 46px; margin-bottom: 20px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: var(--snow); font-size: .9rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--sage); margin-top: .3rem; width: 16px; text-align: center; }
.footer-route { margin: 48px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 20px 0 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 950; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1FAF54; color: #fff; box-shadow: 0 6px 18px rgba(18,48,31,.22); transition: background .15s; }
.wa-fab:hover { background: #18934A; color: #fff; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab span { display: none; }

/* ---------- Modal (session flash) -------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(18,48,31,.5); padding: 16px; }
.modal.show { display: flex; }
.modal-dialog { width: 100%; max-width: 440px; }
.modal-content { background: var(--snow); border-radius: var(--radius); overflow: hidden; border-top: 3px solid var(--pine); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.modal-title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--forest); }
.modal-body { padding: 10px 22px 24px; color: var(--text-muted); }
.modal-footer { padding: 0 22px 22px; display: flex; gap: .5rem; justify-content: flex-end; }
.btn-close { background: none; border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--text-soft); }
.btn-close::before { content: "×"; }


/* ---------- Product covers (no photo uploaded) ------------------------- */
.pv { position: absolute; inset: 0; display: block; }
.pv-generic { display: grid; place-items: center; background: var(--pine-50); color: var(--sage); font-size: 16cqw; }
.pv-device { background: var(--pine); color: var(--snow); }
.pv-device .pv-mark { position: absolute; right: 7%; top: 11%; width: 44%; height: auto; opacity: .95; }
.pv-device .pv-code { position: absolute; left: 8%; bottom: 17%; font-size: 21cqw; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pv-device .pv-kind { position: absolute; left: 8.5%; bottom: 9%; font-size: max(11px, 4.4cqw); font-weight: 600; color: var(--sage); }
.pv-software { background: var(--pine-100); }
.pv-window { position: absolute; left: 9%; right: 9%; top: 12%; bottom: -6%; background: var(--snow); border: 1px solid var(--line-strong); border-radius: 6px 6px 0 0; box-shadow: 0 10px 30px rgba(18,48,31,.10); overflow: hidden; display: flex; flex-direction: column; }
.pv-bar { display: flex; align-items: center; gap: 4px; height: max(16px, 7.5cqw); padding: 0 6%; background: var(--bg-alt); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.pv-bar > i { width: max(5px, 2cqw); height: max(5px, 2cqw); border-radius: 50%; background: var(--line-strong); }
.pv-bar > i:first-child { background: var(--marigold); }
.pv-url { margin-left: 6px; font-size: max(8px, 3.2cqw); font-weight: 600; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-app { flex: 1; display: grid; grid-template-columns: 24% 1fr; min-height: 0; }
.pv-side { background: var(--pine); display: flex; flex-direction: column; gap: 7%; padding: 14% 16%; }
.pv-side i { color: var(--marigold); font-size: max(12px, 6cqw); margin-bottom: 10%; }
.pv-side b { display: block; height: max(3px, 1.4cqw); border-radius: 2px; background: rgba(255,255,255,.28); }
.pv-side b:nth-child(3) { background: rgba(255,255,255,.6); width: 80%; }
.pv-main { padding: 7% 8%; display: flex; flex-direction: column; gap: 7%; min-width: 0; }
.pv-title { font-size: max(10px, 5.4cqw); font-weight: 800; color: var(--forest); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.pv-kpis b { height: max(14px, 8cqw); border-radius: 3px; background: var(--pine-50); border: 1px solid var(--line); }
.pv-kpis b.hi { background: var(--marigold); border-color: var(--marigold); opacity: .85; }
.pv-rows { display: flex; flex-direction: column; gap: max(4px, 2.4cqw); }
.pv-rows b { height: max(3px, 1.6cqw); border-radius: 2px; background: var(--line); }
.pv-rows b:nth-child(2) { width: 82%; } .pv-rows b:nth-child(3) { width: 64%; } .pv-rows b:nth-child(4) { width: 74%; }
.product-media .pv-generic + * { display: none; }

/* ---------- Facts strip (home) ----------------------------------------- */
.facts { border-bottom: 1px solid var(--line); background: var(--snow); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; align-items: center; gap: 16px; padding: 28px 28px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts li:last-child { padding-right: 0; }
.fact-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius); background: var(--pine); color: var(--marigold); display: grid; place-items: center; font-size: 1.05rem; }
.fact-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact-txt strong { font-size: .98rem; font-weight: 700; color: var(--forest); line-height: 1.3; }
.fact-txt span { font-size: .84rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Hardware / software split (home) --------------------------- */
.offer-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.offer { padding: 44px; display: flex; flex-direction: column; }
.offer h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.offer > p { color: var(--text-muted); margin-bottom: 28px; max-width: 46ch; }
.offer--dark { background: var(--forest); color: rgba(255,255,255,.78); }
.offer--dark h2, .offer--dark h3 { color: var(--snow); }
.offer--dark > p { color: rgba(255,255,255,.7); }
.offer-group + .offer-group { margin-top: 26px; }
.offer-group h3 { font-size: .95rem; margin: 0 0 10px; display: flex; gap: .55rem; align-items: center; }
.offer-group h3 i { color: var(--marigold); }
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offer--dark .offer-list { border-color: rgba(255,255,255,.14); }
.offer-list li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--forest); font-weight: 600; font-size: .95rem; }
.offer--dark .offer-list li a { color: var(--snow); border-color: rgba(255,255,255,.14); }
.offer-list li a:hover { color: var(--pine); }
.offer--dark .offer-list li a:hover { color: var(--marigold); }
.offer-list li a i { font-size: .75rem; opacity: .5; transition: transform .15s; }
.offer-list li a:hover i { transform: translateX(3px); opacity: 1; }
.offer-list li a .ic i, .offer-list li a:hover .ic i { opacity: 1; transform: none; font-size: .8rem; }
.offer-list small { font-weight: 500; color: var(--text-soft); margin-left: .5rem; }
.offer--dark .offer-list small { color: rgba(255,255,255,.5); }
.offer-list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.offer-list--cols li a .ic { width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--pine-100); color: var(--pine); display: inline-grid; place-items: center; font-size: .78rem; margin-right: .7rem; flex-shrink: 0; opacity: 1; transform: none; }
.offer-list--cols li a .lbl { display: flex; align-items: center; flex: 1; min-width: 0; }
.offer-foot { margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.offer--dark .offer-foot .btn-outline { background: transparent; border-color: rgba(255,255,255,.35); color: var(--snow); }
.offer--dark .offer-foot .btn-outline:hover { border-color: var(--snow); }

/* ---------- Article layout with contents list -------------------------- */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.article-layout--single { grid-template-columns: minmax(0, 1fr); }
.article-layout--single .article-aside { display: none; }
.article-aside { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.article-aside-inner { display: grid; gap: 28px; }
.article-body { max-width: 760px; }
.article-body .prose h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.toc { position: relative; background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 14px 12px; box-shadow: 0 1px 2px rgba(18,48,31,.04); }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; margin-bottom: 12px; }
.toc-title { margin: 0; font-size: .95rem; font-weight: 800; color: var(--forest); }
.toc-pct { font-size: .72rem; font-weight: 700; color: var(--pine); background: var(--pine-100); padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.toc-progress { height: 4px; margin: 0 8px 12px; background: var(--pine-50); border-radius: 4px; overflow: hidden; }
.toc-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pine), var(--marigold)); border-radius: 4px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li a { display: flex; gap: 12px; align-items: baseline; padding: 9px 10px; border-radius: var(--radius); font-size: .88rem; font-weight: 600; color: var(--text-muted); line-height: 1.35; transition: background .15s, color .15s; }
.toc li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex-shrink: 0; min-width: 20px; font-size: .72rem; font-weight: 800; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.toc li a:hover { background: var(--pine-50); color: var(--forest); }
.toc li a.is-done { color: var(--forest); }
.toc li a.is-done::before { content: "\2713"; color: var(--pine); }
.toc li a.is-active { background: var(--pine); color: var(--snow); }
.toc li a.is-active::before { color: var(--marigold); }

.contact-mini { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius-lg); background: var(--forest); color: rgba(255,255,255,.75); display: grid; gap: 10px; isolation: isolate; }
.contact-mini::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--marigold); }
.contact-mini::after { content: ""; position: absolute; right: -28px; top: 18px; width: 150px; height: 78px; background: url('../images/logo-mark-light.png') no-repeat right top / contain; opacity: .09; z-index: -1; }
.contact-mini-kicker { font-size: .74rem; font-weight: 700; color: var(--marigold); }
.contact-mini-title { margin: -4px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--snow); letter-spacing: -.01em; }
.contact-mini-text { margin: 0 0 2px; font-size: .86rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.contact-mini-phone { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--snow); font-size: 1.02rem; white-space: nowrap; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.contact-mini-phone:hover { color: var(--marigold); }
.contact-mini-phone .ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--marigold); font-size: .8rem; }

.contact-mini-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.cm-ic { aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--snow); font-size: 1.05rem; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.cm-ic:hover { background: rgba(255,255,255,.16); color: var(--snow); transform: translateY(-2px); }
.cm-ic--wa { background: #1FAF54; border-color: #1FAF54; }
.cm-ic--wa:hover { background: #18934A; }
.cm-ic--primary { background: var(--marigold); border-color: var(--marigold); color: var(--forest); }
.cm-ic--primary:hover { background: var(--marigold-600); color: var(--forest); }

/* ---------- Category page product band -------------------------------- */
.cat-products { padding: 64px 0 80px; }
.cat-products .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cat-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-switch a { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .86rem; font-weight: 600; color: var(--forest); background: var(--snow); }
.cat-switch a:hover, .cat-switch a.is-current { border-color: var(--pine); color: var(--pine); }
.cat-switch a.is-current { background: var(--pine-50); }

@media (max-width: 1140px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .article-aside { order: 2; position: static; max-height: none; overflow: visible; padding-right: 0; }
    .article-aside-inner { grid-template-columns: 1fr; }
    .article-aside .toc { display: none; }
    .offer-split { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .facts ul { grid-template-columns: 1fr 1fr; }
    .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .facts li:nth-child(even) { padding-right: 0; }
    .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .facts ul { grid-template-columns: 1fr; }
    .facts li, .facts li:nth-child(even) { padding: 18px 0; border-left: 0; }
    .facts li + li { border-top: 1px solid var(--line); }
    .fact-ic { width: 40px; height: 40px; font-size: .95rem; }
    .offer { padding: 28px 22px; }
    .offer-list--cols { grid-template-columns: 1fr; }
    .page-hero::after { width: 240px; height: 120px; right: -30px; bottom: -24px; }
}

/* ---------- Product carousel (native scroll-snap) ---------------------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--marigold); outline-offset: 6px; }
.carousel-item { scroll-snap-align: start; min-width: 0; display: flex; }
.carousel-item .product-card { width: 100%; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--snow); color: var(--forest); cursor: pointer; transition: border-color .15s, color .15s, opacity .15s; }
.carousel-btn:hover:not(:disabled) { border-color: var(--pine); color: var(--pine); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-foot { display: flex; align-items: center; gap: 32px; margin-top: 32px; }
.carousel-progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.carousel-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--pine); transition: transform .2s var(--ease), width .2s; }
@media (max-width: 1140px) { .carousel { grid-auto-columns: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 860px)  { .carousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 560px)  { .carousel { grid-auto-columns: 82%; gap: 16px; } .carousel-nav { display: none; } }

/* ---------- Blog covers, lead card, related product ------------------ */
.bc { position: absolute; inset: 0; background: var(--forest); color: var(--snow); padding: 8% 8% 0; display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.bc--soft { background: var(--pine); }
.bc-cat { font-size: max(10px, 3.4cqw); font-weight: 700; color: var(--marigold); margin-bottom: 3%; }
.bc-title { font-size: max(14px, 6.2cqw); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; max-width: 88%; -webkit-line-clamp: 3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bc-route { position: absolute; left: 8%; right: 34%; bottom: 14%; height: 10px; background-image: radial-gradient(circle, rgba(255,255,255,.35) 2.2px, transparent 2.6px); background-size: 12px 10px; background-repeat: repeat-x; }
.post-media .bc-mark, .bc .bc-mark { position: absolute; right: 5%; bottom: 8%; width: 24%; height: auto; object-fit: contain; opacity: .9; transform: none; }
.post-card .bc, .post-card .post-media img { transition: transform .5s var(--ease); }
.post-card:hover .bc { transform: scale(1.02); }
.post-cat { display: inline-block; font-weight: 700; color: var(--pine); }
.page-hero-meta .post-cat { background: var(--pine-100); padding: 3px 10px; border-radius: 999px; font-size: .8rem; }
.post-card--lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.post-card--lead .post-media { aspect-ratio: 16 / 9; }
.post-card--lead .post-body { padding: 0; gap: 12px; }
.post-card--lead h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.post-card--lead p { font-size: 1rem; flex: 0; }
.related-product { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; margin-top: 16px; border: 1px solid var(--line); border-left: 4px solid var(--marigold); border-radius: var(--radius); background: var(--bg-alt); }
.related-product-media { container-type: inline-size; position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--pine-50); }
.related-product-media img { width: 100%; height: 100%; object-fit: cover; }
.related-product-kicker { font-size: .78rem; font-weight: 700; color: var(--pine); }
.related-product h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.related-product h3 a { color: var(--forest); }
.related-product p { color: var(--text-muted); font-size: .92rem; margin: 0 0 14px; }
@media (max-width: 920px) { .post-card--lead { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) { .related-product { grid-template-columns: 1fr; } }

/* Key takeaways box (articles) */
.prose .key-takeaways { margin: 0 0 2.2em; padding: 22px 26px; background: var(--pine-50); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: var(--radius); }
.prose .key-takeaways h2 { font-size: 1.1rem; margin: 0 0 .7em; }
.prose .key-takeaways ul { margin: 0; }
.prose .key-takeaways li { margin-bottom: .35em; }

/* ---------- Reveal (subtle) -------------------------------------------- */
.reveal { opacity: 0; transition: opacity .5s var(--ease); }
.reveal.visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } * { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1140px) {
    .nav, .header-phone { display: none; }
    .hamburger { display: inline-flex; }
    .header-cta { gap: 10px; }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .sticky, .cat-layout .intro, .faq-layout .intro { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
    .hero-panel { min-height: 300px; }
    .cat-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
    .process { grid-template-columns: 1fr 1fr; row-gap: 56px; }
    .process::before, .process::after { display: none; }
    .pd { grid-template-columns: 1fr; gap: 32px; }
    .cta-box { grid-template-columns: 1fr; padding: 56px 0; }
    .empty-state { grid-template-columns: auto minmax(0, 1fr); }
    .empty-state .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
    :root { --header-h: 68px; }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .brand img { height: 34px; }
    .topbar .hide-sm, .topbar-tag { display: none; }
    .header-cta .btn-primary, .header-search { display: none; }
    .site-header .container { gap: 12px; }
    .site-header nav { display: none; }
    .brand { min-width: 0; flex-shrink: 1; }
    .brand img { max-width: 100%; }
    .hero-search { flex-wrap: wrap; }
    .hero-search .btn { width: 100%; border-radius: 0 0 2px 2px; margin: 0 -1.5px -1.5px; width: calc(100% + 3px); }
    .hero-panel-foot { flex-direction: column; align-items: flex-start; }
    .process { grid-template-columns: 1fr; }
    .cat-row { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 14px; }
    .cat-row .count { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .search-form { flex-wrap: wrap; }
    .search-form .btn { width: calc(100% + 3px); border-radius: 0 0 2px 2px; margin: 0 -1.5px -1.5px; }
    .faq details > div { padding-right: 0; }
}
