/* Machinery Invest — Premium Industrial Theme */

:root {
    --ink: #030712;
    --steel-950: #07111f;
    --steel-900: #0c1a2e;
    --steel-800: #132743;
    --steel-700: #1e3a5f;
    --steel-500: #64748b;
    --steel-300: #94a3b8;
    --steel-100: #e2e8f0;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --surface-muted: #eef3f9;
    --text: #0f172a;
    --text-soft: #334155;
    --muted: #64748b;
    --copper: #ea580c;
    --copper-dark: #c2410c;
    --amber: #fbbf24;
    --amber-soft: #fef3c7;
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.16);
    --shadow-sm: 0 8px 24px rgba(3, 7, 18, 0.06);
    --shadow: 0 20px 50px rgba(3, 7, 18, 0.12);
    --shadow-lg: 0 30px 70px rgba(3, 7, 18, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --header-h: 78px;
    --font-body: "IBM Plex Sans", system-ui, sans-serif;
    --font-display: "Syne", "IBM Plex Sans", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hero-image: linear-gradient(135deg, #07111f 0%, #132743 40%, #1a3352 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface-soft);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1280px, calc(100% - 2.5rem));
    margin: 0 auto;
}

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

/* ——— Topbar ——— */
.topbar {
    background: var(--ink);
    color: var(--steel-300);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap;
}

.topbar-contacts { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.topbar-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    color: #cbd5e1; transition: color 0.2s var(--ease);
}
.topbar-link:hover { color: #fff; }

.topbar-hours { color: var(--steel-500); }

/* ——— Header ——— */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: all 0.25s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255,255,255,0.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: var(--header-h);
}

.brand {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.05rem; color: var(--steel-900); flex-shrink: 0;
}

.site-logo, .footer-logo { max-height: 44px; width: auto; }

.brand-mark {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--steel-900), var(--steel-700));
    color: #fff; font-size: 0.82rem; letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(12,26,46,0.35);
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 0 0.5rem;
    overflow: hidden;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    max-width: 100%;
}

.header-nav__list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.header-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.58rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-soft);
    white-space: nowrap;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.header-nav__link:hover {
    color: var(--steel-900);
    background: rgba(12, 26, 46, 0.05);
    text-decoration: none;
}

.header-nav__link.is-active {
    color: var(--steel-900);
    background: rgba(234, 88, 12, 0.1);
    box-shadow: inset 0 -2px 0 var(--copper);
}

.header-nav__more {
    position: relative;
    flex-shrink: 0;
}

.header-nav__more-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.48rem 0.72rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-soft);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.header-nav__more-trigger:hover,
.header-nav__more.is-open .header-nav__more-trigger,
.header-nav__more.is-active .header-nav__more-trigger {
    color: var(--steel-900);
    background: rgba(12, 26, 46, 0.05);
}

.header-nav__more.is-active .header-nav__more-trigger {
    background: rgba(234, 88, 12, 0.1);
    box-shadow: inset 0 -2px 0 var(--copper);
}

.header-nav__more-chevron {
    display: grid;
    place-items: center;
    transition: transform 0.2s var(--ease);
}

.header-nav__more.is-open .header-nav__more-chevron { transform: rotate(180deg); }

.header-nav__more-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    z-index: 130;
    min-width: 188px;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(3, 7, 18, 0.12);
}

html[dir="rtl"] .header-nav__more-menu {
    right: auto;
    left: 0;
}

.header-nav__more-menu[hidden] { display: none; }

