/* base.css - design system for the storefront (Russian e-commerce style)
 * Palette per doc/framework §3.6:
 *   primary navy #1a2a4a / silver #c0c0c0 / cold gold #d4af37
 *   background #f5f5f5 / text #333333
 * Zero CDN: system font stack only, all icons are inline SVG in templates.
 */
:root {
    --color-primary: #1a2a4a;      /* deep navy - header, footer, headings */
    --color-primary-dark: #142138; /* topbar / footer darker shade */
    --color-primary-soft: #2a3f66; /* hover state on navy */
    --color-accent1: #c0c0c0;      /* silver - borders, muted surfaces */
    --color-accent2: #d4af37;      /* cold gold - CTA buttons, highlights */
    --color-accent2-dark: #b8952c; /* gold hover */
    --color-gold-deep: #8f731d;    /* price text (AA contrast on white) */
    --color-bg: #f5f5f5;           /* page background */
    --color-text: #333333;
    --color-muted: #777777;
    --color-line: #e3e6ea;         /* hairlines */
    --color-danger: #dc3545;
    --color-success: #28a745;
    --color-warning-bg: #fff3cd;
    --radius: 8px;
    --radius-sm: 5px;
    --shadow: 0 2px 10px rgba(20, 33, 56, 0.08);
    --shadow-hover: 0 8px 22px rgba(20, 33, 56, 0.14);
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PT Sans", sans-serif;
    line-height: 1.55;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-soft); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 15px;
}

/* =============================================================
   TOP BAR (navy strip): tagline left, contacts + lang right
   ============================================================= */
.topbar {
    background: var(--color-primary-dark);
    color: #cdd5e4;
    font-size: 0.82rem;
}
.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 36px;
    flex-wrap: wrap;
    padding-top: 4px;
    padding-bottom: 4px;
}
.topbar-note { letter-spacing: 0.02em; }
.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar-links a {
    color: #cdd5e4;
    text-decoration: none;
}
.topbar-links a:hover { color: #ffffff; }

/* language switch (used in topbar and collapsed menu) */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch a {
    padding: 2px 9px;
    border: 1px solid #3a4a6b;
    border-radius: 3px;
    font-size: 0.75rem;
    color: #cdd5e4;
    text-decoration: none;
    transition: all 0.2s;
}
.lang-switch a:hover,
.lang-switch a.active {
    background: var(--color-accent2);
    border-color: var(--color-accent2);
    color: var(--color-primary-dark);
    font-weight: 600;
}

/* =============================================================
   HEADER: logo / catalog button / big search / track link
   ============================================================= */
.header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(20, 33, 56, 0.06);
}
.header-in {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
    row-gap: 10px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo:hover { color: var(--color-primary-soft); }

/* catalog dropdown */
.catalog-wrap { position: relative; }
.catalog-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--color-primary);
    color: #ffffff;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 11px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.catalog-btn:hover,
.catalog-wrap.open .catalog-btn { background: var(--color-primary-soft); }
.catalog-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.catalog-btn .chev { width: 12px; height: 12px; margin-left: 2px; transition: transform 0.2s; }
.catalog-wrap.open .catalog-btn .chev { transform: rotate(180deg); }

.catalog-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(720px, calc(100vw - 30px));
    max-height: 72vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 18px 20px;
    z-index: 300;
    columns: 3;
    column-gap: 26px;
}
.catalog-wrap.open .catalog-panel { display: block; }
.catalog-col {
    break-inside: avoid;
    margin-bottom: 16px;
}
.catalog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.93rem;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--color-accent2);
}
.catalog-top:hover { color: var(--color-primary-soft); }
.catalog-col ul { list-style: none; }
.catalog-col ul a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.85rem;
    color: #4a5568;
    text-decoration: none;
}
.catalog-col ul a:hover { color: var(--color-primary); }
.cnt {
    color: var(--color-muted);
    font-size: 0.75rem;
    background: #f0f2f5;
    border-radius: 8px;
    padding: 0 7px;
    line-height: 1.5;
    flex-shrink: 0;
}
.cnt-hot {
    background: var(--color-warning-bg);
    color: #7a5c00;
    font-weight: 600;
}

/* header search */
.header-search { flex: 1 1 260px; display: flex; min-width: 200px; }
.header-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 2px solid var(--color-primary);
    border-right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.92rem;
    outline: none;
    background: #fff;
}
.header-search input:focus { border-color: var(--color-primary-soft); }
.header-search button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    background: var(--color-accent2);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-accent2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s;
}
.header-search button:hover { background: var(--color-accent2-dark); border-color: var(--color-accent2-dark); }
.header-search button svg { width: 16px; height: 16px; }

/* legacy search-form (kept for pages still using it) */
.search-form { display: flex; align-items: center; }
.search-form input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 0.85rem;
    width: 160px;
    outline: none;
}
.search-form input:focus { border-color: var(--color-primary); }
.search-form button {
    padding: 6px 12px;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 0.85rem;
}

