/* =========================================================================
   Shimei Water — Main Stylesheet
   Palette: Engineer Blue + Clean White
   ========================================================================= */

:root {
    /* Brand */
    --c-primary:        #1F77B4;
    --c-primary-dark:   #1F4E79;
    --c-primary-darker: #163960;
    --c-accent-bg:      #EAF3FA;
    --c-accent-bg-2:    #F5FAFD;

    /* Neutrals */
    --c-white:    #FFFFFF;
    --c-off:      #F8FAFC;
    --c-text:     #1A2332;
    --c-body:     #374151;
    --c-muted:    #6B7280;
    --c-border:   #E5E7EB;
    --c-border-2: #F1F5F9;

    /* States */
    --c-price:     #C00000;
    --c-wa:        #25D366;
    --c-wa-dark:   #1DA851;
    --c-success:   #10B981;
    --c-error:     #DC2626;

    /* Spacing */
    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
    --sp-9: 96px;

    /* Sizing */
    --container:  1200px;
    --container-narrow: 880px;
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
    --shadow:    0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.06);
    --shadow-lg: 0 10px 25px -5px rgba(15,23,42,.10), 0 8px 10px -6px rgba(15,23,42,.06);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--c-body);
    background: var(--c-white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--sp-4);
    color: var(--c-text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 var(--sp-4); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-5); }
.section { padding: var(--sp-8) 0; }
.section--tight { padding: var(--sp-7) 0; }
.section--bg { background: var(--c-off); }
.section--accent { background: var(--c-accent-bg-2); }
.section--primary { background: var(--c-primary); color: var(--c-white); }
.section--primary h1, .section--primary h2, .section--primary h3 { color: var(--c-white); }
.section__intro { max-width: 760px; margin: 0 auto var(--sp-7); text-align: center; }
.section__intro h2 { margin-bottom: var(--sp-3); }
.section__intro p { color: var(--c-muted); font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all .15s ease;
    line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn--primary {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: var(--c-white); }
.btn--secondary {
    background: var(--c-white);
    color: var(--c-primary);
    border-color: var(--c-primary);
}
.btn--secondary:hover { background: var(--c-accent-bg); color: var(--c-primary-darker); }
.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--c-white); border-color: var(--c-white); }
.btn--large { padding: 18px 32px; font-size: 1.0625rem; }

/* ---------- Site header / nav ---------- */
.site-header {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: var(--sp-5);
}
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.site-brand__logo img { max-height: 56px; width: auto; }
.site-brand__name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--c-primary-dark);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.site-brand__tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--c-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: var(--sp-5); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-5); }
.primary-nav a {
    color: var(--c-text);
    font-weight: 500;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.primary-nav a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); text-decoration: none; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--c-primary); border-bottom-color: var(--c-primary); }

/* Sub-menus (dropdowns) */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a { padding-right: 20px; }
.primary-nav .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 4px; top: 50%;
    width: 6px; height: 6px;
    margin-top: -5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
    transition: transform .2s;
    pointer-events: none;
}
.primary-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: calc(100% + 4px);
    left: -12px;
    min-width: 220px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.primary-nav .sub-menu li { width: 100%; }
