:root {
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-alt: #f7f9fc;
    --ink: #27282b;
    --ink-soft: #52657f;
    --line: rgba(16, 35, 63, 0.09);
    --line-strong: rgba(16, 35, 63, 0.14);
    --red: #cf1f27;
    --red-dark: #a8181f;
    --navy: #32373c;
    --navy-deep: #232526;
    --shadow-lg: 0 28px 80px rgba(16, 35, 63, 0.12);
    --shadow-md: 0 20px 52px rgba(16, 35, 63, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: radial-gradient(circle at top, rgba(207, 31, 39, 0.04), transparent 28%), var(--bg);
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-shell {
    min-height: calc(100vh - 300px);
}

.section {
    padding: 40px 0;
}

.section--tight {
    padding: 32px 0 20px;
}

.section--chips {
    padding: 12px 0 0;
}

.section--contact {
    padding-bottom: 64px;
}

.stack-lg {
    display: grid;
    gap: 32px;
}

.stack-md {
    display: grid;
    gap: 20px;
}

.stack-sm {
    display: grid;
    gap: 12px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow--muted {
    color: rgba(255, 255, 255, 0.72);
}

.eyebrow--soft {
    color: rgba(16, 35, 63, 0.48);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading--stack {
    align-items: start;
}

.section-heading h2,
.page-card h1,
.hero h1,
.line-hero h1,
.product-panel h1,
.not-found-card h1 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.section-heading h2,
.product-panel h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.section-heading__aside,
.muted-copy,
.page-card__lead,
.about-card p,
.contact-panel p,
.product-card__copy p,
.line-card__copy p {
    color: var(--ink-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.site-header__topbar {
    background: var(--red);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.site-logo img,
.site-footer__logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__link,
.site-menu__link {
    padding: 10px 16px;
    border-radius: 999px;
    color: rgba(16, 35, 63, 0.72);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover,
.site-menu__link:hover,
.site-nav__link.is-active,
.site-menu__link.is-active {
    background: var(--surface-alt);
    color: var(--ink);
}

.site-menu {
    display: none;
    position: relative;
}

.site-menu summary {
    list-style: none;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface-alt);
    font-size: 14px;
    font-weight: 700;
}

.site-menu summary::-webkit-details-marker {
    display: none;
}

.site-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    display: grid;
    gap: 4px;
    width: 240px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.language-switcher {
    position: relative;
}

.language-switcher__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    list-style: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher__summary::-webkit-details-marker {
    display: none;
}

.language-switcher__summary::marker {
    content: "";
}

.language-switcher__summary:hover,
.language-switcher[open] .language-switcher__summary {
    border-color: rgba(16, 35, 63, 0.2);
    box-shadow: 0 10px 24px rgba(16, 35, 63, 0.1);
}

.language-switcher__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--navy);
    transition: transform 0.2s ease;
}

.language-switcher[open] .language-switcher__caret {
    transform: rotate(180deg);
}

.language-switcher__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
    display: grid;
    gap: 8px;
    min-width: 68px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.language-switcher__option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 34px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.language-switcher__option:hover,
.language-switcher__option.is-active {
    background: var(--surface-alt);
}

.flag-icon {
    display: block;
    width: 28px;
    height: 18px;
    border: 1px solid rgba(16, 35, 63, 0.16);
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(16, 35, 63, 0.12);
}

.hero,
.page-card,
.about-card,
.line-hero,
.product-panel,
.detail-card,
.table-card,
.contact-panel,
.form-card,
.not-found-card,
.empty-state,
.gallery--empty {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    padding: 54px 48px;
    background: linear-gradient(135deg, #111827 0%, #991b1b 52%, #ef4444 100%);
    color: #fff;
}

.hero--lines {
    min-height: 240px;
    padding: 48px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.62) 38%, rgba(127, 29, 29, 0.52) 100%),
        url("/assets/images/line-background.svg") center/cover no-repeat;
}

.hero__background,
.line-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__background-video {
    display: block;
    pointer-events: none;
}

.hero__overlay,
.line-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(153, 27, 27, 0.7) 52%, rgba(239, 68, 68, 0.4) 100%);
}

.hero__content,
.line-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero__content--compact {
    max-width: 920px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.1;
    max-width: 12ch;
}

.hero__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.pill,
.badge,
.tag,
.chip-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}

.pill {
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pill--light {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.pill--ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero-search,
.catalog-form {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.hero-search {
    max-width: 940px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    grid-template-columns: minmax(0, 1fr) auto;
}

.hero-search input,
.catalog-form input,
.catalog-form select,
.form-card input,
.form-card textarea {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #f5f7fa;
    color: var(--ink);
    outline: none;
}

.hero-search input {
    border-color: rgba(255, 255, 255, 0.08);
    background: #fff;
}

.form-card textarea {
    min-height: 180px;
    padding: 16px;
    resize: vertical;
}

.hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--red);
    color: #fff;
}

.btn--primary:hover {
    background: var(--red-dark);
}

.btn--primary-dark {
    background: var(--navy);
    color: #fff;
}

.btn--primary-dark:hover {
    background: #000;
}

.btn--secondary,
.btn--table {
    border-color: var(--line-strong);
    background: var(--surface);
    color: rgba(16, 35, 63, 0.78);
}

.btn--secondary:hover,
.btn--table:hover {
    border-color: rgba(207, 31, 39, 0.22);
    color: var(--red);
}

.page-card {
    padding: 38px;
}

.page-card h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.page-card__lead {
    max-width: 720px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.8;
}

.catalog-form {
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr auto;
    margin-top: 28px;
}

.chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip-cloud--compact {
    margin-top: 24px;
}

.chip-link {
    padding: 10px 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: rgba(16, 35, 63, 0.7);
    font-size: 14px;
}

.chip-link:hover {
    border-color: rgba(207, 31, 39, 0.3);
    color: var(--red);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.catalog-pagination__link,
.catalog-pagination__page,
.catalog-pagination__status {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.catalog-pagination__link,
.catalog-pagination__page {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.catalog-pagination__link {
    min-width: 104px;
    padding: 0 16px;
}

.catalog-pagination__page {
    min-width: 38px;
    padding: 0 12px;
}

.catalog-pagination__link:hover,
.catalog-pagination__page:hover,
.catalog-pagination__page.is-current {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.catalog-pagination__link.is-disabled {
    color: rgba(16, 35, 63, 0.34);
    background: var(--surface-alt);
    pointer-events: none;
}

.catalog-pagination__status {
    padding: 0 10px;
    color: var(--ink-soft);
}

.catalog-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.line-card,
.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.line-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(16, 35, 63, 0.14);
}

.line-card__link,
.product-card__link {
    display: block;
}

.line-card__media {
    position: relative;
    min-height: 208px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #edf6fb 0%, #ffffff 58%, #f7f9fc 100%);
}

.product-card__media {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #edf6fb 0%, #ffffff 58%, #f7f9fc 100%);
}

.line-card__media img,
.product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__media img {
    object-position: center center;
}

.line-card__media-fallback,
.product-card__media-fallback {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.48) 42%, rgba(127, 29, 29, 0.42) 100%),
        url("/assets/images/line-background.svg") center/cover no-repeat;
    color: #fff;
}

.product-card__media-fallback {
    background: linear-gradient(135deg, #111827 0%, #7f1d1d 65%, #ef4444 100%);
}

.product-card__brand {
    opacity: 0.76;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.line-card__body,
.product-card__body {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.line-card__meta,
.product-card__badges,
.product-panel__meta,
.action-row,
.form-actions,
.site-footer__bottom-inner,
.site-footer__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.line-card__copy h3,
.product-card__copy h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.product-card__copy h3 {
    font-size: 22px;
}

.line-card__copy p,
.product-card__copy p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.7;
}

.line-card__cta,
.product-card__cta {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.line-card__footer,
.product-card__footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: rgba(16, 35, 63, 0.6);
}

.line-card__footer span:last-child {
    color: var(--ink);
    font-weight: 800;
}

.badge {
    min-height: 32px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.badge--primary {
    background: var(--red);
    color: #fff;
}

.badge--large {
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
}

.badge--muted {
    border: 1px solid var(--line);
    background: #f5f7fa;
    color: rgba(16, 35, 63, 0.66);
}

.badge--dark {
    background: #111827;
    color: #fff;
}

.badge--light {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.about-card {
    padding: 42px;
}

.about-card h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.9rem);
}

.about-card__grid {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 28px;
    margin-top: 28px;
    align-items: center;
}

.about-card__map {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top, rgba(207, 31, 39, 0.08), transparent 58%), linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.about-card__map img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.table-card {
    overflow: hidden;
}

.table-card__scroll {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 18px 16px;
    border-top: 1px solid var(--line);
}

.data-table thead th {
    border-top: 0;
    background: #f5f7fa;
}

.data-table tbody td:first-child {
    font-weight: 700;
    text-transform: uppercase;
}

.contact-grid,
.product-layout,
.detail-grid {
    display: grid;
    gap: 24px;
}

.contact-grid {
    grid-template-columns: 0.84fr 1.16fr;
}

.product-layout {
    grid-template-columns: 1.02fr 0.98fr;
}

.detail-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-panel {
    padding: 30px;
    color: #fff;
    background: radial-gradient(circle at top, rgba(207, 31, 39, 0.18), transparent 52%), linear-gradient(180deg, #10233f 0%, #081a31 100%);
}

.contact-panel h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list--compact {
    gap: 8px;
}

.tag {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(16, 35, 63, 0.09);
    background: #fff;
    color: rgba(16, 35, 63, 0.72);
    font-size: 14px;
}

.tag--light {
    background: #f5f7fa;
}

.contact-tip,
.info-card {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
}

.contact-tip__title,
.info-card__title,
.detail-value {
    margin: 0;
    font-weight: 800;
}

.contact-tip p:last-child,
.info-card p:last-child {
    margin-bottom: 0;
}

.form-card,
.detail-card,
.product-panel {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    font-size: 14px;
    font-weight: 700;
}

.field--wide {
    grid-column: 1 / -1;
}

.field--hidden {
    display: none;
}

.form-feedback {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.form-feedback.is-success {
    border: 1px solid #c6f6d5;
    background: #f0fff4;
    color: #276749;
}

.form-feedback.is-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.form-actions {
    margin-top: 24px;
    align-items: end;
}

.form-actions p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.gallery {
    display: grid;
    gap: 16px;
}

.gallery__hero,
.gallery__thumb {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top, #ffffff 0%, #f8fafc 58%, #eef2f7 100%);
}

.gallery__hero {
    min-height: 420px;
    padding: 20px;
}

.gallery__thumb {
    aspect-ratio: 4 / 3;
    padding: 14px;
}

.gallery__hero img,
.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery__hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.12);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.88);
}

.gallery-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1080px);
    height: min(88vh, 860px);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.gallery-modal__dialog img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-modal__close {
    position: absolute;
    right: 16px;
    top: 16px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery--empty {
    display: flex;
    align-items: end;
    min-height: 420px;
    padding: 30px;
    color: #fff;
    background: linear-gradient(135deg, #111827 0%, #7f1d1d 65%, #ef4444 100%);
}

.gallery--empty h2 {
    margin: 0;
    font-size: 40px;
}

.product-panel__meta {
    margin: 20px 0 24px;
}

.product-panel h1 {
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    text-transform: uppercase;
}

.info-card__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-card .tag-list,
.detail-card .info-card {
    margin-top: 20px;
}

.info-card--flat {
    border-color: var(--line);
    background: #f5f7fa;
}

.stat-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f5f7fa;
    font-size: 14px;
}

.stat-row span {
    text-transform: uppercase;
}

.line-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(135deg, #edf6fb 0%, #ffffff 58%, #f7f9fc 100%);
}

.line-hero__content {
    padding: 48px;
}

.line-hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 6vw, 4.8rem);
    color: white;
}

.action-row {
    justify-content: start;
    flex-wrap: wrap;
}

.empty-state,
.not-found-card {
    padding: 28px;
    color: var(--ink-soft);
}

.not-found-card {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.not-found-card p {
    margin: 0;
}

.site-footer {
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.site-footer__accent {
    height: 4px;
    background: var(--red);
}

.site-footer__top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__top-inner {
    padding: 28px 0;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 40px 0;
}

.site-footer__intro p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__column {
    display: grid;
    gap: 12px;
    align-content: start;
}

.site-footer__column a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.site-footer__column a:hover,
.site-footer__mini-links a:hover {
    color: #fff;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-deep);
}

.site-footer__bottom-inner {
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

.site-footer__bottom-inner p {
    margin: 0;
}

.site-footer__mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 1180px) {
    .card-grid--products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .site-menu {
        display: block;
    }

    .card-grid--lines,
    .card-grid--products,
    .contact-grid,
    .product-layout,
    .detail-grid,
    .site-footer__grid,
    .about-card__grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .site-footer__top-inner,
    .site-footer__bottom-inner,
    .form-actions,
    .product-panel__meta {
        flex-direction: column;
        align-items: start;
    }

    .hero,
    .page-card,
    .about-card,
    .line-hero__content,
    .product-panel,
    .detail-card,
    .form-card,
    .contact-panel {
        padding: 28px;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .section {
        padding: 28px 0;
    }

    .hero,
    .hero--lines {
        min-height: auto;
        padding: 26px;
    }

    .hero h1,
    .line-hero h1,
    .page-card h1,
    .product-panel h1,
    .not-found-card h1 {
        font-size: 2.2rem;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header__inner {
        min-height: 78px;
        gap: 14px;
    }

    .site-logo img,
    .site-footer__logo img {
        height: 48px;
    }

    .language-switcher {
        margin-left: auto;
    }

    .catalog-form,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .field--wide {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__background-video {
        display: none;
    }
}