.header-nav__more-item {
    display: block;
    padding: 0.62rem 0.75rem;
    border-radius: 8px;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.header-nav__more-item:hover {
    background: var(--surface-muted);
    color: var(--steel-900);
    text-decoration: none;
}

.header-nav__more-item.is-active {
    background: rgba(234, 88, 12, 0.1);
    color: var(--steel-900);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-menu__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.92rem;
}

.mobile-nav-menu__link:hover {
    background: var(--surface-muted);
    color: var(--steel-900);
    text-decoration: none;
}

.mobile-nav-menu__link.is-active {
    border: 1px solid var(--border);
    background: rgba(234, 88, 12, 0.08);
    color: var(--steel-900);
}

.nav-link__icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: rgba(12, 26, 46, 0.07);
    position: relative;
    flex-shrink: 0;
    transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav-link__icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    background: var(--steel-800);
    opacity: 0.9;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.nav-link.is-active .nav-link__icon {
    background: linear-gradient(145deg, var(--copper), #f97316);
    transform: scale(1.02);
}

.nav-link.is-active .nav-link__icon::after { background: #fff; }

.nav-link__icon--machines::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 7h16v2H4V7Zm0 4h10v2H4v-2Zm0 4h16v2H4v-2Z'/%3E%3C/svg%3E"); }
.nav-link__icon--grid::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E"); }
.nav-link__icon--layers::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 10 5-10 5L2 7l10-5Zm0 7 10 5-10 5-10-5 10-5Zm0 7 10 5-10 5-10-5 10-5Z'/%3E%3C/svg%3E"); }
.nav-link__icon--blog::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h9l3 3v15H6V3Zm2 2v14h10V8h-4V4H8Zm2 2h4v2h-4V7Zm0 4h8v2h-8v-2Zm0 4h8v2h-8v-2Z'/%3E%3C/svg%3E"); }
.nav-link__icon--calendar::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2v2H5a2 2 0 0 0-2 2v1h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7Zm16 8H5v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10Z'/%3E%3C/svg%3E"); }
.nav-link__icon--board::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a1 1 0 0 1 1 1v3H3V6a1 1 0 0 1 1-1Zm-1 6h18v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8Z'/%3E%3C/svg%3E"); }
.nav-link__icon--building::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 21V3h10v18H4Zm12 0V9h4v12h-4ZM8 7h2v2H8V7Zm0 4h2v2H8v-2Zm0 4h2v2H8v-2Z'/%3E%3C/svg%3E"); }
.nav-link__icon--menu::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v2H4V6Zm0 5h16v2H4v-2Zm0 5h16v2H4v-2Z'/%3E%3C/svg%3E"); }

.nav-link__text { line-height: 1.1; }

.header-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.header-auth { display: flex; align-items: center; gap: 0.45rem; }
@media (max-width: 1180px) {
    .brand-text { display: none; }
}

.account-menu {
    position: relative;
    flex-shrink: 0;
}

.account-menu__trigger {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 50%;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--steel-900);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.account-menu__trigger:hover,
.account-menu.is-open .account-menu__trigger {
    border-color: var(--steel-700);
    box-shadow: 0 6px 16px rgba(12, 26, 46, 0.1);
}

.account-menu__avatar { display: grid; place-items: center; }

.account-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 130;
    min-width: 210px;
    padding: 0.45rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(3, 7, 18, 0.14);
}

html[dir="rtl"] .account-menu__dropdown { right: auto; left: 0; }
.account-menu__dropdown[hidden] { display: none; }

.account-menu__head {
    padding: 0.45rem 0.7rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.account-menu__item {
    display: block;
    padding: 0.62rem 0.75rem;
    border-radius: 8px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.account-menu__item:hover,
.account-menu__item.is-active {
    background: rgba(234, 88, 12, 0.08);
    color: var(--steel-900);
    text-decoration: none;
}

.account-menu__logout {
    margin: 0.2rem 0 0;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
}

.account-menu__logout button {
    width: 100%;
    padding: 0.62rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #b42318;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.account-menu__logout button:hover { background: rgba(180, 35, 24, 0.08); }

.mobile-account-menu {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.mobile-account-menu__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.mobile-account-menu__link,
.mobile-account-menu__logout {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    background: transparent;
    color: var(--steel-900);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.mobile-account-menu__logout { color: #b42318; }

.member-layout {
    display: grid;
    gap: 1.25rem;
    max-width: 880px;
}

.member-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.member-nav__link {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

.member-nav__link.is-active,
.member-nav__link:hover {
    border-color: var(--copper);
    background: rgba(234, 88, 12, 0.08);
    color: var(--steel-900);
    text-decoration: none;
}

.member-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.member-form .form-label {
    display: block;
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-soft);
}

.member-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
}

.member-form .btn { margin-top: 1.25rem; }

.member-listings { display: grid; gap: 0.85rem; }

.member-listing-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.member-listing-item__thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.member-listing-item__thumb--empty {
    display: grid;
    place-items: center;
    background: var(--surface-muted);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.member-listing-item__category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-listing-item h3 {
    margin: 0.2rem 0;
    font-size: 1rem;
}

.category-showcase--page {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.desktop-only-lang { display: block; }
.mobile-only-lang { display: none; }

.lang-dropdown {
    position: relative;
    flex-shrink: 0;
}

.lang-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.35rem 0.65rem 0.35rem 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--steel-900);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.lang-dropdown__trigger:hover {
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 6px 16px rgba(12, 26, 46, 0.08);
}

.lang-dropdown.is-open .lang-dropdown__trigger {
    border-color: var(--steel-700);
    box-shadow: 0 8px 20px rgba(12, 26, 46, 0.12);
}

.lang-dropdown__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(12, 26, 46, 0.06);
    color: var(--steel-800);
}

.lang-dropdown__chevron {
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: transform 0.2s var(--ease);
}

.lang-dropdown.is-open .lang-dropdown__chevron { transform: rotate(180deg); }

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 130;
    min-width: 196px;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(3, 7, 18, 0.14);
}

html[dir="rtl"] .lang-dropdown__menu {
    right: auto;
    left: 0;
}

.lang-dropdown__menu[hidden] { display: none; }

.lang-dropdown__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 0.88rem;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.lang-dropdown__item:hover {
    background: var(--surface-muted);
    color: var(--steel-900);
    text-decoration: none;
}

.lang-dropdown__item.is-active {
    background: rgba(234, 88, 12, 0.08);
    color: var(--steel-900);
}

.lang-dropdown__item-code {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    padding: 0 0.35rem;
    border-radius: 8px;
    background: rgba(12, 26, 46, 0.06);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.lang-dropdown__item.is-active .lang-dropdown__item-code {
    background: linear-gradient(145deg, var(--copper), #f97316);
    color: #fff;
}

.lang-dropdown__item-name {
    font-weight: 600;
    white-space: nowrap;
}

.lang-dropdown__check {
    color: var(--copper);
}

.mobile-lang-picker {
    padding: 1rem 0 0.85rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.mobile-lang-picker__label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.mobile-lang-picker__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.mobile-lang-picker__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-muted);
    color: var(--text-soft);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.mobile-lang-picker__item:hover {
    border-color: var(--border-strong);
    color: var(--steel-900);
    text-decoration: none;
}

.mobile-lang-picker__item.is-active {
    border-color: var(--copper);
    background: rgba(234, 88, 12, 0.08);
    color: var(--steel-900);
}

.mobile-lang-picker__code {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.mobile-lang-picker__name {
    font-size: 0.82rem;
    font-weight: 600;
}

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--border-strong); border-radius: 12px;
    background: #fff; cursor: pointer;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px; margin: 0 auto;
    background: var(--steel-900); border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.25s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed; inset: 0; background: rgba(3,7,18,0.55);
    opacity: 0; visibility: hidden; transition: all 0.25s var(--ease); z-index: 110;
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }

.mobile-nav {
    position: fixed; top: 0; right: 0; width: min(360px, 90vw);
    height: 100dvh; max-height: 100vh;
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform 0.3s var(--ease);
    z-index: 120; display: flex; flex-direction: column;
    padding: 0; overflow: hidden;
}
html[dir="rtl"] .mobile-nav { right: auto; left: 0; transform: translateX(-105%); }
.mobile-nav.is-open, html[dir="rtl"] .mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    width: 40px; height: 40px; border: none; border-radius: 10px;
    background: var(--surface-muted); font-size: 1.5rem; cursor: pointer;
}
.mobile-nav-body {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 0.85rem 1.25rem 1.25rem;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-auth {
    display: flex; flex-direction: column; gap: 0.65rem;
    padding-top: 1rem; margin-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.desktop-only { display: flex; }

/* ——— Buttons ——— */
.btn, button.btn, a.btn, input[type="submit"].btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.72rem 1.45rem; border-radius: 50rem;
    border: 1px solid transparent; font-family: inherit;
    font-weight: 600; font-size: 0.9rem; line-height: 1.25;
    cursor: pointer; white-space: nowrap;
    transition: all 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.btn-primary {
    background: linear-gradient(135deg, var(--steel-900), var(--steel-700));
    color: #fff; box-shadow: 0 8px 22px rgba(12,26,46,0.28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(12,26,46,0.34); }

.btn-outline {
    border-color: var(--border-strong); background: #fff; color: var(--text-soft);
}
.btn-outline:hover { border-color: var(--steel-700); color: var(--steel-900); }

.btn-accent {
    background: linear-gradient(135deg, var(--copper), #f97316);
    color: #fff; box-shadow: 0 8px 24px rgba(234,88,12,0.32);
}
.btn-accent:hover { background: linear-gradient(135deg, var(--copper-dark), var(--copper)); color: #fff; }

.btn-glass {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35);
    color: #fff; backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.18); border-color: #fff; color: #fff; }

.btn-whatsapp { background: #16a34a; color: #fff; box-shadow: 0 8px 22px rgba(22,163,74,0.28); }
.btn-whatsapp:hover { background: #15803d; color: #fff; }

.btn-sm { padding: 0.48rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.95rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ——— Cinematic Hero ——— */
.hero-cinematic {
    position: relative; min-height: clamp(620px, 88vh, 860px);
    display: flex; align-items: center; overflow: hidden; color: #fff;
    background: var(--steel-950);
}

.hero-cinematic::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--hero-image);
    background-size: cover; background-position: center;
    transform: scale(1.04);
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

.hero-cinematic__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(105deg, rgba(3,7,18,0.92) 0%, rgba(3,7,18,0.72) 42%, rgba(3,7,18,0.35) 100%),
        linear-gradient(180deg, transparent 60%, rgba(3,7,18,0.85) 100%);
}

.hero-cinematic__grid {
    position: absolute; inset: 0; opacity: 0.35;
    background-image: url("/images/theme/industrial-grid.svg");
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}

.hero-cinematic__glow {
    position: absolute; width: 520px; height: 520px; border-radius: 50%;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(234,88,12,0.28) 0%, transparent 68%);
    filter: blur(10px); pointer-events: none;
}

.hero-cinematic__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem; align-items: center; padding: 4rem 0 5rem;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.45rem 0.9rem 0.45rem 0.65rem;
    border-radius: 50rem; border: 1px solid rgba(251,191,36,0.35);
    background: rgba(251,191,36,0.1); color: var(--amber);
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.hero-badge__dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
    box-shadow: 0 0 12px rgba(251,191,36,0.8);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-cinematic h1 {
    color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    margin: 0 0 1.1rem; max-width: 14ch;
}

.hero-lead {
    margin: 0; max-width: 34rem; color: #cbd5e1;
    font-size: clamp(1rem, 1.8vw, 1.15rem); line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-search-card {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.75rem; color: var(--text);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.hero-search-card__head h2 {
    margin: 0 0 0.35rem; font-size: 1.35rem;
}

.hero-search-card__head p {
    margin: 0 0 1.25rem; color: var(--muted); font-size: 0.92rem;
}

.field-label {
    display: block; font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-soft); margin-bottom: 0.45rem;
}

.field-with-icon {
    position: relative; margin-bottom: 1rem;
}

.field-with-icon svg {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none;
}

.field-with-icon input {
    width: 100%; padding: 0.95rem 1rem 0.95rem 2.75rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    font: inherit; background: var(--surface-soft);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-with-icon input:focus {
    outline: none; border-color: var(--steel-700);
    box-shadow: 0 0 0 4px rgba(30,58,95,0.12); background: #fff;
}

.hero-quick-links {
    display: flex; flex-wrap: wrap; gap: 0.65rem 1rem;
    margin-top: 1.15rem; padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.hero-quick-links a {
    font-size: 0.85rem; font-weight: 600; color: var(--steel-700);
}
.hero-quick-links a:hover { color: var(--copper); }

/* ——— Stats ribbon ——— */
.stats-ribbon {
    position: relative; z-index: 5; margin-top: -3.5rem;
    padding-bottom: 1rem;
}

.stats-ribbon__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
    overflow: hidden;
}

.stat-item {
    padding: 1.75rem 1.5rem; text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-item strong {
    display: block; font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--copper);
    line-height: 1; margin-bottom: 0.45rem;
}

.stat-item span { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ——— Sections ——— */
.site-main { min-height: 50vh; }

.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }

.section-dark {
    background:
        radial-gradient(circle at 10% 20%, rgba(234,88,12,0.08), transparent 35%),
        linear-gradient(180deg, var(--steel-950) 0%, var(--steel-900) 100%);
    color: #e2e8f0;
}

.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-kicker { color: var(--amber); border-color: rgba(251,191,36,0.35); background: rgba(251,191,36,0.08); }
.section-dark .section-intro p { color: #94a3b8; }

.section-surface { background: var(--surface-muted); }
.section-muted { background: linear-gradient(180deg, #fff, var(--surface-soft)); }
.section-pillars { background: #fff; }

.section-intro { margin-bottom: 2.5rem; max-width: 720px; }
.section-intro--center { margin-inline: auto; text-align: center; }
.section-intro--row {
    display: flex; align-items: end; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap; max-width: none;
}
.section-intro--spaced { margin-top: 3.5rem; }

.section-intro h2 {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section-intro p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.section-kicker {
    display: inline-block; padding: 0.35rem 0.75rem;
    border-radius: 50rem; border: 1px solid var(--border-strong);
    background: var(--surface-soft); color: var(--copper);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}

.section-kicker--light {
    color: var(--amber); border-color: rgba(251,191,36,0.35);
    background: rgba(251,191,36,0.1);
}

.section-head {
    display: flex; justify-content: space-between; align-items: end;
    gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.section-head p { margin: 0.35rem 0 0; color: var(--muted); }
.section-head > a {
    display: inline-flex; padding: 0.55rem 1.15rem; border-radius: 50rem;
    font-weight: 600; font-size: 0.85rem; border: 1px solid var(--border-strong);
    color: var(--steel-900); background: #fff; box-shadow: var(--shadow-sm);
    transition: all 0.2s var(--ease);
}
.section-head > a:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }

/* ——— Pillars ——— */
.pillar-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}

.pillar-card {
    padding: 1.75rem; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--surface-soft);
    transition: all 0.25s var(--ease);
}

.pillar-card:hover {
    transform: translateY(-6px); background: #fff;
    box-shadow: var(--shadow); border-color: transparent;
}

.pillar-icon {
    width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1.25rem;
    background: linear-gradient(145deg, var(--steel-900), var(--steel-700));
    position: relative; box-shadow: 0 10px 24px rgba(12,26,46,0.22);
}

.pillar-icon::after {
    content: ""; position: absolute; inset: 14px;
    background: #fff; opacity: 0.92;
    mask-size: contain; mask-repeat: no-repeat; mask-position: center;
}

.pillar-icon--globe::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.93 9h-3.18a15.7 15.7 0 0 0-1.2-5.02A8.03 8.03 0 0 1 19.93 11ZM12 4c.95 1.6 1.62 3.56 1.9 5.58H10.1C10.38 7.56 11.05 5.6 12 4ZM8.45 4.98A15.7 15.7 0 0 0 7.25 11H4.07a8.03 8.03 0 0 1 4.38-6.02ZM4.07 13h3.18c.28 2.02.95 3.98 1.9 5.58-1.6-.95-2.9-2.35-3.78-4.02A15.7 15.7 0 0 0 7.25 13Zm3.65 0h3.8c-.28 2.02-.95 3.98-1.9 5.58-.95-1.6-1.62-3.56-1.9-5.58Zm5.9 0h3.8c-.28 2.02-.95 3.98-1.9 5.58-.95-1.6-1.62-3.56-1.9-5.58h-3.8c.28 2.02.95 3.98 1.9 5.58.95-1.6 1.62-3.56 1.9-5.58Zm1.9 7.42c.95-1.6 1.62-3.56 1.9-5.58h3.18a8.03 8.03 0 0 1-4.38 6.02 15.7 15.7 0 0 0-1.7-5.58Z'/%3E%3C/svg%3E"); }
.pillar-icon--shield::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm0 2.18 6 2.25v4.66c0 3.95-2.63 7.6-6 8.68-3.37-1.08-6-4.73-6-8.68V6.43l6-2.25Z'/%3E%3C/svg%3E"); }
.pillar-icon--chart::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M3 17h2v4H3v-4Zm4-6h2v10H7V11Zm4-4h2v14h-2V7Zm4 3h2v11h-2V10Zm4-5h2v16h-2V5Z'/%3E%3C/svg%3E"); }
.pillar-icon--history::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 9.95 11h-2.03A8 8 0 1 1 12 4V1l4 4-4 4V6a6 6 0 1 0 6 6h2a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E"); }

.pillar-card h3 { margin: 0 0 0.65rem; font-size: 1.15rem; }
.pillar-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ——— Category showcase ——— */
.category-showcase {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.15rem;
}

.category-tile {
    position: relative; min-height: 220px; border-radius: var(--radius);
    overflow: hidden; display: block; border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.category-tile:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }

.category-tile__bg {
    position: absolute; inset: 0;
    background: linear-gradient(145deg, #1a3352, #0f2744);
    transition: transform 0.45s var(--ease);
}

.category-tile:nth-child(3n+1) .category-tile__bg { background: linear-gradient(145deg, #1e3a5f, #132743); }
.category-tile:nth-child(3n+2) .category-tile__bg { background: linear-gradient(145deg, #23466f, #1a3352); }
.category-tile:nth-child(3n+3) .category-tile__bg { background: linear-gradient(145deg, #2a5080, #1e3a5f); }

.category-tile:hover .category-tile__bg { transform: scale(1.06); }

.category-tile__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(3,7,18,0.88) 100%);
}

.category-tile__content {
    position: relative; z-index: 1; height: 100%;
    display: flex; flex-direction: column; justify-content: end;
    padding: 1.5rem;
}

.category-tile__count {
    display: inline-block; width: fit-content; margin-bottom: 0.65rem;
    padding: 0.25rem 0.65rem; border-radius: 50rem;
    background: rgba(234,88,12,0.2); color: #fdba74;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}

.category-tile h3 { margin: 0 0 0.35rem; color: #fff; font-size: 1.25rem; }
.category-tile p { margin: 0 0 0.75rem; color: #94a3b8; font-size: 0.88rem; }
.category-tile__link { color: var(--amber); font-weight: 700; font-size: 0.88rem; }

/* ——— Product cards ——— */
.product-showcase,
.product-grid,
.category-grid {
    display: grid; gap: 1.25rem;
}

.product-showcase,
.product-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.product-card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.28s var(--ease);
}

.product-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow);
    border-color: rgba(234,88,12,0.25);
}

.product-card__media {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #e2e8f0);
}

.product-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.08); }

.product-card__shade {
    position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(180deg, transparent, rgba(3,7,18,0.35));
    pointer-events: none;
}

.product-card__placeholder {
    display: grid; place-items: center; height: 100%;
    color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

.product-card__badge {
    position: absolute; top: 0.85rem; left: 0.85rem;
    padding: 0.35rem 0.75rem; border-radius: 50rem;
    background: linear-gradient(135deg, var(--copper), #f97316);
    color: #fff; font-size: 0.68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    box-shadow: 0 6px 16px rgba(234,88,12,0.35);
}

.product-card__body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }

.product-card__category {
    color: var(--copper); font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
}

.product-card__body h3 {
    margin: 0.4rem 0 0.65rem; font-size: 1.08rem; line-height: 1.35;
}

.product-card__meta {
    list-style: none; padding: 0; margin: 0 0 1rem;
    display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem;
    color: var(--muted); font-size: 0.84rem;
}

.product-card__footer {
    margin-top: auto; padding-top: 0.95rem; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}

.product-card__price {
    font-family: var(--font-display); font-size: 1.2rem; color: var(--steel-900);
}

.product-card__quote { color: var(--copper); font-family: var(--font-display); font-size: 1rem; }

.product-card__arrow {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--surface-soft); color: var(--steel-700);
    font-weight: 700; transition: all 0.2s var(--ease);
}

.product-card:hover .product-card__arrow {
    background: var(--copper); color: #fff; transform: translateX(3px);
}

/* Legacy aliases */
.badge-featured { /* uses product-card__badge in partial */ }
.text-accent { color: var(--copper); }

.section .breadcrumb {
    color: var(--muted);
    margin-bottom: 1rem;
}
.section .breadcrumb a:hover { color: var(--copper); }

/* ——— Brand panel ——— */
.section-brand { padding-top: 0; }

.brand-panel {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: calc(var(--radius) + 6px);
    background:
        radial-gradient(circle at 85% 15%, rgba(234,88,12,0.18), transparent 40%),
        linear-gradient(135deg, var(--steel-950), var(--steel-800));
    color: #e2e8f0; overflow: hidden; position: relative;
    box-shadow: var(--shadow-lg);
}

.brand-panel__copy h2 { color: #fff; margin: 0.5rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.brand-panel__copy p { margin: 0 0 1.75rem; color: #94a3b8; max-width: 36rem; font-size: 1.05rem; }
.brand-panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.brand-panel__visual {
    position: relative; min-height: 280px; display: grid; place-items: center;
}

.brand-orbit {
    position: absolute; width: 260px; height: 260px; border-radius: 50%;
    border: 1px dashed rgba(251,191,36,0.35);
    animation: spin 24s linear infinite;
}

.brand-orbit--inner {
    width: 180px; height: 180px; border-style: solid; border-color: rgba(234,88,12,0.35);
    animation-direction: reverse; animation-duration: 16s;
}

.brand-orbit::before {
    content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; border-radius: 50%; background: var(--amber);
    box-shadow: 0 0 16px rgba(251,191,36,0.8);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ——— Media cards ——— */
.media-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem;
}

.media-card {
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.25s var(--ease);
}

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

.media-card__image {
    display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-muted);
}

.media-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.media-card:hover .media-card__image img { transform: scale(1.06); }

.media-card__placeholder {
    display: grid; place-items: center; height: 100%;
    color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}

.media-card__body { padding: 1.25rem 1.35rem 1.4rem; }

.media-card__tag {
    display: inline-block; margin-bottom: 0.55rem;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--copper);
}

.media-card__body h3 { margin: 0 0 0.55rem; font-size: 1.12rem; }
.media-card__body h3 a { color: var(--steel-900); transition: color 0.2s var(--ease); }
.media-card__body h3 a:hover { color: var(--copper); }
.media-card__body p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.media-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; flex-wrap: wrap;
}
.media-card__footer time { color: var(--steel-500); font-size: 0.82rem; font-weight: 600; }
.media-card__link {
    font-size: 0.82rem; font-weight: 700; color: var(--copper);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.media-card__link:hover { color: var(--steel-900); }

/* ——— Journal (blog detail) ——— */
.journal { background: var(--surface-soft); }

.journal-progress {
    position: fixed; top: 0; left: 0; right: 0; z-index: 95;
    height: 3px; background: rgba(12, 26, 46, 0.08);
    pointer-events: none;
}
.journal-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--copper), var(--amber));
    transition: width 0.12s linear;
}

.journal-masthead {
    position: relative; overflow: hidden;
    padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 5vw, 4rem);
    color: #e2e8f0;
    background:
        radial-gradient(circle at 12% 0%, rgba(234, 88, 12, 0.22), transparent 38%),
        radial-gradient(circle at 88% 20%, rgba(251, 191, 36, 0.12), transparent 32%),
        linear-gradient(160deg, var(--ink) 0%, var(--steel-900) 55%, var(--steel-800) 100%);
}
.journal-masthead--cover { padding-bottom: clamp(3rem, 6vw, 5rem); }

.journal-masthead__texture {
    position: absolute; inset: 0; opacity: 0.22;
    background-image: url("/images/theme/industrial-grid.svg");
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}

.journal-masthead__container { position: relative; z-index: 1; }

.journal-masthead__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.journal-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.95rem 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc; font-size: 0.82rem; font-weight: 600;
    backdrop-filter: blur(8px);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.journal-back:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff; transform: translateX(-2px);
}

.journal-crumb {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem; color: rgba(226, 232, 240, 0.72);
}
.journal-crumb a:hover { color: #fff; }

.journal-masthead__body { max-width: 920px; }

.journal-eyebrow {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem 0.75rem;
    margin-bottom: 1.1rem;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: rgba(226, 232, 240, 0.82);
}
.journal-eyebrow__tag {
    padding: 0.28rem 0.7rem;
    border-radius: 50rem;
    background: rgba(234, 88, 12, 0.18);
    color: #fdba74;
}
.journal-eyebrow__dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.journal-masthead__title {
    margin: 0 0 1.15rem;
    font-size: clamp(2.15rem, 5.5vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}
.journal-masthead__deck {
    margin: 0; max-width: 42rem;
    font-size: clamp(1.05rem, 2.2vw, 1.28rem);
    line-height: 1.7; color: rgba(226, 232, 240, 0.88);
    font-weight: 400;
}

.journal-cover {
    margin: 0; position: relative; z-index: 2;
    margin-top: clamp(-3.5rem, -6vw, -2rem);
    padding-bottom: 0.5rem;
}
.journal-cover__frame {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: var(--steel-900);
}
.journal-cover__frame img {
    width: 100%; display: block;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.journal-sheet { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.journal-sheet--overlap { margin-top: -1.25rem; }

.journal-sheet__paper {
    max-width: 760px; margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.35rem, 4vw, 2.75rem);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
}

.journal-insight {
    margin: 0 0 2.25rem; padding: 1.35rem 1.5rem 1.35rem 1.65rem;
    border-left: 3px solid var(--copper);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background:
        linear-gradient(135deg, rgba(234, 88, 12, 0.07) 0%, rgba(234, 88, 12, 0.02) 100%),
        #fff;
}
.journal-insight__label {
    display: block; margin-bottom: 0.55rem;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--copper);
}
.journal-insight p {
    margin: 0; font-size: 1.02rem; line-height: 1.75;
    color: var(--steel-800); font-style: italic;
}

.journal-prose {
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.9;
    letter-spacing: 0.01em;
}
.journal-prose--dropcap > p:first-of-type::first-letter {
    float: left; margin: 0.12rem 0.55rem 0 0;
    font-family: var(--font-display);
    font-size: 3.6rem; line-height: 0.82;
    font-weight: 700; color: var(--steel-900);
}
.journal-prose h2 {
    margin-top: 2.5rem; padding-top: 0.5rem;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}
.journal-prose h3 { font-size: 1.28rem; margin-top: 2rem; }
.journal-prose p { margin-bottom: 1.35rem; }
.journal-prose img {
    width: 100%; margin: 2rem 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.journal-prose blockquote {
    margin: 2rem 0; padding: 1.35rem 1.5rem;
    border: none; border-left: none;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    font-size: 1.15rem; line-height: 1.7;
    color: var(--steel-800);
    position: relative;
}
.journal-prose blockquote::before {
    content: "\201C"; position: absolute; top: -0.15rem; left: 0.85rem;
    font-family: var(--font-display); font-size: 3rem; line-height: 1;
    color: rgba(234, 88, 12, 0.35);
}

.journal-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.25rem; flex-wrap: wrap;
    margin-top: 2.75rem; padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}
.journal-footer__label {
    display: block; margin-bottom: 0.55rem;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--muted);
}
.journal-share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.journal-share__btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--border-strong);
    border-radius: 50rem; background: var(--surface-soft);
    color: var(--steel-900); font: inherit; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s var(--ease);
}
.journal-share__btn:hover {
    border-color: var(--steel-700);
    background: #fff; transform: translateY(-1px);
}
.journal-footer__next {
    font-size: 0.88rem; font-weight: 700; color: var(--copper);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.journal-footer__next:hover { color: var(--steel-900); }

.journal-more {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(234, 88, 12, 0.12), transparent 42%),
        linear-gradient(180deg, var(--steel-950), var(--steel-900));
    color: #e2e8f0;
}
.journal-more__head { margin-bottom: 2rem; max-width: 36rem; }
.journal-more__head h2 { color: #fff; margin: 0.35rem 0 0; }
.journal-more__head .section-kicker { color: #fdba74; }

.journal-more__grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}

.journal-more-card {
    position: relative; min-height: 100%;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.journal-more-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}
.journal-more-card__index {
    position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
    font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55);
}
.journal-more-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.journal-more-card__media {
    aspect-ratio: 16 / 10; overflow: hidden; background: rgba(255, 255, 255, 0.06);
}
.journal-more-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.45s var(--ease);
}
.journal-more-card:hover .journal-more-card__media img { transform: scale(1.06); }
.journal-more-card__placeholder {
    display: grid; place-items: center; height: 100%;
    color: rgba(255, 255, 255, 0.45); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.journal-more-card__body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; }
.journal-more-card__body time {
    display: block; margin-bottom: 0.45rem;
    font-size: 0.75rem; font-weight: 600; color: rgba(226, 232, 240, 0.62);
}
.journal-more-card__body h3 {
    margin: 0 0 0.55rem; font-size: 1.05rem; line-height: 1.35; color: #fff;
}
.journal-more-card__body p {
    margin: 0 0 0.85rem; font-size: 0.88rem; line-height: 1.6;
    color: rgba(226, 232, 240, 0.72);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.journal-more-card__cta {
    font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: #fdba74;
}

.page-hero__meta { margin: 0; color: #94a3b8; font-size: 0.95rem; font-weight: 600; }

.rich-text {
    color: var(--text-soft); font-size: 1.02rem; line-height: 1.8;
}
.rich-text > *:first-child { margin-top: 0; }
.rich-text > *:last-child { margin-bottom: 0; }
.rich-text h2, .rich-text h3, .rich-text h4 {
    color: var(--steel-900); margin: 2rem 0 0.85rem; line-height: 1.35;
}
.rich-text h2 { font-size: 1.5rem; }
.rich-text h3 { font-size: 1.25rem; }
.rich-text p { margin: 0 0 1.15rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1.15rem; padding-left: 1.35rem; }
.rich-text li { margin-bottom: 0.45rem; }
.rich-text a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.rich-text a:hover { color: var(--steel-900); }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.25rem 0; }
.rich-text blockquote {
    margin: 1.5rem 0; padding: 1rem 1.25rem;
    border-left: 4px solid var(--copper); background: var(--surface-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-soft); font-style: italic;
}

/* ——— Inquiries board ——— */
.inquiries-board {
    display: grid; grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    gap: 1.75rem; align-items: start;
}

.inquiry-form-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem 1.6rem 1.65rem;
    box-shadow: var(--shadow-sm);
}

.inquiry-form-card__head { margin-bottom: 1.35rem; }
.inquiry-form-card__head h2 { margin: 0.35rem 0 0.5rem; font-size: 1.35rem; }
.inquiry-form-card__head p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.inquiry-form__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem;
}
.inquiry-form__field--full { grid-column: 1 / -1; }

.inquiries-board__list-head { margin-bottom: 1.25rem; }
.inquiries-board__list-head h2 { margin: 0.35rem 0 0; font-size: 1.35rem; }

.inquiry-list { display: flex; flex-direction: column; gap: 1rem; }

.inquiry-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-sm); transition: all 0.25s var(--ease);
}
.inquiry-card:hover { border-color: rgba(234, 88, 12, 0.35); box-shadow: var(--shadow); transform: translateY(-2px); }

.inquiry-card__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.65rem;
}
.inquiry-card__tag {
    display: inline-block; padding: 0.25rem 0.65rem;
    border-radius: 50rem; background: rgba(234, 88, 12, 0.1);
    color: var(--copper); font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.inquiry-card__head time { color: var(--steel-500); font-size: 0.8rem; font-weight: 600; }
.inquiry-card h3 { margin: 0 0 0.55rem; font-size: 1.05rem; color: var(--steel-900); }
.inquiry-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

.empty-state-card {
    padding: 2rem 1.5rem; text-align: center;
    background: var(--surface-soft); border: 1px dashed var(--border-strong);
    border-radius: var(--radius); color: var(--muted);
}
.empty-state-card p { margin: 0; }

/* ——— Sponsors ——— */
.sponsor-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 1rem 1.5rem; padding: 1.5rem;
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
}

.sponsor-logo {
    display: flex; align-items: center; justify-content: center;
    min-width: 140px; min-height: 72px; padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm); background: var(--surface-soft);
    border: 1px solid var(--border); transition: all 0.2s var(--ease);
}

.sponsor-logo:hover { border-color: var(--copper); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sponsor-logo img { max-height: 44px; width: auto; object-fit: contain; }
.sponsor-logo span { font-weight: 700; color: var(--text-soft); font-size: 0.9rem; }

/* ——— Page hero (inner) ——— */
.page-hero {
    position: relative; overflow: hidden;
    padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2rem, 3vw, 2.75rem);
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(234,88,12,0.16), transparent 42%),
        linear-gradient(135deg, var(--steel-950), var(--steel-800));
}

.page-hero::before {
    content: ""; position: absolute; inset: 0; opacity: 0.25;
    background-image: url("/images/theme/industrial-grid.svg");
    background-size: 120px 120px;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    color: #fff; margin: 0 0 0.65rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p { margin: 0; color: #94a3b8; max-width: 42rem; font-size: 1.05rem; }

.page-hero--compact { padding-bottom: 2rem; }

.container--narrow { max-width: 48rem; }

.page-content--about p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 52rem;
}

.page-content--legal p {
    font-size: 0.98rem;
    line-height: 1.75;
}

.section-compact-top { padding-top: 2rem; }

.breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; font-size: 0.88rem; }
.breadcrumb a:hover { color: #fff; }

.page-alerts { padding-top: 1rem; }

/* ——— Legacy cards / grids ——— */
.category-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.category-card, .step-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    box-shadow: var(--shadow-sm); transition: all 0.25s var(--ease);
}

.category-card:hover, .step-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow);
}

.step-number {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 14px; background: var(--amber-soft); color: var(--copper);
    font-family: var(--font-display); font-weight: 800; margin-bottom: 1rem;
}

/* ——— Machines / detail ——— */
.machines-layout { display: grid; grid-template-columns: 290px 1fr; gap: 1.5rem; align-items: start; }

.filter-panel, .contact-form-card, .contact-info-card,
.product-sidebar, .price-box, .quote-form {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow-sm);
}

.filter-panel { position: sticky; top: calc(var(--header-h) + 1.25rem); }

.product-detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: start; }

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-gallery__stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-gallery__main-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.product-gallery__main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s var(--ease);
}