.primary-nav .sub-menu a {
    display: block;
    padding: 10px 18px;
    border-bottom: 0;
    color: var(--c-text);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
}
.primary-nav .sub-menu a:hover {
    background: var(--c-accent-bg);
    color: var(--c-primary-dark);
    border-bottom-color: transparent;
}
.primary-nav .sub-menu .current-menu-item > a { color: var(--c-primary); background: var(--c-accent-bg); border-bottom-color: transparent; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
}
.menu-toggle__bar { display: block; width: 22px; height: 2px; background: var(--c-text); margin: 4px 0; transition: all .2s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    margin-top: 10px;
    padding: var(--sp-9) 0 var(--sp-8);
    background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, #2a8ec5 100%);
    color: var(--c-white);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 50%);
    pointer-events: none;
}
.hero--with-image {
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(31,78,121,.85);
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,.15);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: var(--sp-4);
    font-weight: 600;
}
.hero h1 { color: var(--c-white); margin-bottom: var(--sp-4); }
.hero__sub { font-size: 1.1875rem; line-height: 1.55; color: rgba(255,255,255,.92); max-width: 680px; margin-bottom: var(--sp-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__support {
    margin-top: var(--sp-5);
    font-size: 0.9375rem;
    color: rgba(255,255,255,.8);
}

/* Page hero (smaller, used on inner pages) */
.page-hero {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    color: var(--c-white);
    padding: var(--sp-7) 0 var(--sp-6);
}
.page-hero h1 { color: var(--c-white); margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.125rem; max-width: 760px; }

/* ---------- Category overview grid (homepage) ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.cat-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-primary); }
.cat-card__icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: var(--c-accent-bg);
    color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-4);
}
.cat-card__icon svg { width: 32px; height: 32px; }
.cat-card h3 { margin-bottom: var(--sp-3); }
.cat-card p { color: var(--c-body); margin-bottom: var(--sp-4); }
.cat-card ul {
    list-style: none; padding: 0; margin: 0 0 var(--sp-5);
    flex-grow: 1;
}
.cat-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    color: var(--c-body);
    font-size: 0.9375rem;
}
.cat-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 14px; height: 14px;
    background: var(--c-accent-bg);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='%231F77B4' d='m5.5 9.5 4-4-1-1-3 3-1.5-1.5-1 1z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}
.cat-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature grid (Why Choose) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
.feature {
    text-align: left;
    padding: var(--sp-5);
}
.feature__icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    background: var(--c-accent-bg);
    color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-3);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.feature p { color: var(--c-muted); font-size: 0.9375rem; margin: 0; }

/* ---------- How It Works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    counter-reset: step;
}
.step { counter-increment: step; position: relative; padding-top: 60px; }
.step::before {
    content: counter(step);
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    background: var(--c-primary);
    color: var(--c-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.0625rem;
}
.step h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); margin-top: 0; }
.step p { color: var(--c-muted); font-size: 0.9375rem; margin: 0; }

/* ---------- CTA strip ---------- */
.cta-strip {
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    color: var(--c-white);
    padding: var(--sp-7) 0;
    text-align: center;
}
.cta-strip h2 { color: var(--c-white); margin-bottom: var(--sp-3); }
.cta-strip p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto var(--sp-5); font-size: 1.0625rem; }
.cta-strip__buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* ---------- Product cards ---------- */
.products { display: grid; gap: var(--sp-7); }
.product {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--sp-6);
    align-items: flex-start;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
}
.product__media .product-image {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-off);
    padding: 16px;            /* breathing room around contained image */
    display: flex;
    align-items: center;
    justify-content: center;
}
.product__media .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* show the WHOLE product — no cropping */
}
.product-image.is-placeholder {
    border: 2px dashed var(--c-border);
    background: var(--c-accent-bg-2);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: var(--sp-4);
}
.placeholder-inner { color: var(--c-muted); }
.placeholder-icon { color: var(--c-primary); opacity: 0.5; display: inline-flex; margin-bottom: 8px; }
.placeholder-label {
    display: block;
    font-weight: 600;
    color: var(--c-text);
    font-size: 0.875rem;
    margin-bottom: 4px;
}
.placeholder-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--c-muted);
    line-height: 1.4;
}

.product__name { margin: 0 0 var(--sp-2); }
.product__headline { font-size: 1.0625rem; font-weight: 600; color: var(--c-primary-dark); margin: 0 0 var(--sp-3); }
.product__copy { color: var(--c-body); margin-bottom: var(--sp-3); }
.product__bestfor { margin-bottom: var(--sp-3); color: var(--c-body); }
.product__features { padding: 0 0 0 1.25em; margin: 0 0 var(--sp-4); color: var(--c-body); }
.product__features li { margin-bottom: 6px; }
.product__features li::marker { color: var(--c-primary); }

