:root {
  --bg: #110f0c;
  --bg-raise: #1b1814;
  --line: rgba(243, 232, 214, 0.12);
  --text: #f6f0e6;
  --muted: #b3a898;
  --faint: #7d7468;
  --amber: #f0a04b;
  --amber-deep: #c46b2d;
  --ink: #1a120c;
  --good: #d7e38a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(240, 160, 75, 0.18), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(196, 107, 45, 0.12), transparent 50%),
    var(--bg);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(17, 15, 12, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f3c27a, var(--amber-deep));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.logo strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.logo small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover { background: #ffb45d; }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: rgba(240, 160, 75, 0.5); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 36px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--good);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(240, 160, 75, 0.15);
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
}

h1 span {
  display: block;
  margin-top: 12px;
  font-size: 0.46em;
  line-height: 1.2;
  color: var(--amber);
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
}

.facts span { color: var(--faint); font-size: 13px; }

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  height: min(640px, 78vw);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.inset {
  position: absolute;
  right: 12px;
  bottom: -22px;
  width: min(240px, 46%);
  margin: 0;
  background: var(--bg-raise);
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.inset img {
  height: 160px;
  border-radius: 14px;
}

.inset figcaption {
  padding: 8px 6px 4px;
  color: var(--muted);
  font-size: 13px;
}

.section { padding: 72px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 180px;
}

.service .num {
  font-family: var(--display);
  color: var(--amber);
  font-size: 13px;
}

.service h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.service p { margin: 0; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filters button {
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}

.price-group { margin: 22px 0 8px; }

.price-group h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.price-group h3 span {
  display: inline-block;
  margin-left: 8px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--good);
  font-family: var(--font);
  font-size: 13px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(243, 232, 214, 0.16);
}

.price-row[hidden],
.price-group[hidden] {
  display: none;
}

.price-row h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  letter-spacing: 0;
  font-weight: 700;
}

.price-row p {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 14px;
}

.sum {
  font-family: var(--display);
  font-size: 20px;
  white-space: nowrap;
}

.term {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: var(--good);
  font-size: 13px;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 12px;
}

.shot {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
}

.shot:first-child { grid-row: span 2; }
.shot:nth-child(6) { grid-column: span 2; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shot:hover img { transform: scale(1.04); }

.shot span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(17, 15, 12, 0.72);
  color: var(--text);
  text-align: left;
  font-size: 14px;
}

.contacts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.contact-card, .contact-side {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
}

.contact-card {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-link span { color: var(--faint); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.contact-link strong {
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  text-align: right;
  overflow-wrap: anywhere;
}

.contact-side {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(240, 160, 75, 0.16), transparent 40%),
    var(--bg-raise);
}

.contact-side h2 { margin: 0 0 12px; font-size: 36px; }

.contact-side p { color: var(--muted); margin: 0 0 22px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.lightbox {
  border: 1px solid var(--line);
  padding: 12px;
  background: #16130f;
  width: min(920px, calc(100% - 24px));
  border-radius: 22px;
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  background: #000;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 10px 4px 2px;
}

.lightbox-bar p { margin: 0; text-align: center; flex: 1; }

.lightbox button {
  font: inherit;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.tabbar { display: none; }

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .wrap { width: min(1120px, calc(100% - 28px)); }

  .header-inner { min-height: 62px; gap: 12px; }
  .nav, .nav-toggle, .header-inner .btn { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0 8px;
  }

  h1 { font-size: 34px; }
  h1 span { margin-top: 8px; font-size: 22px; }
  .lead { font-size: 16px; margin-bottom: 18px; }
  .hero-actions { margin-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 140px; }

  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
  }
  .facts strong { font-size: 15px; }
  .facts span { font-size: 13px; text-align: right; }

  .hero-visual { margin-top: 8px; margin-bottom: 8px; }
  .hero-visual > img {
    height: 280px;
    border-radius: 22px;
    object-position: center 30%;
  }
  .inset { width: 46%; right: 10px; bottom: 10px; }
  .inset img { height: 88px; }
  .inset figcaption { font-size: 12px; }

  .section { padding: 42px 0; scroll-margin-top: 72px; }
  .section-head, .site-footer { flex-direction: column; align-items: start; }
  .section-head { gap: 8px; margin-bottom: 18px; }
  .services, .contacts, .gallery { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 18px; }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -14px 14px;
    padding: 0 14px 6px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; min-height: 44px; }

  .price-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
  }
  .price-row > div:last-child {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .term { margin-top: 0; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .shot:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .shot:nth-child(6) { grid-column: auto; }

  .contact-card, .contact-side { padding: 8px 18px 18px; border-radius: 22px; }
  .contact-side { padding: 22px 18px; }
  .contact-side h2 { font-size: 28px; }
  .contact-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 72px;
  }
  .contact-link strong { text-align: left; font-size: 20px; }
  .contact-side .btn { width: 100%; }

  .lightbox {
    width: calc(100% - 16px);
    margin: auto;
    max-height: calc(100% - 24px);
  }
  .lightbox img { max-height: 58vh; }
  .lightbox-bar { flex-wrap: wrap; }
  .lightbox-bar p { flex-basis: 100%; order: -1; }

  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(17, 15, 12, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .tabbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 2px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--muted);
  }
  .tabbar a.is-current { color: var(--text); background: rgba(255, 255, 255, 0.05); }
  .tabbar a.tabbar-call { background: var(--amber); color: var(--ink); }
  .site-footer { padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img { transition: none; }
}
