:root {
  --bg: #e6e4de;
  --bg-2: #d9d6cf;
  --paper: #f3f2ee;
  --ink: #242422;
  --muted: #5f5d58;
  --line: #c9c6be;
  --graphite: #2f2f2d;
  --graphite-2: #242422;
  --shadow: 0 18px 40px rgba(36, 36, 34, 0.08);
  --serif-display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(255, 255, 255, 0.7), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 500; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3rem, 6vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; text-transform: uppercase; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 6vw;
  background: rgba(230, 228, 222, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sign {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  padding: 0.34em 0.62em 0.42em;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 42%),
    linear-gradient(180deg, #2c2c2a 0%, #141413 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -2px 0 rgba(0,0,0,0.45),
    0 10px 18px rgba(0,0,0,0.18);
  line-height: 0.85;
}
.sign-sto,
.sign-garage {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.045em;
}
.sign-sto {
  color: #ff8c2a;
  text-shadow:
    0 1px 0 #ffd7ae,
    1px 1px 0 #e06a12,
    2px 2px 0 #c2530c,
    3px 3px 0 #9a3e09,
    4px 4px 0 #6e2b06,
    5px 5px 0 #4a1c04,
    6px 8px 10px rgba(0,0,0,0.55);
}
.sign-garage {
  color: #f6f5f2;
  text-shadow:
    0 1px 0 #ffffff,
    1px 1px 0 #d5d2cb,
    2px 2px 0 #b4b1aa,
    3px 3px 0 #8d8a84,
    4px 4px 0 #65635e,
    5px 5px 0 #3e3d3a,
    6px 8px 10px rgba(0,0,0,0.55);
}
.sign-lg {
  padding: 0.42em 0.7em 0.52em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -3px 0 rgba(0,0,0,0.5),
    0 22px 40px rgba(0,0,0,0.22);
}
.sign-lg .sign-sto,
.sign-lg .sign-garage {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
.hero-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.map-frame {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  background: var(--bg-2);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.logo-text small { color: var(--muted); font-size: 0.75rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.nav a:hover { color: var(--muted); }
.header-phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding: 48px 6vw 36px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { max-width: 38rem; font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn-dark { background: var(--graphite); color: var(--paper); }
.btn-dark:hover { background: var(--graphite-2); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: rgba(36, 36, 34, 0.05); }
.btn-light { background: var(--paper); color: var(--ink); width: 100%; }
.btn-light:hover { background: white; }
.hero-meta { display: flex; gap: 28px; padding: 0; margin: 8px 0 0; list-style: none; color: var(--muted); }
.hero-meta span { display: block; color: var(--ink); font-weight: 700; }
.hero-frame figcaption { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }

.ph {
  position: relative;
  min-height: 180px;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.35) 75%, transparent 75%),
    var(--bg-2);
  background-size: 28px 28px, auto;
  border: 1px dashed #8d8a83;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.ph-hero { min-height: 460px; box-shadow: var(--shadow); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 6vw 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats div { padding: 22px 0; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.stats strong { display: block; font-family: var(--serif-display); font-size: 2rem; font-weight: 500; text-transform: uppercase; }
.stats span { color: var(--muted); }

.section { padding: 72px 6vw; }
.section-alt { background: rgba(255, 255, 255, 0.28); }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-note { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  min-height: 180px;
}
.card p { color: var(--muted); margin: 12px 0 0; }

.prices { margin: 0; }
.prices div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.prices dt { font-weight: 600; }
.prices dd { margin: 0; font-family: var(--serif-display); font-size: 1.4rem; white-space: nowrap; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery .ph { min-height: 220px; }
.ph-wide { grid-column: span 2; }

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 6vw 20px;
  padding: 40px;
  background: var(--graphite);
  color: var(--paper);
}
.band .eyebrow { color: #b9b6ae; }
.band p { color: #d5d2cb; }
.book-form { display: grid; gap: 12px; }
.book-form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.book-form input, .book-form textarea {
  width: 100%;
  border: 0;
  background: #3a3a38;
  color: var(--paper);
  font: inherit;
  padding: 12px 14px;
  border-radius: 4px;
}
.book-form input:focus, .book-form textarea:focus { outline: 2px solid #b9b6ae; }
.form-note { margin: 0; font-size: 0.9rem; }

.contacts { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 16px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.contact-card h3 { margin-bottom: 12px; }
.contact-card p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.map-ph { min-height: 100%; }
.faq { display: grid; gap: 12px; max-width: 46rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 6vw 40px;
  color: var(--muted);
}
.footer p { max-width: 36rem; margin: 0; }

@media (max-width: 980px) {
  .hero, .band, .contacts, .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .ph-wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 6vw 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .header-phone { display: none; }
  .ph-hero { min-height: 260px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gallery, .ph-wide { grid-template-columns: 1fr; }
  .ph-wide { grid-column: auto; }
  body { font-size: 16px; }
}
