:root {
  --ink: #1c1814;
  --muted: #5c5348;
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --white: #fffcf7;
  --cobalt: #0b4ea2;
  --cobalt-dark: #083672;
  --cobalt-soft: #dce8f8;
  --gold: #b8893a;
  --gold-soft: #ead9b3;
  --ok: #1f7a3a;
  --soon: #9a6700;
  --closed: #8a3b32;
  --line: rgba(28, 24, 20, 0.1);
  --shadow: 0 18px 40px rgba(28, 24, 20, 0.12);
  --radius: 18px;
  --font: "Segoe UI", "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Palatino Linotype", Palatino, "Iowan Old Style", "Times New Roman", serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(11, 78, 162, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: var(--cobalt);
}

a:hover {
  color: var(--cobalt-dark);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cobalt);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 238, 228, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 58px;
  border-radius: 0;
  box-shadow: none;
}

.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.brand-text span {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(31, 122, 58, 0.18);
}

.status.is-open {
  color: var(--ok);
}

.status.is-soon {
  color: var(--soon);
}

.status.is-closed {
  color: var(--closed);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 78, 162, 0.25);
}

.btn-primary:hover {
  background: var(--cobalt-dark);
  color: #fff;
}

.btn-ghost {
  background: var(--white);
  color: var(--cobalt);
  border-color: #8aaad4;
}

.btn-ghost:hover {
  color: var(--cobalt-dark);
}

.btn-tg {
  background: #229ed9;
  color: #fff;
}

.btn-tg:hover {
  background: #1b8fc6;
  color: #fff;
}

.btn-max {
  background: #1a1a1a;
  color: #fff;
}

.btn-max:hover {
  background: #000;
  color: #fff;
}

.btn-vk {
  background: #0077ff;
  color: #fff;
}

.btn-vk:hover {
  background: #0066dd;
  color: #fff;
}

.btn-wa {
  background: #25d366;
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe57;
  color: #fff;
}

.btn-mail {
  background: #6b5a46;
  color: #fff;
}

.btn-mail:hover {
  background: #564836;
  color: #fff;
}

.btn-yandex {
  background: #fc0;
  color: #111;
}

.btn-2gis {
  background: #00a85a;
  color: #fff;
}

.btn-2gis:hover {
  color: #fff;
}

.hero-logo {
  width: min(220px, 55%);
  height: auto;
  margin-bottom: 10px;
}

.hero {
  padding: 36px 0 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  order: -1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cobalt);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
}

.meta-row a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.meta-row a:hover {
  color: var(--cobalt);
}

.hero-frame {
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: min(560px, 70vw);
  object-fit: cover;
  object-position: center 40%;
  border-radius: 6px;
  background: #222;
}

.print-mat {
  background: var(--white);
  padding: 14px 14px 42px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.print-caption {
  position: absolute;
  left: 28px;
  bottom: 16px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 60ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(28, 24, 20, 0.05);
  display: flex;
  flex-direction: column;
}

.card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card h3 {
  font-size: 20px;
  font-family: var(--display);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.pill {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 4px 8px;
  border-radius: 999px;
}

.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.doc {
  background: var(--white);
  border: 1px dashed #c5c0b3;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
}

.doc strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.doc span {
  color: var(--muted);
}

.offer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(28, 24, 20, 0.05);
  align-items: stretch;
}

.offer-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.offer-flip .offer-body {
  order: 2;
}

.offer img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top;
}

.offer-body {
  padding: 28px;
}

.offer-body h2 {
  margin-bottom: 8px;
}

.offer-body .section-lead {
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: inset 0 0 0 4px var(--cobalt-soft);
}

.offer-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.badge-gold {
  background: #ffcc00;
  color: #1c1814;
  border-radius: 14px;
  padding: 14px 16px;
}

.badge-gold strong {
  display: block;
  font-size: 15px;
}

.badge-gold span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.offer-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin: 8px 0 10px;
}

.docs-compact {
  margin-top: 0;
}

.docs-compact .doc {
  padding: 10px 12px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.panel h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 12px;
}

.steps,
.prep {
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li,
.prep li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.hours th,
.hours td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.hours th {
  font-weight: 600;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.contact-item b {
  display: block;
  color: var(--cobalt);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}

.contact-item a:hover {
  color: var(--cobalt);
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--cobalt);
  color: var(--cobalt);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  background: var(--white);
}

.chip:hover {
  background: var(--cobalt);
  color: #fff;
}

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.reviews {
  background: linear-gradient(180deg, transparent, rgba(11, 78, 162, 0.06));
}

.review-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin-top: 8px;
}

footer {
  background: var(--cobalt-dark);
  color: #e8eef8;
  padding: 28px 0 96px;
  margin-top: 12px;
}

footer a {
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translate(-50%, 12px);
  background: #1c1814;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .two-col,
  .contacts-grid,
  .docs,
  .offer,
  .offer-flip,
  .offer-badges {
    grid-template-columns: 1fr;
  }

  .offer-flip .offer-body {
    order: 0;
  }

  .offer img {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: top center;
  }

  .nav {
    display: none;
  }

  .brand-text {
    display: flex;
  }

  .hero-copy {
    order: 0;
  }

  .print-mat {
    transform: none;
  }

  .hero-frame img {
    height: 320px;
  }

  .docs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-cta .btn,
  .status {
    display: none;
  }

  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 238, 228, 0.96);
    border-top: 1px solid var(--line);
    z-index: 60;
  }

  .docs {
    grid-template-columns: 1fr;
  }

  footer {
    padding-bottom: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .print-mat {
    transition: none;
    transform: none;
  }
}
