:root {
  --bg: #edf1f4;
  --surface: #ffffff;
  --surface-alt: #e6ebf0;
  --surface-dark: #101922;
  --surface-dark-soft: #182430;
  --text: #16212b;
  --text-muted: #536474;
  --text-light: #f5f7fa;
  --border: rgba(22, 33, 43, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --accent: #0c8a43;
  --accent-strong: #17a457;
  --accent-soft: rgba(12, 138, 67, 0.12);
  --steel: #283746;
  --line: rgba(40, 55, 70, 0.16);
  --success: #1c7c4c;
  --danger: #b3261e;
  --shadow: 0 20px 60px rgba(16, 25, 34, 0.12);
  --shadow-soft: 0 12px 28px rgba(10, 16, 22, 0.06);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-top {
  display: block;
  height: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(1.85rem, 3.7vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: start;
  gap: 10px;
  margin: 0 0 14px;
  color: #9fb2c4;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-head .eyebrow,
.section:not(.section-dark) .eyebrow {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(237, 241, 244, 0.84);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 84px;
  display: block;
  border-radius: 10px;
  background: var(--surface);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

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

.btn-header-email {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.btn-header-phone {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(23, 164, 87, 0.28);
  outline-offset: 2px;
}

.btn-primary {
  color: #0d1218;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 32px rgba(12, 138, 67, 0.22);
}

.btn-outline,
.btn-ghost {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn-dark {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.btn-telegram,
.btn-max {
  color: #ffffff;
}

.btn-telegram {
  background: #229ed9;
  border-color: #229ed9;
}

.btn-max {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.section {
  padding: 92px 0;
  scroll-margin-top: 104px;
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(circle at top right, rgba(12, 138, 67, 0.22), transparent 24%),
    linear-gradient(180deg, #101922 0%, #162432 100%);
}

.section-dark::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 16.5px;
}

.hero {
  padding: 78px 0 64px;
}

.hero h1 {
  max-width: 12ch;
  text-wrap: balance;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 40px;
  align-items: start;
}

.lead {
  max-width: 720px;
  margin-bottom: 22px;
  color: #dce4ea;
  font-size: 1.1rem;
}

.hero-note {
  max-width: 720px;
  margin-bottom: 0;
  color: #c8d3dc;
  font-size: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats div {
  padding: 16px 18px;
  background: rgba(10, 16, 22, 0.5);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 0;
  color: #aebfce;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.benefit-list li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #eef3f7;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-panel {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(13, 20, 27, 0.66);
  box-shadow: var(--shadow);
}

.panel-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.panel-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 24%;
}

.panel-visual-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: rgba(10, 16, 22, 0.76);
  backdrop-filter: blur(10px);
}

.panel-visual-caption strong {
  font-size: 15px;
}

.panel-visual-caption span {
  color: #c8d3dc;
  font-size: 13px;
}

.panel-block {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-visual + .panel-block {
  padding-top: 0;
  border-top: 0;
}

.panel-block--accent {
  padding: 18px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 138, 67, 0.18), rgba(12, 138, 67, 0.08));
}

.panel-title {
  margin: 0 0 12px;
  color: #f7fafc;
  font-weight: 800;
}

.route-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #d4dde5;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-grid article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 4px;
  color: #c8d3dc;
  font-size: 13px;
}

.form {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calc-form {
  position: relative;
  overflow: hidden;
}

.calc-form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #6fa2bd, transparent);
  content: "";
}

.form-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.form-kicker span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 800;
}

.form-kicker strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.hero-panel .form {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.form h2,
.form h3 {
  margin-bottom: 8px;
}

.form p {
  color: var(--text-muted);
}

.hero-panel .form p,
.hero-panel .form-note {
  color: #c8d3dc;
}

.form-note {
  margin: 10px 0 0;
  font-size: 13px;
}

.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.form label span {
  font-size: 13px;
  font-weight: 800;
  color: #30353b;
}

.hero-panel .form label span {
  color: #e7edf2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c7d0d8;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--surface);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aebbc6;
}

.hero-panel input,
.hero-panel select,
.hero-panel textarea {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-light);
  background: rgba(10, 16, 22, 0.26);
}

.hero-panel input::placeholder,
.hero-panel textarea::placeholder {
  color: #b7c3ce;
}

.hero-panel option {
  color: var(--text);
}

textarea {
  resize: vertical;
}

.field-error {
  border-color: var(--danger);
  background: #fff7f6;
}

.file-field input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}

.file-field small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.file-field em {
  justify-self: start;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0f4a38;
  background: rgba(40, 187, 125, 0.16);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 22, 0.04);
}

.hero-panel .consent {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 16, 22, 0.24);
}

.form .consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
  appearance: none;
  border-radius: 6px;
  border: 1px solid #9aa8b5;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-panel .form .consent input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.42);
}

.form .consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form .consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-panel .consent span {
  color: var(--text-light);
}

.consent-error {
  grid-column: 2;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card,
.service-card,
.portfolio-card,
.photo-card,
.youtube-card,
details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card,
.service-card {
  padding: 26px;
}

.service-card {
  border-top: 0;
}

.service-card::before {
  display: inline-block;
  width: 42px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.service-objects {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-objects h3 {
  max-width: 720px;
}

.service-objects .tag-grid {
  margin-top: 18px;
}

.card p,
.service-card p,
.portfolio-card p,
.youtube-card p {
  color: var(--text-muted);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #101922 0%, #172432 100%);
  color: var(--text-light);
}

.cta-strip p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 52px;
  align-items: center;
}

.design-band p,
.final-cta p,
.calc-copy p,
.data-block p {
  max-width: 680px;
  color: #d3dde5;
  font-size: 18px;
}

.check-list,
.trust-list,
.data-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.trust-list li,
.data-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.section-dark .check-list li,
.data-block .data-list li {
  border-color: var(--border-dark);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.check-list li::before,
.trust-list li::before,
.data-list li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  content: "";
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tag-grid span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(12, 138, 67, 0.16);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.calc-section {
  background: var(--surface-alt);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.calc-copy {
  position: sticky;
  top: 112px;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: var(--text-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #101922 0%, #172432 100%);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust {
  background: var(--bg);
}

.steps {
  background: var(--surface-alt);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list li {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.steps-list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
}

.data-block {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(circle at top right, rgba(12, 138, 67, 0.22), transparent 24%),
    linear-gradient(180deg, #101922 0%, #172432 100%);
}

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

.section-head-compact {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head-compact h3 {
  font-size: 28px;
}

.photo-block {
  margin-bottom: 44px;
}

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

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.photo-card a {
  display: block;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photo-meta {
  display: inline-flex;
  margin: 16px 18px 0;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.photo-card a:hover img,
.photo-card a:focus-visible img {
  transform: scale(1.03);
}

.photo-card h3,
.photo-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.photo-card h3 {
  margin-top: 10px;
}

.photo-card p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.video-head {
  margin-top: 16px;
}

.portfolio-card,
.youtube-card {
  overflow: hidden;
}

.portfolio-card h3,
.portfolio-card p,
.portfolio-card .btn {
  margin-left: 20px;
  margin-right: 20px;
}

.portfolio-card .btn {
  margin-bottom: 20px;
}

.portfolio-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.portfolio-media span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(12, 138, 67, 0.92);
}

.portfolio-card h3 {
  margin-top: 20px;
}

.portfolio-cta {
  margin-bottom: 34px;
}

.youtube-block {
  margin-top: 46px;
}

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

.youtube-card h4,
.youtube-card p {
  padding: 0 18px;
}

.youtube-card h4 {
  margin-top: 16px;
}

.youtube-card p {
  margin-bottom: 18px;
}

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

details {
  overflow: hidden;
}

summary {
  min-height: 64px;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

details[open] summary {
  border-bottom: 1px solid var(--border);
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contacts {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

address {
  font-style: normal;
  font-size: 18px;
}

.site-footer {
  padding: 26px 0;
  color: #cbd1d7;
  background: #101922;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #dfe8ef;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.policy-hero {
  padding: 72px 0 36px;
}

.policy-content {
  padding: 0 0 92px;
}

.policy-card {
  max-width: 920px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.policy-card h2 {
  margin-top: 34px;
  font-size: 28px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card ul {
  padding-left: 22px;
}

.policy-card li + li {
  margin-top: 8px;
}

.policy-note {
  padding: 16px 18px;
  border: 1px solid rgba(179, 38, 30, 0.18);
  border-radius: var(--radius-sm);
  color: #6e231d;
  background: rgba(179, 38, 30, 0.08);
  font-weight: 700;
}

.messenger-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.messenger-fab__link {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 16, 22, 0.24);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.messenger-fab__link--telegram {
  background: #229ed9;
}

.messenger-fab__link--max {
  background: linear-gradient(135deg, #0c8a43, #17a457);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1120px) {
  .header-actions {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }

  .hero-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: 1fr 1fr;
  }

  .panel-visual {
    min-height: 100%;
  }

  .panel-visual img {
    height: 100%;
    min-height: 320px;
  }

  .hero-panel .form {
    grid-column: 1 / -1;
  }

  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid,
  .portfolio-grid,
  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-row {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: auto;
    height: 58px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--border);
    background: #edf1f4;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero h1 {
    max-width: none;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-grid,
  .hero-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-panel .form {
    grid-column: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .panel-visual img {
    height: 280px;
    min-height: 0;
  }

  .benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-6,
  .service-grid,
  .tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-inner {
    display: block;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 86px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 74px 0;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .hero-actions,
  .contact-buttons,
  .cta-strip,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .benefit-list,
  .hero-stats,
  .cards-6,
  .service-grid,
  .tag-grid,
  .photo-grid,
  .portfolio-grid,
  .youtube-grid,
  .form-row,
  .form-row-3,
  .steps-list,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .form,
  .calc-copy,
  .card,
  .service-card,
  .service-objects {
    padding: 20px;
  }

  .panel-visual img {
    height: 220px;
  }

  .steps-list li {
    min-height: auto;
  }

  .steps-list span {
    margin-bottom: 10px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(13, 20, 27, 0.92);
    box-shadow: 0 20px 42px rgba(10, 16, 22, 0.26);
  }

  .mobile-sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 800;
  }

  .mobile-sticky-cta a:first-child {
    color: #111827;
    background: #ffffff;
  }

  .mobile-sticky-cta a:last-child {
    color: #0d1218;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  }

  .messenger-fab {
    right: 12px;
    top: 96px;
    bottom: auto;
    grid-template-columns: repeat(2, 48px);
  }

  body.nav-open .messenger-fab {
    display: none;
  }

  .messenger-fab__link {
    width: 48px;
    height: 48px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: auto;
    height: 58px;
  }

  h1 {
    font-size: 1.85rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
