:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #5f6778;
  --accent: #275dff;
  --accent-hover: #1f4ddb;
  --border: #dfe3ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 84px;
  gap: 24px;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--text);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon {
  width: 20px;
  height: 20px;
}

.icon-btn--max {
  font-size: 0;
}

.max-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.order-btn {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.order-btn:hover {
  background: var(--accent-hover);
}

.section {
  padding: 70px 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
}

.intro-works {
  padding-top: 88px;
  padding-bottom: 96px;
  background: #f8f9fa;
}

.intro-works__inner {
  text-align: center;
}

.intro-works__title {
  margin: 0 auto 20px;
  max-width: 920px;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.intro-works__lead {
  margin: 0 auto 16px;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 500;
  color: #64748b;
  line-height: 1.55;
}

.intro-works__note {
  margin: 0 auto 40px;
  max-width: 640px;
  font-size: clamp(14px, 1.9vw, 16px);
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
}

.works-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: initial;
}

.works-grid__item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.works-grid__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-works {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}

/* ——— Прайс-лист (редактируйте цены в index.html) ——— */
.price-section {
  padding-top: 64px;
  padding-bottom: 88px;
  background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 45%, var(--bg) 100%);
}

.price-sheet {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 40px 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 48px -16px rgba(15, 23, 42, 0.1);
  color: var(--text);
}

.price-sheet__head {
  text-align: center;
  margin-bottom: 36px;
}

.price-sheet__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.price-sheet__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5b8cff);
}