/* =============================================================
   MAIN NAV ROW: text links, collapses to hamburger < 1200px
   ============================================================= */
.mainnav {
    background: #ffffff;
    border-bottom: 1px solid var(--color-line);
}
.mainnav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 8px;
}
.navbar-menu {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}
.navbar-menu a {
    display: block;
    padding: 10px 12px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.navbar-menu a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent2);
}
.navbar-menu a.active {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom-color: var(--color-accent2);
}

/* hamburger button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* =============================================================
   MAIN CONTENT
   ============================================================= */
.main-content {
    padding: 24px 0 40px;
    min-height: calc(100vh - 320px);
}

.section-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent2);
    display: inline-block;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}
.section-head .section-title { margin-bottom: 0; }
.section-link { font-size: 0.9rem; text-decoration: none; white-space: nowrap; }

/* =============================================================
   HERO (homepage)
   ============================================================= */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #24365c 100%);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 46px 44px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    pointer-events: none;
}
.hero-kicker {
    display: inline-block;
    color: var(--color-accent2);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    max-width: 21em;
    margin-bottom: 12px;
}
.hero p {
    color: #c9d3e6;
    max-width: 46em;
    margin-bottom: 22px;
    font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
    background: var(--color-accent2);
    color: var(--color-primary-dark);
}
.btn-gold:hover { background: var(--color-accent2-dark); color: var(--color-primary-dark); }
.btn-navy {
    background: var(--color-primary);
    color: #ffffff;
}
.btn-navy:hover { background: var(--color-primary-soft); color: #ffffff; }
.btn-ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #ffffff; color: #ffffff; }
.btn-outline {
    background: #ffffff;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #ffffff; }

/* =============================================================
   TRUST BAND
   ============================================================= */
.trust-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: 0.9rem;
    color: #4a5568;
}
.trust-item svg {
    width: 26px;
    height: 26px;
    color: var(--color-accent2-dark);
    flex-shrink: 0;
}
.trust-item strong { color: var(--color-primary); display: block; font-size: 0.92rem; }

/* =============================================================
   CATEGORY TILES (homepage + category page subcats)
   ============================================================= */
.cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.cat-tile {
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 18px 18px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent1);
}
.cat-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.cat-tile-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.02rem;
}
.cat-tile:hover .cat-tile-name { color: var(--color-primary-soft); }
.cat-tile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cat-chip {
    font-size: 0.78rem;
    color: #4a5568;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 3px 10px;
    text-decoration: none;
    white-space: nowrap;
}
.cat-chip:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}
.cat-chip:hover .cnt { background: rgba(255, 255, 255, 0.2); color: #fff; }
.cat-tile-more { font-size: 0.82rem; color: var(--color-accent2-dark); font-weight: 600; }

/* subcategory chips row on category page */
.subcats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.subcats-bar .cat-chip { font-size: 0.85rem; padding: 5px 13px; background: #ffffff; }

/* =============================================================
   PRODUCT CARDS
   ============================================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.product-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f0f0f0;
}
.product-card-body {
    padding: 13px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.product-card-title {
    font-size: 0.94rem;
    font-weight: 500;
    margin: 0;
    height: 2.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card-title a {
    color: var(--color-text);
    text-decoration: none;
}
.product-card-title a:hover { color: var(--color-primary); }
.product-card-price {
    margin-top: auto;
    color: var(--color-gold-deep);
    font-size: 1.18rem;
    font-weight: 700;
}
.product-card-price--req {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.product-card-meta {
    font-size: 0.8rem;
    color: #9aa2ae;
}
.product-card-code {
    font-size: 0.78rem;
    color: #9aa2ae;
    letter-spacing: 0.03em;
}

/* =============================================================
   PAGINATION
   ============================================================= */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}
.pagination a, .pagination span {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    font-weight: 600;
}

/* =============================================================
   BREADCRUMB
   ============================================================= */
.breadcrumb {
    font-size: 0.84rem;
    color: #9aa2ae;
    margin-bottom: 16px;
    padding: 0;
}
.breadcrumb a { color: #6b7482; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 7px; color: #c4cad2; }

/* =============================================================
   BADGES / EMPTY STATE / PROMO (shared, kept names)
   ============================================================= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1.5;
}
.badge-blue   { background: #d1ecf1; color: #0c5460; }
.badge-green  { background: #d4edda; color: #155724; }
.badge-gold   { background: #fff3cd; color: #856404; }
.badge-red    { background: #f8d7da; color: #721c24; }
.badge-gray   { background: #e9ecef; color: #495057; }

.empty-state {
    text-align: center;
    color: #9aa2ae;
    padding: 50px 15px;
}

.promo-box {
    margin: 16px 0;
    padding: 14px 16px;
    background: #fff8f0;
    border-left: 4px solid var(--color-accent2);
    border-radius: 4px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #4a3a22;
    max-width: 72ch;
    white-space: pre-line;
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
    background: var(--color-primary-dark);
    color: #b9c2d4;
    padding: 38px 0 26px;
    margin-top: 50px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 26px;
}
.footer h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.footer-brand .logo { color: #ffffff; margin-bottom: 10px; }
.footer p { margin-bottom: 8px; }
.footer a { color: #b9c2d4; text-decoration: none; }
.footer a:hover { color: var(--color-accent2); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 7px; }
.footer-bottom {
    border-top: 1px solid #2a3a5c;
    padding-top: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #8592ab;
}
.footer-bottom a { color: #8592ab; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
/* Breakpoint stays at 1200px: the desktop header row (logo + catalog
   + search + track + nav links) needs about that much width. Everything
   below collapses into stacked rows and hamburger menus. Never split
   nav styles between here and an inline style block: inline <style>
   comes after this <link> in the document, so it would win the cascade
   and silently kill the hamburger (that bug happened before). */
@media (max-width: 1200px) {
    .nav-toggle { display: flex; }
    .mainnav .container { justify-content: flex-start; }
    .navbar-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px 0;
        border-top: 1px solid var(--color-line);
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu a {
        padding: 11px 10px;
        border-bottom: 0;
        border-left: 3px solid transparent;
    }
    .navbar-menu a:hover,
    .navbar-menu a.active { border-left-color: var(--color-accent2); border-bottom-color: transparent; }
    .mainnav .lang-switch { padding: 8px 10px; }
    .mainnav .search-form { padding: 8px 10px; }
    .mainnav .search-form input { flex: 1; width: auto; }
}

@media (max-width: 768px) {
    .topbar-note { display: none; }
    .topbar-in { justify-content: center; }
    .header-in { gap: 12px; }
    .logo { font-size: 1.1rem; margin-right: auto; }
    .catalog-btn { padding: 9px 14px; font-size: 0.88rem; }
    .catalog-btn .catalog-btn-label { display: none; }
    .catalog-panel {
        position: static;
        width: 100%;
        max-height: none;
        columns: 1;
        box-shadow: none;
        border: 0;
        border-top: 1px solid var(--color-line);
        border-radius: 0;
        padding: 12px 2px;
    }
    /* on mobile the panel pushes content down: make it part of the header flow */
    .catalog-wrap { flex: 1 1 100%; order: 3; }
    .header-search { order: 4; flex-basis: 100%; }
    .catalog-wrap.open { flex: 1 1 100%; }
    .hero { padding: 30px 22px; }
    .hero h1 { font-size: 1.35rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-img { height: 150px; }
    .product-card-body { padding: 10px 11px 12px; }
    .product-card-title { font-size: 0.84rem; }
    .product-card-price { font-size: 1.02rem; }
    .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-tile { padding: 13px 13px 10px; }
    .trust-band { grid-template-columns: 1fr 1fr; gap: 8px; }
    .trust-item { padding: 10px 12px; font-size: 0.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .main-content { padding: 16px 0 30px; }
}

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

@media (max-width: 400px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .trust-band { grid-template-columns: 1fr; }
}

/* =============================================================
   STATIC PAGES (about / contact / support / privacy / shipping / terms / returns)
   ============================================================= */
.page-head {
    margin-bottom: 28px;
}
.page-head h1 {
    font-size: 1.7rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.page-sub {
    color: var(--color-muted);
    font-size: 1rem;
    max-width: 52em;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}
.info-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.info-card h2 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin: 14px 0 10px;
}
.info-card h3 {
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0 0 8px;
}
.info-card p {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.65;
}
.info-card a {
    color: var(--color-primary);
    text-decoration: none;
}
.info-card a:hover { color: var(--color-primary-soft); }
.info-card-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent2-dark);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-card-icon svg { width: 22px; height: 22px; }

.info-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-line);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.info-footer .btn { text-decoration: none; }

.about-body {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 24px;
    max-width: 720px;
}
.about-body > p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* contact page: left info cards, right form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.contact-form-inner .form-row {
    margin-bottom: 14px;
}
.contact-form-inner label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 5px;
}
.contact-form-inner input,
.contact-form-inner textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.contact-form-inner input:focus,
.contact-form-inner textarea:focus {
    border-color: var(--color-primary);
}
.contact-form-inner textarea {
    resize: vertical;
    min-height: 100px;
}

/* returns policy body (rendered from admin settings) */
.policy-body {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.7;
}
.policy-body p { margin-bottom: 10px; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 1.4rem; }
    .info-cards { grid-template-columns: 1fr; }
    .about-body { padding: 20px; }
}

/* =============================================================
   ACCESSIBILITY
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
