/* Hustle Blackout — clean dark theme, one bright green accent */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --line: #2a2a2a;
  --text: #f4f4f4;
  --muted: #a1a1a1;
  --green: #22c55e;
  --green-dark: #16a34a;
  --radius: 10px;
  --max: 1160px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.accent { color: var(--green); }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: #d4d4d4; max-width: 640px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--green); color: #000; padding: 8px 12px; z-index: 100; }
mark.todo { background: #facc15; color: #000; padding: 1px 6px; border-radius: 4px; font-size: .85em; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #04140a; }
.btn-primary:hover { background: #2ee06c; }
.btn-ghost { border-color: #3a3a3a; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 20px; font-size: .86rem; font-weight: 500; white-space: nowrap; }
.nav a { text-decoration: none; color: #d4d4d4; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--green); }
.nav-phone { font-weight: 700; color: #fff !important; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head p { max-width: 460px; margin: 0; }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(1200px 500px at 75% 0%, #1a1a1a 0%, var(--bg) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); }
.hero-facts span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.price-strip { display: flex; gap: 36px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-strip small { display: block; color: var(--muted); font-size: .8rem; }
.price-strip strong { font-size: 1.4rem; }
.badge { display: inline-block; background: rgba(34,197,94,.12); color: var(--green); border: 1px solid rgba(34,197,94,.35); padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: 18px; }
.media-box { aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, #1c1c1c, #0f0f0f); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 20px; overflow: hidden; }
.media-box img, .media-box video { width: 100%; height: 100%; object-fit: cover; }
.media-caption { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Pricing */
.tabs { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--font); padding: 10px 18px; border-radius: 7px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: #000; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--green); }
.price-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.price-card .amount { font-size: 2.6rem; font-weight: 800; margin: 6px 0 2px; }
.price-card ul { padding-left: 18px; color: #cfcfcf; margin: 14px 0 22px; }
.price-card .btn { margin-top: auto; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.extras span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: .9rem; }
.price-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.price-table th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table td:not(:first-child), .price-table th:not(:first-child) { text-align: right; }
.fine { font-size: .85rem; color: var(--muted); }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.step-num { color: var(--green); font-weight: 800; font-size: .9rem; letter-spacing: .1em; }
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Article pages */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.callout { border-left: 3px solid var(--green); background: var(--surface-2); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.compare { width: 100%; border-collapse: collapse; margin: 20px 0; }
.compare th, .compare td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { color: #cfcfcf; padding-bottom: 18px; }

/* CTA */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 100px; background: #070707; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; color: #d4d4d4; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Mobile action bar */
.mobile-bar { display: none; }

@media (max-width: 1180px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #0d0d0d; border-top: 1px solid var(--line); }
  .mobile-bar a { text-align: center; padding: 16px 0; font-weight: 700; text-decoration: none; }
  .mobile-bar .mb-book { background: var(--green); color: #04140a; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .price-strip { gap: 22px; flex-wrap: wrap; }
  .container { padding: 0 18px; }
}

/* Phone tweaks */
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tabs button { padding: 10px 4px; font-size: .82rem; }
  .btn-row .btn { width: 100%; }
}

/* кнопка в меню: тёмный текст на зелёном (меню перебивало цвет) */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #04140a; }
/* меньше пустоты между шапкой страницы и первым блоком */
.page-hero + .section { padding-top: 48px; }
.table-wrap { overflow-x: auto; }

/* вертикальные видео работ */
.media-box.reel-box { aspect-ratio: 9/16; padding: 0; background: #111; cursor: pointer; }
.reel { width: 100%; height: 100%; object-fit: cover; }
.hero-reel { max-width: 360px; margin-left: auto; }
.hero-cap { max-width: 360px; margin-left: auto; }
.media-caption strong { color: var(--text); font-weight: 600; }
.logo img { height: 40px; width: auto; }
@media (max-width: 960px) { .hero-reel, .hero-cap { margin: 0 auto; } .hero-reel { max-width: 300px; } .hero-cap { text-align: center; margin-top: 10px; } }

/* форма Get a Quote */
.quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.quote-form, .quote-done { grid-column: 1; grid-row: 1; }
.quote-side { grid-column: 2; grid-row: 1; position: sticky; top: 100px; }
.field { display: block; margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.field small, .chip small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; box-sizing: border-box; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: 16px var(--font); padding: 13px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: block; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 11px 16px; font-weight: 600; font-size: .93rem; transition: border-color .15s, background .15s; }
.chip > span small { display: block; font-size: .78rem; }
.chip input:checked + span { border-color: var(--green); background: rgba(34,197,94,.1); }
.chip input[type=checkbox] + span::before { content: ""; display: inline-block; width: 14px; height: 14px; border: 1.5px solid #555; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.chip input[type=checkbox]:checked + span::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 2px #0a0a0a; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.address-field { margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate { border: 1px solid var(--green); background: rgba(34,197,94,.06); border-radius: var(--radius); padding: 18px 20px; margin: 4px 0 20px; }
.est-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .95rem; }
.est-total { font-size: 2rem; font-weight: 800; margin-top: 6px; }
.estimate-note { margin: 8px 0 0; }
.form-error { color: #f87171; font-weight: 600; margin: 0 0 14px; }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-form, .quote-done { grid-row: auto; }
  .quote-side { grid-column: 1; grid-row: auto; position: static; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

button.btn { font-family: inherit; }

/* рейтинг Google */
.rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); font-size: .95rem; margin: 0 0 14px; }
.rating .stars { color: #fbbf24; letter-spacing: 1px; }
.rating:hover strong { text-decoration: underline; }
.quote-side .rating { margin-bottom: 16px; }
