:root {
  --yellow: #ffd400;
  --ink: #11110f;
  --paper: #f5f4ef;
  --line: #d9d7cf;
  --muted: #66645d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.topbar {
  height: 88px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 244, 239, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.topbar img, footer img { width: 154px; height: 62px; object-fit: contain; }
.topbar__actions { display: flex; gap: 8px; align-items: center; }
.topbar__link {
  appearance: none;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.topbar__link--light { background: transparent; color: var(--ink); }

main { overflow: hidden; }
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(48px, 7vw, 100px) clamp(20px, 5vw, 76px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: #8b7200;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
}
h1, h2 { margin: 0; letter-spacing: -.055em; line-height: .93; }
h1 { font-size: clamp(54px, 7.2vw, 112px); }
h1 span { color: #b18e00; }
h2 { font-size: clamp(42px, 5.3vw, 78px); }
.hero__lead {
  max-width: 520px;
  margin: 28px 0 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}
.hero__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 30px; }
.hero__price strong { font-size: clamp(38px, 4vw, 62px); letter-spacing: -.05em; }
.hero__price span { color: var(--muted); font-size: 14px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}
.button--dark { background: var(--ink); color: #fff; }
.button--yellow { background: var(--yellow); color: var(--ink); }
.hero__image {
  margin: 0;
  min-width: 0;
  padding: 18px;
  background: var(--yellow);
  transform: rotate(1.4deg);
  box-shadow: 24px 26px 0 var(--ink);
}
.hero__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero__image figcaption { padding: 16px 4px 0; font-size: 12px; font-weight: 800; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefits div { padding: 28px clamp(20px, 4vw, 58px); border-right: 1px solid var(--line); }
.benefits div:last-child { border-right: 0; }
.benefits b, .benefits span { display: block; }
.benefits b { font-size: 19px; }
.benefits span { margin-top: 5px; color: var(--muted); font-size: 12px; }

.gallery-section { padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 76px); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: end;
  margin-bottom: 60px;
}
.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin: -24px 0 28px; }
.filters button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.filters button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.gallery__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery__item > button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.gallery__item--wide img { aspect-ratio: 2.05 / 1; object-position: center 48%; }
.gallery__item:hover img { transform: scale(1.015); }
.gallery__caption { display: flex; justify-content: space-between; gap: 15px; padding: 18px 20px 21px; }
.gallery__caption div { display: grid; }
.gallery__caption small { margin-bottom: 6px; color: #8b7200; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gallery__caption b { font-size: 17px; }
.gallery__caption span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.gallery__caption em { align-self: start; flex: none; padding: 6px 8px; border-radius: 999px; background: var(--yellow); font-size: 10px; font-style: normal; font-weight: 900; }
.gallery-loading,.gallery-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 70px 20px; color: var(--muted); }
.gallery-loading span { width: 32px; height: 32px; border: 3px solid #ddd; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.no-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #e8e7e1; color: var(--muted); font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

#lightbox { width: min(1120px, calc(100% - 24px)); max-width: none; height: min(850px, calc(100dvh - 24px)); padding: 58px 76px 24px; border: 0; border-radius: 18px; background: #111; color: #fff; box-shadow: 0 30px 90px #000a; }
#lightbox::backdrop { background: #000c; backdrop-filter: blur(8px); }
#lightbox figure { height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; }
#lightbox figure img { width: 100%; height: 100%; object-fit: contain; }
#lightbox figcaption { width: 100%; display: grid; gap: 4px; padding-top: 16px; }
#lightbox figcaption b { font-size: 18px; }
#lightbox figcaption span { color: #aaa; font-size: 12px; }
#closeLightbox { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 25px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; width: 48px; height: 70px; border: 0; border-radius: 12px; background: #ffffff18; color: #fff; font-size: 42px; cursor: pointer; transform: translateY(-50%); }
#prevPhoto { left: 14px; } #nextPhoto { right: 14px; }
#toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; padding: 13px 17px; border-radius: 10px; background: var(--ink); color: #fff; opacity: 0; transform: translateY(12px); transition: .2s; pointer-events: none; }
#toast.show { opacity: 1; transform: none; }

.design-offer {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 76px);
  background: var(--yellow);
}
.design-offer__text { align-self: end; }
.design-offer__text > p {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.45;
  font-weight: 650;
}
.formula { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.formula span { padding: 12px 15px; background: #fff; font-size: 14px; font-weight: 900; }
.formula b { font-size: 24px; }

.brief {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(45px, 9vw, 130px);
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: #fff;
}
.brief__copy > p:last-child { max-width: 480px; color: #aaa89f; line-height: 1.65; }
.brief__list { margin: 0; padding: 0; list-style: none; counter-reset: brief; }
.brief__list li {
  counter-increment: brief;
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 22px 0;
  border-top: 1px solid #353532;
}
.brief__list li::before {
  content: "0" counter(brief);
  grid-row: 1 / 3;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}
.brief__list b { font-size: 20px; }
.brief__list span { margin-top: 6px; color: #aaa89f; font-size: 13px; }
.brief .button { grid-column: 2; justify-self: start; }

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(20px, 5vw, 76px);
  background: #fff;
}
footer div { display: grid; gap: 4px; }
footer b { font-size: 15px; }
footer span { color: var(--muted); font-size: 12px; }
footer > a { font-weight: 800; }

@media (max-width: 860px) {
  .topbar { height: 72px; }
  .topbar img { width: 125px; height: 50px; }
  .topbar__link { padding: 10px 13px; font-size: 11px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 48px; }
  .hero__image { box-shadow: 12px 14px 0 var(--ink); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits div:nth-child(2) { border-right: 0; }
  .benefits div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .design-offer, .brief { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .brief .button { grid-column: 1; }
}

@media (max-width: 560px) {
  .topbar__actions { gap: 5px; }
  .topbar__link { padding: 9px 11px; font-size: 10px; }
  .hero__image { padding: 10px; }
  .benefits, .gallery { grid-template-columns: 1fr; }
  .benefits div { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefits div:last-child { border-bottom: 0; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--wide img { aspect-ratio: 1 / 1; }
  .formula { align-items: stretch; }
  .formula span { flex: 1 1 100%; }
  .formula b { transform: rotate(90deg); justify-self: center; }
  footer { grid-template-columns: 1fr; }
  footer > a { font-size: 14px; }
  #lightbox { padding: 56px 14px 18px; }
  .lightbox-nav { top: auto; bottom: 76px; width: 44px; height: 44px; font-size: 30px; }
  #prevPhoto { left: 18px; } #nextPhoto { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__item img { transition: none; }
}
:root .sport-select{display:block;max-width:360px;margin:22px 0 10px;font-size:15px;font-weight:700}.sport-select select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #ddd;border-radius:10px;font:inherit;min-height:46px}.similar-work{border:0;background:#ffd000;padding:12px 18px;min-height:46px;border-radius:10px;font:inherit;font-weight:800;white-space:nowrap}.gallery__caption{flex-wrap:wrap}.hero__price strong{font-size:clamp(24px,4vw,44px)}#quoteRequestOpen{margin:0 5vw 45px}#workSimilar{margin-top:14px}#lightbox figcaption{max-height:35vh;overflow:auto}#lightboxText{display:block}.quote-form>p,.quote-form label,.quote-form small{font-size:14px!important;line-height:1.5}.quote-form input,.quote-form textarea,.quote-form select{font-size:16px!important;min-height:44px}.quote-x{min-width:42px;min-height:42px;font-size:28px}.quote-reference{border:1px solid #dec95b;background:#fff9d8;padding:12px;border-radius:10px;font-size:14px;margin:16px 0}.quote-reference img{width:72px;height:72px;object-fit:cover;border-radius:8px;float:left;margin-right:12px}.quote-reference:after{content:'';display:block;clear:both}
.concept-label{display:inline-block!important;background:#fff2b3;color:#554300!important;padding:5px 8px;border-radius:6px;font-size:12px!important;font-weight:700}.hero__image figcaption{font-size:14px;line-height:1.5}
