/* Modern interaction and readability layer — 2026-08-23 */
:root {
  --muted: #5d6784;
  --card-hover: #f3f5ff;
  --card-hover-strong: #e9edff;
  --focus-ring: 0 0 0 4px rgba(22, 196, 230, 0.28);
}

html {
  scroll-padding-top: 112px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif !important;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif !important;
}

::selection {
  background: rgba(86, 103, 255, 0.28);
  color: inherit;
}

.section-light {
  background: linear-gradient(180deg, #f7f8fc 0%, #f2f5fb 100%);
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100;
  width: min(1180px, calc(100% - 48px));
  height: 72px;
  margin: 0;
  padding: 0 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(5, 14, 43, 0.84);
  box-shadow: 0 16px 46px rgba(1, 7, 28, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.hero-zone {
  padding-top: 96px;
}

.brand {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.desktop-nav a {
  font-size: 15px;
}

.desktop-nav a::after {
  bottom: -10px;
}

.hero-lead {
  color: #d1d8ee;
}

.section-heading > p,
.split-heading > p {
  color: #59637f;
}

.reason-card p,
.service-card p,
.price-body > p,
.faq-item > p {
  font-size: 17px;
}

.order-form small {
  font-size: 15px;
}

.reason-card,
.service-card,
.price-card,
.review-card,
.promo-card,
.stat,
.faq-item summary,
.contact-line,
.hero-image-frame,
.map-wrap img,
.price-image img,
.reason-icon,
.service-index,
.card-number,
.promo-glow {
  transition: transform 0.24s ease, background-color 0.24s ease, color 0.24s ease,
    border-color 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

.reason-card,
.service-card {
  box-shadow: 0 10px 30px rgba(31, 45, 91, 0.04);
}

.service-card {
  border-color: #dce2f0;
}

.service-card > a {
  transition: color 0.2s ease, border-color 0.2s ease;
}

.price-card {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  margin-inline: -14px;
  padding-inline: 14px;
  border-radius: 16px;
  cursor: pointer;
}

.faq-item[open] summary {
  color: #3547d7;
  background: rgba(86, 103, 255, 0.07);
}

.review-card {
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.promo-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.contact-line {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 13px;
}

.map-wrap img {
  transform-origin: center;
}

.button:focus-visible,
.round-link:focus-visible,
.review-controls button:focus-visible,
.menu-button:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.service-card > a:focus-visible,
.contact-line:focus-visible,
.faq-item summary:focus-visible,
.order-form input:focus-visible,
.order-form select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }

  .reason-card:hover {
    border-color: #bfc8fb;
    background: linear-gradient(145deg, #fff 15%, var(--card-hover) 100%);
    box-shadow: 0 24px 60px rgba(37, 55, 123, 0.14);
    transform: translateY(-7px);
  }

  .reason-card:hover .reason-icon {
    color: #fff;
    background: var(--blue);
    transform: rotate(-4deg) scale(1.05);
  }

  .reason-card:hover .card-number {
    color: var(--blue);
    transform: translateY(2px);
  }

  .service-card:hover {
    border-color: #bec8fa;
    background: linear-gradient(145deg, #fff 10%, var(--card-hover-strong) 100%);
    box-shadow: 0 24px 60px rgba(37, 55, 123, 0.14);
    transform: translateY(-7px);
  }

  .service-card:hover .service-index {
    color: var(--blue);
    transform: translateX(4px);
  }

  .service-card:hover > a {
    color: var(--blue);
    border-color: #c6cef7;
  }

  .price-card:hover {
    border-color: rgba(125, 142, 255, 0.78);
    background: rgba(99, 116, 255, 0.12);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    transform: translateY(-7px);
  }

  .price-card:hover .price-image img {
    transform: scale(1.035);
  }

  .price-card:hover .round-link {
    color: var(--navy);
    background: var(--cyan);
  }

  .stat:hover {
    background: rgba(86, 103, 255, 0.14);
  }

  .stat:hover strong {
    color: #69e8ff;
    transform: translateY(-2px);
  }

  .faq-item summary:hover {
    color: #3547d7;
    background: rgba(86, 103, 255, 0.08);
  }

  .review-card:hover {
    border-color: rgba(129, 145, 255, 0.45);
    background: rgba(86, 103, 255, 0.105);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }

  .promo-card:hover {
    box-shadow: 0 38px 96px rgba(64, 81, 237, 0.38);
    transform: translateY(-3px);
  }

  .promo-card:hover .promo-glow {
    opacity: 0.4;
    transform: translate(28px, -18px) scale(1.06);
  }

  .contact-line:hover {
    color: #fff;
    background: rgba(86, 103, 255, 0.12);
  }

  .contact-line:hover > span {
    color: var(--cyan);
    background: rgba(22, 196, 230, 0.12);
  }

  .contact-card:hover .map-wrap img {
    transform: scale(1.025);
  }

  .hero-image-frame:hover {
    border-color: rgba(132, 148, 255, 0.55);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.42);
    transform: rotate(0.35deg) translateY(-4px);
  }
}

@media (max-width: 1120px) {
  .desktop-nav a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 96px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    height: 70px;
    padding: 0 12px;
    border-radius: 18px;
  }

  .hero-zone {
    padding-top: 82px;
  }

  .mobile-nav {
    position: fixed;
    top: 86px;
    left: 10px;
    right: 10px;
    z-index: 99;
    width: min(700px, calc(100% - 20px));
    margin-inline: auto;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 66px;
  }

  .hero-zone {
    padding-top: 76px;
  }

  .mobile-nav {
    top: 80px;
  }

  .reason-card p,
  .service-card p,
  .price-body > p,
  .faq-item > p {
    font-size: 16px;
  }

  .faq-item summary {
    margin-inline: -8px;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reason-card:hover,
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .promo-card:hover,
  .hero-image-frame:hover,
  .contact-card:hover .map-wrap img,
  .price-card:hover .price-image img {
    transform: none;
  }
}
