/* ============================================================
   Shared site layout - header, footer, floating contact
   Used on every public page (index / tires / wheels / shock / brake / other)
   ============================================================ */
:root {
    --bg: #050810;
    --bg-2: #0a1730;
    --panel: #0d1a33;
    --line: rgba(77, 163, 255, 0.18);
    --blue: #2f7cff;
    --blue-soft: #4da3ff;
    --gold: #f5c518;
    --text: #eaf3ff;
    --muted: #9aaccc;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Prompt', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------------- Top bar ---------------- */
.topbar {
    background: #02040a;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
}
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-contact a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.topbar-contact a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 10px; }

/* language switch + staff buttons now sit inside the top bar */
.topbar .lang-switch,
.topbar .staff-corner {
    position: static;
    top: auto; left: auto; right: auto;
}
.topbar .lang-btn { padding: 5px 12px; }
.topbar .staff-btn { padding: 5px 12px; font-size: 11px; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(5, 8, 16, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
}
.logo {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}
.logo .b { color: var(--gold); }
.logo .t { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgba(77, 163, 255, 0.12); color: var(--blue-soft); }
.main-nav a.active { color: var(--gold); }
.main-nav .menu-soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 12px;
}

/* "Products ▾" dropdown in the top bar (js/layout.js) */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    white-space: nowrap;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.nav-dropdown-btn:hover, .nav-dropdown.open .nav-dropdown-btn { background: rgba(77, 163, 255, 0.12); color: var(--blue-soft); }
.nav-dropdown-btn.active { color: var(--gold); }
.nav-caret { font-size: 12px; transition: transform .2s; }
.nav-dropdown.open .nav-caret, .nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    padding: 8px;
    background: #050810;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 50;
}
/* invisible bridge so the menu stays open while the mouse moves down to it */
.nav-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: flex; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 197, 24, 0.3); }

.site-header .container { position: relative; }
.header-left { display: flex; align-items: center; gap: 12px; }
/* ☰ only on phones / tablets, where the top bar links don't fit.
   Three drawn bars that turn into an ✕ while the menu is open. */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text);
    width: 44px; height: 44px;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .2s, color .2s, background .2s;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); background: rgba(245, 197, 24, 0.08); }
.menu-bars { position: relative; width: 20px; height: 14px; }
.menu-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 6px; }
.menu-bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ☰ menu (phones / iPad): opens full width under the header and dims the page behind it */
.site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #070d1c;
    border-top: 1px solid var(--line);
    /* dims only the page below the menu, not the header above it */
    box-shadow: 0 100vmax 0 100vmax rgba(0, 0, 0, 0.6);
    animation: site-menu-in .2s ease;
}
@keyframes site-menu-in {
    from { opacity: 0; transform: translateY(-8px); }
}
.site-menu[hidden] { display: none; }
.site-menu-inner { max-width: 620px; margin: 0 auto; padding: 8px 16px 24px; }
.site-menu-nav > a, .site-menu-nav > .menu-soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.site-menu-nav > a::after { content: '›'; color: var(--muted); font-size: 22px; line-height: 1; }
.site-menu-nav > a:hover, .site-menu-nav > a:hover::after { color: var(--gold); }
.site-menu-nav > a.active { color: var(--gold); }
.site-menu-nav > a.active::after { color: var(--gold); }
.site-menu-products { padding: 14px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-menu-heading {
    display: block;
    margin: 0 0 10px 6px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
}
.site-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    transition: border-color .2s, background .2s;
}
/* 5 categories: the odd one out takes the full row */
.menu-tile:last-child:nth-child(odd) { grid-column: span 2; }
.menu-tile:hover, .menu-tile.active { border-color: var(--gold); background: rgba(245, 197, 24, 0.08); }
.menu-tile.active { color: var(--gold); }
.menu-tile-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.12);
    font-size: 18px;
}
.site-menu-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.site-menu-cta .contact-btn { justify-content: center; padding: 13px 12px; }
.menu-soon { color: var(--muted) !important; cursor: default; }
.menu-soon small {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 197, 24, 0.15);
    color: var(--gold);
}
.site-menu-nav { display: flex; flex-direction: column; }

