@font-face {
  font-family: 'Caveat';
  src: url('fonts/Caveat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --light-gray: #e5e5e5;
  --yellow: #fca311;
  --dark-blue: #14213d;
  --black: #000000;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  background-image:
    linear-gradient(to bottom, rgba(244, 244, 244, 0) 0%, rgba(244, 244, 244, 1) 80%), url('../img/5471.svg');
  background-repeat: repeat, repeat;
  background-position:
    0 0,
    0 0;
  color: var(--black);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* CONTENT PAGES */
.content-page {
  width: 100%;
  padding: 40px 0 10px;
}

.content-wrapper {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto 30px;
  background: var(--white);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.content-title {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
}

.content-lead {
  margin: 0 0 20px;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.district-work-banner {
  margin: 0 0 22px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(252, 163, 17, 0.24), transparent 36%),
    linear-gradient(135deg, #14213d 0%, #1a2746 52%, #233862 100%);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.16);
  overflow: hidden;
}

.district-work-banner-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.district-work-banner-title {
  margin: 14px 0 16px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--white);
  /* max-width: 13ch; */
}

.district-work-banner-points {
  display: grid;
  gap: 10px;
}

.district-work-banner-point {
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.district-work-banner-point strong {
  color: var(--yellow);
  font-size: 1.18em;
}

.district-work-banner-point-accent {
  background: linear-gradient(135deg, rgba(252, 163, 17, 0.22), rgba(252, 163, 17, 0.1));
  border: 1px solid rgba(252, 163, 17, 0.4);
}

.district-work-banner-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.district-work-banner-media {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  margin: -24px -24px -22px 0;
}

.district-work-banner-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(252, 163, 17, 0.08), rgba(20, 33, 61, 0.04));
  pointer-events: none;
}

.district-work-banner-media img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0 24px 24px 0;
}

.content-body {
  display: grid;
  gap: 16px;
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

.content-body h2 {
  margin: 14px 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-blue);
}

.content-body p {
  margin: 0;
}

.zhk-page .content-wrapper.zhk-content-section {
  margin: 0 auto 22px;
}

.zhk-breadcrumbs {
  width: 90%;
  max-width: 1180px;
  margin: 40px auto 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #5f6879;
  font-size: 14px;
  line-height: 1.4;
}

.zhk-breadcrumbs a {
  color: var(--dark-blue);
  font-weight: 700;
}

.zhk-breadcrumbs a:hover {
  color: var(--yellow);
}

.zhk-breadcrumbs span[aria-current='page'] {
  color: #1c2435;
  font-weight: 800;
}

.zhk-page.zhk-animate-ready .zhk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.zhk-page.zhk-animate-ready .zhk-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zhk-page.zhk-animate-ready .zhk-reveal-soft {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--zhk-delay, 0ms);
  will-change: opacity, transform;
}

.zhk-page.zhk-animate-ready .zhk-reveal-soft.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.zhk-content-section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
  color: var(--dark-blue);
}

.zhk-content-section p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: #384152;
}

.zhk-content-section a {
  color: var(--yellow);
  font-weight: 800;
}

.zhk-content-section a:hover {
  color: #d48806;
}

.zhk-hero-section {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto 26px;
}

.zhk-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(252, 163, 17, 0.2), transparent 28%),
    linear-gradient(135deg, #0f1629 0%, #172340 58%, #223760 100%);
  color: var(--white);
  box-shadow: 0 22px 46px rgba(15, 22, 41, 0.18);
  overflow: hidden;
}

.zhk-hero-copy {
  display: flex;
  flex-direction: column;
}

.zhk-hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zhk-hero-title {
  margin: 16px 0 14px;
  font-size: clamp(2.2rem, 3.8vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  color: var(--white);
}

.zhk-hero-subtitle {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 62ch;
}

.zhk-hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.zhk-hero-benefits li {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.zhk-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.zhk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.25s;
}

.zhk-btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.zhk-btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.zhk-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
}

.zhk-btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.zhk-hero-note-card {
  margin-top: auto;
  max-width: 440px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.zhk-hero-note-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
}

.zhk-hero-note-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.zhk-inline-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

.zhk-inline-link:hover {
  color: var(--white);
}

.zhk-hero-media {
  min-height: 100%;
}

.zhk-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 26px;
}

.zhk-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.zhk-check-list li,
.zhk-fit-item {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 16px;
  background: #f7f8fb;
  border: 1px solid #e8ebf2;
  font-size: 15px;
  line-height: 1.5;
  color: #1f2937;
}

.zhk-check-list li::before,
.zhk-fit-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #ffd46a);
  box-shadow: inset 0 0 0 4px #172340;
}

.zhk-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.zhk-card {
  min-height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8f9fc);
  border: 1px solid #ebedf3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.zhk-card-index {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 14px;
}

.zhk-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--dark-blue);
}

.zhk-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.zhk-steps-grid {
  margin-top: 8px;
}

