:root {
  --bg: #0c0e12;
  --bg-card: #141820;
  --bg-elevated: #1a2030;
  --text: #eef1f6;
  --muted: #9aa3b5;
  --accent: #ff4d1a;
  --accent-hover: #ff6b3d;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: #0c0e12;
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.logo__text span { color: var(--accent); }

.nav--desktop {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav--desktop a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav--desktop a:hover { color: var(--text); }

.header__phone {
  font-weight: 600;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 65% 15%, rgba(255, 77, 26, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 75%, rgba(255, 138, 61, 0.06), transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero__content { position: relative; max-width: 680px; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.5rem;
  color: var(--accent);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.25); }

.btn--dark {
  background: var(--bg);
  color: var(--text);
}

.btn--block { width: 100%; }

/* Sections */
.section { padding: 5rem 0; }

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 32, 0.5) 50%, transparent 100%);
}

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section__head p { color: var(--muted); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card { background: var(--bg-elevated); }

.card:hover {
  border-color: rgba(255, 77, 26, 0.35);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card__price {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about__text h2 { margin-bottom: 1rem; font-size: 2rem; }

.about__text > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about__list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about__list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about__card h3 { margin-bottom: 0.75rem; }

.about__hours {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.about__hours strong { color: var(--accent); }

.about__card .btn + .btn { margin-top: 0.75rem; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__info address {
  font-style: normal;
  margin-top: 1.25rem;
  color: var(--muted);
}

.contact__info address p { margin-bottom: 0.5rem; }

.contact__info a { color: var(--accent); font-weight: 600; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--bg-card);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0));
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer a:hover { color: var(--accent); }

body.menu-open { overflow: hidden; }

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0c0e12;
  padding: calc(72px + env(safe-area-inset-top, 0) + 1.5rem) 2rem 2rem;
}

.menu-overlay.is-open {
  display: flex;
  flex-direction: column;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-overlay__nav a {
  color: #eef1f6;
  font-size: 1.25rem;
  font-weight: 600;
}

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav--desktop { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; margin-left: auto; }
  .about, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.25rem; }
  .contact__map,
  .contact__map iframe { min-height: 320px; height: 320px; }
}
