* { box-sizing: border-box; }
:root {
  --bg: #171410; --panel: #211c16; --panel2: #292219; --ink: #f4efe3; --muted: #a99e8a;
  --accent: #ff4d00; --cream: #faf6ec; --line: #37301f;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; padding-bottom: 22px; }

/* админ-режим */
.adminbar { background: #ff4d00; color: #fff; padding: 8px 4vw; display: flex; gap: 18px; align-items: center; font-size: 14px; position: sticky; top: 0; z-index: 60; }
.adminbar a { color: #fff; font-weight: 600; }
.edit-btn { display: inline-block; background: #ff4d00; color: #fff !important; text-decoration: none; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.4); white-space: nowrap; }
.edit-btn:hover { background: #e04300; }
.edit-row { padding: 0 0 26px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(23,20,16,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.logo { display: flex; gap: 11px; align-items: center; text-decoration: none; }
.logo-mark { background: var(--accent); color: #fff; font-weight: 800; font-size: 19px; border-radius: 10px; padding: 8px 10px; }
.logo-text { font-weight: 800; font-size: 19px; line-height: 1.05; display: flex; flex-direction: column; }
.logo-text small { font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.nav + .header-cta { margin-left: 0; }
.phone { font-weight: 700; text-decoration: none; }
.btn { background: var(--accent); color: #fff; text-decoration: none; border: 0; border-radius: 12px; padding: 11px 20px; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-block; font-family: inherit; }
.btn:hover { background: #e04300; }
.btn.ghost { background: transparent; border: 1.5px solid #57503e; color: var(--ink); }
.btn.big { padding: 15px 26px; font-size: 16.5px; }

.hero { padding: 54px 0 30px; background: radial-gradient(900px 480px at 85% -10%, rgba(255,77,0,.16), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-badge { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; margin: 0 0 18px; text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0 0 20px; }
.perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.perks li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-v { font-size: 30px; font-weight: 800; }
.stat-l { color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.3; }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 4/3.4; object-fit: cover; }
.hero-card { position: absolute; left: 18px; top: 18px; background: rgba(20,17,13,.88); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 15px; }
.hero-card span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.hero-card.second { left: auto; right: 18px; top: auto; bottom: 18px; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 13px 0; background: var(--panel); }
.strip-in { display: flex; gap: 22px; white-space: nowrap; width: max-content; animation: slide 40s linear infinite; font-size: 14.5px; color: var(--muted); }
.strip .dot { color: var(--accent); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 74px 0; }
.section.alt { background: #1d1913; }
.sec-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 34px; }
.sec-num { color: var(--accent); font-size: 13px; letter-spacing: .14em; font-weight: 700; margin-bottom: 10px; }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 10px; text-transform: uppercase; }
.sec-sub { color: var(--muted); font-size: 16.5px; line-height: 1.55; margin: 0; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-body { padding: 20px; }
.card-num { color: var(--accent); font-weight: 800; font-size: 13px; }
.card h3 { margin: 8px 0; font-size: 20px; }
.card p { color: var(--muted); line-height: 1.5; margin: 0 0 14px; font-size: 15px; }
.card-price { font-weight: 800; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--panel); }
.step-num { font-size: 34px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.step-time { color: var(--accent); font-weight: 700; font-size: 13.5px; margin: 10px 0 6px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { color: var(--muted); line-height: 1.5; margin: 0; font-size: 15px; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.tab { background: var(--panel); color: var(--muted); border: 1px solid var(--line); padding: 11px 20px; border-radius: 999px; font-size: 15px; cursor: pointer; font-family: inherit; }
.tab.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.price-table { width: 100%; border-collapse: collapse; margin: 14px 0 12px; }
.price-table td { padding: 15px 6px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.price-table .price { text-align: right; font-weight: 800; white-space: nowrap; }
.price-table .note { color: var(--accent); font-size: 13.5px; display: block; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.work img { width: 100%; height: 200px; object-fit: cover; display: block; }
.work-body { padding: 18px 20px; }
.work-tag { color: var(--accent); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.work h3 { margin: 7px 0; font-size: 18.5px; line-height: 1.3; }
.work p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: left; }
.member img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 16px; }
.member h3 { margin: 0 0 5px; font-size: 20px; }
.member-role { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.member p { color: var(--muted); line-height: 1.5; margin: 0; font-size: 15px; }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.review p { line-height: 1.6; margin: 0 0 18px; font-size: 16px; }
.review-who { display: flex; gap: 12px; align-items: center; }
.review-who small { color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; }

.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.contact-block { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--panel); line-height: 1.55; }
.contact-label { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; margin-bottom: 9px; }
.contact-big { font-size: 20px; font-weight: 800; display: block; margin-bottom: 6px; text-decoration: none; line-height: 1.3; }
.booking { background: var(--cream); color: #221d15; border-radius: 20px; padding: 30px; }
.booking h3 { margin: 0 0 8px; font-size: 24px; }
.booking p { color: #5c5546; margin: 0 0 18px; }
.booking-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.booking input { padding: 14px; border: 1px solid #d8d0ba; border-radius: 11px; font-size: 15.5px; font-family: inherit; width: 100%; }
.booking-ok { color: #2d5a27 !important; font-weight: 600; }
.booking small { color: #7a7466; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 8px; background: #131009; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-bottom: 18px; line-height: 1.6; }
.footer p { color: var(--muted); }

.chat-fab { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.45); cursor: pointer; z-index: 40; }

@media (max-width: 900px) {
  .hero-in, .footer-in { grid-template-columns: 1fr; }
  .cards, .works, .team, .contacts-grid { grid-template-columns: 1fr 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .reviews, .booking-fields { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .cards, .works, .team, .contacts-grid { grid-template-columns: 1fr; }
}