.zhk-step-card {
  border: 1px solid #eceff5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.zhk-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zhk-lead-section {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 22px;
  scroll-margin-top: 100px;
}

.zhk-lead-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, #14213d 0%, #1f2a44 58%, #fca311 160%);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(15, 22, 41, 0.16);
}

.zhk-lead-copy h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.1;
  color: var(--white);
}

.zhk-lead-copy p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.zhk-lead-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.zhk-lead-list li {
  margin-bottom: 8px;
}

.zhk-lead-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.zhk-lead-form input,
.zhk-lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  font-size: 15px;
  font-family: inherit;
}

.zhk-lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.zhk-lead-form button {
  border: none;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.25s;
}

.zhk-lead-form button:hover {
  background: var(--black);
  color: var(--yellow);
}

.zhk-form-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.zhk-final-cta {
  margin-bottom: 30px;
}

.zhk-consult-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1100;
}

.zhk-consult-modal.active {
  display: flex;
}

.zhk-consult-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.zhk-consult-modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.zhk-consult-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.zhk-consult-modal-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--dark-blue);
}

.zhk-consult-modal-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #435063;
}

.zhk-consult-form {
  background: #f6f8fc;
  border: 1px solid #e1e6ef;
  backdrop-filter: none;
}

.zhk-consult-form input,
.zhk-consult-form textarea {
  border: 1px solid #bcc6d6;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(188, 198, 214, 0.12);
}

.zhk-consult-form input:focus,
.zhk-consult-form textarea:focus {
  outline: none;
  border-color: #fca311;
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .zhk-page.zhk-animate-ready .zhk-reveal,
  .zhk-page.zhk-animate-ready .zhk-reveal-soft,
  .zhk-page.zhk-animate-ready .zhk-reveal.is-visible,
  .zhk-page.zhk-animate-ready .zhk-reveal-soft.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .zhk-hero-shell,
  .zhk-lead-shell {
    grid-template-columns: 1fr;
  }

  .zhk-hero-title,
  .zhk-lead-copy h2 {
    max-width: none;
    font-size: 34px;
  }

  .zhk-hero-media img {
    min-height: 300px;
  }

  .zhk-check-list,
  .zhk-card-grid,
  .zhk-fit-grid {
    grid-template-columns: 1fr;
  }

  .zhk-consult-modal-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 820px) {
  .zhk-hero-benefits {
    grid-template-columns: 1fr;
  }

  .zhk-content-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .zhk-hero-section,
  .zhk-lead-section {
    width: 94%;
  }

  .zhk-hero-shell {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .zhk-hero-title {
    font-size: 30px;
  }

  .zhk-hero-subtitle {
    font-size: 16px;
  }

  .zhk-hero-media img {
    min-height: 240px;
    border-radius: 20px;
  }

  .zhk-hero-actions {
    flex-direction: column;
  }

  .zhk-btn {
    width: 100%;
  }

  .zhk-lead-shell {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .zhk-lead-copy h2,
  .zhk-content-section h2 {
    font-size: 24px;
  }

  .zhk-consult-modal-card {
    padding: 20px 18px;
    border-radius: 20px;
  }
}

.content-links {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 50px;
  background: #0f1629;
  color: var(--white);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.content-links h2 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.content-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.content-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.2s ease;
}

.content-link:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.content-link.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* CONTENT CTA */
.content-cta {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 22px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff0303 0%, #f97316 45%, #1b0606 100%);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.content-cta h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.content-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  font-size: 15px;
}

.content-cta .cta-btn {
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  border: 2px solid var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.content-cta .cta-btn:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  transform: translateY(-1px);
}

.content-cta small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 720px) {
  .content-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .content-cta .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

.service-cards {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 28px;
  display: grid;
  gap: 14px;
}

.service-cards-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.service-cards-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--dark-blue);
}

.service-cards-header p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(140deg, #0f1629, #0a1020);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  color: var(--white);
}

.service-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  border: none;
  display: block;
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 18px 18px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  line-height: 1.3;
}

.service-card-price {
  margin: 4px 0 0;
  font-size: 15px;
  /* font-weight: 900; */
  color: var(--white);
  min-height: 22px;
}

.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-card-link,
.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  transition: 0.2s ease;
}