.product__buy {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
    background: var(--c-accent-bg-2);
    border-radius: var(--radius);
    padding: var(--sp-4);
    margin-top: var(--sp-3);
}
.product__price { line-height: 1.15; }
.product__price-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    font-weight: 600;
    margin-bottom: 2px;
}
.product__price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-price);
    letter-spacing: -0.01em;
}

/* Multi-config product */
.product__configs { margin-top: var(--sp-3); }
.product__configs-title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}
.config-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.config-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: var(--sp-4);
    padding: 12px 16px;
    background: var(--c-accent-bg-2);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
}
.config-row__capacity { font-weight: 700; color: var(--c-text); }
.config-row__price { font-weight: 800; color: var(--c-price); font-size: 1.0625rem; }

.product__extras {
    margin-top: var(--sp-4);
    padding: 12px 16px;
    background: #FFF7E6;
    border-left: 3px solid #E0A82E;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--c-body);
}

/* ---------- WhatsApp button ---------- */
.wa-button {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-wa);
    color: var(--c-white) !important;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: background .15s, transform .15s;
    font-size: 0.9375rem;
}
.wa-button:hover { background: var(--c-wa-dark); text-decoration: none; transform: translateY(-1px); color: var(--c-white) !important; }
.wa-button .wa-icon { width: 18px; height: 18px; }
.wa-button--compact { padding: 10px 14px; font-size: 0.875rem; }

/* ---------- Refill extras feature box ---------- */
.refill-extras {
    background: var(--c-accent-bg);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    border-left: 4px solid var(--c-primary);
}
.refill-extras h2 { margin-bottom: var(--sp-3); color: var(--c-primary-darker); }
.refill-extras > p { color: var(--c-body); margin-bottom: var(--sp-4); }
.refill-extras ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-3); }
.refill-extras ul li {
    background: var(--c-white);
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border-2);
    color: var(--c-text);
    font-weight: 500;
    display: flex; gap: 10px; align-items: flex-start;
}
.refill-extras ul li::before {
    content: "✓";
    color: var(--c-success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---------- RO vs UF explainer ---------- */
.ro-vs-uf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin-bottom: var(--sp-7);
}
.ro-vs-uf__card {
    background: var(--c-accent-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: var(--sp-5);
    border-left: 4px solid var(--c-primary);
}
.ro-vs-uf__card h3 { color: var(--c-primary-dark); font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.ro-vs-uf__card p { margin: 0; color: var(--c-body); }

/* ---------- Spares catalog ---------- */
.spares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.spares-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: var(--sp-5);
}
.spares-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--c-accent-bg);
    color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-3);
}
.spares-card h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.spares-card p { color: var(--c-muted); font-size: 0.9375rem; margin-bottom: var(--sp-3); }
.spares-card ul { padding: 0 0 0 1.25em; margin: 0; color: var(--c-body); font-size: 0.9375rem; }
.spares-card ul li { margin-bottom: 6px; }
.spares-card ul li::marker { color: var(--c-primary); }

