
:root {
  --bg: #f4efe6;
  --surface: rgba(255,255,255,.82);
  --surface-2: rgba(255,255,255,.92);
  --text: #1f1b16;
  --muted: #62584a;
  --line: rgba(80,60,35,.12);
  --brand: #8a5a2b;
  --brand-dark: #6d441d;
  --accent: #d4b08a;
  --shadow: 0 20px 60px rgba(50,30,10,.12);
  --radius: 24px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212,176,138,.22), transparent 28%),
    linear-gradient(180deg, #f6f1e8 0%, #efe7da 100%);
  line-height: 1.65;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(248,243,236,.88);
  border-bottom: 1px solid var(--line);
}
.topbar, .site-nav, .page-shell, .site-footer, .contact-rail {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
}
.brand { display:flex; align-items:center; gap:12px; color: var(--text); min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--brand), #b67d48);
  color:#fff; font-weight: 800;
  box-shadow: var(--shadow);
}
.brand span { display:grid; }
.brand strong { font-size: 1rem; }
.brand small { color: var(--muted); font-size: .84rem; }
.header-contacts { display:flex; align-items:center; gap:10px; flex-wrap: wrap; justify-content:flex-end; }
.header-phone, .header-link, .button, .contact-chip {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius: 999px;
  padding: 12px 16px; font-weight: 700; transition: .22s ease; border: 1px solid transparent;
}
.header-phone, .button.primary, .contact-chip.phone { background: var(--brand); color:#fff; box-shadow: var(--shadow); }
.header-link, .button.secondary, .contact-chip { background: var(--surface-2); border-color: var(--line); }
.header-phone:hover, .button.primary:hover, .contact-chip.phone:hover { background: var(--brand-dark); color:#fff; transform: translateY(-1px); }
.header-link:hover, .button.secondary:hover, .contact-chip:hover { background: #fff; transform: translateY(-1px); }
.menu-toggle { display:none; border:1px solid var(--line); background:#fff; border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.site-nav { display:flex; gap:10px; flex-wrap: wrap; padding: 0 0 16px; }
.site-nav a {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.75); border:1px solid var(--line);
  font-weight: 600; color: var(--text);
}
.site-nav a.active { background: var(--text); color:#fff; }
.contact-rail { display:flex; gap:10px; flex-wrap: wrap; padding: 16px 0 0; }
.page-shell { padding: 18px 0 48px; }
.page-intro { padding: 18px 0 8px; }
.home-intro { padding: 0; }
.breadcrumbs { color: var(--muted); font-size: .95rem; margin-bottom: 12px; display:flex; gap:8px; flex-wrap:wrap; }
.page-intro h1, .hero-copy h1 { margin: 0 0 12px; line-height: 1.1; font-size: clamp(2rem, 3vw, 3.7rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 820px; }
.hero-grid {
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  border:1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); padding: 32px;
}
.hero-copy, .hero-media, .feature-card, .service-card, .content-block, .gallery-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-copy { padding: 18px; background: transparent; border: 0; box-shadow:none; }
.hero-media { overflow:hidden; min-height: 100%; }
.hero-media img { width:100%; height:100%; object-fit: cover; }
.eyebrow { display:inline-block; margin-bottom: 10px; font-size:.84rem; letter-spacing:.08em; text-transform: uppercase; color: var(--brand-dark); font-weight: 800; }
.hero-actions, .stats-row { display:flex; gap:12px; flex-wrap:wrap; margin-top: 20px; }
.stats-row div { min-width: 170px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.72); border:1px solid var(--line); }
.stats-row strong { display:block; font-size: 1.2rem; }
.stats-row span { color: var(--muted); font-size: .92rem; }
.feature-grid, .service-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.feature-card, .service-card, .content-block { padding: 24px; }
.feature-card h3, .service-card h3, .content-block h2 { margin: 0 0 10px; line-height:1.2; }
.service-card p, .feature-card p, .content-block p, .content-block li { color: var(--muted); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.photo-strip-grid, .gallery-grid {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.photo-strip-grid img, .gallery-item img { width:100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.gallery-item { padding: 12px; }
.gallery-item figcaption { font-size:.92rem; color: var(--muted); padding-top: 8px; }
.video-card video { width:100%; border-radius: 18px; background: #000; }
.video-header { margin-bottom: 16px; }
.site-footer {
  display:flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  padding: 26px 0 50px; border-top: 1px solid var(--line); color: var(--muted);
}
.site-footer p { margin: 10px 0 0; max-width: 720px; }
.footer-contacts { display:grid; gap: 10px; text-align: right; }
.floating-actions {
  position: fixed; right: 16px; bottom: 16px; display:grid; gap:10px; z-index: 1200;
}
.floating-actions a {
  width: 54px; height: 54px; border-radius: 50%; display:grid; place-items:center; background:#fff;
  box-shadow: var(--shadow); border:1px solid var(--line); font-size: 1.15rem;
}
#pleer, #content { all: unset; }
.content-block table { width:100%; border-collapse: collapse; background:#fff; border-radius: 18px; overflow:hidden; }
.content-block td, .content-block th { border:1px solid var(--line); padding: 10px 12px; }
.content-block h1, .content-block h2, .content-block h3, .content-block h4 { line-height:1.2; }
.content-block blockquote {
  margin: 16px 0; padding: 16px 18px; border-left: 4px solid var(--accent); background: rgba(255,255,255,.7); border-radius: 0 18px 18px 0;
}
@media (max-width: 980px) {
  .hero-grid, .feature-grid, .service-grid, .photo-strip-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .footer-contacts { text-align: left; }
}
@media (max-width: 760px) {
  .header-contacts { display:none; }
  .menu-toggle { display:inline-flex; }
  .site-nav { display:none; flex-direction: column; padding-bottom: 14px; }
  .site-nav.open { display:flex; }
  .site-nav a { width:100%; }
  .contact-rail { display:none; }
  .page-shell { padding-top: 8px; }
  .feature-grid, .service-grid, .photo-strip-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 18px; border-radius: 24px; }
  .topbar { padding: 10px 0; }
  .brand small { display:none; }
  .page-intro h1, .hero-copy h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}

/* ===== Первый экран (hero) ===== */

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 420px;
  min-width: 280px;
}

.hero-media {
  flex: 1 1 360px;
  min-width: 280px;
  max-width: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Кнопки */
.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.button {
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.button.primary {
  background: #2c7be5;
  color: #fff;
}

.button.secondary {
  background: #f1f1f1;
  color: #000;
}

/* Статистика */
.stats-row {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.stats-row div {
  font-size: 14px;
}

.stats-row strong {
  display: block;
  font-size: 18px;
  color: #2c7be5;
}

/* 📱 Адаптация под телефон */
@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    max-width: 100%;
  }
}
.machine-photo {
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: center;
  background: transparent;
  padding: 0;
}

.machine-photo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  width: 100%;
}
/* ????????????? ???? ?? ???????? */
@media (max-width: 768px) {
  .machine-photo {
    margin: 0 auto 24px !important;
    display: block;
    text-align: center;
  }

  .machine-photo img {
    margin: 0 auto !important;
  }
}
/* ???? ????????? ??????????? */
.promo-box {
  background: linear-gradient(135deg, #f5f7ff, #eef2ff);
  border: 2px solid #2c7be5;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}

.promo-text {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}

.promo-box strong {
  color: #2c7be5;
}

/* ?????? */
.promo-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  background: #2c7be5;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s;
}

.promo-button:hover {
  background: #1a5fd0;
}
.promo-label {
  display: inline-block;
  background: #2c7be5;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* ===== 2026-04 usability fixes ===== */
.contact-rail { display: none !important; }

.page-intro h1,
.hero-copy h1 {
  font-size: clamp(1.7rem, 2.2vw, 2.8rem);
  margin-bottom: 10px;
}

.content-block h1,
.content-block h2,
.content-block h3,
.content-block h4 {
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
}

.hero-grid {
  gap: 24px;
  align-items: center;
}

.hero-media {
  max-width: 420px;
  margin-left: auto;
}

.hero-media img {
  max-height: 430px;
  object-fit: cover;
}

.video-card {
  max-width: 920px;
  margin: 0 auto 24px;
}

.video-card video {
  max-height: 560px;
}

#pleer {
  display: block;
  width: min(100%, 920px);
  margin: 0 auto;
}

#pleer > .cena:first-of-type {
  margin-top: 20px;
}

.cena,
#pleer .cena {
  font-size: clamp(1.05rem, 1.4vw, 1.45rem) !important;
  line-height: 1.45;
}

.vnimanie {
  display: inline-block;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  font-weight: 700;
}

.promo-box {
  margin: 0 0 24px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.review-form-card,
.review-list,
.review-card,
.price-intro,
.price-list,
.price-notes {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-form-card,
.review-list,
.price-intro,
.price-list,
.price-notes {
  padding: 24px;
}

.review-form-card h2,
.review-list h2,
.price-intro h2,
.price-list h2,
.price-notes h2 {
  margin: 0 0 14px;
}

.review-form-note {
  margin: 0 0 18px;
  color: var(--muted);
}

#feedback-form {
  display: grid;
  gap: 16px;
}

#feedback-form .form-group,
#feedback-form .control-file {
  display: grid;
  gap: 8px;
}

#feedback-form label {
  font-weight: 700;
  color: var(--text);
}

#feedback-form input,
#feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(80,60,35,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

#feedback-form textarea {
  min-height: 170px;
  resize: vertical;
}

#feedback-form input:focus,
#feedback-form textarea:focus {
  outline: 2px solid rgba(138,90,43,.2);
  border-color: var(--brand);
}

#feedback-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

.review-card img {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  object-fit: cover;
}

.review-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.gallery-hint {
  margin-top: 10px;
  color: var(--muted);
}

.gallery-item,
.photo-strip-grid img {
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 10, 6, .88);
  padding: 24px;
  z-index: 3000;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox__inner {
  position: relative;
  width: min(96vw, 1200px);
  max-height: 92vh;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: calc(92vh - 80px);
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

.gallery-lightbox__caption {
  color: #fff;
  text-align: center;
  font-size: .96rem;
}

.gallery-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  background: #fff;
  color: #000;
}

.price-stack {
  display: grid;
  gap: 22px;
}

.price-list .podherkivanie {
  display: block;
  margin: 18px 0 8px;
  font-style: normal;
  font-weight: 800;
  text-decoration: none;
}

.price-list ul,
.price-list ol,
.price-list .plain-list {
  margin: 0;
  padding-left: 22px;
}

.price-list li,
.price-notes li,
.price-intro li {
  margin: 0 0 10px;
  color: var(--muted);
}

.price-notes p,
.price-intro p,
.price-list p {
  color: var(--muted);
}

.ahtung {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0d9;
  color: #8a4f07;
  font-weight: 800;
}

.ahtung_2 {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .review-layout {
    grid-template-columns: 1fr;
  }
  .hero-media {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .page-intro h1,
  .hero-copy h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
  .content-block h1,
  .content-block h2,
  .content-block h3,
  .content-block h4,
  .cena,
  #pleer .cena {
    font-size: clamp(1rem, 5vw, 1.28rem) !important;
  }
  .review-form-card,
  .review-list,
  .price-intro,
  .price-list,
  .price-notes {
    padding: 18px;
  }
  .review-card {
    grid-template-columns: 1fr;
  }
  .review-card img {
    width: 72px;
    height: 72px;
  }
  .gallery-lightbox {
    padding: 14px;
  }
}
/* ===== ?????? ??????????? ?????? ===== */

.rental-video-block {
  padding: 24px;
}

.compact-video-header {
  margin-bottom: 14px;
}

.compact-video-header h2 {
  margin-bottom: 0;
}

.video-note {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.rental-video-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.rental-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

.rental-price-block h2 {
  margin-bottom: 16px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.price-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  color: var(--text);
  line-height: 1.5;
}

.price-list li strong {
  color: var(--brand-dark);
}

@media (min-width: 981px) {
  .rental-video-wrap {
    max-width: 700px;
  }
}

@media (max-width: 980px) {
  .rental-video-wrap {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .rental-video-block,
  .rental-price-block {
    padding: 18px;
  }

  .video-note {
    font-size: 0.94rem;
    padding: 10px 12px;
  }

  .price-list li {
    padding: 13px 14px;
    font-size: 0.98rem;
  }
}
/* ===== ????????? ?????? ? ?????? ===== */

.prose a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(160, 82, 45, 0.35);
  transition: all 0.2s ease;
}

.prose a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ???????? ??????? */
.prose a:active {
  opacity: 0.7;
}

/* ????? ?? ?????? ?????? ? ???? */
.site-nav a,
.header-link,
.header-phone,
.floating-actions a {
  border-bottom: none;
  font-weight: normal;
}