.service-card-link:hover,
.service-card-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.service-card-btn {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.service-card-btn:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

@media (max-width: 640px) {
  .service-cards {
    gap: 12px;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 200px;
  }
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: var(--black);
}

.logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

nav .nav-link {
  margin: 0 15px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  transition: 0.2s;
  text-decoration: none;
}

nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

nav .nav-link.active {
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-caret {
  margin-left: 8px;
  font-size: 12px;
}

.nav-subcaret {
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 260px;
  padding: 10px;
  border-radius: 14px;
  background: #101520;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(6px);
  z-index: 50;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  display: flex;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
}

.nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-subitem {
  position: relative;
}

.nav-subitem::after {
  content: '';
  position: absolute;
  top: 0;
  right: -14px;
  width: 14px;
  height: 100%;
}

.nav-subitem.is-active > .nav-subtoggle,
.nav-subitem:hover > .nav-subtoggle {
  background: rgba(255, 255, 255, 0.08);
}

.nav-subtoggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-subitem.is-open > .nav-subtoggle .nav-subcaret {
  transform: rotate(90deg);
}

.nav-subdropdown {
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 280px;
  padding: 10px;
  border-radius: 14px;
  background: #101520;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  z-index: 55;
}

.nav-subitem:hover .nav-subdropdown,
.nav-subitem:focus-within .nav-subdropdown,
.nav-subitem.is-open .nav-subdropdown {
  display: flex;
}

.socials div {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.socials a {
  display: flex;
  width: 32px;
  height: 32px;
  transition: 0.25s;
}

.socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.socials a:hover {
  transform: scale(1.12);
}

/* HERO */
h1 {
  text-align: center;
  font-size: 62px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--black);
}

.hero {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero img {
  width: 100%;
  display: block;
}

/* BENEFITS */
.section {
  width: 90%;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* .benefits h2 {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.5;
      } */

.benef-list {
  margin-top: 30px;
}

.benef-item {
  margin-bottom: 25px;
}

.benef-item-title {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 6px;
  font-size: 22px;
}

.benef-item p {
  margin: 0;
  color: #444;
  font-size: 14px;
  width: 90%;
}

.section img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* PROJECTS */
.projects-title {
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  margin-top: 80px;
  color: var(--black);
}

.projects-grid {
  width: 90%;
  margin: 40px auto 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.project-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.project-card img {
  width: 100%;
  border-radius: 16px;
}

.year {
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.project-title {
  font-size: 20px;
  font-weight: 800;
  margin: 4px 0 8px;
}

.project-info {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

.more-projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* margin: 20px 10px 20px 0; */
  padding: 10px 30px;
  /* background: var(--black); */
  border-radius: 999px;
  border: 2px solid var(--dark-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-blue);
  transition: 0.2s;
}

.more-projects-btn:hover {
  background: var(--yellow);
  color: var(--dark-blue);
  border: 2px solid var(--yellow);
}

.more-cta-row {
  width: 90%;
  margin: 35px auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.more-cta-title {
  margin: 0;
  font-size: 1.8em;
  font-weight: 900;
  color: var(--black);
}

.more-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* CAROUSEL (yellow-black theme) */
.carousel-section {
  width: 100%;
  margin: 60px auto 60px;
  text-align: center;
}

.carousel-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 40px;
}

.carousel-container {
  position: relative;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  transition: 0.2s;
  padding: 8px;
  color: var(--dark-blue);
  opacity: 0.5;
}

.carousel-arrow:hover {
  opacity: 1;
  color: var(--yellow);
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 40px;
  transition: transform 0.6s ease;
  padding: 20px 0;
}

.item {
  flex: 0 0 240px;
  text-align: center;
  /* opacity: 0.25; */
  transform: scale(0.75);
  transition: 0.45s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item img {
  width: 100%;
  border-radius: 24px;
  border: 2px solid transparent;
  background: var(--white);
}

.item h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}

.item p {
  margin-top: 4px;
  color: #777;
  font-size: 14px;
}

.item.active {
  opacity: 1;
  transform: scale(1);
}

.item.active img {
  border-color: var(--yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.item .more-btn {
  display: none;
  margin-top: 12px;
  padding: 9px 22px;
  font-size: 14px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  color: var(--black);
}

.item.active .more-btn {
  display: inline-block;
}

.item .more-btn:hover {
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
}

/* FOOTER */
footer {
  width: 90%;
  margin: 0 auto 40px;
  background: var(--dark-blue);
  border-radius: 25px;
  padding: 32px 40px 26px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.footer-left img {
  width: 120px;
  margin-bottom: 12px;
}

.footer-left small {
  display: block;
  margin-top: 4px;
  color: #d0d4e0;
  font-size: 13px;
}

.phone-block {
  text-align: center;
}

.phone-title {
  color: #c9cede;
  font-size: 13px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.06em;
}

.phone-number-btn {
  border: none;
  background: var(--yellow);
  color: var(--black);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: 0.25s;
}

.phone-number-btn:hover {
  background: var(--white);
  color: var(--black);
}

.phone-number span {
  color: var(--white);
}

.phone-block small {
  display: block;
  margin-top: 6px;
  color: #c9cede;
  font-size: 12px;
}

.footer-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.footer-buttons button,
.footer-buttons a {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-dark {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-dark:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

.vk-icon {
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 10px;
}

/* STATS SECTION */
.stats-section {
  width: 90%;
  margin: 80px auto;
}

.stats-grid {
  background: var(--white);
  border-radius: 26px;
  padding: 40px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  border: 1px solid #eee;
}

/* ВЕРТИКАЛЬНЫЕ ЛИНИИ */
.stats-grid > .stat-item:not(:last-child) {
  border-right: 1px solid #ddd;
}

/* ЦИФРЫ */
.stat-value {
  font-size: 38px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 8px;
}

/* ПОДПИСИ */
.stat-label {
  font-size: 14px;
  color: #666;
  letter-spacing: 0.02em;
}

/* REVIEWS CAROUSEL — same mechanics, different card styling */
.reviews-carousel-section {
  width: 90%;
  margin: 90px auto 40px;
  text-align: center;
}

.reviews-carousel-section .carousel-title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 40px;
  color: var(--black);
}

/* wrap matches existing carousel */
.reviews-carousel {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.reviews-wrapper {
  overflow: hidden;
  width: 100%;
  height: 360px; /* фиксируем высоту, чтобы всё было по центру */
  display: flex;
  align-items: center;
}

.reviews-track {
  display: flex;
  gap: 60px;
  transition: transform 0.6s ease;
  padding: 20px 0;
}

/* REVIEW CARD */
.review-item {
  flex: 0 0 340px; /* чуть шире, чем аксессуары */
  background: var(--white);
  border-radius: 22px;
  padding: 25px;
  text-align: center;

  /* opacity: 0.25; */
  transform: scale(0.75);
  transition: 0.45s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ACTIVE REVIEW */
.review-item.active {
  opacity: 1;
  transform: scale(0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--yellow);
}

/* PHOTO */
.review-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yellow);
  margin-bottom: 16px;
}

/* TEXT */
.review-text {
  font-size: 15px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 18px;
  max-width: 260px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NAME */
.review-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--black);
}

/* ARROWS */
.reviews-prev,
.reviews-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-blue);
  opacity: 0.5;
  transition: 0.25s;
}

.reviews-prev {
  left: -6px;
}

.reviews-next {
  right: -6px;
}

.review-rating {
  margin: 6px 0 10px;
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 700;
}

.review-readmore {
  /* border: 1px solid var(--black); */
  border: none;
  /* background: var(--yellow); */
  color: var(--black);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  font-size: 13px;
}

.review-readmore:hover {
  background: var(--black);
  color: var(--yellow);
}

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.review-modal.active {
  display: flex;
}

.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.review-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 26px 26px 22px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  z-index: 1;
  text-align: center;
}

.review-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

.review-modal-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yellow);
  margin-bottom: 14px;
}

.review-modal-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 8px;
}

.review-modal-rating {
  color: var(--yellow);
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 10px;
}

.review-modal-text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.review-modal-gallery {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.review-modal-gallery img {
  flex: 1 1 calc(50% - 6px);
  max-width: calc(50% - 6px);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.review-modal-gallery.single img {
  flex: 1 1 100%;
  max-width: 100%;
}

.review-modal-contact {
  display: inline-block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  text-align: center;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  border-radius: 12px;
  border: 2px solid var(--yellow);
  text-decoration: none;
  transition: 0.25s;
}

.review-modal-contact:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

/* FAQ CTA */
.faq-cta {
  width: 100%;
  margin: 0 auto 24px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #14213d 0%, #1f2a44 60%, #fca311 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-cta .cta-text {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

.faq-cta .cta-subtext {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.faq-cta .cta-button {
  background: #ffffff;
  color: #733b8f;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.faq-cta .cta-button:hover {
  background: #733b8f;
  color: #ffffff;
}

/* CONTACT MODAL */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.contact-modal-card {
  position: relative;
  /* background: rgb(255 255 255 / 43%); */
  /* backdrop-filter: blur(24px); */
  background: white;
  border-radius: 18px;
  padding: 18px 22px 24px;
  max-width: 420px;
  width: 90%;
  max-height: calc(100vh - 32px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  z-index: 1;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}

.contact-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

.contact-modal-photo {
  display: block;
  width: min(72%, 300px);
  max-height: 24vh;
  object-fit: contain;
  border-radius: 22px;
  margin: 0 auto 12px;
}

.contact-modal-title {
  margin: 6px 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--black);
}

.contact-modal-sub {
  margin: 0 0 12px;
  color: #555;
  font-size: 14px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
}

.contact-list li {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form-toggle,
.contact-form-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.contact-form-toggle {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.contact-form-toggle:hover,
.contact-form-submit:hover {
  background: var(--black);
  color: var(--yellow);
}

.contact-form-wrap {
  display: block;
  width: 100%;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form-phone,
.contact-form-question {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  background: #f7f7f7;
  color: var(--black);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

.contact-form-phone::placeholder,
.contact-form-question::placeholder {
  color: #777;
}

.contact-form-question {
  min-height: 110px;
  resize: vertical;
}

.contact-form-submit {
  background: var(--yellow);
  color: var(--black);
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.contact-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border: 1px solid #eee;
  transition: 0.2s;
}

.contact-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HOW WE WORK */
.steps-section {
  width: 90%;
  margin: 80px auto;
  background: var(--white);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.steps-title {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--black);
  text-align: center;
}

.steps-subtitle {
  text-align: center;
  color: #555;
  margin: 0 0 28px;
  font-size: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.step-card {
  background: #f8f9fc;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e6e8ef;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.step-text {
  margin: 0;
  font-weight: 700;
  color: var(--black);
}

.materials-note {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: #14213d;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  justify-content: center;
  text-align: center;
}

.materials-note span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 12px;
}

/* CONSULTATION BANNER */
.consult-section {
  width: 90%;
  margin: 80px auto;
  background: linear-gradient(135deg, #0f1629 0%, #1f2a44 55%, #fca311 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 36px 42px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: visible;
  min-height: 280px;
}

.consult-section::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 60%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.consult-copy h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.consult-copy h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
  color: var(--white);
}

.consult-points {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.consult-points li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.consult-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.consult-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.consult-form input[type='tel'] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 15px;
}

.consult-form input[type='tel']::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.consult-form-question {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 15px;
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.consult-form-question::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.consult-form button {
  border: none;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.25s;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.consult-form button:hover {
  background: var(--black);
  color: var(--yellow);
}

.consult-photo {
  position: absolute;
  right: 24px;
  bottom: -12px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
}

.consult-photo img {
  width: 450px;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 0 0 #fca311) drop-shadow(0 0 20px rgba(252, 163, 17, 0.55))
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
  transform: translateY(-3%);
}

@media (max-width: 960px) {
  .district-work-banner {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
  .district-work-banner-title {
    max-width: none;
    font-size: 30px;
  }
  .district-work-banner-media {
    order: -1;
    margin: -22px -20px 0;
    min-height: 220px;
  }
  .district-work-banner-media img {
    border-radius: 24px 24px 0 0;
  }
  .consult-section {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .consult-photo {
    order: -1;
    position: static;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }
  .consult-photo img {
    width: 240px;
    transform: translateY(0);
  }
}

.reviews-prev:hover,
.reviews-next:hover {
  opacity: 1;
  color: var(--yellow);
}

/* MATERIALS LOGO MARQUEE */
.materials-section {
  width: 90%;
  margin: 70px auto;
  /* background: var(--white); */
  border-radius: 22px;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); */
  padding: 26px 28px 34px;
  text-align: center;
}

.materials-title {
  font-size: 38px;
  font-weight: 900;
  margin: 0;
  color: var(--black);
}

.materials-subtitle {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.materials-carousel {
  margin-top: 22px;
  overflow: hidden;
  padding: 12px 0;
}

.materials-track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: logos-scroll 14s linear infinite;
}

.materials-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 70px;
  border-radius: 14px;
  /* border: 1px solid #ececec; */
  /* background: #fff; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05); */
  padding: 10px 14px;
}

.materials-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
}

@keyframes logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* BEST WORKS */
.best-works-section {
  width: 90%;
  margin: 90px auto;
  text-align: center;
}

.best-works-title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 40px;
  color: var(--black);
}

/* Wrapper */
.best-works-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* Track window */
.best-works-track-wrapper {
  overflow: hidden;
  width: 100%;
}

/* Track */
.best-works-track {
  display: flex;
  gap: 26px;
  transition: transform 0.6s ease;
  padding: 20px 0;
}

/* Single item */
.bw-item {
  flex: 0 0 260px;
  height: 380px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: 0.4s;
  transform: scale(0.9); /* неактивные карточки чуть меньше */
}

.bw-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Center active effect */
.bw-item.active {
  transform: scale(1.05);
  border: 2px solid var(--yellow);
}

/* Instagram call-to-action card */
.bw-item.insta-card {
  background: var(--yellow);
  border: 3px solid var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--black);
  text-align: center;
  padding: 24px;
  cursor: pointer;
}

.bw-item.insta-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.bw-item.insta-card .insta-text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

/* Arrows */
.best-works-arrow {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-blue);
  opacity: 0.5;
  transition: 0.25s;
}

.best-works-arrow:hover {
  opacity: 1;
  color: var(--yellow);
}

.more-projects-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
}

.more-projects-link:hover {
  color: var(--black);
}

/* PRICE PAGE */
.price-page .content-wrapper {
  width: 90%;
  max-width: 1100px;
}

.price-table-wrapper {
  margin-top: 32px;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 28px rgba(0, 33, 79, 0.08);
  border: 1px solid #eef2f6;
}

.price-table-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--dark-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.price-table-scroll {
  overflow-x: auto;
}

.price-table-title::before {
  content: '';
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--yellow), #ffc14f);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 184, 0, 0.14);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14px;
  line-height: 1.4;
}

.price-table thead th {
  background: linear-gradient(135deg, #f9fbff, #f6f8ff);
  font-weight: 800;
  color: #1d2b3a;
}

.price-table tbody tr:hover {
  background: #f9fbff;
  transition: background 0.2s;
}

.price-table td:first-child {
  font-weight: 700;
  color: #1f2f40;
}

.price-note {
  margin-top: 12px;
  font-size: 13px;
  color: #4a4a4a;
}

.price-value {
  text-align: right;
  font-weight: 800;
  color: var(--dark-blue);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .price-table {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  .price-table thead {
    display: none;
  }
  .price-table {
    border: none;
  }
  .price-table tbody tr {
    display: block;
    margin-bottom: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fff;
  }
  .price-table td {
    display: block;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .price-table td:last-child {
    border-bottom: none;
  }
  .price-table td {
    padding: 10px 12px 8px;
  }
  .price-table td:first-child {
    font-weight: 700;
  }
  .price-table td.price-value {
    text-align: left;
  }
  .price-table-title {
    font-size: 18px;
  }
  .price-note {
    font-size: 12px;
  }
}

/* FAQ SECTION */
.faq-section {
  width: 65%;
  margin: 80px auto;
}

.faq-title {
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 40px;
}

.faq-item {
  background: var(--white);
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 22px 28px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
}

.faq-question::after {
  content: '＋';
  font-size: 22px;
  transition: 0.25s;
  color: var(--yellow);
}

.faq-item.active .faq-question::after {
  content: '－';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 18px 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}

/* Баннер */
.hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контейнер, центрирующий заголовок + кнопку */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 18px 24px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  max-width: 640px;
  width: 90%;
}

/* Заголовок */
.hero-title {
  font-size: clamp(2.4rem, 4vw + 1rem, 50px);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  line-height: 1.25;
  max-width: 640px;
  width: 100%;
}

/* Подзаголовок */
.hero-subtitle {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 500;
  color: #f1f1f1;
  letter-spacing: 0.02em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.hero-slogan {
  display: none;
  width: 90%;
  margin: 18px auto 0;
  justify-content: center;
  text-align: center;
}

/* Кнопка */
.hero-btn {
  margin-top: 22px;
  padding: 14px 32px;

  border-radius: 999px;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);

  font-size: 16px;
  font-weight: 800;
  cursor: pointer;

  position: relative;
  isolation: isolate; /* keeps pulse behind text */
  transition: 0.25s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  animation: hero-breathe 3.4s ease-in-out infinite;
  transform-origin: center;
}

.hero-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(252, 163, 17, 0.35);
  opacity: 0.6;
  transform: scale(0.98);
  animation: hero-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.hero-btn:hover::after {
  border-color: rgba(252, 163, 17, 0.5);
}

.hero-btn:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

@keyframes hero-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  }
}

@keyframes hero-pulse {
  0% {
    transform: scale(0.98);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.6;
  }
}

/* Мобильные */
@media (max-width: 900px) {
  .hero {
    height: 300px;
  }
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 100vh;
    min-height: 480px;
  }
  .hero-slogan {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    margin: 0;
    width: 86%;
    pointer-events: none;
  }
  .hero-slogan .slogan-title {
    color: var(--yellow);
    margin: 0;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  }
  .hero-title {
    font-size: 26px;
  }
  .benefits .slogan-title {
    display: none;
  }
  .carousel-track-wrapper {
    height: auto;
  }
  .carousel-track {
    gap: 12px;
  }
  .item img {
    width: 200px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
  }
  .reviews-prev,
  .reviews-next {
    display: none !important;
  }
}

.slogan-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(3rem, 5vw, 60px);
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1.2;
  text-align: center;
}

/* CALCULATOR */
.calc-section {
  width: 90%;
  margin: 80px auto;
  background: linear-gradient(135deg, #0f1629 0%, #1f2a44 45%, #1fa46b 120%);
  border-radius: 28px;
  padding: 34px 36px;
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.calc-heading {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.calc-sub {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  font-size: 15px;
}

.calc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px 18px;
}

.calc-group {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.calc-value {
  font-weight: 900;
  color: var(--yellow);
  margin-left: 10px;
}

.calc-range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid #0f1629;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid #0f1629;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.calc-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.calc-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: 0.2s;
}

.calc-option:hover {
  border-color: var(--yellow);
  background: rgba(252, 163, 17, 0.14);
}

.calc-option input {
  margin-top: 4px;
  accent-color: var(--yellow);
}

.calc-option-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
}

.calc-option-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.calc-option-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 0, 0, 0.22);
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 6px;
}

.calc-area,
.calc-rate {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}

.calc-price {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--yellow);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.calc-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.calc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  /* border: 1px solid rgba(255, 255, 255, 0.16); */
  background: rgb(0, 139, 21);
  /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); */
}

.calc-cta-title {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.calc-cta-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.calc-cta-btn {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  border: 2px solid var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.calc-cta-btn:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .calc-section {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .calc-controls {
    grid-template-columns: 1fr;
  }
}

/* CALCULATOR LAYOUT UPDATE */
.calc-section {
  width: 88%;
  max-width: 900px;
  margin: 80px auto;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-controls {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-option {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.calc-option-thumb {
  width: 100%;
  /* max-width: 110px; */
  height: 110px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
}

.calc-result {
  width: 100%;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 720px) {
  .calc-section {
    width: 94%;
    padding: 26px 22px;
  }
  .calc-option {
    grid-template-columns: 90px 1fr;
    padding: 14px 16px;
  }
  .calc-option-thumb {
    /* max-width: 90px; */
    height: 90px;
  }
  .calc-cta-btn {
    width: 100%;
  }
}

/* CALC OPTION CARDS ROW */
.calc-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.calc-option {
  display: block;
  padding: 0;
  position: relative;
}

.calc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-option-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: 0.2s;
}

.calc-option-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.calc-option-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.calc-option-title {
  margin: 0;
}

.calc-option input:checked + .calc-option-card {
  border: 2px solid var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  header {
    padding: 16px 24px;
    gap: 12px;
  }
  nav .nav-link {
    margin: 0 6px;
    padding: 8px 12px;
  }
  .section,
  .projects-grid,
  .stats-section,
  .materials-section,
  .faq-section,
  .best-works-section,
  .calc-section,
  .steps-section,
  .carousel-section,
  .reviews-carousel-section,
  footer {
    width: 94%;
  }
  .section {
    grid-template-columns: 1fr;
    margin: 40px auto;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .project-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .projects-title,
  .carousel-title,
  .faq-title,
  .materials-title,
  .best-works-title,
  .steps-title,
  .calc-heading {
    font-size: 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .stats-grid > .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .footer-buttons {
    justify-content: center;
  }
  .consult-section {
    width: 94%;
  }
  .district-work-banner-title {
    font-size: 27px;
  }
  .district-work-banner-point {
    font-size: 16px;
  }
}

@media (max-width: 820px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .materials-carousel {
    overflow: visible;
  }
  .materials-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .materials-dup {
    display: none;
  }
  nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    order: 3;
    -ms-overflow-style: none; /* hide scrollbar on IE/Edge */
    scrollbar-width: none; /* hide scrollbar on Firefox */
  }
  nav.nav-open {
    overflow: visible;
  }
  nav::-webkit-scrollbar {
    display: none; /* hide scrollbar on WebKit browsers */
  }
  nav .nav-link {
    white-space: nowrap;
  }
  .nav-dropdown {
    width: min(88vw, 300px);
    min-width: 0;
    max-height: min(68vh, calc(100dvh - 160px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-subitem::after {
    display: none;
  }
  .nav-subtoggle {
    white-space: normal;
  }
  .nav-subdropdown {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }
  .nav-subitem.is-open .nav-subdropdown {
    display: flex;
  }
  .nav-subitem:not(.is-open):hover .nav-subdropdown,
  .nav-subitem:not(.is-open):focus-within .nav-subdropdown {
    display: none;
  }
  .socials {
    margin-top: 0;
    margin-left: auto;
    order: 2;
  }
  .logo {
    order: 1;
  }
  h1 {
    font-size: 42px;
    margin: 20px auto 12px;
  }
  .hero {
    height: 260px;
  }
  .hero-content {
    padding: 14px 16px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .benef-item-title {
    font-size: 18px;
  }
  .benef-item p {
    width: 100%;
    font-size: 13px;
  }
  .projects-grid {
    gap: 18px;
  }
  .projects-title {
    margin-top: 40px;
  }
  .carousel-track-wrapper,
  .reviews-wrapper {
    height: auto;
  }
  .item,
  .review-item,
  .bw-item {
    transform: none;
  }
  .more-cta-row {
    flex-direction: column;
    text-align: center;
  }
  .more-cta-buttons,
  .consult-form {
    width: 100%;
  }
  .consult-form input[type='tel'],
  .consult-form textarea,
  .consult-form button,
  .calc-cta-btn,
  .hero-btn,
  .more-projects-btn,
  .footer-buttons a,
  .footer-buttons button {
    width: 100%;
    text-align: center;
  }
  .steps-section,
  .calc-section,
  .carousel-section,
  .materials-section,
  .faq-section,
  .reviews-carousel-section,
  .best-works-section {
    margin: 50px auto;
  }
  .calc-section {
    padding: 22px 18px;
    gap: 12px;
  }
  .calc-controls {
    grid-template-columns: 1fr;
  }
  .calc-options {
    grid-template-columns: 1fr;
  }
  .calc-option-card {
    flex-direction: row;
    align-items: center;
  }
  .calc-option-thumb {
    max-width: 120px;
    height: 90px;
  }
  .best-works-container,
  .carousel-container {
    gap: 6px;
  }
  .materials-logo {
    width: 90px;
    height: 60px;
  }
  .faq-section {
    width: 94%;
  }
  .faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }
  header {
    padding: 14px 16px;
  }
  .review-modal-card,
  .contact-modal-card {
    width: 94vw;
    max-width: 94vw;
    margin: 0 3vw;
  }
  .logo {
    height: 40px;
  }
  .socials a {
    width: 28px;
    height: 28px;
  }
  .nav-dropdown {
    left: 0;
    right: auto;
    width: min(88vw, 300px);
    padding: 8px;
  }
  .nav-dropdown-link {
    white-space: normal;
  }
  .hero {
    height: 220px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-slogan {
    margin-top: 14px;
    margin-bottom: 40px;
  }
  .hero-slogan .slogan-title {
    color: var(--yellow);
  }
  .section {
    gap: 20px;
  }
  .slogan-title {
    font-size: 32px;
  }
  .benef-item-title {
    font-size: 17px;
  }
  .project-card {
    padding: 16px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-label {
    font-size: 13px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-track,
  .reviews-track,
  .best-works-track {
    gap: 16px;
  }
  .item,
  .review-item,
  .bw-item {
    flex: 0 0 80%;
    margin: 0 auto;
  }
  .review-item {
    padding: 18px;
  }
  .materials-section,
  .calc-section,
  .steps-section {
    padding: 20px 16px;
  }
  .materials-title,
  .carousel-title,
  .faq-title,
  .best-works-title {
    font-size: 26px;
  }
  footer {
    padding: 24px 18px;
  }
  .phone-number {
    font-size: 20px;
  }
  .district-work-banner {
    border-radius: 20px;
    padding: 20px 16px;
  }
  .district-work-banner-title {
    font-size: 24px;
  }
  .district-work-banner-media img {
    border-radius: 20px 20px 0 0;
  }
}

/* Дополнительная мобильная оптимизация: комфортное чтение и крупные элементы */
@media (max-width: 480px) {
  body {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 18px;
  }
  header {
    gap: 10px;
  }
  nav .nav-link {
    padding: 10px 14px;
    margin: 0 4px;
  }
  .hero {
    height: 85vh;
  }
  .hero-content {
    padding: 12px 14px;
    top: 45%;
  }
  .hero-title {
    font-size: 21px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-btn {
    width: 100%;
    font-size: 15px;
    padding: 14px 16px;
  }
  .section {
    margin: 30px auto;
    gap: 14px;
  }
  .benef-item-title {
    font-size: 16px;
  }
  .projects-title,
  .carousel-title,
  .materials-title,
  .best-works-title,
  .faq-title,
  .steps-title,
  .calc-heading {
    font-size: 24px;
  }
  .project-card {
    padding: 14px;
    gap: 12px;
  }
  .project-info {
    font-size: 13px;
    line-height: 1.5;
  }
  .projects-grid,
  .stats-section,
  .materials-section,
  .faq-section,
  .best-works-section,
  .calc-section,
  .steps-section,
  .carousel-section,
  .reviews-carousel-section {
    width: 96%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-item {
    padding: 8px 0;
  }
  .materials-logo {
    width: 120px;
    height: 70px;
  }
  .calc-section {
    gap: 12px;
    padding: 18px 16px;
  }
  .calc-group {
    padding: 12px 12px;
  }
  .calc-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .calc-option-card {
    flex-direction: column;
  }
  .calc-option-thumb {
    max-height: 160px;
    aspect-ratio: 16 / 9;
    margin-top: 10px;
  }
  .calc-price {
    font-size: 30px;
  }
  .calc-cta-btn {
    width: 100%;
    font-size: 15px;
  }
  .consult-section {
    padding: 22px 18px;
    gap: 16px;
  }
  .consult-form {
    flex-direction: column;
    align-items: stretch;
  }
  .consult-form button,
  .consult-form input[type='tel'],
  .consult-form textarea {
    width: 100%;
  }
  .carousel-track-wrapper,
  .reviews-wrapper,
  .best-works-track-wrapper {
    height: auto;
  }
  .carousel-track {
    gap: 8px;
  }
  .item img {
    width: 200px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
  }
  .carousel-arrow,
  .reviews-prev,
  .reviews-next,
  .best-works-arrow {
    padding: 12px;
    font-size: 34px;
  }
  .item,
  .bw-item {
    flex: 0 0 92%;
    transform: none;
  }
  .review-item {
    flex: 0 0 82%;
    max-width: 320px;
    padding: 14px;
    transform: scale(0.94);
  }
  .review-item:not(.active) {
    transform: scale(0.86);
    opacity: 0.9;
  }
  .review-item.active {
    transform: scale(0.96);
  }
  .bw-item {
    height: 320px;
  }
  .faq-question {
    padding: 16px 16px;
    font-size: 15px;
  }
  .faq-answer p {
    margin: 12px 0 16px;
    font-size: 15px;
  }
  footer {
    padding: 20px 16px;
    gap: 12px;
  }
  .footer-buttons a {
    width: 100%;
    text-align: center;
  }
}
