:root {
  --top: #c1a096;
  --bottom: #e0cfc7;
  --text: #2b2322;
  --muted: #6d5d59;
  --accent: #2b2322;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--top) 0%, #cfb2a8 35%, #d9c4bb 70%, var(--bottom) 100%) fixed;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header { padding: 40px 0 0; position: relative; z-index: 2; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 140px; width: auto; display: block; }
.logo-fallback { font-weight: 700; font-size: 56px; letter-spacing: 8px; }
.logo-fallback small { display: block; font-size: 13px; letter-spacing: 3px; font-weight: 500; color: var(--muted); }
nav { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; margin-top: 24px; }
nav a {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 20px; transition: background .2s, color .2s;
}
nav a:hover, nav a.active { background: var(--accent); color: #fff; }

.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 460px; gap: 32px; }
.hero h1 {
  font-family: "Marck Script", cursive; font-weight: 400;
  font-size: clamp(64px, 9vw, 110px); line-height: 1; margin-bottom: 24px;
}
.hero p { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 440px; }
.btn {
  display: inline-block; margin-top: 28px; padding: 14px 28px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.hero-photo { display: flex; align-items: center; justify-content: center; }
.hero-photo img {
  width: 100%; max-width: 420px; max-height: 420px; object-fit: contain; display: block;
}

section { padding: 60px 0; }
.section-title {
  font-family: "Marck Script", cursive; font-weight: 400; font-size: 52px;
  margin-bottom: 28px; text-align: center;
}
.slider { position: relative; }
.track {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 calc((100% - 32px) / 5); aspect-ratio: 1; scroll-snap-align: start;
  background: rgba(255,255,255,.35); overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px;
}
.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.shot:hover img { transform: scale(1.05); }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--text); font-size: 26px; line-height: 1;
  z-index: 2; transition: background .2s;
}
.arrow:hover { background: #fff; }
.arrow.prev { left: -22px; }
.arrow.next { right: -22px; }

.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: rgba(255,255,255,.55); padding: 28px; }
.card h3 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.card p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.contacts { text-align: center; }
.contacts p { font-size: 15px; color: var(--text); margin-bottom: 8px; }
.vk {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 16px 32px; background: #efe6e1; font-weight: 700; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase; transition: transform .2s;
}
.vk:hover { transform: translateY(-2px); }
.vk svg { width: 24px; height: 24px; fill: #0077ff; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member .ava { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; position: relative;
  overflow: hidden; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 28px; color: var(--muted); }
.member .ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member .role { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.member a { text-decoration: underline; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

footer { padding: 30px 0 40px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
       stroke-linecap: round; stroke-linejoin: round; }
.card .ico-wrap { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff;
       display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .ico-wrap .ico { width: 26px; height: 26px; }
.card { transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,35,34,.12); }
.contact-line { display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; }
.btn .ico { width: 18px; height: 18px; }
.section-title::after { content: ""; display: block; width: 60px; height: 2px; background: var(--accent);
       margin: 10px auto 0; opacity: .5; }

.shot.has-img { cursor: zoom-in; }
.shot .zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
       background: rgba(43,35,34,.35); color: #fff; opacity: 0; transition: opacity .3s; z-index: 1; }
.shot .zoom .ico { width: 38px; height: 38px; }
.shot.has-img:hover .zoom { opacity: 1; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(20,15,14,.92);
      display: flex; align-items: center; justify-content: center; padding: 60px 70px;
      opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5);
      transform: scale(.94); transition: transform .3s; user-select: none; }
.lb.open img { transform: scale(1); }
.lb button { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer;
      width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
      transition: background .2s; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb .ico { width: 26px; height: 26px; stroke-width: 2; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7);
      font-size: 13px; letter-spacing: 2px; }
body.no-scroll { overflow: hidden; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
      border: none; cursor: pointer; background: var(--accent); color: #fff; display: flex; align-items: center;
      justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.show { opacity: .85; visibility: visible; transform: none; }
.to-top:hover { opacity: 1; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

footer .ico { width: 16px; height: 16px; vertical-align: -3px; }
footer a:hover { color: var(--text); }
@media (max-width: 600px) { .lb { padding: 60px 10px; } .lb .lb-prev, .lb .lb-next { top: auto; bottom: 10px; transform: none; } }

@media (max-width: 800px) {
  .logo img { height: 100px; }
  header .wrap { justify-content: center; }
  nav { align-self: center; margin-top: 0; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .shot { flex-basis: calc((100% - 8px) / 2); }
  .arrow.prev { left: 0; } .arrow.next { right: 0; }
  .about { grid-template-columns: 1fr; }
}

html { scrollbar-width: thin; scrollbar-color: #8f6f66 #e6d7d1; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e6d7d1; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #a98479, #7d5f57); border-radius: 10px; border: 2px solid #e6d7d1; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: #7d5f57; color: #fff; }

nav a, [data-to] { cursor: pointer; }
.phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 4px;
font-size: 22px; font-weight: 700; letter-spacing: 1px; transition: opacity .2s; }
.phone:hover { opacity: .7; }
.phone .ico { width: 22px; height: 22px; }