.price-sheet__lead {
  margin: 0 auto;
  max-width: 420px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.price-block__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.price-block__title--sm {
  text-align: left;
  letter-spacing: 0.04em;
  margin-top: 22px;
  margin-bottom: 12px;
  font-size: 13px;
}

.price-block__title--sm:first-child {
  margin-top: 0;
}

.price-table-scroll {
  overflow-x: auto;
  margin-bottom: 4px;
  border-radius: 16px;
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
  background: #fafbfc;
}

.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.price-table th:last-child,
.price-table td:last-child {
  border-right: none;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table thead th {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
  background: linear-gradient(180deg, #eef2ff 0%, #e8ecfe 100%);
}

.price-table tbody th {
  text-align: left;
  padding-left: 16px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
}

.price-table tbody td {
  font-weight: 600;
  color: var(--text);
  background: #fff;
}

.price-table tbody tr:nth-child(even) th,
.price-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.price-table__sub {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--muted);
}

.price-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.price-col {
  min-width: 0;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
}

.price-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.price-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #e8ecf1;
}

.price-lines li:last-child {
  border-bottom: none;
}

.price-lines li span:first-child {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
}

.price-lines li span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

.price-lines--tight li {
  padding: 8px 0;
}

.price-subhead {
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.price-footnote {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
  color: var(--muted);
  max-width: none;
}

@media (max-width: 720px) {
  .price-sheet {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .price-sheet__head {
    margin-bottom: 28px;
  }

  .price-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
  }

  .price-col {
    padding: 18px 16px;
  }
}

/* ——— Отзывы (копируйте .review-card в index.html) ——— */
.reviews-section {
  padding-top: 56px;
  padding-bottom: 80px;
}

.reviews-head {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.reviews-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5b8cff);
}

.reviews-lead {
  margin: 0 auto;
  max-width: 400px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.review-card {
  margin: 0;
  padding: 26px 24px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -14px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  color: #c4a035;
}

.review-card__text {
  margin: 0 0 20px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #334155;
  max-width: none;
}

.review-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  color: var(--text);
}

.review-card__src {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ——— Гравировка ——— */
.engrave-section {
  padding-top: 56px;
  padding-bottom: 72px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.engrave-head {
  text-align: center;
  margin-bottom: 40px;
}

.engrave-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.engrave-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5b8cff);
}

.engrave-lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.engrave-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.engrave-card {
  margin: 0;
  padding: 24px 22px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.engrave-card:hover {
  border-color: #dbe4f0;
  box-shadow: 0 10px 28px rgba(39, 93, 255, 0.08);
}

.engrave-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(145deg, #eef2ff 0%, #e8ecfe 100%);
}

.engrave-card__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.engrave-card__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
  max-width: none;
}

.engrave-note {
  margin: 36px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.engrave-cta {
  margin-top: 24px;
  text-align: center;
}

.engrave-cta__btn {
  height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.engrave-cta__btn:hover {
  background: var(--accent-hover);
}

.engrave-cta__btn:active {
  transform: scale(0.99);
}

@media (max-width: 900px) {
  .engrave-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .engrave-grid {
    grid-template-columns: 1fr;
  }

  .engrave-section {
    padding-top: 44px;
    padding-bottom: 56px;
  }
}

/* ——— Блок заявки (тёмная секция) ——— */
.lead-section {
  position: relative;
  padding-top: 72px;
  padding-bottom: 88px;
  background: linear-gradient(165deg, #1a3444 0%, #142a38 48%, #0f222e 100%);
  color: #fff;
  overflow: hidden;
}

.lead-section__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.lead-section__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.lead-section__subtitle {
  margin: 0 0 36px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: none;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.lead-form__input {
  width: 100%;
  padding: 16px 22px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.lead-form__input::placeholder {
  color: #94a3b8;
}

.lead-form__input:focus {
  outline: 2px solid rgba(126, 191, 207, 0.9);
  outline-offset: 2px;
}

.lead-form__phone {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 4px 8px 4px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.lead-form__phone:focus-within {
  outline: 2px solid rgba(126, 191, 207, 0.9);
  outline-offset: 2px;
}

.lead-form__flag {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lead-form__input--tel {
  flex: 1;
  min-width: 0;
  padding: 12px 14px 12px 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.lead-form__input--tel:focus {
  outline: none;
}

.lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  align-self: center;
  padding: 16px 40px;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #0f2744;
  background: linear-gradient(180deg, #8fd4e4 0%, #6ebfcf 100%);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s, box-shadow 0.15s;
}

.lead-form__submit:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.lead-form__submit:active {
  transform: scale(0.99);
}

.lead-form__submit-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.lead-form__legal {
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  max-width: none;
}

.lead-form__legal .order-form__legal-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form__legal .order-form__legal-link:hover {
  color: #fff;
}

.lead-section__scroll {
  position: absolute;
  right: max(16px, calc((100vw - min(1160px, 92vw)) / 2 + 8px));
  bottom: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  z-index: 2;
}

.lead-section__scroll:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lead-section__scroll:active {
  transform: scale(0.96);
}

@media (max-width: 720px) {
  .lead-section {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .lead-section__inner {
    padding: 0 4px;
  }

  .lead-section__scroll {
    right: 16px;
    bottom: 20px;
  }
}

/* ——— Подвал ——— */
.site-footer {
  position: relative;
  padding: 64px 0 96px;
  background: linear-gradient(180deg, #eef3f8 0%, #e8eef5 100%);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer__logo {
  display: block;
  line-height: 0;
  margin-bottom: 12px;
  transition: opacity 0.15s;
}

.site-footer__logo:hover {
  opacity: 0.85;
}

.site-footer__logo img {
  height: 48px;
  width: auto;
}

.site-footer__brand {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a5f;
  max-width: none;
}

.site-footer__tagline {
  margin: 0 0 32px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #2c4a6e;
  max-width: 22em;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #355a7a 0%, #2a4a66 100%);
  box-shadow: 0 4px 14px rgba(42, 74, 102, 0.25);
  transition: transform 0.12s, box-shadow 0.15s;
}

.site-footer__icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(42, 74, 102, 0.32);
}

.site-footer__icon:active {
  transform: translateY(0);
}

.site-footer__policy {
  margin-top: 36px;
  font-size: 12px;
  font-weight: 500;
  color: #8b9cb0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-footer__policy:hover {
  color: #5a6b80;
  border-bottom-color: #c5d0dc;
}

.site-footer__top {
  position: absolute;
  right: max(16px, calc((100vw - min(1160px, 92vw)) / 2 + 8px));
  bottom: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #355a7a 0%, #243d56 100%);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(36, 61, 86, 0.35);
  transition: transform 0.12s, box-shadow 0.15s;
  z-index: 2;
}

.site-footer__top:hover {
  box-shadow: 0 8px 26px rgba(36, 61, 86, 0.42);
}

.site-footer__top:active {
  transform: scale(0.96);
}

@media (max-width: 720px) {
  .site-footer {
    padding-bottom: 88px;
  }

  .site-footer__top {
    right: 16px;
    bottom: 20px;
  }
}

html.dialog-open {
  overflow: hidden;
}

.order-dialog {
  padding: 0;
  border: none;
  border-radius: 20px;
  max-width: 440px;
  width: calc(100% - 32px);
  background: transparent;
  box-shadow: none;
}

.order-dialog::backdrop {
  background: rgba(30, 41, 59, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.order-dialog__panel {
  position: relative;
  padding: 36px 28px 28px;
  border-radius: 20px;
  background: #eef3f8;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.2);
  max-height: min(640px, 90vh);
  overflow-y: auto;
}

.order-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: #475569;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.order-dialog__close:hover {
  background: #fff;
  color: #1e293b;
}

.order-dialog__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.order-dialog__logo {
  height: 42px;
  width: auto;
}

.order-dialog__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 4.2vw, 22px);
  font-weight: 700;
  color: #1e3a5f;
  text-align: center;
  line-height: 1.25;
}

.order-dialog__subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.contact-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-chip {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.contact-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-chip__box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.contact-chip input:checked + .contact-chip__box {
  background: #e0f0fa;
  border-color: #7eb8d4;
  box-shadow: 0 0 0 1px rgba(90, 154, 183, 0.35);
}

.contact-chip__icon {
  width: 18px;
  height: 18px;
}

.contact-chip__icon--tg {
  color: #229ed9;
}

.contact-chip__max {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f7df3, #6366f1);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.order-form .field {
  display: block;
  margin-bottom: 12px;
}

.field__phone-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  min-height: 50px;
  transition: border-color 0.15s, box-shadow 0.15s;
  overflow: hidden;
}

.field__phone-wrap:focus-within {
  border-color: #5a9ab7;
  box-shadow: 0 0 0 3px rgba(90, 154, 183, 0.2);
}

.field__flag {
  flex-shrink: 0;
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.field__input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field__input::placeholder {
  color: #94a3b8;
}

.field__input:focus {
  outline: none;
  border-color: #5a9ab7;
  box-shadow: 0 0 0 3px rgba(90, 154, 183, 0.2);
}

.field--phone .field__input {
  border: none;
  box-shadow: none;
  padding: 14px 0;
  border-radius: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.field--phone .field__input:focus {
  box-shadow: none;
}

.field__input--tel {
  flex: 1;
  min-width: 0;
}

.order-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #5a9ab7;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.order-form__submit:hover {
  background: #4d8ba8;
}

.order-form__submit:active {
  transform: scale(0.99);
}

.order-form__legal {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
  max-width: none;
}

.order-form__legal-link {
  color: #475569;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-form__legal-link:hover {
  color: #1e3a5f;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot для защиты форм от ботов (не показывать пользователю) */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* ——— Акции (редактируйте тексты в index.html внутри .promo-card) ——— */
.promo-section {
  position: relative;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #dbeaf4 0%, #cfe2ef 100%);
}

.promo-section__inner {
  position: relative;
}

.promo-section__title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: #0f2744;
  letter-spacing: -0.02em;
}

.promo-offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.promo-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 26px 22px 28px;
  box-shadow: 0 12px 36px rgba(15, 60, 90, 0.08);
  text-align: center;
}

.promo-card__label {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1e3a5f;
}

.promo-card__figure {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
  min-height: 140px;
  align-items: flex-start;
}

.promo-card__slot {
  position: relative;
  display: inline-block;
}

.promo-card__mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 40, 70, 0.1);
}

.promo-card__mock--polaroid {
  width: 132px;
  padding: 14px 14px 32px;
  border-radius: 4px;
}

.promo-card__mock--classic {
  width: 148px;
  height: 118px;
  padding: 12px;
  border-radius: 48% 52% 45% 55% / 42% 48% 52% 46%;
}

.promo-card__mock-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #334155;
  text-align: center;
}

.promo-card__tag {
  position: absolute;
  top: -6px;
  right: -10px;
  transform: rotate(8deg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #e63946;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.45);
  z-index: 1;
}

.promo-card__old-wrap {
  margin: 0 0 14px;
  min-height: 28px;
}

.promo-card__old {
  position: relative;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: #94a3b8;
}

.promo-card__old::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 3px;
  margin-top: -1px;
  background: #e63946;
  transform: rotate(-10deg);
  border-radius: 2px;
}

.promo-card__name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0f2744;
  line-height: 1.25;
}

.promo-card__text {
  margin: 0 auto 18px;
  max-width: 280px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #475569;
}

.promo-card__order {
  width: 100%;
  max-width: 220px;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #3d6d8a;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.promo-card__order:hover {
  background: #335d75;
}

.promo-card__order:active {
  transform: scale(0.99);
}

.promo-cta {
  margin-top: 40px;
  padding: 36px 24px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #6ba8c4 0%, #4d8ba8 100%);
  box-shadow: 0 16px 40px rgba(45, 100, 130, 0.2);
  text-align: center;
}

.promo-cta__headline {
  margin: 0 0 22px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.promo-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}

.promo-cta__arrow {
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.promo-cta__main {
  padding: 16px 36px;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #0f2744;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s, box-shadow 0.15s;
}

.promo-cta__main:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.promo-cta__main:active {
  transform: scale(0.99);
}

.scroll-top {
  position: absolute;
  right: max(16px, calc((100vw - min(1160px, 92vw)) / 2 + 8px));
  bottom: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 39, 68, 0.35);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  z-index: 2;
}

.scroll-top:hover {
  background: rgba(15, 39, 68, 0.55);
}

.scroll-top:active {
  transform: scale(0.96);
}

@media (max-width: 720px) {
  .promo-offers {
    grid-template-columns: 1fr;
  }

  .scroll-top {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 900px) {
  .header-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0;
    gap: 16px;
  }

  .main-nav {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ——— Страницы документов (docs/) ——— */
.doc-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.doc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
}

.doc-header__home,
.doc-header__back {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.doc-header__home:hover,
.doc-header__back:hover {
  color: var(--accent);
}

.doc-header__logo {
  line-height: 0;
  margin-left: auto;
}

.doc-header__logo img {
  height: 34px;
  width: auto;
}

.doc-hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.doc-hub-main {
  flex: 1;
  padding: 48px 0 64px;
}

.doc-hub-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text);
}

.doc-hub-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5b8cff);
}

.doc-hub-lead {
  margin: 0 auto 36px;
  max-width: 520px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.doc-hub-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  padding-right: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.doc-hub-card:hover {
  border-color: #c8d4f0;
  box-shadow: 0 8px 28px rgba(39, 93, 255, 0.1);
}

.doc-hub-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.doc-hub-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.doc-hub-card__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
}

.doc-hub-foot {
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.doc-hub-foot__note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  max-width: none;
}

.doc-hub-foot__note a {
  color: var(--accent);
  font-weight: 600;
}

.doc-article {
  padding: 40px 0 72px;
  max-width: 720px;
}

.doc-article__h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.doc-article__meta {
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  max-width: none;
}

.doc-article__h2 {
  margin: 28px 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.doc-article p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: #475569;
  max-width: none;
}

.doc-article a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-article__ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #475569;
}

.doc-article__ul li {
  margin-bottom: 8px;
}

.doc-article__note {
  margin-top: 40px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 13px !important;
  color: var(--muted) !important;
  font-style: italic;
}

/* ——— Страница отправки файла на печать (QR) ——— */
.print-page {
  margin: 0;
  min-height: 100vh;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.print-page__wrap {
  width: min(420px, 92vw);
  margin: 0 auto;
  padding: 32px 0 48px;
}

.print-page__badge {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.print-page__title {
  margin: 0 0 16px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
}

.print-page__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.print-page__form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.print-page__label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.print-page__label:first-of-type {
  margin-top: 0;
}

.print-page__file {
  margin-top: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}

.print-page__input,
.print-page__textarea {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.print-page__textarea {
  resize: vertical;
  min-height: 80px;
}

.print-page__input:focus,
.print-page__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 93, 255, 0.15);
}

.print-page__submit {
  margin-top: 20px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.print-page__submit:hover {
  background: var(--accent-hover);
}

.print-page__submit:active {
  transform: scale(0.99);
}

.print-page__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.print-page__status {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.print-page__status[hidden] {
  display: none !important;
}

.print-page__hint {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.print-page__hint a {
  color: var(--accent);
  font-weight: 600;
}

.print-page--thanks .print-page__title {
  margin-bottom: 20px;
}

.print-page--thanks .print-page__text {
  text-align: center;
}

.print-page--thanks .print-page__text a {
  color: var(--accent);
  font-weight: 600;
}
