:root {
  /* Яндекс-подобная палитра: светлый фон, жёлтый акцент, синие ссылки */
  --color-bg: #ffffff;
  --color-bg-muted: #f5f5f5;
  --color-bg-section: #f9f9f9;
  --color-surface: #ffffff;
  --color-surface-2: #ebebeb;
  --color-yellow: #fc0;
  --color-yellow-hover: #f5c400;
  --color-yellow-soft: rgba(255, 204, 0, 0.18);
  --color-link: #04b;
  --color-link-hover: #c00;
  --color-text: rgba(0, 0, 0, 0.92);
  --color-muted: rgba(0, 0, 0, 0.55);
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg-muted);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-strong);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header__top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
  text-decoration: none;
  color: var(--color-text);
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo__main {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo__sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-left: 10px;
}

.logo__sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: var(--color-yellow);
  border-radius: 2px;
}

.logo--footer .logo__main {
  font-size: 1.5rem;
}

.phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.phones__link {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--color-text);
  text-decoration: none;
}

.phones__link:hover {
  color: var(--color-link);
  text-decoration: none;
}

.phones--footer {
  align-items: flex-start;
  margin-bottom: 10px;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.messenger {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.messenger:hover {
  text-decoration: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 2px var(--color-yellow-soft);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s;
}

.nav-toggle::before {
  top: 14px;
  box-shadow: 0 8px 0 var(--color-text);
}

.nav-toggle::after {
  top: 30px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

.nav {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 10px 0 12px;
}

.nav__list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
}

.nav__list a:hover {
  color: var(--color-text);
  background: var(--color-bg-muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .header__top .messengers {
    display: none;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav__list a {
    display: block;
    padding: 12px 0;
    border-radius: 0;
  }

  .nav__list a:hover {
    background: transparent;
  }
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 40px;
  }
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: var(--color-bg-muted);
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-yellow-soft);
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.45);
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 20ch;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 52ch;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn--primary {
  background: var(--color-yellow);
  color: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn--primary:hover {
  background: var(--color-yellow-hover);
  text-decoration: none;
  color: #000;
}

.btn--outline {
  background: var(--color-bg);
  color: var(--color-text);
  border: 2px solid var(--color-border-strong);
}

.btn--outline:hover {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 2px var(--color-yellow-soft);
  color: var(--color-text);
  text-decoration: none;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

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

/* Sections */
.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 24px;
  color: var(--color-muted);
  max-width: 65ch;
}

.equipment {
  padding: 44px 0;
  background: var(--color-bg-muted);
}

.equipment__shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.equipment__shots img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.equipment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.equipment__card {
  padding: 22px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.equipment__price {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.equipment__card p {
  margin: 0;
  color: var(--color-muted);
}

.prices {
  padding: 44px 0;
  background: var(--color-bg);
  border-block: 1px solid var(--color-border);
}

.prices__subtitle {
  margin: 28px 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-yellow);
  display: inline-block;
}

.prices__subtitle:first-of-type {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-strong);
  margin-bottom: 8px;
  background: var(--color-surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  background: var(--color-bg-muted);
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.price-table tbody tr:hover {
  background: var(--color-yellow-soft);
}

.price-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-text);
}

.prices__note {
  margin-top: 24px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.services {
  padding: 44px 0;
  background: var(--color-bg-muted);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services__list li {
  padding: 12px 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.methods {
  padding: 44px 0;
  background: var(--color-bg);
  border-block: 1px solid var(--color-border);
}

.methods__intro {
  color: var(--color-muted);
  max-width: 65ch;
}

.methods__steps {
  margin: 20px 0;
  padding-left: 1.25rem;
  max-width: 65ch;
}

.methods__steps li {
  margin-bottom: 12px;
}

.methods__h3 {
  font-size: 1.05rem;
  margin: 28px 0 12px;
}

.methods__bullets {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.zones {
  padding: 44px 0;
  background: var(--color-bg-muted);
}

.zones__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.zones__label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.zones__block p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.advantages {
  padding: 44px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.advantage-card {
  padding: 22px;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.advantage-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--color-text);
}

.advantage-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gallery {
  padding: 44px 0;
  background: var(--color-bg-muted);
}

.gallery__lead {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__videos-title {
  margin: 36px 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-yellow);
  display: inline-block;
}

.gallery__videos-intro {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gallery__videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery__video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #000;
  box-shadow: var(--shadow);
}

.gallery__video {
  display: block;
  width: 100%;
  max-height: 360px;
  vertical-align: middle;
}

.cta {
  padding: 48px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.cta__inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  padding: 32px 24px;
  background: var(--color-yellow-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 204, 0, 0.5);
}

.cta__title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.cta__inner p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.cta__inner a {
  color: var(--color-link);
  font-weight: 600;
}

.cta__inner a:hover {
  color: var(--color-link-hover);
}

/* Footer */
.footer {
  padding: 36px 0 0;
  background: #f3f3f3;
  border-top: 1px solid var(--color-border-strong);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-bottom: 28px;
}

.footer__since {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.messengers--footer {
  margin-top: 8px;
}

.footer__address {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-strong);
  padding: 14px 0;
  background: #ebebeb;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

.modal__dialog h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.modal__text {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.modal__close:hover {
  color: var(--color-text);
  background: var(--color-bg-muted);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}

.form-field input {
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}

.form-field input:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 1px;
  border-color: transparent;
}

.form-done {
  margin: 16px 0 0;
  color: #00a046;
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}