/* ---------- Contact form ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--sp-7);
    align-items: start;
}
.quote-form { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--sp-6); }
.quote-form h2 { margin-top: 0; }
.quote-form .intro { color: var(--c-muted); margin-bottom: var(--sp-5); }
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-weight: 600; color: var(--c-text); font-size: 0.9375rem; }
.form-row .req { color: var(--c-error); }
.form-row .help { color: var(--c-muted); font-size: 0.8125rem; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--c-text);
    background: var(--c-white);
    transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(31,119,180,.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.shimei-hp { position: absolute; left: -9999px; }
.form-submit { margin-top: var(--sp-4); display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.form-note { color: var(--c-muted); font-size: 0.875rem; margin: var(--sp-3) 0 0; }
.form-message { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: var(--sp-5); font-weight: 500; }
.form-message--success { background: #ECFDF5; border: 1px solid #10B981; color: #065F46; }
.form-message--error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.form-message--info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A; }

.contact-info { background: var(--c-accent-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--sp-6); }
.contact-info h3 { margin-top: 0; }
.contact-info dl { margin: 0; }
.contact-info dt { font-weight: 700; color: var(--c-text); margin-top: var(--sp-3); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info dd { margin: 4px 0 0; color: var(--c-body); }
.contact-info a { color: var(--c-primary); }
.contact-info .wa-button { margin-top: var(--sp-4); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: var(--sp-3);
    overflow: hidden;
}
.faq-item__q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    color: var(--c-text);
    font-size: 1.0625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-3);
    line-height: 1.4;
}
.faq-item__q:hover { background: var(--c-accent-bg-2); }
.faq-item__q::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--c-primary);
    transition: transform .2s;
}
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    color: var(--c-body);
}
.faq-item__a-inner { padding: 0 20px 20px; }
.faq-item.is-open .faq-item__a { max-height: 600px; }

/* ---------- About page ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
}
.story-grid h2 { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin-top: var(--sp-5); }
.value { padding: var(--sp-4); background: var(--c-off); border-radius: var(--radius); border-left: 3px solid var(--c-primary); }
.value strong { display: block; color: var(--c-text); margin-bottom: 4px; }
.value p { margin: 0; color: var(--c-body); font-size: 0.9375rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: #0F2742;
    color: rgba(255,255,255,.78);
    padding: var(--sp-8) 0 var(--sp-5);
    margin-top: var(--sp-8);
}
.site-footer a { color: rgba(255,255,255,.92); }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer h4 { color: var(--c-white); margin-bottom: var(--sp-3); font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.footer-brand .site-brand__name { color: var(--c-white); }
.footer-brand p { margin-top: var(--sp-3); color: rgba(255,255,255,.7); font-size: 0.9375rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; font-size: 0.9375rem; }
.footer-grid dl { margin: 0; }
.footer-grid dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.55); margin-top: 12px; }
.footer-grid dd { margin: 2px 0 0; font-size: 0.9375rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: var(--sp-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
    font-size: 0.875rem;
    color: rgba(255,255,255,.5);
}

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: var(--sp-9) 0; }
.not-found h1 { font-size: 5rem; color: var(--c-primary); margin-bottom: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.125rem; color: var(--c-body); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .spares-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .product { grid-template-columns: 1fr; }
    .product__media .product-image { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 720px) {
    .menu-toggle { display: inline-flex; flex-direction: column; }
    .primary-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--c-white);
        border-top: 1px solid var(--c-border);
        border-bottom: 1px solid var(--c-border);
        padding: var(--sp-3);
        display: none;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--c-border-2); }

    /* Sub-menus on mobile: inline accordion */
    .primary-nav .menu-item-has-children > a { padding-right: 36px; }
    .primary-nav .menu-item-has-children > a::after {
        right: 14px;
        margin-top: -3px;
    }
    .primary-nav .menu-item-has-children.is-open > a::after { transform: rotate(225deg); margin-top: 1px; }
    .primary-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: var(--c-accent-bg-2);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        min-width: 0;
        left: auto;
    }
    .primary-nav .menu-item-has-children.is-open > .sub-menu { max-height: 800px; }
    .primary-nav .sub-menu a {
        padding: 10px 28px;
        border-bottom: 1px solid var(--c-border-2);
        white-space: normal;
    }
    .header-cta { display: none; }
    .hero { padding: var(--sp-7) 0 var(--sp-6); }
    .hero__sub { font-size: 1.0625rem; }
    .section { padding: var(--sp-7) 0; }
    .form-grid { grid-template-columns: 1fr; }
    .ro-vs-uf { grid-template-columns: 1fr; }
    .feature-grid, .steps, .values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .config-row { grid-template-columns: 1fr; text-align: left; }
    .config-row__price { font-size: 1.25rem; }
}