.product-gallery__main-trigger:hover .product-gallery__main { transform: scale(1.015); }

.product-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(12, 26, 46, 0.72);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-gallery__nav:hover {
    background: rgba(12, 26, 46, 0.9);
    transform: translateY(-50%) scale(1.04);
}

.product-gallery__nav--prev { left: 0.85rem; }
.product-gallery__nav--next { right: 0.85rem; }

.product-gallery__counter {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 26, 46, 0.72);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.product-gallery__thumbs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.35rem;
    scrollbar-width: thin;
}

.product-gallery__thumbs::-webkit-scrollbar { height: 6px; }
.product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: rgba(12, 26, 46, 0.2);
    border-radius: 999px;
}

.product-gallery__thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-muted);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-gallery__thumb:hover { transform: translateY(-2px); }

.product-gallery__thumb.is-active {
    border-color: var(--copper);
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.22);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    border: 1px dashed var(--border-strong);
    background: var(--surface-muted);
    color: var(--muted);
    font-weight: 700;
}

.product-gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(3, 7, 18, 0.9);
}

.product-gallery__lightbox[hidden] { display: none; }

.product-gallery__lightbox-img {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.product-gallery__lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.product-gallery__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
}

.product-gallery__lightbox-nav--prev { left: 1.25rem; }
.product-gallery__lightbox-nav--next { right: 1.25rem; }

