/* GABUR — landing (по дизайн-макету: тёмный, золото, serif) */
:root {
  --bg: #0e1319;
  --bg2: #131a22;
  --panel: #171f29;
  --line: #2a3542;
  --gold: #c9a26a;
  --gold2: #d7b686;
  --text: #e9e6e0;
  --muted: #9aa4ae;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.2; }
h2 { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 34px; }
h3 { font-size: 19px; margin: 0 0 8px; }
a { color: var(--gold2); }
.muted { color: var(--muted); }
.script {
  font-family: 'Marck Script', cursive; color: var(--gold); font-size: 26px; margin: 0;
}
.btn {
  display: inline-block; border: 0; cursor: pointer; font-family: inherit; font-size: 15px;
  padding: 13px 26px; border-radius: 2px; letter-spacing: .04em; text-decoration: none;
  transition: filter .15s, background .15s, color .15s;
}
.btn.gold { background: linear-gradient(135deg, var(--gold2), #b3894f); color: #191006; font-weight: 600; }
.btn.gold:hover { filter: brightness(1.1); }
.btn.outline { background: transparent; border: 1px solid var(--gold); color: var(--gold2); }
.btn.outline:hover { background: rgba(201, 162, 106, .12); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.wide { width: 100%; }

/* ---------- шапка ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px; padding: 10px 4vw;
  background: rgba(14, 19, 25, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 106, .15);
}
.brand img { height: 46px; display: block; }
.menu { display: flex; gap: 22px; flex: 1; }
.menu a { color: var(--text); text-decoration: none; font-size: 14.5px; opacity: .85; }
.menu a:hover { color: var(--gold2); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--gold2); margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: center; padding: 120px 4vw 60px;
  background:
    linear-gradient(100deg, rgba(10, 14, 19, .92) 25%, rgba(10, 14, 19, .45) 60%, rgba(10, 14, 19, .55)),
    url("/img/hero.jpg") center 30% / cover no-repeat, #0e1319;
}
.hero-inner { max-width: 1180px; margin: 0 auto; width: 100%; }
.display {
  font-size: clamp(64px, 12vw, 150px); letter-spacing: .12em; margin: 0;
  color: var(--text); font-weight: 400;
}
.hero-sub {
  font-family: 'Playfair Display', serif; font-size: clamp(20px, 3vw, 30px);
  color: var(--gold2); margin: 10px 0 18px; line-height: 1.35;
}
.hero-text { max-width: 440px; color: var(--muted); margin-bottom: 30px; }

/* ---------- секции ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 76px 4vw 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); padding: 26px 22px; border-radius: 4px;
}
.card-ico { color: var(--gold); font-size: 20px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.stats {
  display: flex; gap: 8vw; margin: 54px 0 10px; padding: 30px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.stats b { font-family: 'Playfair Display', serif; font-size: 44px; color: var(--gold2); font-weight: 500; display: block; }
.stats span { color: var(--muted); font-size: 13.5px; line-height: 1.45; display: block; margin-top: 6px; }

/* ---------- процедуры ---------- */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.car-nav button {
  background: none; border: 1px solid var(--gold); color: var(--gold2); width: 44px; height: 44px;
  font-size: 22px; cursor: pointer; border-radius: 2px; margin-left: 8px;
}
.car-nav button:hover { background: rgba(201, 162, 106, .12); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin;
}
.proc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 0 0 18px; scroll-snap-align: start; display: flex; flex-direction: column;
}
.proc h3 { padding: 0 16px; font-size: 17px; }
.proc p { padding: 0 16px; color: var(--muted); font-size: 13.5px; flex: 1; margin: 0 0 14px; }
.proc .btn { margin: 0 16px; text-align: center; }
.proc-img {
  height: 150px; border-radius: 4px 4px 0 0; margin-bottom: 14px;
  background: linear-gradient(150deg, #232f3d, #16202b) center / cover no-repeat;
  position: relative; overflow: hidden;
}
.proc-img.i1 { background-image: url("/img/proc-electro.jpg"); }
.proc-img.i2 { background-image: url("/img/proc-clean.jpg"); }
.proc-img.i3 { background-image: url("/img/proc-peel.jpg"); }
.proc-img.i4 { background-image: url("/img/proc-app.jpg"); }
.proc-img.i5 { background-image: url("/img/proc-inj.jpg"); }
.proc-img.i6::after {
  content: "GABUR"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; letter-spacing: .3em; color: rgba(201, 162, 106, .25); font-size: 13px;
}
.proc-img.i6 { background: linear-gradient(150deg, #253630, #131f1a); }
.proc-price {
  margin: -34px 16px 10px; position: relative; display: inline-block; align-self: flex-start;
  background: rgba(14, 19, 25, .85); border: 1px solid var(--gold); color: var(--gold2);
  padding: 4px 10px; font-size: 13px; border-radius: 2px;
}

/* ---------- CTA ---------- */
.cta { padding: 60px 4vw; }
.cta-box {
  max-width: 1180px; margin: 0 auto; border: 1px solid var(--gold);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: 44px; border-radius: 4px;
  background: linear-gradient(120deg, rgba(201, 162, 106, .07), transparent 60%);
}
.cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--muted); max-width: 480px; margin-bottom: 26px; }
.cta-photo { display: flex; align-items: center; justify-content: center; }
.cta-photo img {
  width: 100%; max-width: 360px; border-radius: 4px; border: 1px solid var(--line);
  aspect-ratio: 4/3; object-fit: cover; opacity: .95;
}

/* ---------- прайс ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button {
  background: none; border: 1px solid var(--line); color: var(--muted); padding: 9px 16px;
  cursor: pointer; font-family: inherit; font-size: 14px; border-radius: 2px;
}
.tabs button.active { border-color: var(--gold); color: var(--gold2); }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-block { background: var(--panel); border: 1px solid var(--line); padding: 26px; border-radius: 4px; }
.price-block dl { margin: 0; }
.price-block dl > div {
  display: flex; justify-content: space-between; gap: 14px; padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.price-block dl > div:last-child { border-bottom: 0; }
.price-block dt { color: var(--text); }
.price-block dd { margin: 0; color: var(--gold2); white-space: nowrap; }
.pane-note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- основатель ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.founder-photo {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.founder-photo img { max-width: 65%; opacity: .85; }
.founder-text p { color: #cfd6dc; }
.founder-sign { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold2); }
.founder-sign span { font-family: 'Manrope', sans-serif; font-size: 13.5px; color: var(--muted); }
.founder-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.founder-feats b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.founder-feats span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- соцсети ---------- */
.social-sec { padding-bottom: 40px; }
.social-row {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 36px;
}
.social-row h2 { margin-bottom: 12px; }
.social-row p { color: var(--muted); margin: 0; }
.social-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 40px 18px 0; font-size: 16.5px; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px; color: var(--gold); font-size: 24px;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 860px; }
.faq-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 24px 28px;
}
.faq-cta p { margin: 0; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.contacts > div { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.contacts h3 { text-transform: uppercase; font-size: 13px; letter-spacing: .12em; color: var(--muted);
  font-family: 'Manrope', sans-serif; }
.big-link { font-size: 19px; color: var(--text); text-decoration: none; line-height: 1.8; }
a.big-link:hover { color: var(--gold2); }
.map-link { font-size: 14px; }
.addr-card {
  background: linear-gradient(rgba(23, 31, 41, .88), rgba(23, 31, 41, .88)),
    url("/img/map.jpg") center / cover no-repeat !important;
}

/* ---------- футер ---------- */
footer {
  margin-top: 70px; border-top: 1px solid var(--line); padding: 36px 4vw 46px; text-align: center;
}
.foot-logo { height: 54px; margin-bottom: 18px; }
.foot-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 13.5px; }
.foot-note { color: #5d6a76; font-size: 12.5px; margin-top: 16px; }

/* ---------- модалка ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 12, .7);
  display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
}
.modal-box {
  background: var(--bg2); border: 1px solid var(--gold); border-radius: 6px; padding: 30px;
  width: 100%; max-width: 420px; position: relative;
}
.modal-box h3 { font-size: 24px; margin: 0 0 4px; }
.modal-box .close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted);
  font-size: 28px; cursor: pointer;
}
#book-form label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
#book-form input:not([type="checkbox"]), #book-form textarea {
  width: 100%; margin-top: 5px; padding: 11px 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 3px; font-size: 16px; font-family: inherit;
}
#book-form input:focus, #book-form textarea:focus { outline: none; border-color: var(--gold); }
#book-form textarea { min-height: 70px; resize: vertical; }
#book-form .chk { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0; font-size: 12.5px; }
.form-msg { min-height: 20px; font-size: 14px; margin: 12px 0 0; }
.form-msg.ok { color: #7fc796; }
.form-msg.err { color: #e08a80; }

/* ---------- мобильная версия ---------- */
@media (max-width: 860px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .price-cols, .founder, .social-row, .cta-box { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .founder-feats { grid-template-columns: 1fr; }
  .cta-photo { display: none; }
  .stats { gap: 30px; }
}
@media (max-width: 720px) {
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #10161d; border-bottom: 1px solid var(--line); padding: 14px 6vw 20px; gap: 14px;
  }
  .menu.open { display: flex; }
  .burger { display: block; }
  .phone { display: none; }
  .grid4 { grid-template-columns: 1fr; }
  .stats b { font-size: 34px; }
  .carousel { grid-auto-columns: 78vw; }
  .row-head { flex-wrap: wrap; }
  .faq-cta { justify-content: center; text-align: center; }
}
