:root {
  --bg-page: #f0f4f8;
  --bg-white: #ffffff;
  --bg-dark: #0d1117;
  --bg-dark-soft: #161b22;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --border: #e2e8f0;
  --success: #059669;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow {
  max-width: 800px;
}

/* Header */
.site-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}

.header-logo__icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo__icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.header-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-logo__tag {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav__list > li {
  position: relative;
}

.header-nav__list a,
.header-nav__toggle {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.header-nav__list a:hover,
.header-nav__toggle:hover,
.header-nav__list a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 70;
}

.header-nav__dropdown--wide {
  min-width: 900px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  padding: 12px;
}

.header-nav__dropdown-label {
  display: block;
  padding: 8px 12px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.header-nav__list > li:hover .header-nav__dropdown,
.header-nav__list > li:focus-within .header-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav__dropdown a {
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.header-nav__dropdown a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent-light);
}

.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.header-burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-burger__line {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

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

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-dark-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(2, 132, 199, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(2, 132, 199, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: 100px;
  font-size: 13px;
  color: #7dd3fc;
  margin: 0 0 20px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 0 32px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat__value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-stat__label {
  font-size: 13px;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
}

.hero-photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.hero-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card__item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.hero-card__item svg {
  width: 28px;
  height: 28px;
  fill: #38bdf8;
  margin-bottom: 8px;
}

.hero-card__item span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--white {
  background: var(--bg-white);
}

.section--gray {
  background: var(--bg-page);
}

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.card__text {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

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

/* Audience pills */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-pill {
  padding: 12px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
}

.cities-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-chip {
  padding: 10px 18px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

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

.cluster-card {
  padding: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.cluster-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.cluster-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cluster-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.cluster-card__text {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.cluster-card__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cluster-card__links a,
.cluster-card__links span {
  font-size: 13px;
  font-weight: 500;
}

.cluster-card__links a {
  color: var(--accent);
}

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

.cluster-card__links span {
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.related-link {
  padding: 16px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: border-color 0.15s;
}

.related-link:hover {
  border-color: var(--accent);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.step__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.step__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Compare */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compare-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.compare-card--highlight {
  border-color: var(--accent);
  background: var(--accent-light);
}

.compare-card__title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.compare-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  color: #fff;
}

.stats-bar__value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1.1;
}

.stats-bar__label {
  font-size: 14px;
  color: var(--text-light);
}

/* Cases */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.case-card:hover {
  box-shadow: var(--shadow);
}

.case-card__img {
  height: 180px;
  background: #0c4a6e;
  overflow: hidden;
}

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

.case-card__img svg {
  width: 48px;
  height: 48px;
  fill: rgba(255, 255, 255, 0.5);
}

.case-card__body {
  padding: 24px;
}

.case-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.case-card__text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.case-card__result {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

/* Equipment */
.equip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.equip-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.equip-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.equip-item__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.equip-item__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.equip-item__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Documents */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.doc-item svg {
  width: 36px;
  height: 36px;
  fill: var(--accent);
  margin-bottom: 12px;
}

.doc-item span {
  font-size: 13px;
  font-weight: 500;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.price-table th {
  background: var(--bg-dark);
  color: #fff;
  font-weight: 600;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  font-weight: 600;
  color: var(--accent);
  min-width: 110px;
}

.price-table--spaced {
  margin-bottom: 32px;
}

.price-section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
}

.price-subsection-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-muted);
}

.price-note {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  white-space: normal;
}

.price-disclaimer {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}

.requisites-table th,
.requisites-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.requisites-table th {
  width: 34%;
  background: var(--bg-gray);
  font-weight: 600;
  color: var(--text-muted);
}

.requisites-table tr:last-child th,
.requisites-table tr:last-child td {
  border-bottom: none;
}

.doc-download-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.doc-download-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.doc-download-card__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.doc-download-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Calculator */
.calc-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.calc-result {
  padding: 20px 24px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-result__label {
  font-size: 14px;
  color: var(--text-muted);
}

.calc-result__value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.calc-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.2s;
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
  top: 9px;
  left: 4px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
  top: 4px;
  left: 9px;
}

.faq-item.is-open .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.review-card__text {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.review-card__author {
  font-size: 14px;
  font-weight: 600;
}

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

/* CTA section */
.cta-section {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-section__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.cta-section__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form .form-field input,
.cta-form .form-field select,
.cta-form .form-field textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta-form .form-field input::placeholder,
.cta-form .form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form .form-field label {
  color: rgba(255, 255, 255, 0.6);
}

.form-success {
  padding: 12px 16px;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(5, 150, 105, 0.4);
  border-radius: var(--radius-sm);
  color: #6ee7b7;
  font-size: 14px;
}

.form-success[hidden] {
  display: none;
}

.form-error {
  padding: 12px 16px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 14px;
}

.form-error[hidden] {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--bg-dark-soft);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand__desc {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 56px 0;
}

.page-hero--cover {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.72) 55%, rgba(13, 17, 23, 0.45) 100%),
    var(--page-hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero__breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.page-hero__breadcrumb a:hover {
  color: #fff;
}

.page-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.page-hero__desc {
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

/* Service page content */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
}

.content-block p,
.content-block li {
  font-size: 15px;
  color: var(--text-muted);
}

.content-block ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-price {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--text);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.service-actions .btn-dark-outline {
  background: var(--bg-white);
}

.sidebar-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sidebar-card__title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
}

.sidebar-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.sidebar-card__list a {
  font-size: 14px;
  color: var(--accent);
}

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

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 17px;
  font-weight: 600;
}

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

.contact-map {
  height: 360px;
  background-color: #cbd5e1;
  background-image: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.15)), var(--contact-map-image, none);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.content-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.tech-showcase {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tech-showcase img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

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

.zone-tag {
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

/* Service media gallery */
.service-gallery {
  margin-top: 40px;
}

.service-gallery__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

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

.service-gallery__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-gray);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-gallery__thumb:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.service-gallery__thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.service-gallery__thumb img,
.service-gallery__thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.service-gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.service-gallery__play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

/* Media lightbox */
.media-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.media-modal--open {
  opacity: 1;
  visibility: visible;
}

.media-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.media-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
}

.media-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.media-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.media-modal__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.media-modal__stage img,
.media-modal__stage video {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
}

.media-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.media-modal__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.media-modal__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.media-modal__nav--prev {
  left: -56px;
}

.media-modal__nav--next {
  right: -56px;
}

.media-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.media-modal__caption {
  margin: 0;
  flex: 1;
}

.media-modal__counter {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

body.media-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .service-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .media-modal__nav--prev {
    left: 8px;
  }

  .media-modal__nav--next {
    right: 8px;
  }

  .media-modal__close {
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
  }

  .media-modal__nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Modal */
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.request-modal--open {
  opacity: 1;
  visibility: visible;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.request-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.request-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.request-modal__close:hover {
  background: var(--bg-page);
}

.request-modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.request-modal__desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}

body.request-modal-open {
  overflow: hidden;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-cta .btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-nav__dropdown--wide {
    min-width: 520px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sidebar-card {
    position: static;
  }

  .cta-section {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .header-phone {
    display: none;
  }

  .header-burger {
    display: flex;
  }

  .site-menu-state:checked ~ .site-header .header-nav {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    padding: 24px;
    overflow-y: auto;
  }

  .site-menu-state:checked ~ .site-header .header-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-menu-state:checked ~ .site-header .header-nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 4px;
    display: none;
  }

  .site-menu-state:checked ~ .site-header .header-nav__list > li.is-open .header-nav__dropdown {
    display: block;
  }

  .site-menu-state:checked ~ .site-header .header-nav__dropdown a {
    color: rgba(255, 255, 255, 0.8);
  }

  .site-menu-state:checked ~ .site-header .header-burger__line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .site-menu-state:checked ~ .site-header .header-burger__line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .cluster-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .header-nav__dropdown--wide {
    min-width: auto;
    grid-template-columns: 1fr;
  }

  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .compare-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .equip-list,
  .calc-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .price-table {
    display: block;
    overflow-x: auto;
  }
}
