:root {
  --ink: #151515;
  --muted: #5f6268;
  --line: #d9dde2;
  --soft: #f4f5f6;
  --panel: #ffffff;
  --accent: #f47a12;
  --accent-strong: #d95f00;
  --blueprint: #253b56;
  --shadow: 0 18px 48px rgba(21, 21, 21, 0.12);
  --radius: 8px;
  --sidebar-width: 282px;
  --topbar-height: 106px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f7f8f9;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(244, 122, 18, 0.55);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(270px, 380px) minmax(340px, 1fr) minmax(210px, 280px) auto;
  align-items: center;
  gap: 20px;
  min-height: var(--topbar-height);
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

.brand span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand strong {
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  max-width: 210px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.topbar__contacts,
.topbar__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.topbar__contacts a {
  color: var(--ink);
  font-weight: 700;
}

.topbar__contacts span {
  flex-basis: 100%;
}

.topbar__legal {
  justify-content: flex-start;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  font-size: 12px;
}

.topbar__legal strong {
  flex-basis: 100%;
  color: var(--ink);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.mobile-call {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.page-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fff;
}

.side-nav {
  display: grid;
  gap: 0;
  padding: 14px;
}

.side-nav__label {
  padding: 9px 12px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-bottom: 1px solid #eceff2;
  border-radius: var(--radius);
  color: #24272b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.side-nav a:hover,
.side-nav a.is-active {
  background: #fff4eb;
  color: var(--accent-strong);
}

.side-nav a.is-active {
  box-shadow: inset 3px 0 0 var(--accent);
}

main {
  min-width: 0;
}

.hero-section,
.content-section {
  scroll-margin-top: calc(var(--topbar-height) + 22px);
}

.hero-section {
  min-height: calc(100vh - var(--topbar-height));
  padding: 24px clamp(22px, 4vw, 58px) 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at top right, rgba(244, 122, 18, 0.12), transparent 38%),
    #fbfbfb;
}

.hero-section__intro {
  display: grid;
  gap: 8px;
  max-width: 1120px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-section h1 {
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  white-space: nowrap;
}

.hero-section__intro p:last-child {
  max-width: 980px;
  margin-bottom: 0;
  color: #3c4046;
  font-size: 16px;
  line-height: 1.42;
}

.hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  max-width: 1120px;
  margin: 20px 0 0;
}

.hero-proof div,
.detail-highlights div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.hero-proof strong,
.detail-highlights strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-proof span,
.detail-highlights span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.action-link--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: 6px clamp(14px, 2vw, 26px);
  max-width: 1120px;
}

.product-card {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 154px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: center;
}

.product-card:focus-visible .product-card__image,
.product-card:hover .product-card__image {
  box-shadow: 0 20px 34px rgba(244, 122, 18, 0.22), 0 18px 28px rgba(21, 21, 21, 0.1);
}

.product-card__image {
  position: relative;
  width: min(100%, 104px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 5px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 28px rgba(21, 21, 21, 0.12);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__title {
  max-width: 210px;
  min-height: 30px;
  margin: 0 auto;
  color: #202124;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-card__hint {
  width: fit-content;
  margin: -2px auto 0;
  color: var(--accent-strong);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card__hint::after {
  content: " ->";
}

.work-strip {
  position: relative;
  max-width: 1120px;
  margin: 12px 0 6px;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.work-strip__track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 8px 0;
  animation: stripMove 40s linear infinite;
}

.work-strip__item {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
}

.work-strip:hover .work-strip__track {
  animation-play-state: paused;
}

.work-strip__track img {
  width: 104px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
}

@keyframes stripMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.motto {
  margin: 0;
  color: var(--accent);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.content-stack {
  display: grid;
  gap: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--accent-strong);
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #9aa0a6;
}

.content-section {
  display: grid;
  gap: 28px;
  padding: clamp(38px, 5vw, 78px) clamp(22px, 4vw, 62px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.content-section:nth-child(even) {
  background: #f6f7f8;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.section-head h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
}

.product-detail .section-head h1,
.section-detail .section-head h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  text-transform: uppercase;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  max-width: 820px;
  margin-top: 6px;
}

.section-head p {
  max-width: 820px;
  margin-bottom: 0;
  color: #3b3f45;
  font-size: 17px;
  line-height: 1.65;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 1.05fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.section-layout--text-only {
  grid-template-columns: minmax(0, 780px);
}

.section-detail .section-layout,
.section-layout--portfolio {
  grid-template-columns: minmax(280px, 0.72fr) minmax(460px, 1.28fr);
}

.section-copy {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.section-copy p {
  margin-bottom: 0;
  color: #3b3f45;
  font-size: 16px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #343941;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.quote-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #f0c49d;
  border-radius: var(--radius);
  background: #fff7ef;
}

.quote-panel strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.quote-panel span {
  color: #3b3f45;
  font-size: 15px;
  line-height: 1.45;
}

.back-link {
  width: fit-content;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.product-grid--compact .product-card {
  min-height: 186px;
}

.product-grid--compact .product-card__image {
  width: min(100%, 140px);
  border-width: 5px;
}

.product-grid--compact .product-card__title {
  font-size: 12px;
}

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

.gallery--mosaic {
  grid-template-columns: minmax(180px, 1.15fr) repeat(2, minmax(120px, 1fr));
  grid-auto-rows: 150px;
}

.gallery button {
  min-height: 168px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #e8ebef;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery button:first-child {
  grid-row: span 2;
}

.gallery--mosaic button {
  min-height: 0;
}

.gallery--mosaic button:first-child {
  grid-column: 1;
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery button:hover img {
  transform: scale(1.035);
}

.note-panel {
  padding: 18px;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: #fff7ef;
  color: #3b3f45;
  font-size: 15px;
  line-height: 1.6;
}

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

.proof-item,
.contact-item {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.proof-item strong,
.contact-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 13px;
  text-transform: uppercase;
}

.proof-item span,
.contact-item span,
.contact-item a {
  color: #272b31;
  font-size: 15px;
  line-height: 1.45;
}

.contact-item a {
  font-weight: 800;
}

.map-shell {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 1px 1px, rgba(37, 59, 86, 0.12) 1px, transparent 0);
  background-size: auto, 18px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.map-fallback {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 8px;
  max-width: min(380px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(21, 21, 21, 0.12);
}

.map-fallback strong {
  color: var(--accent-strong);
  font-size: 13px;
  text-transform: uppercase;
}

.map-fallback span {
  color: #272b31;
  font-size: 15px;
  line-height: 1.45;
}

.map-fallback a {
  width: fit-content;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(10, 12, 16, 0.86);
}

.lightbox figure {
  display: grid;
  gap: 12px;
  max-width: min(1120px, 94vw);
  max-height: 92vh;
  margin: 0;
}

.lightbox img {
  max-height: 82vh;
  width: auto;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox figcaption {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  display: none;
  width: 58px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 58px;
  line-height: 0.8;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox.is-carousel .lightbox__nav {
  display: grid;
  place-items: center;
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(244, 122, 18, 0.82);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: minmax(210px, 1fr) minmax(280px, 1fr) auto;
  }

  .topbar__legal {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(132px, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-height: 84px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    min-height: var(--topbar-height);
    padding: 9px 14px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    max-width: 170px;
    font-size: 11px;
  }

  .topbar__contacts {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-call {
    display: inline-flex;
  }

  .page-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    inset: var(--topbar-height) auto 0 0;
    z-index: 40;
    width: min(86vw, 330px);
    height: auto;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: var(--shadow);
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  .hero-section {
    min-height: auto;
    padding-top: 28px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-section h1 {
    white-space: normal;
  }

  .hero-section__intro p:last-child {
    font-size: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(128px, 1fr));
    gap: 22px 14px;
  }

  .product-card {
    min-height: 206px;
  }

  .product-card__image {
    width: min(100%, 148px);
    border-width: 5px;
  }

  .product-card__title {
    font-size: 12px;
  }

  .section-layout {
    grid-template-columns: 1fr;
  }

  .section-detail .section-layout,
  .section-layout--portfolio {
    grid-template-columns: 1fr;
  }

  .gallery--mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .product-detail .gallery--mosaic {
    order: -1;
  }

  .proof-grid,
  .contacts-grid,
  .detail-highlights {
    grid-template-columns: 1fr;
  }

  .gallery button {
    min-height: 132px;
  }
}

@media (max-width: 520px) {
  .hero-section,
  .content-section {
    padding-inline: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-proof div,
  .detail-highlights div {
    min-height: 74px;
    padding: 12px;
  }

  h1 {
    font-size: 36px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card {
    min-height: 188px;
  }

  .product-card__image {
    width: min(100%, 130px);
  }

  .work-strip__track img {
    width: 112px;
    height: 76px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery--mosaic {
    grid-template-columns: 1fr;
  }

  .gallery button:first-child {
    grid-row: auto;
  }

  .gallery--mosaic button:first-child {
    grid-row: auto;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 42px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work-strip__track {
    animation: none;
  }

  .product-card__image img,
  .gallery img {
    transition: none;
  }
}
