:root {
  --ink: #16202b;
  --muted: #66717d;
  --navy: #162b3d;
  --navy-deep: #0d1b27;
  --orange: #883406;
  --orange-dark: #8A2E0A;
  --line: #dfe3e7;
  --surface: #fff;
  --soft: #f3f5f6;
  --container: 1180px;
  --shadow: 0 18px 45px rgba(13, 27, 39, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--surface); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, summary { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 10px 16px; color: #fff; background: #8A390A; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.topbar { color: #fff; background: var(--navy-deep); font-size: .78rem; }
.topbar__inner { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__contacts { display: flex; gap: 22px; }
.topbar__contacts a { color: #fff; text-decoration: none; }
.topbar__contacts a:hover { color: #ff9d62; }
.language-switcher { position: relative; }
.language-switcher summary { min-width: 78px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; list-style: none; cursor: pointer; font-weight: 700; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher img, .language-panel img { width: 22px; height: 15px; display: block; flex: 0 0 22px; object-fit: cover; border-radius: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.26); }
.language-panel { position: absolute; top: calc(100% + 13px); right: 0; z-index: 1100; width: min(560px, calc(100vw - 30px)); max-height: 70vh; overflow: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.language-panel a { min-width: 0; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 7px; padding: 9px 10px; text-decoration: none; border-radius: 3px; }
.language-panel .language-link--text-only { grid-template-columns: 1fr auto; }
.language-panel a:hover, .language-panel a:focus-visible, .language-panel .is-current { background: #f2f4f5; color: var(--orange-dark); }
.language-panel b { font-size: .7rem; color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(22,32,43,.09); box-shadow: 0 5px 20px rgba(13,27,39,.05); backdrop-filter: blur(10px); }
.header__inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; }
.brand img { width: 112px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(13px, 1.7vw, 23px); }
.main-nav a { position: relative; color: #263541; font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a:not(.nav-shop)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: #8A390A; transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav .nav-shop { padding: 7px 13px; color: #fff; background: #8A390A; border-radius: 3px; }
.main-nav .nav-shop:hover { background: var(--orange-dark); }
.nav-toggle { display: none; width: 40px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 3px; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 7.5vw, 102px) 0; color: #fff; background: var(--navy); }
.hero__backdrop { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(13,27,39,.99) 0%, rgba(22,43,61,.96) 52%, rgba(22,43,61,.7) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -200px; z-index: -1; width: 520px; height: 520px; border: 90px solid rgba(239,108,34,.12); border-radius: 50%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(44px, 6vw, 82px); }
.hero__content, .split__content { min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 13px; color: var(--orange-dark); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #ff9d62; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.6rem, 4.8vw, 4.45rem); line-height: .98; letter-spacing: -.045em; }
.hero__lead { margin: 19px 0 5px; color: #ff9d62; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 700; }
.hero__copy { max-width: 650px; margin: 15px 0 0; color: #d8e0e5; font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid transparent; border-radius: 3px; font-size: .93rem; font-weight: 750; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--orange); }
.button--primary:hover { background: var(--orange-dark); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button--light { color: var(--navy-deep); background: #fff; }
.button--outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.hero__visual { position: relative; margin: 0; padding: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 26px 70px rgba(0,0,0,.28); }
.hero__visual::before { content: ""; position: absolute; top: -10px; right: -10px; width: 95px; height: 6px; background: var(--orange); }
.hero__visual img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; }
.hero__visual figcaption { padding: 11px 4px 0; color: #bfcad1; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--light { background: #fff; }
.section--gray { background: var(--soft); }
.section h2 { margin: 0 0 22px; color: var(--navy-deep); font-size: clamp(2rem, 3.6vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; }
.section p { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(390px, .95fr) minmax(0, 1.15fr); align-items: center; gap: clamp(42px, 5.5vw, 72px); }
.split__media { position: relative; align-self: center; padding: 14px; background: #eef1f2; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #fff; }
.media-label { position: absolute; left: 0; bottom: 30px; padding: 11px 18px; color: #fff; background: var(--orange); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.split__content > p:not(.section-kicker) { font-size: 1.02rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.trust-grid div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 18px; background: #fff; }
.trust-grid strong { color: var(--navy); font-size: .98rem; }
.trust-grid span { margin-top: 4px; color: var(--muted); font-size: .78rem; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr); align-items: end; gap: 60px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 6px; }
.section-heading--center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(13,27,39,.06); }
.product-card__image { display: block; overflow: hidden; padding: 12px 12px 0; background: #eef1f2; }
.product-card__image img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #fff; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card__body { padding: 24px 26px 26px; }
.product-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 1.35rem; }
.product-card p { min-height: 52px; margin: 0 0 18px; }
.product-card__body > a { color: var(--orange-dark); font-size: .88rem; font-weight: 800; text-decoration: none; }

.category-links { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 30px; }
.category-links a { padding: 9px 13px; color: var(--navy); background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 750; text-decoration: none; }
.category-links a:hover, .category-links .is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; }
.model-card { min-width: 0; width: 100%; align-self: start; display: flex; flex-direction: column; padding: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(13,27,39,.045); }
.model-card img { width: 100%; height: 210px; object-fit: contain; background: #f8f9f9; }
.model-card h3 { margin: 16px 0 7px; color: var(--navy); font-size: 1.02rem; line-height: 1.25; }
.model-card > a, .model-card__links a { margin-top: auto; color: var(--orange-dark); font-size: .78rem; font-weight: 800; text-decoration: none; }
.model-card > a:hover, .model-card__links a:hover { text-decoration: underline; }
.model-card--family { grid-column: span 3; display: grid; grid-template-columns: minmax(300px, 1.35fr) minmax(220px, .8fr); align-items: center; gap: 28px; padding: 20px; }
.model-card--family img { height: 290px; object-fit: contain; }
.model-card--family h3 { margin-top: 6px; font-size: 1.35rem; }
.model-card--family p { margin: 0 0 18px; font-size: .9rem; }
.model-card__eyebrow { color: var(--orange-dark) !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.model-card__links { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 72px 0 28px; padding-top: 30px; border-top: 1px solid var(--line); }
.catalog-heading h2 { margin-bottom: 0; }
.catalog-heading > a { margin-bottom: 7px; color: var(--orange-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.model-grid--mufowe .model-card img { height: 210px; object-fit: contain; }

.training { color: #fff; background: var(--navy); }
.training__grid { display: grid; grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(45px, 8vw, 100px); }
.training__image { padding: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.training__image img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.training h2 { color: #fff; }
.training p { color: #d1dbe1; }
.section .section-kicker--light { color: #C8C8D0; }
.training .button { margin-top: 16px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.service-grid article { padding: 30px 25px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); }
.service-grid svg { width: 43px; height: 43px; fill: none; stroke: var(--orange-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-grid h3 { min-height: 52px; margin: 20px 0 8px; color: var(--navy); font-size: 1.12rem; }
.service-grid p { margin: 0; font-size: .91rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 20px; }
.gallery-item { position: relative; overflow: hidden; padding: 10px; background: #fff; border: 1px solid var(--line); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 310px; object-fit: contain; background: #f6f7f7; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { position: absolute; left: 20px; bottom: 20px; padding: 7px 12px; color: #fff; background: rgba(13,27,39,.88); font-size: .8rem; font-weight: 800; letter-spacing: .06em; }

.contact { color: #fff; background: var(--navy-deep); }
.contact__intro { max-width: 760px; }
.contact h2 { color: #fff; }
.contact__intro > p:not(.section-kicker) { color: #c9d3da; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 1px; margin-top: 42px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.contact__grid article { min-height: 210px; padding: 28px; background: #132635; }
.contact__label { color: #ff9d62; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact h3 { margin: 15px 0 8px; font-size: 1.2rem; }
.contact address { color: #d1d9de; font-style: normal; }
.contact__phones { display: flex; flex-direction: column; align-items: flex-start; }
.contact__phones a { color: #fff; text-decoration: none; }
.contact__phones a:first-of-type { margin-top: 15px; }
.contact__phones a:hover { color: #ff9d62; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.footer { padding: 58px 0 24px; color: #aab6bf; background: #08131b; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 70px; }
.footer img { width: 170px; height: auto; }
.footer p { max-width: 360px; margin: 18px 0 0; font-size: .88rem; }
.footer nav, .footer__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer a { color: #dce3e7; text-decoration: none; }
.footer a:hover { color: #ff9d62; }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: .8rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 70px 75px 60px; background: rgba(2,8,12,.94); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; }
.lightbox button { position: absolute; color: #fff; background: rgba(22,43,61,.8); border: 1px solid rgba(255,255,255,.25); cursor: pointer; }
.lightbox__close { top: 18px; right: 22px; width: 47px; height: 47px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; width: 48px; height: 58px; margin-top: -29px; font-size: 2.4rem; }
.lightbox__prev { left: 15px; }
.lightbox__next { right: 15px; }
.lightbox__caption { position: absolute; left: 80px; right: 80px; bottom: 17px; margin: 0; color: #fff; text-align: center; }

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 83px; left: 0; right: 0; max-height: calc(100vh - 83px); overflow: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-shop { margin-top: 10px; padding: 11px 15px; text-align: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model-card--family { grid-column: span 2; grid-template-columns: 1fr; }
  .model-card--family img { height: 250px; }
}

@media (max-width: 820px) {
  .hero__grid, .split, .training__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 680px; }
  .hero__visual { width: 100%; max-width: 620px; margin-inline: auto; }
  .split__media, .training__image { max-width: 620px; }
  .split__media { order: 2; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__phones { grid-column: 1 / -1; min-height: auto !important; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer__meta { grid-column: 1 / -1; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-card--family { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__contacts a:first-child { display: none; }
  .language-panel { position: fixed; top: 27px; left: 10px; right: 10px; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__inner { min-height: 54px; }
  .brand img { width: 108px; }
  .main-nav { top: 81px; max-height: calc(100vh - 81px); }
  .hero { padding: 62px 0 72px; }
  .hero__grid { gap: 38px; }
  .hero h1 { overflow-wrap: anywhere; font-size: clamp(2.25rem, 11vw, 3rem); }
  .hero__lead { font-size: 1.25rem; }
  .hero__actions, .contact__actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .product-grid, .gallery-grid, .service-grid, .contact__grid, .footer__grid, .model-grid { grid-template-columns: 1fr; }
  .contact__phones, .footer__meta { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { min-height: 92px; }
  .product-card p { min-height: 0; }
  .service-grid article { padding: 26px 22px; }
  .service-grid h3 { min-height: 0; }
  .model-card--family { grid-column: auto; grid-template-columns: 1fr; }
  .model-card img, .model-grid--mufowe .model-card img { height: 190px; }
  .model-card--family img { height: 220px; }
  .gallery-item img { height: 230px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer__bottom { flex-direction: column; gap: 7px; }
  .lightbox { padding: 65px 12px 70px; }
  .lightbox__nav { top: auto; bottom: 11px; width: 44px; height: 44px; margin: 0; }
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
  .lightbox__caption { left: 62px; right: 62px; bottom: 20px; font-size: .8rem; }
}

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