@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  font-family: "Inter", Arial, sans-serif;
  color: #f6f5f2;
  background: #0d1117;
  font-synthesis: none;
  --bg: #0d1117;
  --surface: #161b22;
  --card: #1a2028;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #9ba0aa;
  --gold: #c9a15b;
  --gold-bright: #d7b16e;
  --container: 1440px;
  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); font-family: var(--font-body); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-shell { overflow: clip; }
.container-wide { width: min(calc(100% - 80px), var(--container)); margin-inline: auto; }

.header { position: fixed; inset: 0 0 auto; z-index: 50; height: 92px; background: rgba(13, 17, 23, 0.86); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); }
.header__inner { height: 100%; display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 36px; }
.logo { display: block; width: 176px; min-width: 176px; height: 60px; background-image: url("/assets/images/globex-premium-logo-v2.png"); background-size: contain; background-position: center; background-repeat: no-repeat; }
.header__tagline { margin: 0; color: #a7a9ad; text-transform: uppercase; font-size: 9px; line-height: 1.35; letter-spacing: .1em; white-space: nowrap; }
.nav { display: flex; justify-content: center; gap: 34px; }
.nav a { color: #d7d8da; font-size: 11px; line-height: 1.35; transition: color .25s ease; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible { color: var(--gold-bright); }
.nav a.nav__catalog { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--gold); color: #17120c; background: var(--gold); }
.nav a.nav__catalog:hover, .nav a.nav__catalog:focus-visible, .nav a.nav__catalog.is-active { color: #100d08; background: var(--gold-bright); }
.nav a.nav__catalog i { font-size: 15px; }
@media (min-width: 981px) {
  .nav { align-items: center; }
  .nav a { min-height: 38px; display: inline-flex; align-items: center; }
}
.header__phone { display: grid; gap: 4px; white-space: nowrap; }
.header__phone a { font-size: 13px; line-height: 1.3; }
.header__phone span { color: #878c95; font-size: 9px; line-height: 1.35; }
.header__actions { display: flex; align-items: center; gap: 17px; }
.max-header-link { width: 23px; height: 23px; display: grid !important; place-items: center; opacity: .82; transition: opacity .2s ease, transform .2s ease; }
.max-header-link:hover, .max-header-link:focus-visible { opacity: 1; transform: translateY(-1px); }
.max-header-link:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.max-header-link img { width: 21px; height: 21px; display: block; }
.header__actions button, .brand-line button, .favorite, .product-card__bottom button, .modal-layer button, .cart-drawer button, .drawer-backdrop { border: 0; background: transparent; padding: 0; cursor: pointer; }
.header__actions svg { width: 21px; height: 21px; }
.account { display: flex; align-items: center; gap: 8px; }
.account span { font-size: 11px; }
.cart-button { position: relative; }
.cart-count { position: absolute; top: -9px; right: -10px; display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: #17120c; font-size: 9px; font-weight: 600; }
.favorites-button { position: relative; }
.favorites-count { position: absolute; top: -9px; right: -10px; display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; color: #17120c; background: var(--gold); font-size: 9px; font-weight: 600; }
.favorites-button.is-active { color: #e35458 !important; }
.menu-button { display: none; }

.hero { position: relative; min-height: 510px; height: 510px; overflow: hidden; outline: 0; touch-action: pan-y; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transform: scale(1.018); transition: opacity .7s ease, visibility .7s ease, transform 5.5s ease; }
.hero__slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.hero__veil { position: absolute; inset: 0; background: rgba(3, 6, 10, .16); }
.hero__content { position: relative; z-index: 1; padding-top: 80px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 10px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .hero h2, .section h2, .showroom h2, .consultation h2, .newsletter h2 { margin: 0; font-family: var(--font-display); font-weight: 300; line-height: 1.16; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.hero h1, .hero h2 { max-width: 620px; font-size: clamp(38px, 2.85vw, 44px); line-height: 1.12; }
.hero h1 em, .hero h2 em { color: #d8b16c; font-style: normal; }
.hero__copy { max-width: 520px; margin: 18px 0 0; color: #c9cbcf; font-size: 13px; line-height: 1.6; text-wrap: pretty; }
.hero__buttons { display: flex; gap: 14px; margin-top: 24px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 28px; border: 1px solid var(--line); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; transition: transform .25s ease, background .25s ease, border-color .25s ease; cursor: pointer; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 17px; height: 17px; }
.button--gold { border-color: var(--gold); background: var(--gold); color: #15120d; }
.button--gold:hover { background: var(--gold-bright); }
.button--ghost { background: rgba(8, 11, 16, .35); border-color: rgba(255, 255, 255, .35); }
.hero__progress { --hero-progress: .25; position: absolute; z-index: 3; right: max(40px, calc((100vw - var(--container)) / 2)); bottom: 35px; display: flex; align-items: center; gap: 12px; color: #c9cbd0; font-size: 10px; }
.hero__progress button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid transparent; background: transparent; color: #fff; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.hero__progress button:hover, .hero__progress button:focus-visible { border-color: var(--gold); background: rgba(8,11,16,.72); color: var(--gold-bright); }
.hero__progress-line { position: relative; width: 85px; height: 1px; overflow: hidden; background: rgba(255,255,255,.24); }
.hero__progress-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--hero-progress)); transform-origin: left center; transition: transform .45s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__progress-line::after { transition-duration: .01ms; }
  .hero__slide { transform: none; }
}

.benefits { position: relative; z-index: 2; margin-top: -1px; background: var(--surface); border-block: 1px solid var(--line); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { min-height: 108px; display: flex; align-items: center; gap: 20px; padding: 24px 32px; border-right: 1px solid var(--line); }
.benefit { color: inherit; cursor: default; }
.benefit:first-child { border-left: 1px solid var(--line); }
.benefit svg { flex: 0 0 auto; width: 42px; height: 42px; color: var(--gold); }
.benefit h3 { margin: 0 0 7px; font-size: 11px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .055em; }
.benefit p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-wrap: pretty; }

.section { padding: 94px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2, .showroom h2, .consultation h2, .newsletter h2 { font-size: clamp(30px, 2.6vw, 40px); }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > a { display: flex; align-items: center; gap: 13px; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.section-heading > a svg { width: 18px; }

.categories { padding-block: 28px 18px; background: var(--bg); }
.categories .section-heading { margin-bottom: 18px; }
.categories .section-heading h2 { font-size: 26px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card { position: relative; min-height: 238px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card__shade { position: absolute; inset: 0; background: rgba(5, 7, 10, .39); }
.category-card__content { position: absolute; inset: auto 0 0; min-height: 148px; padding: 28px 24px; background: rgba(8, 11, 16, .72); }
.category-card h3 { max-width: 190px; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .015em; text-transform: uppercase; text-wrap: balance; }
.category-card p { max-width: 210px; margin: 12px 0 0; color: #aaadb4; font-size: 11px; line-height: 1.55; text-wrap: pretty; }
.category-card__content > span { position: absolute; right: 22px; bottom: 23px; transition: transform .25s ease; }
.category-card:hover { border-color: rgba(201, 161, 91, .55); }
.category-card:hover img { transform: scale(1.045); }
.category-card:hover .category-card__content > span { transform: translateX(5px); color: var(--gold); }

.brand-line { border-block: 1px solid var(--line); background: #11161d; }
.brand-line__inner { min-height: 92px; display: grid; grid-template-columns: 24px minmax(0,1fr) 24px auto; align-items: center; gap: 24px; }
.brand-line__track { display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.brand-line__track::-webkit-scrollbar { display: none; }
.brand-line a { flex: 0 0 145px; color: #bbbcc0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; text-align: center; scroll-snap-align: center; }
.brand-line a:hover { color: var(--gold-bright); }
.brand-line button { color: #8f949d; }
.brand-line svg { width: 20px; height: 20px; }
.brand-line__all { min-height: 40px; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px !important; border: 1px solid var(--line) !important; color: #d7d8da !important; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.brands-panel { padding: 40px 0 48px; border-top: 1px solid var(--line); background: var(--surface); }
.brands-panel__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.brands-panel__head h2 { margin: 0; font: 300 34px/1.15 var(--font-display); text-transform: uppercase; }
.brands-panel__head > a { color: var(--gold); font-size: 11px; text-transform: uppercase; }
.brands-panel__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands-panel__grid a { min-height: 94px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.brands-panel__grid strong { color: #f2f1ee; font: 600 17px/1.3 var(--font-display); letter-spacing: .04em; }
.brands-panel__grid span { margin-top: 7px; color: var(--muted); font-size: 11px; }

.products { background: #11161d; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--card); padding: 14px 16px 18px; transition: transform .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(201, 161, 91, .42); }
.product-card__image { position: relative; height: 270px; overflow: hidden; margin-bottom: 18px; background: #12171e; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card__image-link { position: absolute; inset: 0; display: block; }
.product-card:hover img { transform: scale(1.035); }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 7px 10px; border: 1px solid var(--gold); color: var(--gold-bright); background: rgba(7, 9, 12, .75); font-size: 9px; }
.favorite { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50% !important; background: rgba(8, 11, 16, .7) !important; }
.favorite:hover { color: #e35458; }
.favorite.is-active { color: #e35458; background: rgba(8,11,16,.94) !important; box-shadow: inset 0 0 0 1px rgba(227,84,88,.62); }
.product-card__brand { min-height: 1.3em; margin: 0 0 8px; font-weight: 600; font-size: 11px; line-height: 1.3; letter-spacing: .08em; }
.product-card h3 { min-height: 3.1em; display: -webkit-box; overflow: hidden; margin: 0; color: #d4d6da; font-size: 13px; font-weight: 300; line-height: 1.55; text-wrap: pretty; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__meta { display: grid; align-content: start; margin-top: 13px; color: #8b919c; font-size: 10px; line-height: 1.45; }
.product-card__features { height: calc(2.9em + 5px); min-height: calc(2.9em + 5px); display: flex; align-content: flex-start; align-items: center; flex-wrap: wrap; gap: 5px 9px; overflow: hidden; }
.product-card__features > span { display: inline-flex; align-items: center; white-space: nowrap; }
.product-card__features > span + span::before { width: 1px; height: 11px; margin-right: 9px; background: #414750; content: ''; }
.product-card__stock { display: inline-flex; align-items: center; width: fit-content; margin-top: 12px; color: #94b99f; }
.product-card__stock--order { color: #c5a875; }
.product-card__body { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(0,1fr) 56px; }
.product-card__body--inquiry { grid-template-columns: minmax(0,1fr) auto; }
.product-card__details { min-width: 0; display: flex; flex-direction: column; padding-right: 15px; }
.product-card__price { display: block; margin-top: auto; padding-top: 23px; font-size: 20px; font-weight: 400; line-height: 1.3; }
.product-card__action { min-width: 0; display: flex; align-items: flex-end; justify-content: center; padding-left: 13px; }
.product-card__action > a,
.product-card__action > button { flex: 0 0 auto; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 23px; }
.product-card__bottom strong { font-size: 20px; font-weight: 400; line-height: 1.3; }
.product-card__bottom button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(201, 161, 91, .55); border-radius: 50%; color: var(--gold); transition: background .25s ease; }
.product-card__bottom button:hover { background: var(--gold); color: #12100c; }
.product-card__action button:hover { background: var(--gold); color: #12100c; }

.showroom { min-height: 620px; display: grid; grid-template-columns: 56% 44%; background: var(--surface); }
.showroom > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.showroom__content { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(42px, 7vw, 120px); }
.showroom__content > p:not(.eyebrow) { max-width: 520px; margin: 26px 0 34px; color: var(--muted); font-size: 14px; line-height: 1.75; text-wrap: pretty; }
.showroom__content .button { align-self: flex-start; }

.projects { background: #11161d; border-top: 1px solid var(--line); }
.projects__grid { display: grid; grid-template-columns: 1.45fr .75fr; grid-template-rows: repeat(2, 255px); gap: 14px; }
.project-card { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.project-card--main { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(5,7,10,.9)); }
.project-card > div { position: absolute; z-index: 1; inset: auto 0 0; padding: 30px; }
.project-card p { margin: 0 0 7px; color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 0; font: 400 20px/1.35 var(--font-display); text-transform: uppercase; }
.project-card span { display: block; margin-top: 9px; color: #a6abb3; font-size: 12px; }
.project-card:hover img { transform: scale(1.035); }

.consultation { background: #0f141b; }
.consultation__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.consultation__intro > p:last-child { max-width: 500px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.consultation__steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.consultation__steps a { display: block; padding: 28px 26px; border-right: 1px solid var(--line); color: inherit; transition: background .25s ease; }
.consultation__steps a:first-child { border-left: 1px solid var(--line); }
.consultation__steps a:hover { background: #12171d; }
.consultation__steps span { color: var(--gold); font-size: 11px; }
.consultation__steps h3 { margin: 42px 0 12px; font-family: var(--font-display); font-size: 16px; font-weight: 400; line-height: 1.35; text-transform: uppercase; }
.consultation__steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; text-wrap: pretty; }
.consultation__form { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.consultation-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 14px; }
.consultation-form > div { display: grid; gap: 8px; }
.consultation-form label { color: #c9cbd0; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.consultation-form input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); outline: 0; color: #f6f5f2; background: #0d1117; }
.consultation-form input:focus { border-color: var(--gold); }
.consultation-form > p { grid-column: 1 / -1; margin: 0; color: #777d86; font-size: 10px; }
.consultation-form > p a { color: #aeb2b9; text-decoration: underline; }
.max-inline-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: #c3c7cd; font-size: 11px; line-height: 1.45; transition: color .2s ease; }
.max-inline-link img { flex: 0 0 auto; width: 17px; height: 17px; }
.max-inline-link:hover { color: var(--gold-bright); }
.max-inline-link:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.consultation-form__max { grid-column: 3; justify-self: center; margin-top: 2px; }
.consultation-form__success { display: flex; align-items: center; gap: 16px; min-height: 70px; padding: 18px 22px; border: 1px solid rgba(111,177,131,.45); color: #b9dbc4; background: rgba(53,103,68,.12); }

.home-journal { overflow: hidden; background: #131820; border-top: 1px solid var(--line); }
.home-journal .section-heading { margin-bottom: 34px; }
.home-articles { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr); grid-template-rows: repeat(2, minmax(225px, 1fr)); gap: 14px; }
.home-article { min-width: 0; display: grid; grid-template-columns: minmax(180px, 42%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: border-color .25s ease, background .25s ease; }
.home-article:hover { border-color: rgba(201, 161, 91, .45); background: #141920; }
.home-article--featured { grid-row: 1 / 3; grid-template-columns: 1fr; grid-template-rows: minmax(330px, 1fr) auto; }
.home-article__image { min-height: 100%; overflow: hidden; background: #0a0d12; }
.home-article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.home-article:hover .home-article__image img { transform: scale(1.035); }
.home-article__content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
.home-article--featured .home-article__content { padding: 30px 32px 34px; }
.home-article time { color: var(--gold); font-size: 10px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.home-article h3 { margin: 13px 0 11px; font-family: var(--font-display); font-size: 18px; font-weight: 400; line-height: 1.4; text-wrap: balance; }
.home-article--featured h3 { max-width: 720px; font-size: clamp(23px, 2.1vw, 31px); line-height: 1.3; }
.home-article p { max-width: 62ch; margin: 0; color: #9ba0aa; font-size: 12px; line-height: 1.7; text-wrap: pretty; }
.home-article__link { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--gold-bright); font-size: 10px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; }
.home-article__link i { font-size: 16px; transition: transform .25s ease; }
.home-article:hover .home-article__link i { transform: translateX(4px); }

.newsletter { padding: 70px 0; border-block: 1px solid var(--line); background: var(--card); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.newsletter__inner > div > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; text-wrap: pretty; }
.newsletter form { display: flex; }
.newsletter input { width: 100%; min-height: 58px; padding: 0 20px; border: 1px solid var(--line); border-right: 0; outline: 0; color: #fff; background: #0b0e13; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter .button { min-width: 190px; border: 0; }
.newsletter__success { display: flex; align-items: center; gap: 15px; color: #b5d9bf; font-size: 18px; }
.newsletter__success svg { width: 26px; height: 26px; }

.footer { padding: 66px 0 22px; background: #0b0f14; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px; }
.footer .logo { align-items: flex-start; margin-bottom: 26px; }
.footer__grid > div:first-child > p { max-width: 270px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer h3 { margin: 0 0 22px; color: var(--gold); font-size: 11px; font-weight: 500; text-transform: uppercase; }
.footer__grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer__grid a, .footer__grid > div:not(:first-child) p { margin: 0 0 12px; color: #a7abb3; font-size: 12px; line-height: 1.6; }
.footer__grid a:hover { color: var(--gold-bright); }
.footer__grid .footer-max-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-max-link img { width: 16px; height: 16px; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: #717782; font-size: 10px; }

.max-quick-contact { position: fixed; z-index: 45; right: 24px; bottom: 24px; min-height: 52px; display: inline-flex; align-items: center; gap: 11px; padding: 8px 17px 8px 8px; border: 1px solid rgba(201,161,91,.55); color: #ecece9; background: #0d1117; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.max-quick-contact:hover { border-color: var(--gold); color: var(--gold-bright); background: #151a21; transform: translateY(-2px); }
.max-quick-contact:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.max-quick-contact__icon { width: 34px; height: 34px; display: grid; place-items: center; padding: 6px; background: #171b22; }
.max-quick-contact__icon img { width: 100%; height: 100%; display: block; }
.max-quick-contact__label { font-size: 11px; letter-spacing: .03em; }

.modal-layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 110px; }
.modal-layer__backdrop, .drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .72) !important; backdrop-filter: blur(5px); }
.search-panel { position: relative; z-index: 1; width: min(760px, calc(100% - 32px)); padding: 34px; border: 1px solid var(--line); background: #11151b; box-shadow: 0 30px 100px rgba(0, 0, 0, .55); }
.search-panel__top, .cart-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.search-panel h2, .cart-drawer h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 300; text-transform: uppercase; }
.search-panel__top button svg, .cart-drawer__top button svg { width: 25px; height: 25px; }
.search-field { display: flex; align-items: center; gap: 14px; margin: 28px 0; padding: 0 15px; border: 1px solid var(--gold); }
.search-field input { width: 100%; height: 55px; border: 0; outline: 0; background: transparent; color: #fff; }
.search-panel__label { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.search-results { display: grid; }
.search-results a { display: grid; grid-template-columns: 65px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.search-results img { width: 65px; height: 55px; object-fit: cover; }
.search-results span { display: grid; gap: 5px; color: #b7bac0; font-size: 12px; }
.search-results b { color: #fff; font-size: 10px; letter-spacing: .08em; }
.search-results strong { font-size: 13px; font-weight: 400; }

.cart-drawer { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(460px, 100%); padding: 34px; background: #11151b; transform: translateX(102%); transition: transform .35s ease; }
.cart-drawer--open { transform: translateX(0); }
.drawer-backdrop { z-index: 110; }
.cart-empty { min-height: 75%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty > svg { width: 72px; height: 72px; color: var(--gold); }
.cart-empty h3 { margin: 26px 0 8px; font-family: "Manrope", sans-serif; font-weight: 400; text-transform: uppercase; }
.cart-empty p { margin: 0 0 28px; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin-top: 38px; padding-block: 20px; border-block: 1px solid var(--line); }
.cart-item img { width: 110px; height: 110px; object-fit: cover; }
.cart-item b { font-size: 10px; letter-spacing: .1em; }
.cart-item p { color: #b4b7bd; font-size: 13px; line-height: 1.5; }
.cart-item strong { font-size: 14px; font-weight: 400; }
.cart-drawer__total { display: flex; justify-content: space-between; margin: 24px 0; font-size: 18px; }
.cart-drawer > .button { width: 100%; border: 0; }

@media (max-width: 1280px) {
  .header__inner { grid-template-columns: auto 1fr auto auto; gap: 25px; }
  .header__tagline { display: none; }
  .nav { gap: 22px; }
  .header__phone { display: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card:nth-child(4), .category-card:nth-child(5) { min-height: 280px; }
  .product-card__image { height: 230px; }
}

@media (max-width: 980px) {
  .container-wide { width: min(calc(100% - 40px), var(--container)); }
  .header { height: 76px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 15px 20px 28px; background: #0c1015; border-bottom: 1px solid var(--line); transform: translateY(-140%); opacity: 0; transition: .3s ease; }
  .nav--open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a.nav__catalog { min-height: 48px; justify-content: center; padding: 0 16px; border: 1px solid var(--gold); }
  .header__actions { grid-column: 3; }
  .account span { display: none; }
  .menu-button { display: block; }
  .hero { min-height: 780px; height: 780px; }
  .hero__slide { background-position: 58% center; }
  .hero__content { align-self: end; padding: 0 0 80px; }
  .hero__veil { background: rgba(3, 6, 10, .46); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .categories { padding-block: 68px; }
  .categories .section-heading { margin-bottom: 32px; }
  .categories .section-heading h2 { font-size: clamp(30px, 4.5vw, 40px); }
  .category-card { min-height: 300px; }
  .brand-line__inner { grid-template-columns: 24px minmax(0,1fr) 24px auto; }
  .brand-line a { min-width: 120px; text-align: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom { grid-template-columns: 1fr; }
  .showroom > img { min-height: 440px; max-height: 500px; }
  .showroom__content { padding: 70px 40px; }
  .consultation__grid, .newsletter__inner { grid-template-columns: 1fr; gap: 45px; }
  .projects__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 260px; }
  .project-card--main { grid-column: 1 / -1; grid-row: auto; }
  .consultation-form { grid-template-columns: 1fr 1fr; }
  .consultation-form .button { grid-column: 1 / -1; justify-self: start; }
  .consultation-form__max { grid-column: 1 / -1; justify-self: start; }
  .home-articles { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .home-article, .home-article--featured { grid-row: auto; grid-template-columns: 1fr; grid-template-rows: 260px auto; }
  .home-article--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); grid-template-rows: minmax(340px, auto); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 640px) {
  .container-wide { width: calc(100% - 32px); }
  .logo { width: 142px; min-width: 142px; height: 50px; }
  .header__actions { gap: 10px; }
  .hero { min-height: 720px; height: 100svh; }
  .hero__slide { background-position: 62% center; }
  .hero__content { padding-bottom: 58px; }
  .hero h1, .hero h2 { max-width: 520px; font-size: clamp(34px, 10.5vw, 44px); line-height: 1.1; }
  .hero__copy { font-size: 14px; }
  .hero__buttons { display: grid; max-width: 280px; }
  .hero__progress { right: 16px; bottom: 14px; gap: 8px; }
  .hero__progress-line { width: 48px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit { min-height: 92px; padding: 20px 18px; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .benefit svg { width: 35px; height: 35px; }
  .benefit h3 { font-size: 12px; }
  .benefit p { font-size: 11px; }
  .section { padding: 68px 0; }
  .section-heading { align-items: flex-start; }
  .section-heading > a { flex: 0 0 36px; width: 36px; justify-content: flex-end; overflow: hidden; white-space: nowrap; font-size: 0; }
  .section-heading > a i, .section-heading > a svg { min-width: 18px; font-size: 18px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card:nth-child(4), .category-card:nth-child(5) { min-height: 320px; }
  .brand-line__inner { min-height: 80px; gap: 10px; }
  .brand-line__all { grid-column: 1 / -1; width: 100%; justify-content: center; margin-bottom: 12px; }
  .brands-panel__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-line a { min-width: 110px; font-size: 16px; }
  .product-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .product-card { flex: 0 0 86%; scroll-snap-align: start; }
  .showroom > img { min-height: 360px; }
  .showroom__content { padding: 58px 24px; }
  .consultation__steps { grid-template-columns: 1fr; }
  .consultation__steps a { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .consultation__steps h3 { margin-top: 20px; }
  .projects__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 300px); }
  .project-card--main { grid-column: auto; }
  .consultation-form { grid-template-columns: 1fr; }
  .consultation-form .button { width: 100%; }
  .max-quick-contact { right: 14px; bottom: 14px; width: 50px; min-height: 50px; padding: 8px; justify-content: center; }
  .max-quick-contact__icon { width: 32px; height: 32px; padding: 5px; }
  .max-quick-contact__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home-articles { grid-template-columns: 1fr; }
  .home-article, .home-article--featured { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .home-article__content, .home-article--featured .home-article__content { padding: 24px 20px 27px; }
  .home-article--featured h3 { font-size: 23px; }
  .newsletter form { display: grid; }
  .newsletter input { border-right: 1px solid var(--line); }
  .newsletter .button { min-width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { gap: 20px; }
  .search-panel { padding: 24px 18px; }
  .search-results a { grid-template-columns: 55px 1fr; }
  .search-results strong { grid-column: 2; }
}

@media (max-width: 390px) {
  .logo { width: 126px; min-width: 126px; }
  .header__actions { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (min-width: 1500px) {
  body { font-size: 15px; }
  .header__tagline { font-size: 10px; }
  .nav a { font-size: 12px; }
  .header__phone a { font-size: 14px; }
  .hero h1, .hero h2 { font-size: 48px; }
  .hero__copy { font-size: 14px; }
  .benefit h3 { font-size: 12px; }
  .benefit p, .category-card p { font-size: 11px; }
  .category-card h3 { font-size: 14px; }
  .product-card__brand { font-size: 12px; }
  .product-card h3 { font-size: 14px; }
  .product-card__meta { font-size: 11px; }
}
