:root {
    --navy: #101b29;
    --deep: #0b1420;
    --amber: #f2b544;
    --amber-hover: #ffd074;
    --ink: #122131;
    --steel: #536275;
    --soft: #f3f5f8;
    --line: #dfe5ed;
    --white: #fff;
    --font: Arad, system-ui, sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ed9e27; outline-offset: 4px; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
.icon { flex: none; vertical-align: middle; }
.wrap { max-width: 1280px; width: calc(100% - 96px); margin-inline: auto; }
.skip-link, .screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link:focus { inset: 10px auto auto 10px; width: auto; height: auto; padding: 10px; clip: auto; z-index: 20; background: var(--white); }

.masthead { position: relative; z-index: 3; background: var(--navy); color: var(--white); }
.topbar { background: var(--deep); border-bottom: 1px solid #273342; font-size: 12px; color: #c7d1de; }
.top-inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; }
.top-inner a { display: flex; gap: 7px; align-items: center; }
.top-inner .icon { color: var(--amber); }
.header-inner { display: flex; min-height: 78px; justify-content: space-between; align-items: center; gap: 21px; }
.brand { display: inline-flex; gap: 11px; align-items: center; flex: none; }
.brand-mark {
    display: grid; place-items: center; width: 43px; height: 43px; border-radius: 9px;
    background: var(--amber); color: var(--deep);
}
.brand-name strong, .brand-name small { display: block; }
.brand-name strong { font-size: 17px; font-weight: 770; line-height: 1.25; }
.brand-name small { margin-top: 4px; color: #afbdcf; font-size: 11px; line-height: 1.2; }
.custom-logo { display: block; width: auto; max-width: 200px; max-height: 58px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.primary-links, .footer-links, .language ul { list-style: none; margin: 0; padding: 0; }
.primary-links { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 30px); align-items: center; }
.primary-links > li { position: relative; }
.primary-links > li > a { display: block; padding-block: 12px; color: #d6dee8; font-weight: 590; font-size: 14px; white-space: nowrap; }
.primary-links > li > a:hover, .primary-links > .current-menu-item > a { color: var(--amber); }
.primary-links > .current-menu-item > a::after {
    content: ""; position: absolute; inset: auto 0 4px; height: 2px; background: var(--amber);
}
.primary-links .sub-menu {
    display: none; position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 175px;
    list-style: none; padding: 8px; margin: 0; color: var(--ink); background: var(--white);
    box-shadow: 0 12px 26px #00102032; border-radius: 6px;
}
.primary-links li:hover > .sub-menu, .primary-links li:focus-within > .sub-menu { display: block; }
.primary-links .sub-menu a { display: block; padding: 7px 10px; }
.language { position: relative; flex: none; }
.language summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; color: #d6dee8; font-size: 13px; }
.language summary::-webkit-details-marker { display: none; }
.language summary:hover { color: var(--amber); }
.language ul {
    position: absolute; z-index: 5; inset: calc(100% + 16px) auto auto 0; min-width: 123px; padding: 5px;
    border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink);
    box-shadow: 0 12px 30px #00102035;
}
.language a { display: block; padding: 7px 13px; border-radius: 4px; }
.language a:hover, .language a[aria-current] { background: #fff0d4; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 47px; border: 1px solid transparent; padding: 0 19px; border-radius: 6px;
    font-size: 14px; font-weight: 740; line-height: 1.35; transition: background-color .18s, border-color .18s;
}
.button-accent { background: var(--amber); color: var(--deep); }
.button-accent:hover { background: var(--amber-hover); }
.button-outline { border-color: #78889a; color: var(--white); background: #101b2955; }
.button-outline:hover { background: #33465b; border-color: #aebed0; }
.header-quote { min-height: 42px; padding-inline: 14px; white-space: nowrap; }
.menu-toggle { display: none; color: var(--white); background: transparent; border: 1px solid #526070; border-radius: 5px; width: 41px; height: 39px; cursor: pointer; }

.hero { position: relative; isolation: isolate; background: #0c1927; color: var(--white); overflow: clip; }
.hero-visual, .hero-visual::after, .hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual { z-index: -1; }
.hero-visual img { object-fit: cover; object-position: 50% 53%; }
html:dir(ltr) .hero-visual img { transform: scaleX(-1); }
.hero-visual::after {
    content: ""; background: linear-gradient(90deg, #0d192623 4%, #0a182627 40%, #0a1826b5 71%, #091623ec 100%);
}
html:dir(ltr) .hero-visual::after {
    background: linear-gradient(270deg, #0d192623 4%, #0a182627 39%, #0a1826b5 70%, #091623f5 100%);
}
.hero-inner { min-height: 490px; display: flex; align-items: center; padding-block: clamp(62px, 8vw, 112px); }
.hero-copy { width: min(680px, 60%); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 11px; color: #8c5608; font-size: 13px; font-weight: 750;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: #d88c1c; }
.hero .eyebrow, .scrap-banner .eyebrow, .page-title .eyebrow { color: var(--amber); }
.hero .eyebrow::before, .scrap-banner .eyebrow::before, .page-title .eyebrow::before { background: var(--amber); }
.hero h1 { margin-top: 19px; font-size: clamp(38px, 5vw, 74px); letter-spacing: -.024em; font-weight: 820; line-height: 1.14; }
.hero h1 span { display: block; color: var(--amber); }
.hero p { color: #d5dce5; margin-top: 20px; font-size: clamp(16px, 1.43vw, 20px); max-width: 535px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-actions .button { min-height: 51px; padding-inline: 20px; }
html:dir(ltr) .hero h1 { font-size: clamp(41px, 4.55vw, 67px); line-height: 1.08; }
html[lang^="ar"] .hero h1 { font-size: clamp(40px, 4.5vw, 67px); }

.section { padding-block: 68px; }
.section-heading h2 { margin-block: 8px; font-size: clamp(27px, 3.1vw, 45px); font-weight: 790; letter-spacing: -.022em; }
.section-heading p, .price-intro { color: var(--steel); font-size: 15px; }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 17px; margin-bottom: 23px; }
.price-heading { display: flex; gap: 15px; align-items: center; }
.price-heading h2 { margin: 0 0 5px; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 9px; background: #fdf0d9; color: #8d570a; flex: none; }
.prices-section { background: var(--soft); }
.rate-status { display: inline-flex; align-items: center; gap: 6px; color: var(--steel); font-size: 13px; font-weight: 580; }
.rate-status .icon { color: #9a6414; }
.price-panel { border: 1px solid #dde4ed; border-radius: 11px; background: var(--white); overflow: hidden; box-shadow: 0 8px 24px #132a4508; }
.price-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 13px 15px; }
.filter {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line);
    border-radius: 6px; color: #425166; font-size: 13px; font-weight: 650;
}
.filter:hover { background: #f6f8fb; }
.filter.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter.active .icon { color: var(--amber); }
.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: start; }
.rate-table thead { color: #526176; background: #f4f6f8; }
.rate-table td, .rate-table th { padding: 12px 20px; text-align: start; border-top: 1px solid #e8edf2; }
.rate-table thead th { font-size: 13px; font-weight: 670; }
.rate-table tbody th { font-weight: 680; }
.rate-table td { color: var(--steel); }
.rate-table tbody tr:hover { background: #fbfcfe; }
.rate-product { display: flex; align-items: center; gap: 10px; }
.rate-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #edf1f6; color: #536375; flex: none; }
.mobile-spec { display: none; }
.rate-quote { display: inline-block; padding: 3px 11px; background: #fff4de; color: #815009; border-radius: 5px; font-size: 12px; font-weight: 690; }
.rate-quote:hover { background: #fce5b6; }
.amount { color: #1b354e; font-weight: 750; }
.empty-rates { padding: 18px 20px; }
.price-note { display: flex; gap: 8px 15px; flex-wrap: wrap; font-size: 12px; color: var(--steel); padding: 12px 20px; border-top: 1px solid #e8edf2; }
.price-note span { color: #253a52; font-weight: 730; }
.section-end { display: flex; justify-content: center; margin-top: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #86540d; font-size: 14px; font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.catalog-section .section-heading, .articles-section .section-heading { margin-bottom: 25px; }
.catalog-grid, .article-grid { display: grid; gap: 19px; }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card, .article-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.card-photo { display: block; aspect-ratio: 1.85; overflow: hidden; background: #c1c9d4; }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .card-photo img, .article-card:hover .card-photo img { transform: scale(1.035); }
.card-content { padding: 19px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card-content :is(h2,h3) { font-size: 20px; font-weight: 760; margin-bottom: 7px; }
.card-content :is(h2,h3) a:hover { color: #86540d; }
.card-content p { margin-bottom: 16px; color: var(--steel); font-size: 14px; }
.card-content .text-link { margin-top: auto; }
.product-icon { display: grid; place-items: center; position: relative; width: 41px; height: 41px; margin: -40px 0 12px; border-radius: 7px; background: #fdf0d9; color: #8d570a; }
.scrap-section { padding-top: 0; }
.scrap-banner { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 11px; background: var(--navy); color: var(--white); overflow: hidden; }
.scrap-content { padding: clamp(25px, 4vw, 57px); }
.scrap-content .section-heading p { margin-top: 12px; color: #ced7e1; }
.scrap-content .button { margin-top: 22px; }
.scrap-banner img { width: 100%; height: 100%; object-fit: cover; }
.articles-section { background: var(--soft); }

.page-title { background: linear-gradient(110deg, #101b29, #192e45); color: var(--white); padding-block: 50px; border-bottom: 3px solid var(--amber); }
.page-title h1 { font-size: clamp(38px, 5.2vw, 67px); font-weight: 815; margin-top: 8px; }
.content-body { width: min(calc(100% - 48px), 810px); padding-block: 44px; font-size: 18px; line-height: 1.8; }
.content-body h2 { margin-block: 23px 10px; }
.content-body p { margin-block: 0 18px; }
.content-body > .text-link { margin-top: 16px; }
.feature-image { width: 100%; border-radius: 8px; margin-bottom: 23px; }
.contact-section { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 25px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.contact-card h2 { font-size: 24px; }
.contact-card address { font-style: normal; color: var(--steel); font-size: 17px; }
.contact-phones { display: grid; gap: 5px; list-style: none; margin: 0; padding: 0; }
.contact-phones .text-link { min-height: 36px; padding-inline: 5px; }

.footer { background: var(--deep); color: #bdc9d8; font-size: 14px; }
.footer-grid { padding-block: 42px; display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: clamp(24px, 7vw, 105px); }
.footer-brand .brand strong, .footer h2 { color: var(--white); }
.footer-brand p { margin-top: 12px; }
.footer h2 { font-size: 17px; margin-bottom: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.footer a:hover { color: var(--amber); }
.footer-contact { display: flex; align-items: flex-start; gap: 7px; margin-top: 9px; }
.footer-contact .icon { color: var(--amber); margin-top: 3px; }
.footer-end { padding-block: 13px; color: #aebdce; border-top: 1px solid #293747; font-size: 12px; }

@media (max-width: 1060px) {
    .wrap { width: calc(100% - 56px); }
    .header-inner { gap: 13px; }
    .header-actions { gap: 11px; }
    .primary-links { gap: 14px; }
}
@media (max-width: 920px) {
    .header-inner { min-height: 65px; }
    .menu-toggle { display: grid; place-items: center; }
    .primary-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 8px 28px 16px; background: var(--navy); box-shadow: 0 17px 30px #00102040; }
    .primary-nav.is-open { display: block; }
    .primary-links { display: grid; gap: 0; }
    .primary-links > li + li { border-top: 1px solid #28374a; }
    .primary-links > .current-menu-item > a::after { display: none; }
    .primary-links .sub-menu { position: static; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 36px); }
    .top-inner { min-height: 30px; }
    .brand { gap: 7px; }
    .brand-mark { width: 37px; height: 37px; }
    .brand-mark .icon { width: 23px; }
    .brand-name strong { font-size: 14px; }
    .brand-name small { font-size: 10px; }
    .header-quote { display: none; }
    .language ul { inset: calc(100% + 14px) 0 auto auto; }
    .hero-inner { min-height: 420px; padding-block: 55px; }
    .hero-copy { width: 100%; }
    .hero-visual img { object-position: 42% center; }
    .hero-visual::after, html:dir(ltr) .hero-visual::after { background: linear-gradient(180deg, #0a182677, #0a1826ba 42%, #091623f3); }
    .hero h1, html:dir(ltr) .hero h1, html[lang^="ar"] .hero h1 { font-size: clamp(38px, 9.5vw, 54px); }
    .hero p { max-width: 32rem; margin-top: 16px; }
    .section { padding-block: 43px; }
    .section-top { align-items: flex-start; flex-direction: column; margin-bottom: 16px; }
    .feature-icon { width: 46px; height: 46px; }
    .price-filters { padding: 9px; gap: 5px; }
    .filter { font-size: 11px; padding: 5px 7px; gap: 4px; }
    .filter .icon { width: 13px; height: 13px; }
    .rate-table { font-size: 12px; }
    .rate-table th, .rate-table td { padding: 9px 7px; }
    .rate-table thead th { font-size: 11px; }
    .rate-table thead th:nth-child(2), .desktop-spec { display: none; }
    .mobile-spec { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; color: var(--steel); }
    .rate-product { gap: 4px; }
    .rate-icon { display: none; }
    .rate-quote { font-size: 10px; padding-inline: 5px; }
    .price-note { padding-inline: 9px; }
    .catalog-grid { gap: 10px; }
    .card-content { padding: 12px; }
    .card-content :is(h2,h3) { font-size: 17px; }
    .card-content p { font-size: 12px; }
    .product-icon { margin-top: -29px; width: 34px; height: 34px; }
    .product-icon .icon { width: 18px; height: 18px; }
    .scrap-section { padding-top: 0; }
    .scrap-banner, .article-grid, .contact-grid { grid-template-columns: 1fr; }
    .scrap-banner img { height: 170px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

@media (max-width: 379px) {
    .header-inner { gap: 8px; }
    .header-inner .brand-name strong { font-size: 13px; }
    .header-actions { gap: 8px; }
    .language summary span { display: none; }
}