body.gallery-open { overflow: hidden; }

.price { font-family: var(--font-display); font-size: 1.75rem; color: var(--steel-900); }

.meta-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.meta-list li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem;
}

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 0.85rem 1rem; text-align: left; }
.spec-table th { background: var(--surface-muted); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 1.5rem; align-items: start; }

.contact-info-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-info-list li {
    display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border);
}
.contact-label {
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.07em; color: var(--muted);
}

/* ——— Forms ——— */
.search-panel input, .filter-panel input, .filter-panel select,
.contact-form input, .contact-form textarea,
.inquiry-form input, .inquiry-form textarea, .inquiry-form select,
.quote-form input, .quote-form textarea {
    width: 100%; padding: 0.85rem 1rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    margin: 0.35rem 0 1rem; font: inherit; color: var(--text); background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-panel input:focus, .filter-panel input:focus, .filter-panel select:focus,
.contact-form input:focus, .contact-form textarea:focus,
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus,
.quote-form input:focus, .quote-form textarea:focus {
    outline: none; border-color: var(--steel-700);
    box-shadow: 0 0 0 4px rgba(30,58,95,0.1);
}

.contact-form label, .filter-panel label, .search-panel label, .inquiry-form label {
    font-size: 0.85rem; font-weight: 700; color: var(--text-soft);
}

.search-panel .btn-primary, .filter-panel .btn-primary,
.contact-form .btn-primary, .inquiry-form .btn-primary, .quote-form .btn-primary { width: 100%; }

.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }

/* ——— Footer ——— */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 0; }

.footer-cta {
    background: linear-gradient(135deg, #081424, #122a48);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; padding: 2.75rem 0; flex-wrap: wrap;
}

.footer-cta h2 { color: #fff; margin: 0 0 0.5rem; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.footer-cta p { margin: 0; color: #94a3b8; max-width: 32rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.footer-grid {
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem; padding: 3rem 0 2rem;
}

.footer-brand p { color: #64748b; margin: 0.85rem 0 0; max-width: 22rem; }
.footer-grid h3, .footer-grid h4 { color: #fff; margin: 0 0 1rem; font-size: 1rem; }
.footer-grid a, .footer-grid p { display: block; color: #94a3b8; margin: 0.4rem 0; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0 1.75rem; color: #64748b; font-size: 0.88rem;
}

.footer-tagline { color: #94a3b8; }

/* ——— Alerts, pagination, captcha ——— */
.alert {
    padding: 0.95rem 1.15rem; border-radius: var(--radius-sm);
    font-weight: 500; border: 1px solid transparent;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.empty-state, .text-danger { color: #dc2626; }

.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.35rem; padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-strong); border-radius: 50rem;
    background: #fff; font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.page-link:hover { border-color: var(--steel-900); color: var(--steel-900); }
.page-link.active { background: var(--steel-900); border-color: var(--steel-900); color: #fff; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-field { margin: 1rem 0; }
.captcha-box { display: flex; align-items: center; gap: 0.75rem; margin: 0.5rem 0 1rem; }
.captcha-image { display: block; border-radius: var(--radius-sm); border: 1px solid var(--border); max-width: 100%; }
.captcha-refresh { min-width: 42px; font-size: 1.1rem; padding: 0.5rem 0.65rem; }
.captcha-input { letter-spacing: 0.2em; font-weight: 600; text-transform: uppercase; max-width: 220px; }
.captcha-note { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* ——— RTL ——— */
html[dir="rtl"] .stat-item { border-right: none; border-left: 1px solid var(--border); }
html[dir="rtl"] .stat-item:last-child { border-left: none; }
html[dir="rtl"] .product-card:hover .product-card__arrow { transform: translateX(-3px); }

/* ——— Responsive ——— */
@media (max-width: 1100px) {
    .hero-cinematic__inner { grid-template-columns: 1fr; gap: 2rem; }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-panel { grid-template-columns: 1fr; }
    .brand-panel__visual { min-height: 200px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .journal-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .stats-ribbon__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
    .machines-layout, .product-detail-grid, .contact-grid, .inquiries-board { grid-template-columns: 1fr; }
    .journal-more__grid { grid-template-columns: 1fr; }
    .inquiry-form__grid { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .main-nav, .desktop-only, .desktop-only-lang { display: none; }
    .mobile-only-lang { display: block; }
    .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 1.25rem, 1280px); }
    .journal-cover__frame img { aspect-ratio: 16 / 10; }
    .journal-masthead__top { flex-direction: column; align-items: flex-start; }
    .journal-sheet__paper { padding-inline: 1.15rem; }
    .journal-prose--dropcap > p:first-of-type::first-letter { font-size: 2.85rem; }
    .journal-footer { flex-direction: column; align-items: flex-start; }
    .pillar-grid { grid-template-columns: 1fr; }
    .stats-ribbon { margin-top: -2rem; }
    .stats-ribbon__grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-showcase, .product-grid { grid-template-columns: 1fr; }
    .hero-cinematic { min-height: auto; }
    .hero-cinematic__inner { padding: 3rem 0 4rem; }
}
