:root {
    --bg: #0f151c;
    --panel: #161f29;
    --panel-soft: #1d2834;
    --surface: #f1f4f7;
    --card: #ffffff;
    --line: rgba(13, 20, 28, 0.08);
    --text: #13202c;
    --muted: #5d6c79;
    --light-text: #d9e3ec;
    --accent: #d05c25;
    --accent-deep: #a84317;
    --shadow: 0 24px 48px rgba(11, 18, 24, 0.16);
    --radius: 24px;
    --radius-small: 16px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Barlow", "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #0b1218 0, #101922 240px, var(--surface) 240px);
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.topbar {
    background: rgba(6, 11, 16, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner,
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar__inner {
    min-height: 56px;
}

.topbar__info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--light-text);
    font-size: 0.94rem;
}

.topbar__info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar__info i {
    color: var(--accent);
}

.lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-btn {
    min-width: 82px;
    min-height: 68px;
    display: grid;
    place-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: var(--light-text);
    border-radius: 20px;
    padding: 10px 12px;
    cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
    background: rgba(208, 92, 37, 0.18);
    border-color: rgba(208, 92, 37, 0.68);
    color: #fff;
}

.lang-btn__flag {
    width: 34px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.lang-btn__label {
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.1;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(15, 21, 28, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__inner {
    min-height: 84px;
}

.brand {
    display: grid;
    gap: 6px;
}

.brand__tag,
.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 700;
}

.brand strong {
    color: #fff;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--light-text);
}

.nav-links a:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 13px 22px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 18px 36px rgba(208, 92, 37, 0.24);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn--small {
    padding: 10px 18px;
}

.btn--block {
    width: 100%;
}

.hero {
    color: #fff;
    padding: 40px 0 36px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.hero__copy h1,
.section-head h2,
.capability-copy h2,
.footer h2,
.product-summary h1,
.info-card h2,
.quote-card h2,
.specs-card h2 {
    margin: 14px 0 16px;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2.2rem, 4.6vw, 4.4rem);
    line-height: 0.94;
}

.section-head h2,
.capability-copy h2 {
    margin-top: 0;
}

.hero__copy {
    background: linear-gradient(180deg, rgba(12, 18, 24, 0.72), rgba(18, 26, 35, 0.54));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.hero__copy p,
.section-head p,
.capability-copy p,
.footer p,
.product-summary__text,
.info-card p,
.quote-card p {
    margin: 0;
    line-height: 1.75;
}

.hero__copy p {
    color: #dde6ee;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0;
}

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

.hero__stats article,
.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-small);
}

.hero__stats article {
    padding: 18px 16px;
}

.hero__stats strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.3rem;
}

.hero__stats span {
    color: #cdd8e1;
}

.hero__copy h1 {
    color: #fff;
}

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

.hero-card {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-card--main {
    grid-column: 1 / -1;
}

.hero-card img {
    width: 100%;
    aspect-ratio: 1.25 / 0.9;
    object-fit: cover;
}

.hero-card p {
    margin: 0;
    padding: 20px;
    color: #d7e1ea;
    line-height: 1.7;
}

.hero-card--note {
    background: linear-gradient(180deg, #16202a, #111920);
}

.hero-card--note p {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
}

.section {
    padding: 72px 0;
}

.section--dark {
    background: linear-gradient(180deg, #151e28, #0f151c);
    color: #fff;
}

.section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-head h2 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-head p {
    color: var(--muted);
}

.section-head--light h2,
.section-head--light p {
    color: #fff;
}

.section-head--light p {
    color: #b6c3cf;
}

.section-head--compact h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.category-grid,
.product-grid,
.value-grid,
.related-grid {
    display: grid;
    gap: 22px;
}

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

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

.featured-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

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

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

.category-card,
.product-card,
.value-card,
.info-card,
.quote-card,
.specs-card,
.inquiry-form,
.capability-list article,
.capability-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.capability-card,
.product-card__image,
.category-card img {
    overflow: hidden;
}

.category-card img,
.product-card__image img {
    width: 100%;
    aspect-ratio: 1 / 0.82;
    object-fit: cover;
}

.card-copy {
    padding: 20px 20px 22px;
}

.product-card .card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card-copy h3,
.value-card h3,
.feature-list h3 {
    margin: 0 0 10px;
    font-family: "Rajdhani", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
}

.card-copy p,
.value-card p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.section--dark .product-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
}

.section--dark .card-copy h3,
.section--dark .card-copy p,
.section--dark .product-code {
    color: #fff;
}

.section--dark .card-copy p {
    color: #c3d0db;
}

.product-code {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.card-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.card-actions .btn {
    min-height: 56px;
}

.inline-link {
    color: var(--accent);
    font-weight: 700;
}

.catalog-hero {
    padding: 40px 0 72px;
    background: linear-gradient(180deg, #ecf1f5, #f6f8fa);
    color: var(--text);
}

.catalog-head {
    margin-bottom: 28px;
}

.catalog-head h1 {
    margin: 0 0 14px;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
    line-height: 0.94;
    color: var(--text);
}

.catalog-head p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.catalog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.catalog-card__image {
    display: block;
    overflow: hidden;
    background: #fff;
}

.catalog-card__image img {
    width: 100%;
    aspect-ratio: 1 / 0.86;
    object-fit: cover;
}

.catalog-card__copy {
    display: flex;
    min-height: 218px;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.catalog-card__copy h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.catalog-card__copy p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.catalog-card .btn--ghost {
    border-color: rgba(18, 28, 38, 0.14);
    background: #f2f5f8;
    color: var(--text);
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.page-number,
.page-arrow {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(18, 28, 38, 0.12);
    background: #fff;
    color: var(--text);
    font-weight: 700;
}

.page-number.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-color: transparent;
}

.page-arrow.disabled {
    opacity: 0.36;
    pointer-events: none;
}

.catalog-hero .breadcrumb {
    color: var(--muted);
}

.value-card {
    padding: 24px;
}

.value-card i {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(208, 92, 37, 0.12);
    color: var(--accent);
    margin-bottom: 14px;
}

.capability-section {
    background: linear-gradient(180deg, #e9edf1, #f4f7f9);
}

.capability-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.capability-copy p {
    color: var(--muted);
}

.capability-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.capability-list article {
    padding: 18px 20px;
}

.capability-list strong {
    display: block;
    margin-bottom: 8px;
}

.capability-list p {
    margin: 0;
}

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

.capability-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability-card--wide {
    grid-column: 1 / -1;
    min-height: 260px;
}

.inquiry-form {
    padding: 24px;
}

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

.form-grid label {
    display: grid;
    gap: 8px;
}

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

.form-grid span {
    font-size: 0.94rem;
    color: var(--text);
}

.form-grid input,
.form-grid textarea {
    border: 1px solid rgba(18, 28, 38, 0.14);
    border-radius: 14px;
    padding: 14px 15px;
    background: #fff;
    color: var(--text);
    outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: rgba(208, 92, 37, 0.7);
}

.form-note {
    margin: 14px 0 0;
    color: var(--muted);
}

.form-status {
    display: none;
    margin-top: 16px;
    border-radius: 16px;
    padding: 14px 16px;
    line-height: 1.65;
}

.inquiry-decoys {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.inquiry-decoys input {
    width: 1px;
    height: 1px;
    border: 0;
    padding: 0;
}

.form-status strong,
.form-status span {
    display: block;
}

.form-status span {
    margin-top: 4px;
}

.form-status a {
    color: inherit;
    text-decoration: underline;
}

.form-status.is-pending,
.form-status.is-info,
.form-status.is-success,
.form-status.is-error {
    display: block;
}

.form-status.is-pending {
    background: #eef4fb;
    color: #35506a;
}

.form-status.is-info {
    background: #f7f4eb;
    color: #7a5a16;
}

.form-status.is-success {
    background: #ecf8ef;
    color: #24613c;
}

.form-status.is-error {
    background: #fff1eb;
    color: #9c3f1a;
}

.footer {
    background: linear-gradient(180deg, #10171d, #0a1016);
    color: #fff;
    padding: 42px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.footer h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.footer p,
.footer a {
    color: #b7c4ce;
}

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

.footer__cols div {
    display: grid;
    gap: 10px;
}

.footer__cols strong {
    color: #fff;
}

.footer__bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9fb0bd;
    text-align: center;
}

.floating-bar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    z-index: 40;
}

.floating-bar a {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #0f1820;
    box-shadow: 0 14px 30px rgba(8, 13, 19, 0.22);
}

.floating-bar a:nth-child(1) { background: #1fa855; }
.floating-bar a:nth-child(2) { background: #203447; }
.floating-bar a:nth-child(3) { background: #1877f2; }
.floating-bar a:nth-child(4) { background: #c74874; }
.floating-bar a:nth-child(5) { background: #161616; }
.floating-bar a:nth-child(6) { background: #d52d2d; }
.floating-bar a:nth-child(7) { background: #101010; }

.floating-bar span {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 17, 23, 0.94);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.84rem;
    opacity: 0;
    pointer-events: none;
}

.floating-bar a:hover span {
    opacity: 1;
}

.product-hero {
    color: #fff;
    padding: 28px 0 36px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #c5d0d9;
    margin-bottom: 24px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
}

.gallery,
.product-summary,
.info-card,
.quote-card,
.specs-card {
    border-radius: var(--radius);
}

.gallery {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.gallery-main {
    border-radius: var(--radius-small);
    overflow: hidden;
    background: #fff;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1 / 0.86;
    object-fit: contain;
    background: #fff;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.thumb {
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.thumb.active {
    border-color: var(--accent);
}

.product-summary {
    background: linear-gradient(180deg, #16212c, #101820);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
}

.product-summary h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.product-summary__text,
.feature-list li {
    color: #dde6ee;
}

.feature-list h3,
.quote-card h2,
.info-card h2,
.specs-card h2 {
    color: var(--text);
}

.product-summary .feature-list h3 {
    color: #fff;
}

.summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.feature-list ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.product-content {
    padding: 40px 0 0;
}

.product-content__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.info-card,
.quote-card,
.specs-card {
    padding: 24px;
}

.specs-card {
    margin-top: 22px;
}

.spec-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.spec-table div {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f6f8fa;
}

.spec-table strong {
    display: block;
    margin-bottom: 6px;
}

.product-inquiry,
.related-section {
    padding: 56px 0 0;
}

.product-card--small .product-card__image img {
    aspect-ratio: 1 / 0.9;
}

main section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

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

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

    .hero__grid,
    .capability-grid,
    .product-layout,
    .product-content__grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    body {
        background: linear-gradient(180deg, #0b1218 0, #101922 220px, var(--surface) 220px);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 0;
    }

    .topbar__info {
        justify-content: flex-start;
        gap: 14px;
        font-size: 0.82rem;
    }

    .topbar__info span {
        white-space: nowrap;
    }

    .lang-switch {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .lang-switch::-webkit-scrollbar,
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .navbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        min-height: auto;
        padding: 12px 0;
    }

    .brand {
        gap: 4px;
    }

    .brand__tag {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    .brand strong {
        font-size: 1.55rem;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.92rem;
    }

    .nav-links .btn {
        min-height: 42px;
        padding: 10px 16px;
    }

    .hero__stats,
    .hero__visual,
    .category-grid,
    .product-grid,
    .catalog-grid,
    .value-grid,
    .capability-media,
    .footer__cols,
    .form-grid,
    .spec-table,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hero-card--main,
    .capability-card--wide {
        min-height: auto;
    }

    .section {
        padding: 56px 0;
    }

    .floating-bar {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .lang-btn {
        min-width: 66px;
        min-height: 56px;
        padding: 8px;
        flex: 0 0 auto;
    }

    .lang-btn__flag {
        width: 28px;
        height: 18px;
    }

    .lang-btn__label {
        font-size: 0.66rem;
    }

    .floating-bar a {
        width: 46px;
        height: 46px;
    }

    .hero {
        padding-top: 28px;
    }

    .floating-bar span {
        display: none;
    }
}

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

    .topbar__info {
        gap: 10px;
        font-size: 0.76rem;
    }

    .brand strong {
        font-size: 1.34rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .nav-links .btn {
        padding: 9px 14px;
    }

    .hero__copy,
    .hero-card p,
    .catalog-card__copy,
    .card-copy {
        padding-left: 16px;
        padding-right: 16px;
    }

    .floating-bar {
        right: 8px;
        bottom: 8px;
    }

    .floating-bar a {
        width: 42px;
        height: 42px;
    }
}

[dir="rtl"] .topbar__info,
[dir="rtl"] .nav-links,
[dir="rtl"] .hero__actions,
[dir="rtl"] .summary-actions,
[dir="rtl"] .breadcrumb {
    direction: rtl;
}

[dir="rtl"] .feature-list ul {
    padding-left: 0;
    padding-right: 18px;
}

[dir="rtl"] .floating-bar {
    right: auto;
    left: 18px;
}

[dir="rtl"] .floating-bar span {
    right: auto;
    left: 64px;
}