@media (max-width: 1240px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 600px) {
    .header-cta { display: none; }
}
@media (max-width: 600px) {
    .topbar-contact .hide-sm { display: none; }
    .topbar .container { flex-wrap: wrap; row-gap: 4px; padding-top: 4px; padding-bottom: 4px; }
    .topbar .lang-btn { padding: 5px 9px; }
    .topbar .staff-btn { padding: 5px 9px; }
    .logo { font-size: 22px; }
}

/* ---------------- Page heading (category pages) ---------------- */
.page-hero {
    background:
        linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 100%),
        url('../Photo Somza/Somza5.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--line);
    padding: 48px 0;
}
.page-hero .page-title {
    margin: 0;
    text-align: left;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: #fff;
    text-shadow: none;
}
body[data-page="tires"] .page-hero {
    background:
        linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 100%),
        url('../Photo Somza/Somza2.jpg') center/cover no-repeat;
}
body[data-page="shock"] .page-hero {
    background:
        linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 100%),
        url('../Photo Somza/Somza3.jpg') center/cover no-repeat;
}
body[data-page="other"] .page-hero {
    background:
        linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 100%),
        url('../Photo Somza/Somza8.jpg') center/cover no-repeat;
}
body[data-page="brake"] .page-hero {
    background:
        linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 100%),
        url('../Photo Somza/Somza4.jpg') center/cover no-repeat;
}
.page-sub { margin: 8px 0 0; color: #cfdcf3; font-size: 16px; max-width: 560px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------------- Shop page: category chips + search/sort ---------------- */
.shop { padding-top: 28px; }
.cat-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
    scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
/* phones: wrap onto a second row instead of hiding chips past the screen edge */
@media (max-width: 600px) {
    .cat-chips { flex-wrap: wrap; overflow-x: visible; gap: 8px; }
    .cat-chip { padding: 8px 16px; font-size: 14px; }
}
.cat-chip {
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: border-color .2s, color .2s;
}
.cat-chip:hover { border-color: rgba(245, 197, 24, 0.45); color: var(--gold); }
.cat-chip.active { background: var(--gold); border-color: var(--gold); color: #111; }

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.shop-search {
    flex: 1 1 260px;
    position: relative;
}
.shop-search::before {
    content: '🔍';
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: .6;
    pointer-events: none;
}
.shop-search input {
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(77, 163, 255, 0.25);
    background: #070d1c;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.shop-search input { padding-left: 42px; }
.shop-search input::placeholder { color: #5f7396; }
.shop-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15); }
.shop-count { color: var(--muted); font-size: 14px; white-space: nowrap; margin-left: auto; }
@media (max-width: 560px) {
    .shop-toolbar { padding: 12px; gap: 10px; }
    .shop-search { flex: 1 1 0; min-width: 0; }
}

/* ---------------- Shop page: filter sidebar (shock.html) ---------------- */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.shop-filters {
    position: sticky;
    top: 90px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.filter-head h2 { margin: 0; font-size: 18px; }
.filter-clear { border: none; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.filter-clear:hover { color: var(--gold); }
.filter-group { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
    cursor: pointer;
}
.filter-option input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.filter-option:hover span:first-of-type { color: var(--gold); }
.filter-count { margin-left: auto; color: var(--muted); font-size: 13px; }
.price-range { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.price-range input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(77, 163, 255, 0.25);
    background: #070d1c;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.price-range input:focus { border-color: var(--gold); }
.filter-toggle {
    display: none;
    margin-bottom: 14px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.filter-toggle::before { content: '⚙ '; }
@media (max-width: 860px) {
    .shop-layout { grid-template-columns: minmax(0, 1fr); }
    .filter-toggle { display: inline-block; }
    .shop-filters { display: none; position: static; }
    .shop-filters.open { display: block; }
}

/* ---------------- Portfolio page ---------------- */
button.cat-chip { font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.pf-count { font-size: 12px; opacity: .7; margin-left: 4px; }
.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding-bottom: 40px;
}
.pf-card {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.pf-card video, .pf-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #000;
}
.pf-photo { position: relative; display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; overflow: hidden; }
.pf-photo img, .pf-photo video { transition: transform .3s; }
.pf-photo:hover img, .pf-photo:hover video { transform: scale(1.04); }
.pf-photo video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #000; pointer-events: none; }
.pf-badges { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.pf-badges span {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}
.pf-play {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 22px;
    line-height: 54px;
    text-align: center;
}
.pf-caption { padding: 10px 14px; font-weight: 600; font-size: 15px; }
@media (max-width: 560px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pf-caption { padding: 8px 10px; font-size: 13px; }
}

/* ---------------- Contact page ---------------- */
.contact-page { padding-top: 32px; padding-bottom: 48px; }
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.contact-card {
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.contact-icon { font-size: 28px; margin-bottom: 8px; }
.contact-card h3 { margin: 0 0 12px; font-size: 18px; }
.contact-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-body p { margin: 0; color: var(--muted); line-height: 1.6; }
.contact-body .contact-hours { color: var(--text); font-size: 20px; font-weight: 700; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}
.store-badge:empty { display: none; }
.store-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.store-badge.open { background: rgba(6, 199, 85, 0.15); color: #2ee07a; }
.store-badge.open::before { box-shadow: 0 0 0 3px rgba(46, 224, 122, 0.25); }
.store-badge.closed { background: rgba(255, 82, 82, 0.15); color: #ff7a7a; }
.contact-body > a:not(.contact-btn) { color: var(--text); text-decoration: none; font-size: 20px; font-weight: 700; }
.contact-body > a:not(.contact-btn):hover { color: var(--gold); }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s;
}
.contact-btn:hover { transform: translateY(-2px); }
/* in the narrow cards, buttons fill the card width and may wrap (e.g. "Chat on Messenger" in English) */
.contact-body .contact-btn {
    align-self: stretch;
    justify-content: center;
    text-align: center;
    white-space: normal;
}
.contact-btn.gold { background: var(--gold); color: #111; }
.contact-btn.line { background: #06c755; color: #fff; }
.contact-btn.outline { border: 1px solid var(--line); color: var(--text); }
.contact-btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.contact-btn.messenger { background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280 90%, #ff7061); color: #fff; }
.contact-social { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-social img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.contact-map h2 { margin: 0 0 14px; font-size: 24px; }
.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: block;
}
@media (max-width: 600px) {
    .contact-map iframe { height: 320px; }
}

/* ---------------- Footer ---------------- */
.site-footer {
    background: #02040a;
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding: 48px 0 0;
    color: var(--muted);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-social a img {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: block;
    transition: transform .2s;
}
.footer-social a:hover img { transform: translateY(-3px); }
.footer-bottom {
    margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------------- Floating contact buttons ---------------- */
body.menu-open .float-contact { display: none; }
.float-contact {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-contact a {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    transition: transform .2s;
}
.float-contact a:hover { transform: scale(1.08); }
.float-contact img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-contact .fc-messenger {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280 90%, #ff7061);
}
.float-contact .fc-messenger svg { width: 60%; height: 60%; }

/* ---------------- "Why us" cards (home page, /about) ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
}
.why-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(245, 197, 24, 0.12);
    font-size: 26px;
    margin-bottom: 14px;
}
.why-card h3 { margin: 0 0 6px; font-size: 18px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------------- About page ---------------- */
.about-page { padding-top: 48px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 56px; }
.about-h2 { margin: 0 0 18px; font-size: clamp(22px, 3vw, 28px); }
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.about-intro h2 { margin: 0 0 14px; font-size: clamp(24px, 3.5vw, 32px); }
.about-intro p { margin: 0 0 14px; color: #cfdcf3; line-height: 1.75; }
.about-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.about-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.about-visit-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
}
.about-visit-card p { margin: 0 0 14px; line-height: 1.7; }
.about-visit-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.about-visit-btns .contact-btn { white-space: normal; text-align: center; justify-content: center; }
.contact-btn.outline { border: 1px solid var(--line); color: var(--text); }
.contact-btn.outline:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 800px) {
    .about-intro { grid-template-columns: 1fr; }
    .about-intro img { order: -1; }
}
@media (max-width: 480px) {
    .about-visit-btns .contact-btn { flex: 1 1 100%; }
}

/* ---------------- Blog page (no posts yet) ---------------- */
.blog-empty {
    max-width: 640px;
    margin: 56px auto 24px;
    padding: 36px 24px;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.blog-empty-icon { font-size: 44px; }
.blog-empty h2 { margin: 10px 0 8px; font-size: 22px; }
.blog-empty p { margin: 0 0 20px; color: var(--muted); line-height: 1.7; }
.blog-empty .contact-social { justify-content: center; }

/* ---------------- Promotions / blog posts (js/posts.js) ---------------- */
.posts-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 28px; }
.posts-list:empty { display: none; }
.post-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}
.post-cover {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #070d1c;
    cursor: zoom-in;
}
.post-cover img { width: 100%; max-height: 560px; object-fit: contain; display: block; }
.post-content { padding: 20px 24px 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 14px; }
.post-until {
    color: var(--gold);
    font-weight: 600;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.35);
    padding: 2px 10px;
    border-radius: 999px;
}
.post-content h2 { margin: 10px 0 10px; font-size: clamp(20px, 3vw, 26px); line-height: 1.35; overflow-wrap: anywhere; }
.post-text { margin: 0; color: #cfdcf3; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.post-photos-hint { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 480px) {
    .posts-list { margin-top: 24px; gap: 20px; }
    .post-content { padding: 16px 16px 20px; }
}

/* ---------------- Blog: card grid + article page (js/posts.js) ---------------- */
.blog-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-grid:empty { display: none; }
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .2s, border-color .2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.blog-card-img { aspect-ratio: 16 / 10; background: #070d1c; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img span { font-size: 44px; opacity: .6; }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body time { color: var(--muted); font-size: 13px; }
.blog-card-body h2 {
    margin: 6px 0 8px; font-size: 19px; line-height: 1.4; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-body p {
    margin: 0 0 14px; color: #cfdcf3; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-more { margin-top: auto; color: var(--gold); font-weight: 600; font-size: 14px; }

.blog-article-wrap { max-width: 760px; margin: 28px auto 0; }
.blog-back { display: inline-block; margin-bottom: 16px; color: var(--gold); font-weight: 600; text-decoration: none; }
.blog-back:hover { text-decoration: underline; }
.blog-article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.blog-article h1 { margin: 10px 0 14px; font-size: clamp(24px, 4vw, 32px); line-height: 1.35; overflow-wrap: anywhere; }
.blog-photos { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.blog-photos button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #070d1c; cursor: zoom-in; aspect-ratio: 1; }
.blog-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cta {
    margin-top: 28px; padding: 24px; border-radius: 18px;
    background: linear-gradient(120deg, #0b3d91 0%, #1f5fcf 60%, #2f7cff 100%);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.blog-cta h2 { margin: 0 0 4px; font-size: 21px; }
.blog-cta p { margin: 0; color: #dbe8ff; }
.blog-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-cta-btns a { padding: 11px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.blog-cta-call { background: var(--gold); color: #111; }
.blog-cta-line { background: #06c755; color: #fff; }
@media (max-width: 480px) {
    .blog-grid { margin-top: 24px; gap: 18px; }
    .blog-photos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .blog-cta { padding: 20px 16px; }
}
