:root {
  color-scheme: dark;
  --bg: #06111b;
  --bg-deep: #020913;
  --panel: #101b25;
  --panel-2: #14212c;
  --line: rgba(147, 174, 194, 0.2);
  --line-strong: rgba(147, 174, 194, 0.32);
  --text: #f4f7fa;
  --muted: #b1bbc4;
  --subtle: #77838e;
  --blue: #42a7f5;
  --blue-strong: #1688ec;
  --blue-deep: #0753a4;
  --gold: #ffb400;
  --radius: 12px;
  --container: clamp(1240px, 86vw, 1520px);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html:not(.js) .js-only {
  display: none !important;
}

html {
  margin: 0;
  background: var(--bg-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 32%, rgba(39, 116, 174, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 62%, rgba(55, 148, 219, 0.06), transparent 31rem),
    var(--bg);
  font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

main:focus {
  outline: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 19;
  visibility: hidden;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: rgba(0, 7, 13, 0.38);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

body.menu-open::before {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--blue-deep);
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(3, 11, 18, 0.92);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(24px, 3vw, 64px);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  color: #f5f8fb;
}

.brand-name {
  font-size: clamp(21px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name b {
  color: var(--blue);
  font-weight: 650;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(18px, 2.2vw, 42px);
  white-space: nowrap;
}

.main-nav a,
.header-phone {
  font-size: 15px;
  color: #f2f4f6;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--blue);
  transition: left 160ms ease, right 160ms ease;
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 28px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 160ms ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--blue);
}

.micro-icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 180, 218, 0.3);
  border-radius: 14px;
  cursor: pointer;
  color: #eaf3f9;
  background: linear-gradient(145deg, rgba(17, 36, 50, 0.92), rgba(7, 19, 29, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 220ms ease,
    opacity 160ms ease;
}

.menu-toggle > span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.menu-toggle > span:nth-child(2) {
  width: 15px;
  transform: translate(-34%, -50%);
}

.menu-toggle > span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(91, 183, 250, 0.58);
  color: #ffffff;
  background: linear-gradient(145deg, rgba(23, 55, 78, 0.96), rgba(8, 24, 36, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.26), 0 0 0 3px rgba(66, 167, 245, 0.08);
}

.menu-toggle:active {
  transform: scale(0.96);
}

.menu-toggle[aria-expanded="true"] {
  border-color: rgba(78, 173, 242, 0.6);
  color: #f4faff;
  background: linear-gradient(145deg, rgba(25, 72, 104, 0.9), rgba(9, 29, 44, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 10px 32px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(66, 167, 245, 0.09);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.15);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  border: 1px solid var(--blue-strong);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.service-action:focus-visible,
.work-card-action:focus-visible,
.work-nav:focus-visible,
.service-nav:focus-visible,
.review-nav:focus-visible,
.gallery-case-nav button:focus-visible,
.modal-close:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid rgba(116, 199, 255, 0.68);
  outline-offset: 3px;
}

.button-primary {
  border-color: #299cfb;
  background: linear-gradient(180deg, #2f9af2 0%, #0961bb 58%, #074d94 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 108, 205, 0.2);
}

.button-primary:hover {
  background: linear-gradient(180deg, #45aaf8 0%, #0d70cf 62%, #0753a4 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 13px 32px rgba(0, 118, 223, 0.32);
}

.button-outline {
  background: rgba(2, 10, 18, 0.42);
}

.button-outline:hover {
  border-color: #65bcff;
  background: rgba(24, 121, 196, 0.12);
}

.button-compact {
  min-height: 42px;
  padding-inline: 25px;
  border-radius: 24px;
  font-size: 14px;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: clamp(640px, 45vw, 700px);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 96%, rgba(40, 132, 194, 0.2), transparent 42%),
    radial-gradient(circle at 72% 24%, rgba(43, 99, 137, 0.16), transparent 34%),
    linear-gradient(90deg, #020814 0%, #06111b 48%, #07121a 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.hero-media {
  position: absolute;
  z-index: 1;
  top: auto;
  right: 0;
  bottom: -1px;
  width: min(88vw, 1320px);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(0.94) contrast(1.05) brightness(0.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 12%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 12%, #000 30%);
}

.hero-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #020814 0%, #020814 21%, rgba(2, 8, 20, 0.97) 31%, rgba(2, 8, 20, 0.76) 45%, rgba(2, 8, 20, 0.24) 62%, rgba(2, 8, 20, 0.02) 82%),
    linear-gradient(0deg, #04101a 0%, rgba(4, 16, 26, 0.8) 8%, rgba(4, 16, 26, 0.34) 21%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  min-height: clamp(640px, 45vw, 700px);
  padding-top: clamp(145px, 9.8vw, 166px);
  padding-bottom: 52px;
}

.hero-content {
  width: min(610px, 47vw);
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 15px;
  padding: 4px 10px;
  border: 1px solid rgba(68, 168, 244, 0.32);
  border-radius: 999px;
  color: #8dccff;
  background: rgba(12, 92, 153, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 29px;
  font-size: clamp(44px, 3.1vw, 58px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  margin-top: 5px;
  color: #329af0;
  white-space: nowrap;
}

.hero-lead,
.hero-location {
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.45;
}

.hero-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  font-style: normal;
}

.hero-location-area {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(76, 169, 237, 0.32);
  border-radius: 999px;
  color: #9ed4fb;
  background: rgba(22, 109, 174, 0.12);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-location-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  color: #d3dee6;
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 560;
  line-height: 1.3;
  transition: color 160ms ease;
}

.hero-location-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #3ba8f7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-location-link:hover,
.hero-location-link:focus-visible {
  color: #67bcfa;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
}

.hero-buttons .button {
  min-width: 220px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  gap: 0;
  padding: 16px 20px;
  border: 1px solid rgba(116, 177, 219, 0.18);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(11, 28, 41, 0.72), rgba(5, 16, 25, 0.52));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-stat {
  min-height: 56px;
  padding: 0 23px;
  border-left: 1px solid var(--line-strong);
}

.hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stat:last-child {
  padding-right: 0;
}

.rating-stat > div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rating-stat strong {
  font-size: 26px;
  font-weight: 500;
}

.rating-stat small {
  display: block;
  margin: 4px 0 0 29px;
  color: #e3e7ea;
  font-size: 15px;
}

.star,
.stars {
  color: var(--gold);
}

.stars {
  letter-spacing: 3px;
  white-space: nowrap;
}

.icon-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8dde1;
  font-size: 16px;
}

.stat-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 132, 188, 0.055), transparent 31rem),
    linear-gradient(180deg, rgba(8, 19, 29, 0.98), rgba(5, 15, 23, 0.98));
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(27px, 1.8vw, 34px);
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading > span {
  display: block;
  width: 54px;
  height: 2px;
  margin-inline: auto;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(66, 167, 245, 0.45);
}

.services-section {
  padding: 72px 0 96px;
}

.services-lead {
  max-width: 720px;
  margin: -18px auto 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}

.services-scroll-note {
  display: none;
}

.services-legal-note {
  max-width: 820px;
  margin: 10px auto 0;
  color: #758692;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.services-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.services-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  justify-content: start;
  gap: 28px;
  padding: 4px 2px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.services-grid::-webkit-scrollbar,
.works-grid::-webkit-scrollbar {
  display: none;
}

.service-card,
.process-card,
.work-card,
.review-card,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(20, 33, 44, 0.94), rgba(11, 22, 31, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018), 0 18px 45px rgba(0, 0, 0, 0.13);
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(66, 167, 245, 0.43);
  background: linear-gradient(145deg, rgba(24, 43, 57, 0.98), rgba(12, 25, 35, 0.98));
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1823;
}

.service-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 57%, rgba(5, 15, 23, 0.46));
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.02);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 26px 24px;
}

.service-price {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 4px 11px;
  border: 1px solid rgba(66, 167, 245, 0.28);
  border-radius: 999px;
  color: #8dccff;
  background: rgba(22, 136, 236, 0.09);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.service-card h3 {
  margin-bottom: 11px;
  font-size: 21px;
  line-height: 1.22;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.service-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding: 8px 0;
  border: 0;
  color: #72bdf8;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms ease;
}

.service-action span {
  transition: transform 160ms ease;
}

.service-action:hover,
.service-action:focus-visible {
  color: #b4ddff;
}

.service-action:hover span,
.service-action:focus-visible span {
  transform: translateX(4px);
}

.works-section {
  padding: 68px 0 78px;
}

.works-intro {
  display: flex;
  max-width: 1200px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin: -10px auto 30px;
}

.works-intro > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.works-summary {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  color: #8799a7;
  font-size: 13px;
}

.works-summary span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.works-summary span + span::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 1px;
  height: 14px;
  content: "";
  background: rgba(130, 160, 181, 0.3);
  transform: translateY(-50%);
}

.works-summary strong {
  color: #c5d8e6;
  font-size: 13px;
  font-weight: 650;
}

.works-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  max-width: 1200px;
  margin-inline: auto;
  padding: 4px 2px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.work-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  isolation: isolate;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-card:hover,
.work-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(66, 167, 245, 0.52);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 24px 58px rgba(0, 0, 0, 0.24);
}

.work-card.is-active {
  border-color: rgba(66, 167, 245, 0.58);
  box-shadow: inset 0 0 0 1px rgba(66, 167, 245, 0.08), 0 20px 54px rgba(0, 91, 164, 0.16);
}

.work-card-action {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  cursor: pointer;
  background: transparent;
}

.work-card-action:focus-visible {
  outline-offset: -5px;
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07111a;
  isolation: isolate;
}

.work-media-before-after {
  aspect-ratio: 16 / 9;
}

.work-media::before {
  position: absolute;
  z-index: -1;
  inset: -24px;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(46, 127, 185, 0.22), transparent 54%),
    linear-gradient(145deg, #0b1b28, #050c12 72%);
}

.work-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 280ms ease, filter 280ms ease;
}

.work-kind {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(145, 204, 249, 0.34);
  border-radius: 999px;
  color: #e8f6ff;
  background: rgba(4, 20, 32, 0.88);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.work-kind-before-after {
  border-color: rgba(70, 173, 247, 0.55);
  background: rgba(7, 67, 109, 0.9);
}

.work-kind-result {
  border-color: rgba(77, 210, 161, 0.42);
  background: rgba(8, 70, 58, 0.9);
}

.work-open {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  color: #67b8f6;
  font-size: 13px;
  font-weight: 700;
}

.work-open span {
  transition: transform 180ms ease;
}

.work-card:hover .work-media img,
.work-card:focus-within .work-media img {
  filter: brightness(1.05);
}

.work-card:hover .work-open,
.work-card:focus-within .work-open {
  color: #a5dcff;
}

.work-card:hover .work-open span,
.work-card:focus-within .work-open span {
  transform: translateX(3px);
}

.work-body {
  display: flex;
  min-height: 270px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 21px;
}

.work-body h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.work-body p {
  margin-bottom: 16px;
  color: #d1d7dc;
  font-size: 15px;
  line-height: 1.52;
}

.work-specs {
  display: grid;
  width: 100%;
  gap: 8px;
  margin: 0 0 18px;
}

.work-specs div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(129, 160, 182, 0.14);
}

.work-specs dt {
  color: #6f8290;
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-specs dd {
  margin: 0;
  color: #d8e1e8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.work-card-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.work-card-footer .tag {
  max-width: 68%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--subtle);
  font-size: 12px;
}

.works-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 27px;
}

.work-nav,
.service-nav {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  color: #a8d8fc;
  background: rgba(12, 31, 44, 0.8);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.work-nav:hover,
.service-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(66, 167, 245, 0.55);
  color: #eef8ff;
  background: rgba(20, 73, 111, 0.72);
}

.work-nav svg,
.service-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-nav-prev svg {
  transform: rotate(180deg);
}

.service-nav:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.works-counter {
  min-width: 74px;
  margin: 0;
  color: #c9d4dc;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.process-section {
  position: relative;
  padding: 58px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(48, 146, 218, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(8, 23, 34, 0.6), rgba(4, 14, 22, 0.15));
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0;
  margin-inline: auto;
  padding: 30px 16px 24px;
  border: 1px solid rgba(126, 180, 218, 0.2);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(15, 34, 48, 0.78), rgba(7, 19, 29, 0.88));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 24px 70px rgba(0, 0, 0, 0.18);
  list-style: none;
}

.process-card {
  position: relative;
  min-height: 172px;
  padding: 0 clamp(12px, 1.5vw, 24px) 8px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  box-shadow: none;
  text-align: center;
  isolation: isolate;
}

.process-card::before {
  position: absolute;
  inset: -8px 4px -2px;
  z-index: 0;
  content: "";
  border-radius: 17px;
  opacity: 0;
  background: linear-gradient(155deg, rgba(43, 128, 188, 0.12), rgba(12, 34, 49, 0.18));
  transition: opacity 260ms ease;
}

.process-card:not(:last-child)::after {
  position: absolute;
  top: 38px;
  left: calc(50% + 47px);
  z-index: 0;
  display: block;
  width: calc(100% - 94px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(66, 167, 245, 0.48), rgba(126, 180, 218, 0.2));
}

.process-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid rgba(91, 183, 250, 0.42);
  border-radius: 22px;
  color: #70c0fb;
  background: linear-gradient(145deg, rgba(25, 69, 98, 0.96), rgba(9, 29, 44, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 13px 30px rgba(0, 0, 0, 0.24);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.process-card:last-child .process-marker {
  border-color: rgba(119, 205, 255, 0.78);
  color: #ffffff;
  background: linear-gradient(145deg, rgba(25, 91, 132, 0.98), rgba(5, 31, 49, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 14px 34px rgba(4, 80, 144, 0.3), 0 0 25px rgba(66, 167, 245, 0.14);
}

.step-number {
  position: absolute;
  top: -9px;
  right: -10px;
  display: grid;
  width: 27px;
  height: 27px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(98, 190, 255, 0.52);
  border-radius: 50%;
  color: #bce5ff;
  background: #0c2b42;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.process-icon {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.22));
  user-select: none;
}

.process-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.3;
  transition: color 220ms ease;
}

.process-card p {
  position: relative;
  z-index: 1;
  max-width: 190px;
  margin-bottom: 0;
  margin-inline: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .process-card:hover::before {
    opacity: 1;
  }

  .process-card:hover .process-marker {
    transform: translateY(-3px);
    border-color: rgba(104, 198, 255, 0.68);
    color: #b8e4ff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 24px rgba(66, 167, 245, 0.15);
  }

  .process-card:hover h3 {
    color: #b9e4ff;
  }
}

.reviews-section {
  position: relative;
  padding: 76px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(49, 143, 211, 0.09), transparent 28rem),
    radial-gradient(circle at 10% 100%, rgba(30, 92, 134, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(6, 19, 29, 0.42), rgba(3, 12, 19, 0.2));
}

.reviews-shell {
  max-width: 1240px;
  margin-inline: auto;
}

.reviews-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(34px, 6vw, 92px);
  align-items: end;
  margin-bottom: 42px;
}

.reviews-intro {
  max-width: 680px;
}

.reviews-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #78c5fb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reviews-kicker::before {
  width: 30px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, #209cf4, rgba(32, 156, 244, 0.22));
}

.reviews-intro h2 {
  max-width: 650px;
  margin-bottom: 15px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.reviews-intro > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #98a7b2;
  font-size: 16px;
  line-height: 1.65;
}

.reviews-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}

.reviews-source-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #78c5fb;
  font-size: 12px;
  font-weight: 650;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.reviews-source-link:hover,
.reviews-source-link:focus-visible {
  color: #c4e9ff;
  text-decoration: underline;
}

.reviews-rating {
  display: grid;
  min-width: 270px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 21px;
  border: 1px solid rgba(129, 183, 219, 0.2);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0%, rgba(54, 157, 228, 0.1), transparent 10rem),
    linear-gradient(145deg, rgba(18, 38, 52, 0.94), rgba(7, 20, 29, 0.97));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 18px 42px rgba(0, 0, 0, 0.2);
}

.reviews-rating > strong {
  color: #f4f8fb;
  font-size: 43px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.055em;
}

.reviews-rating > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(126, 180, 218, 0.2);
}

.reviews-rating .stars {
  font-size: 15px;
  letter-spacing: 2px;
}

.reviews-rating b,
.reviews-rating small {
  display: block;
}

.reviews-rating b {
  color: #e2e9ee;
  font-size: 13px;
  font-weight: 650;
}

.reviews-rating small {
  color: #71818d;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reviews-mobile-hint {
  display: none;
}

.reviews-carousel {
  width: 100%;
}

.reviews-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  justify-content: start;
  gap: 24px;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.reviews-grid:focus-visible {
  border-radius: 20px;
  outline: 2px solid rgba(66, 167, 245, 0.68);
  outline-offset: 4px;
}

.review-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 292px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 29px;
  overflow: hidden;
  border-color: rgba(140, 180, 205, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(57, 145, 207, 0.08), transparent 13rem),
    linear-gradient(145deg, rgba(18, 34, 46, 0.97), rgba(8, 20, 29, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 22px 48px rgba(0, 0, 0, 0.16);
  scroll-snap-align: start;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.review-card::before {
  position: absolute;
  top: 10px;
  right: 22px;
  content: "“";
  color: rgba(112, 196, 253, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  line-height: 1;
  pointer-events: none;
}

.review-card::after {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 204, 247, 0.18), transparent);
}

.review-author {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.review-author > div {
  min-width: 0;
}

.avatar {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid rgba(110, 188, 242, 0.32);
  border-radius: 14px;
  color: #eaf7ff;
  background: linear-gradient(145deg, #214d6c, #0b2537);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  font-size: 17px;
  font-weight: 680;
}

.review-author h3 {
  max-width: 180px;
  margin-bottom: 2px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-author .stars {
  font-size: 13px;
  letter-spacing: 1.5px;
}

.review-card > p {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1 / -1;
  margin: 0 0 32px;
  padding-right: 30px;
  color: #ced8df;
  font-size: 16px;
  line-height: 1.68;
}

.review-card small {
  color: #71818d;
  font-size: 12px;
}

.review-meta {
  grid-row: 2;
  grid-column: 2;
  display: flex;
  min-width: max-content;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
  padding: 0 0 0 14px;
  border: 0;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: max-content;
  min-height: 44px;
  margin: 0;
}

.review-nav {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(126, 180, 218, 0.2);
  border-radius: 13px;
  cursor: pointer;
  color: #a8d8fc;
  background: linear-gradient(145deg, rgba(18, 38, 52, 0.88), rgba(7, 20, 30, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.review-nav:hover:not(:disabled) {
  color: #eef8ff;
  border-color: rgba(92, 184, 248, 0.42);
  background: linear-gradient(145deg, rgba(28, 64, 88, 0.94), rgba(9, 29, 43, 0.98));
}

.review-nav:active:not(:disabled) {
  transform: scale(0.9);
}

.review-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-nav:disabled {
  cursor: default;
  opacity: 0.32;
  transform: none;
}

.carousel-controls {
  display: inline-grid;
  width: max-content;
  min-height: 56px;
  grid-template-columns: 48px 70px 48px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(126, 180, 218, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 169, 237, 0.08), transparent 70%),
    linear-gradient(145deg, rgba(17, 38, 52, 0.92), rgba(6, 19, 29, 0.97));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 16px 38px rgba(0, 0, 0, 0.18);
}

.services-controls.carousel-controls {
  margin: 18px auto 0;
}

.reviews-controls.carousel-controls {
  margin: 0;
}

.carousel-controls[hidden] {
  display: none;
}

.carousel-nav,
.carousel-controls .service-nav,
.carousel-controls .review-nav {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #a8dcff;
  background: transparent;
  box-shadow: none;
  touch-action: manipulation;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.carousel-nav svg,
.carousel-controls .service-nav svg,
.carousel-controls .review-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-nav-prev svg {
  transform: rotate(180deg);
}

.carousel-progress {
  display: block;
  width: 58px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(137, 178, 205, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
}

.carousel-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #278fdc, #82d1ff);
  box-shadow: 0 0 10px rgba(71, 176, 247, 0.46);
  transform: scaleX(var(--carousel-progress, 0.08));
  transform-origin: left center;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-nav:hover:not(:disabled),
  .carousel-controls .service-nav:hover:not(:disabled),
  .carousel-controls .review-nav:hover:not(:disabled) {
    color: #f2f9ff;
    background: rgba(68, 168, 244, 0.12);
    box-shadow: inset 0 0 0 1px rgba(102, 192, 255, 0.14);
    transform: none;
  }
}

.carousel-nav:active:not(:disabled),
.carousel-controls .service-nav:active:not(:disabled),
.carousel-controls .review-nav:active:not(:disabled) {
  background: rgba(68, 168, 244, 0.19);
  transform: scale(0.94);
}

.carousel-nav:disabled,
.carousel-controls .service-nav:disabled,
.carousel-controls .review-nav:disabled {
  cursor: default;
  color: #5a7181;
  opacity: 0.34;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(76, 169, 235, 0.34);
    background:
      radial-gradient(circle at 100% 0%, rgba(57, 145, 207, 0.12), transparent 13rem),
      linear-gradient(145deg, rgba(20, 38, 51, 0.98), rgba(8, 21, 30, 0.99));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 28px 58px rgba(0, 0, 0, 0.2);
  }
}

.contact-section {
  position: relative;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 100%, rgba(37, 131, 199, 0.16), transparent 34rem),
    linear-gradient(180deg, #07131d 0%, #06111a 70%, #040d15 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 5vw, 92px);
  min-height: 520px;
  align-items: stretch;
}

.contact-car {
  position: relative;
  min-width: 0;
  align-self: stretch;
}

.contact-car::after {
  position: absolute;
  right: 3%;
  bottom: -9px;
  width: 92%;
  height: 70px;
  content: "";
  background: radial-gradient(ellipse, rgba(40, 142, 215, 0.16), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.contact-car > img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: clamp(475px, 34vw, 585px);
  height: auto;
  max-width: none;
  opacity: 0.88;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.03);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 68%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 68%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
  mask-composite: intersect;
}

.contact-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 66px 0 58px;
}

.cta-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.cta-copy h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(31px, 2.2vw, 43px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.cta-copy h2 span {
  display: block;
  color: var(--blue);
  white-space: normal;
}

.cta-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contacts-card svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel {
  border-radius: var(--radius);
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(250px, 0.95fr);
  gap: clamp(36px, 4.2vw, 70px);
  margin-top: 46px;
}

.contact-actions {
  min-width: 0;
}

.contact-actions > p {
  margin: 0 0 7px;
  color: #7f909c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-actions h3 {
  margin: 0 0 17px;
  font-size: 20px;
}

.contact-buttons {
  display: grid;
  gap: 10px;
}

.contact-actions .button {
  height: auto;
  min-height: 48px;
  padding: 12px 17px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-actions .button-outline {
  border-color: transparent;
  background: rgba(66, 167, 245, 0.08);
}

.contact-actions .button-outline:hover,
.contact-actions .button-outline:focus-visible {
  border-color: transparent;
  background: rgba(66, 167, 245, 0.15);
}

.contact-action-link {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: #6ebdf6;
  font-size: 13px;
  text-align: left;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.contact-action-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.contact-action-link:hover,
.contact-action-link:focus-visible {
  color: #a6d9ff;
}

.contact-action-link:hover svg,
.contact-action-link:focus-visible svg {
  transform: translateX(3px);
}

.contacts-card {
  min-width: 0;
  padding: 0;
}

.contacts-card h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.contacts-card ul {
  display: grid;
  gap: 17px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.contacts-card li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #d8dfe4;
  font-size: 15px;
}

.contacts-card li svg {
  width: 25px;
  height: 25px;
}

.contact-link {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  color: inherit;
  line-height: 1.45;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #8acbfb;
  text-decoration: underline;
}

.accent-text {
  color: var(--blue);
}

.contacts-card > small {
  display: block;
  color: #6f7e8a;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  border-top: 1px solid rgba(147, 174, 194, 0.1);
  color: #74808a;
  background: #030b12;
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 3px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8fb1c8;
  text-decoration: underline;
  text-decoration-color: rgba(143, 177, 200, 0.35);
  text-underline-offset: 4px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #c7eaff;
  text-decoration-color: currentColor;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(52, 144, 210, 0.12), transparent 34rem),
    linear-gradient(180deg, #06131e, #030b12 62%);
}

.legal-topbar {
  position: relative;
  border-bottom: 1px solid rgba(147, 174, 194, 0.14);
  background: rgba(3, 12, 20, 0.82);
  backdrop-filter: blur(14px);
}

.legal-topbar .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: 0.18em;
}

.legal-brand span {
  color: #eef8ff;
  font-size: 20px;
  font-weight: 720;
}

.legal-brand small {
  color: #7791a3;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fcdf8;
  font-size: 13px;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: #d3efff;
}

.legal-page-main {
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.legal-layout {
  max-width: 1040px;
}

.legal-hero {
  max-width: 780px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.legal-hero > p:not(.reviews-kicker) {
  max-width: 650px;
  margin-bottom: 12px;
  color: #9babb6;
  font-size: 17px;
  line-height: 1.65;
}

.legal-hero time {
  color: #677b89;
  font-size: 12px;
}

.legal-card {
  overflow: hidden;
  border: 1px solid rgba(133, 181, 215, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(61, 153, 218, 0.08), transparent 24rem),
    linear-gradient(145deg, rgba(15, 31, 43, 0.96), rgba(6, 18, 27, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.legal-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid rgba(133, 181, 215, 0.12);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92, 184, 248, 0.3);
  border-radius: 15px;
  color: #78c5fb;
  background: rgba(37, 124, 184, 0.1);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.legal-section h2 {
  margin: 0 0 13px;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.2;
}

.legal-section p {
  max-width: 780px;
  margin: 0 0 11px;
  color: #b2bec7;
  font-size: 15px;
  line-height: 1.72;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 4px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(133, 181, 215, 0.13);
  border-radius: 14px;
  background: rgba(133, 181, 215, 0.13);
}

.legal-details div {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(5, 17, 26, 0.82);
}

.legal-details dt {
  margin-bottom: 3px;
  color: #6f8594;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-details dd {
  margin: 0;
  color: #e4ebf0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.legal-details a,
.legal-reference a {
  color: #75c6ff;
  text-decoration: underline;
  text-decoration-color: rgba(117, 198, 255, 0.4);
  text-underline-offset: 3px;
}

.legal-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid rgba(92, 184, 248, 0.23);
  border-radius: 20px;
  background: rgba(18, 50, 70, 0.42);
}

.legal-callout h2 {
  margin: 0 0 4px;
  font-size: 21px;
}

.legal-callout p {
  margin: 0;
  color: #8fa2ae;
  font-size: 13px;
}

.legal-callout .button {
  flex: 0 0 auto;
}

.scroll-call-cta {
  position: fixed;
  z-index: 18;
  right: clamp(18px, 2.5vw, 36px);
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  display: inline-flex;
  min-width: 154px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 21px;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  border: 1px solid rgba(94, 187, 251, 0.46);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  color: #f4f9fd;
  background: linear-gradient(145deg, rgba(12, 57, 90, 0.96), rgba(4, 28, 45, 0.98));
  box-shadow: 0 14px 34px rgba(0, 6, 12, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 220ms, border-color 180ms ease, background 180ms ease;
}

.scroll-call-cta.is-visible {
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.scroll-call-cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #6cc1fb;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-call-cta:hover {
  border-color: rgba(111, 201, 255, 0.72);
  background: linear-gradient(145deg, rgba(17, 76, 117, 0.98), rgba(5, 35, 56, 0.99));
}

.scroll-call-cta:focus-visible {
  outline: 2px solid rgba(116, 199, 255, 0.78);
  outline-offset: 3px;
}

body.menu-open .scroll-call-cta,
body.modal-open .scroll-call-cta {
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 720px) {
  .scroll-call-cta {
    right: 16px;
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
    left: 16px;
    min-width: 0;
    min-height: 52px;
    padding-inline: 18px;
    border-radius: 14px;
    font-size: 15px;
  }
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 6, 11, 0.8);
  backdrop-filter: blur(10px);
  animation: fade-in 160ms ease both;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(118, 177, 219, 0.3);
  border-radius: 18px;
  outline: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 147, 220, 0.12), transparent 25rem),
    linear-gradient(145deg, #13222e, #08141d 72%);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
  animation: modal-in 190ms ease both;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  color: #e8edf0;
  background: rgba(3, 12, 19, 0.62);
  font-size: 26px;
  line-height: 1;
}

.calculator-modal-card {
  display: grid;
  width: min(1080px, calc(100vw - 40px));
  height: min(650px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  grid-template-columns: 330px minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.calculator-sidebar {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 44px 34px 34px;
  border-right: 1px solid rgba(118, 177, 219, 0.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 154, 232, 0.18), transparent 19rem),
    linear-gradient(165deg, rgba(12, 30, 43, 0.98), rgba(5, 17, 26, 0.99));
  overflow: auto;
}

.calculator-sidebar h2 {
  margin-bottom: 15px;
  outline: none;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.calculator-title-mobile,
.reviews-title-mobile {
  display: none;
}

.calculator-sidebar > p:not(.preview-chip) {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.calculator-progress {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calculator-progress li {
  position: relative;
  display: grid;
  min-height: 45px;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  color: #788894;
}

.calculator-progress li:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: -15px;
  left: 17px;
  width: 1px;
  content: "";
  background: rgba(118, 177, 219, 0.18);
}

.calculator-progress li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(118, 177, 219, 0.25);
  border-radius: 50%;
  background: #0a1a26;
  font-size: 13px;
  font-weight: 700;
}

.calculator-progress b,
.calculator-progress small {
  display: block;
}

.calculator-progress b {
  margin-top: 1px;
  color: #9aa8b2;
  font-size: 14px;
}

.calculator-progress small {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.35;
}

.calculator-progress li.is-active > span,
.calculator-progress li.is-complete > span {
  border-color: rgba(82, 177, 247, 0.65);
  color: white;
  background: linear-gradient(145deg, #287bb7, #12436a);
  box-shadow: 0 0 0 4px rgba(66, 167, 245, 0.08);
}

.calculator-progress li.is-active b,
.calculator-progress li.is-complete b {
  color: #edf7ff;
}

.calculator-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
}

.calculator-trust svg {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.calculator-trust p,
.calculator-trust span {
  display: block;
  margin: 0;
}

.calculator-trust b {
  display: block;
  margin-bottom: 4px;
  color: #dce9f2;
  font-size: 13px;
}

.calculator-trust span {
  color: #7f8f9b;
  font-size: 11px;
  line-height: 1.5;
}

.calculator-form {
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: none;
  padding: 36px 48px 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 155, 232, 0.1), transparent 23rem),
    linear-gradient(145deg, #13222e, #08141d 78%);
}

.calculator-step {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.calculator-step[hidden] {
  display: none;
}

.calculator-kicker {
  margin: 0 0 8px;
  color: #68baf5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculator-step h3 {
  margin-bottom: 11px;
  outline: none;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.calculator-step-copy {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.calculator-field {
  min-width: 0;
  margin-bottom: 14px;
}

.calculator-field label,
.calculator-quantity-field legend {
  display: block;
  margin-bottom: 8px;
  color: #dce5eb;
  font-size: 13px;
  font-weight: 650;
}

.calculator-field input,
.calculator-field select,
.calculator-field textarea {
  width: 100%;
  border: 1px solid rgba(147, 174, 194, 0.32);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: rgba(3, 14, 22, 0.5);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.calculator-field input,
.calculator-field select {
  height: 52px;
  padding: 0 16px;
}

.calculator-field textarea {
  min-height: 80px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.5;
}

.calculator-field input::placeholder,
.calculator-field textarea::placeholder {
  color: #7e8c97;
}

.calculator-field input:focus,
.calculator-field select:focus,
.calculator-field textarea:focus {
  border-color: #45a9f5;
  background: rgba(5, 22, 34, 0.72);
  box-shadow: 0 0 0 3px rgba(66, 167, 245, 0.11);
}

.calculator-field [aria-invalid="true"] {
  border-color: rgba(255, 122, 122, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 105, 105, 0.09);
}

.calculator-field-error {
  min-height: 17px;
  margin: 6px 0 0;
  color: #ff9b9b;
  font-size: 12px;
  line-height: 1.4;
}

.calculator-service-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 18px;
  align-items: center;
  margin-top: 4px;
  padding: 19px 21px;
  border: 1px solid rgba(69, 169, 245, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27, 105, 164, 0.17), rgba(7, 24, 36, 0.52));
}

.calculator-service-preview[hidden] {
  display: none;
}

.calculator-service-preview > span {
  color: #aab7c1;
  font-size: 13px;
}

.calculator-service-preview strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #78c5ff;
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}

.calculator-service-preview small {
  color: #697985;
  font-size: 11px;
}

.calculator-actions {
  position: sticky;
  z-index: 2;
  bottom: -22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 18px 2px 3px;
  background: linear-gradient(180deg, rgba(8, 20, 29, 0), rgba(8, 20, 29, 0.96) 34%);
}

.calculator-actions-end {
  justify-content: flex-end;
}

.calculator-actions .button {
  min-width: 180px;
}

.calculator-actions .button span {
  margin-left: 7px;
}

.calculator-quantity-field {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.calculator-quantity-field[hidden] {
  display: none;
}

.calculator-quantity-field > small {
  display: block;
  margin-top: 5px;
  color: #72818c;
  font-size: 11px;
}

.calculator-stepper {
  display: grid;
  width: 174px;
  height: 50px;
  grid-template-columns: 50px 1fr 50px;
  overflow: hidden;
  border: 1px solid rgba(147, 174, 194, 0.3);
  border-radius: 9px;
  background: rgba(3, 14, 22, 0.5);
}

.calculator-stepper button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #87cbfc;
  background: rgba(38, 113, 169, 0.12);
  font-size: 24px;
  transition: color 160ms ease, background 160ms ease;
}

.calculator-stepper button:hover:not(:disabled) {
  color: white;
  background: rgba(47, 151, 226, 0.23);
}

.calculator-stepper button:disabled {
  cursor: not-allowed;
  color: #4f5e69;
}

.calculator-stepper output {
  display: grid;
  place-items: center;
  border-inline: 1px solid rgba(147, 174, 194, 0.2);
  font-weight: 700;
}

.calculator-fields-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.calculator-field-wide {
  grid-column: 1 / -1;
}

.calculator-upload-block {
  margin-bottom: 2px;
}

.calculator-upload {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 14px;
  padding: 10px 15px;
  border: 1px dashed rgba(108, 180, 232, 0.35);
  border-radius: 11px;
  cursor: pointer;
  background: rgba(8, 34, 51, 0.28);
  transition: border-color 160ms ease, background 160ms ease;
}

.calculator-upload:hover,
.calculator-upload:focus-within {
  border-color: rgba(98, 188, 252, 0.68);
  background: rgba(19, 64, 93, 0.35);
}

.calculator-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.calculator-upload svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #58b2f5;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.calculator-upload b,
.calculator-upload small {
  display: block;
}

.calculator-local-note {
  margin: 7px 2px 0;
  color: #738691;
  font-size: 10px;
  line-height: 1.45;
}

.calculator-upload b {
  margin-bottom: 3px;
  font-size: 13px;
}

.calculator-upload small {
  color: #7f8e99;
  font-size: 11px;
}

.calculator-photo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.calculator-photo-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(118, 177, 219, 0.24);
  border-radius: 8px;
  background: #07131c;
}

.calculator-photo-item img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.calculator-photo-item button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  cursor: pointer;
  color: white;
  background: rgba(0, 8, 14, 0.78);
  font-size: 17px;
  line-height: 1;
}

.calculator-result-step h3 {
  margin-bottom: 23px;
}

.calculator-result-card {
  padding: 24px 26px;
  border: 1px solid rgba(67, 170, 247, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 10%, rgba(71, 170, 242, 0.18), transparent 13rem),
    linear-gradient(145deg, rgba(21, 72, 108, 0.32), rgba(6, 25, 38, 0.66));
}

.calculator-result-card > span {
  display: block;
  margin-bottom: 7px;
  color: #aebbc4;
  font-size: 13px;
}

.calculator-result-card output {
  display: block;
  margin-bottom: 9px;
  color: #67bcfb;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.calculator-result-card p {
  margin: 0;
  color: #758692;
  font-size: 11px;
}

.calculator-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 20px 0 0;
}

.calculator-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(118, 177, 219, 0.12);
}

.calculator-summary > div[hidden] {
  display: none;
}

.calculator-summary dt {
  color: #778792;
  font-size: 12px;
}

.calculator-summary dd {
  margin: 0;
  color: #dce6ed;
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.calculator-disclaimer {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(82, 177, 247, 0.46);
  color: #8796a1;
  font-size: 12px;
  line-height: 1.55;
}

.calculator-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.calculator-result-actions .button {
  min-width: 0;
  padding-inline: 16px;
  font-size: 13px;
}

.calculator-result-actions .button-primary {
  grid-column: 1 / -1;
}

.calculator-copy-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #77c3fa;
  font-size: 11px;
  text-align: center;
}

.calculator-restart {
  min-height: 44px;
  align-self: center;
  margin-top: 2px;
  padding: 5px;
  border: 0;
  cursor: pointer;
  color: #7c8d99;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calculator-actions button:focus-visible,
.calculator-result-actions button:focus-visible,
.calculator-restart:focus-visible,
.calculator-stepper button:focus-visible,
.calculator-photo-item button:focus-visible,
.calculator-upload:focus-within {
  outline: 2px solid rgba(111, 199, 255, 0.78);
  outline-offset: 2px;
}

.gallery-modal-card {
  width: min(1040px, calc(100vw - 48px));
  padding: 28px;
}

.gallery-case {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.gallery-case-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07121a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.gallery-media-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1721, #030a10 72%);
  isolation: isolate;
}

.gallery-media-before-after {
  aspect-ratio: 16 / 9;
}

.gallery-media-process,
.gallery-media-result {
  aspect-ratio: 16 / 9;
}

.gallery-case-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-case-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.gallery-case-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 10px;
  padding-right: 50px;
}

.gallery-counter {
  color: #7f8d98;
  font-size: 13px;
  white-space: nowrap;
}

.gallery-case-content h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.gallery-case-description {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.gallery-params {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(91, 139, 173, 0.18);
  border-bottom: 1px solid rgba(91, 139, 173, 0.18);
}

.gallery-params div {
  min-width: 0;
  padding: 0 16px 0 0;
}

.gallery-params div + div {
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(91, 139, 173, 0.18);
}

.gallery-params dt {
  margin-bottom: 5px;
  color: #6f8595;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-params dd {
  margin: 0;
  color: #e1e8ed;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.gallery-case-actions {
  margin-top: auto;
  padding-top: 24px;
}

.gallery-case-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-case-nav button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  cursor: pointer;
  color: #b7c6d1;
  background: rgba(4, 18, 28, 0.54);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gallery-case-nav button:hover {
  border-color: rgba(66, 167, 245, 0.52);
  color: #eef8ff;
  background: rgba(18, 61, 91, 0.55);
}

.gallery-request {
  width: 100%;
  min-height: 48px;
  padding-inline: 18px;
}

@media (max-width: 1024px) {
  .gallery-case {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-case-content {
    min-height: 0;
  }

  .gallery-case-actions {
    margin-top: 0;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { transform: translateY(12px) scale(0.985); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (min-width: 1600px) {
  .section-heading {
    margin-bottom: 44px;
  }

  .services-section {
    padding: 82px 0 110px;
  }

  .services-grid {
    gap: 26px;
    grid-auto-columns: calc((100% - 78px) / 4);
  }

  .service-card {
    width: auto;
  }

  .works-section {
    padding: 72px 0 88px;
  }

  .works-grid {
    max-width: 1480px;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 96px) / 4);
    gap: 32px;
  }

  .process-section {
    padding: 48px 0 56px;
  }

  .process-grid {
    gap: 0;
  }

  .reviews-section {
    padding: 88px 0 96px;
  }

  .contact-section {
    min-height: 580px;
    padding: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(500px, 0.82fr) minmax(0, 1.18fr);
    min-height: 580px;
  }

  .contact-car > img {
    width: 620px;
  }

  .contact-content {
    padding: 76px 0 68px;
  }
}

@media (max-width: 1540px) {
  .header-inner {
    gap: 28px;
  }

  .main-nav {
    gap: 22px;
  }

  .header-actions {
    gap: 16px;
  }

  .header-phone,
  .main-nav a {
    font-size: 14px;
  }

  .button-compact {
    padding-inline: 20px;
  }

  .process-grid {
    gap: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(38px, 4.4vw, 72px);
  }

  .cta-copy {
    padding: 0;
  }

  .contact-car > img {
    right: -20px;
  }
}

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

  .site-header.is-menu-open,
  .site-header.is-menu-open:not(.is-scrolled) {
    background: rgba(3, 11, 18, 0.96);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    order: 3;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: max(24px, calc((100vw - var(--container)) / 2));
    display: grid;
    width: min(286px, calc(100vw - 48px));
    max-height: calc(100dvh - 98px);
    gap: 0;
    padding: 8px;
    overflow-y: auto;
    transform: translate3d(0, -9px, 0) scale(0.975);
    transform-origin: top right;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid rgba(126, 180, 218, 0.23);
    border-radius: 18px;
    opacity: 0;
    background: linear-gradient(155deg, rgba(12, 29, 42, 0.985), rgba(5, 15, 24, 0.995));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 26px 72px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.16);
    backdrop-filter: blur(22px) saturate(1.16);
    transition:
      opacity 190ms ease,
      transform 270ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 270ms;
  }

  .main-nav.is-open {
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition-delay: 0s;
  }

  .main-nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    transform: translateY(-5px);
    border-radius: 11px;
    opacity: 0;
    color: #dce7ee;
    font-size: 14px;
    font-weight: 560;
    letter-spacing: 0.01em;
    transition:
      opacity 180ms ease,
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      color 160ms ease,
      background 160ms ease;
  }

  .main-nav a::after {
    position: static;
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-left: auto;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0.42;
    background: transparent;
    transform: rotate(45deg);
    transition: opacity 160ms ease, transform 180ms ease;
  }

  .main-nav.is-open a {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav.is-open a:nth-child(1) {
    transition-delay: 30ms;
  }

  .main-nav.is-open a:nth-child(2) {
    transition-delay: 55ms;
  }

  .main-nav.is-open a:nth-child(3) {
    transition-delay: 80ms;
  }

  .main-nav.is-open a:nth-child(4) {
    transition-delay: 105ms;
  }

  .main-nav.is-open a:nth-child(5) {
    transition-delay: 130ms;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: #f5fbff;
    background: rgba(50, 154, 240, 0.1);
    outline: none;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    right: auto;
    left: auto;
    opacity: 0.86;
    transform: translateX(2px) rotate(45deg);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-media {
    top: auto;
    right: -3vw;
    bottom: -1px;
    width: min(94vw, 1220px);
    height: auto;
    max-width: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, #020814 0%, rgba(2, 8, 20, 0.98) 28%, rgba(2, 8, 20, 0.78) 49%, rgba(2, 8, 20, 0.08) 78%),
      linear-gradient(0deg, #04101a 0%, rgba(4, 16, 26, 0.72) 9%, transparent 34%);
  }

  .hero-content {
    width: min(570px, 54%);
  }

  .hero-stat {
    padding-inline: 16px;
  }

  .icon-stat {
    gap: 10px;
    font-size: 15px;
  }

  .services-grid {
    gap: 24px;
  }

  .service-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .contact-grid {
    grid-template-columns: minmax(290px, 0.65fr) minmax(0, 1.35fr);
    gap: 36px;
  }

  .contact-car > img {
    right: -34px;
    width: 470px;
  }

  .contact-details {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 30px;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: 640px;
  }

  .hero-inner {
    min-height: 640px;
    padding-top: 132px;
  }

  .hero-content {
    width: min(540px, 56%);
  }

  .hero-media {
    right: -10vw;
    width: min(120vw, 1120px);
    opacity: 0.9;
  }

  .services-lead {
    margin-bottom: 18px;
  }

  .services-scroll-note {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 0 2px 14px;
    color: #7f9aab;
    font-size: 12px;
  }

  .services-scroll-note span {
    color: var(--blue);
    font-size: 18px;
  }

  .services-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 380px);
    justify-content: start;
    gap: 18px;
    padding: 4px 2px 16px;
    overflow-x: auto;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar,
  .works-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    width: auto;
    max-width: none;
  }

  .services-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .service-action,
  .contact-action-link,
  .contact-link,
  .header-phone,
  .button-compact {
    min-height: 44px;
    align-items: center;
  }

  .works-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 420px);
    gap: 18px;
    padding: 4px 2px 16px;
    overflow-x: auto;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .work-card {
  }

  .reviews-shell {
    max-width: 880px;
  }

  .reviews-header {
    gap: 32px;
  }

  .reviews-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }

  .contact-section {
    min-height: 0;
    padding: 62px 0 58px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-car {
    display: none;
  }

  .contact-content {
    padding: 0;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 38px;
  }
}

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

  .hero {
    min-height: 0;
  }

  .hero-media {
    top: 74px;
    right: 0;
    bottom: auto;
    width: 100%;
    height: clamp(300px, 43vw, 370px);
    max-width: none;
    opacity: 0.88;
    object-fit: cover;
    object-position: 68% 50%;
    filter: saturate(0.92) contrast(1.06) brightness(0.88);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.08) 74px, rgba(2, 8, 20, 0.12) 190px, rgba(2, 8, 20, 0.5) 330px, #04101a 440px, #04101a 100%),
      linear-gradient(90deg, rgba(2, 8, 20, 0.38), transparent 78%);
  }

  .hero-inner {
    min-height: 0;
    align-items: flex-start;
    padding-top: clamp(350px, 51vw, 425px);
    padding-bottom: 42px;
  }

  .hero-content {
    width: min(660px, 100%);
  }

  .hero h1 {
    max-width: 640px;
    font-size: clamp(40px, 5.8vw, 52px);
  }

  .hero-lead,
  .hero-location {
    max-width: 560px;
  }

  .reviews-header {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 30px;
  }

  .reviews-intro {
    max-width: 620px;
  }

  .reviews-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .works-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 420px);
    gap: 18px;
    padding: 4px 2px 16px;
    overflow-x: auto;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .works-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
  }

  .works-summary {
    flex-wrap: wrap;
  }

  .works-grid::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    scroll-snap-align: start;
  }

  .gallery-case {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .gallery-case-topline {
    padding-right: 0;
  }

  .gallery-modal-card > .modal-close {
    position: sticky;
    top: 10px;
    right: auto;
    margin: 0 0 10px auto;
    margin-left: auto;
  }

  .gallery-modal-card {
    padding-top: 12px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
    padding: 16px 24px;
    border-radius: 22px;
  }

  .process-card,
  .process-card:nth-child(4),
  .process-card:nth-child(5),
  .process-card:last-child {
    display: grid;
    width: 100%;
    min-height: 0;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-column: auto;
    gap: 2px 16px;
    align-items: center;
    padding: 14px 8px;
    text-align: left;
  }

  .process-card::before {
    inset: 5px -8px;
  }

  .process-card:not(:last-child)::after {
    top: 74px;
    left: 38px;
    width: 1px;
    height: calc(100% - 60px);
    background: linear-gradient(180deg, rgba(66, 167, 245, 0.48), rgba(126, 180, 218, 0.18));
  }

  .process-marker {
    width: 60px;
    height: 60px;
    grid-row: 1 / 3;
    grid-column: 1;
    margin: 0;
    border-radius: 18px;
  }

  .process-icon {
    width: 54px;
    height: 54px;
  }

  .process-card .step-number {
    top: -7px;
    right: -8px;
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  .process-card h3 {
    grid-row: 1;
    grid-column: 2;
    margin: 2px 0 1px;
    font-size: 17px;
  }

  .process-card p {
    grid-row: 2;
    grid-column: 2;
    max-width: none;
    margin: 0;
    margin-inline: 0;
    font-size: 14px;
  }

  .service-action,
  .contact-action-link {
    min-height: 44px;
    align-items: center;
  }

  .contact-action-link svg {
    flex: 0 0 18px;
  }

  .calculator-modal-card {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .calculator-sidebar {
    padding: 38px 26px 28px;
  }

  .calculator-form {
    padding: 42px 32px 32px;
  }

  .contact-section {
    min-height: 0;
    padding: 62px 0 58px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-car {
    display: none;
  }

  .contact-content {
    padding: 0;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 38px;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .services-legal-note {
    margin-top: 5px;
    font-size: 10px;
    text-align: left;
  }

  .legal-topbar .container {
    min-height: 68px;
  }

  .legal-brand small {
    display: none;
  }

  .legal-back {
    font-size: 12px;
  }

  .legal-page-main {
    padding: 42px 0 60px;
  }

  .legal-hero {
    margin-bottom: 24px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-hero > p:not(.reviews-kicker) {
    font-size: 14px;
  }

  .legal-card {
    border-radius: 19px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 24px 20px;
  }

  .legal-number {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .legal-section p {
    font-size: 13px;
    line-height: 1.65;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }

  .legal-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 20px;
  }

  .legal-callout .button {
    width: 100%;
    padding-inline: 18px;
    text-align: center;
  }

  .footer-legal {
    width: 100%;
  }

  .footer-legal a {
    min-height: 40px;
  }

  .contact-section {
    padding: 52px 0 48px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-copy h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(3, 11, 18, 0.92), rgba(3, 11, 18, 0.58));
    backdrop-filter: blur(8px);
  }

  .brand-name {
    font-size: 18px;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    right: 16px;
    width: min(286px, calc(100vw - 32px));
    max-height: calc(100dvh - 86px);
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    top: 68px;
    right: 0;
    bottom: auto;
    width: 100%;
    height: clamp(245px, 68vw, 292px);
    opacity: 0.86;
    object-fit: cover;
    object-position: 70% 50%;
    filter: saturate(0.94) contrast(1.06) brightness(0.86);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.06) 68px, rgba(2, 8, 20, 0.12) 160px, rgba(2, 8, 20, 0.48) 255px, #04101a 350px, #04101a 100%),
      linear-gradient(90deg, rgba(2, 8, 20, 0.34), transparent 86%);
  }

  .hero-inner {
    min-height: 0;
    align-items: flex-start;
    padding-top: clamp(318px, 85vw, 380px);
    padding-bottom: 30px;
  }

  .hero-content {
    width: 100%;
  }

  .preview-chip {
    min-height: 25px;
    margin-bottom: 12px;
    padding-inline: 11px;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 17px;
    font-size: clamp(27px, 8vw, 38px);
    line-height: 1.01;
    letter-spacing: -0.036em;
  }

  .hero h1 span {
    margin-top: 7px;
  }

  .hero-lead,
  .hero-location {
    max-width: 38ch;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-location {
    gap: 7px 10px;
  }

  .hero-location-link {
    font-size: 15px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-buttons .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 11px 9px;
    font-size: 14px;
    line-height: 1.25;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 0.9fr 0.95fr 1.2fr;
    gap: 0;
    width: 100%;
    padding: 13px 11px;
    border: 1px solid rgba(116, 177, 219, 0.18);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(11, 28, 41, 0.78), rgba(5, 16, 25, 0.62));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
  }

  .hero-stat {
    min-height: 48px;
    padding: 0 10px;
  }

  .hero-stat:nth-child(3) {
    padding-left: 8px;
    border-left: 1px solid var(--line-strong);
  }

  .rating-stat strong {
    font-size: 22px;
  }

  .rating-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .rating-stat .stars {
    display: none;
  }

  .rating-stat small {
    margin-left: 0;
    font-size: 12px;
  }

  .rating-stat > div {
    gap: 4px;
  }

  .icon-stat {
    gap: 6px;
    font-size: 12px;
    line-height: 1.35;
  }

  .stat-icon {
    width: 23px;
    height: 23px;
  }

  .section-heading {
    margin-bottom: 23px;
  }

  .services-section,
  .works-section,
  .process-section,
  .reviews-section {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .services-section {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .services-lead {
    margin: -9px auto 17px;
    font-size: 15px;
  }

  .services-scroll-note {
    margin-bottom: 10px;
  }

  .services-grid {
    gap: 16px;
  }

  .service-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-body {
    padding: 21px 20px 20px;
  }

  .works-grid {
    grid-auto-columns: min(88%, 380px);
  }

  .work-body {
    min-height: 250px;
    padding: 18px 18px 19px;
  }

  .works-intro {
    margin-top: -5px;
  }

  .works-intro > p {
    font-size: 14px;
  }

  .works-summary {
    width: auto;
    gap: 6px 16px;
    font-size: 12px;
  }

  .works-summary span {
    justify-content: flex-start;
    text-align: left;
  }

  .works-summary span + span::before {
    left: -8px;
  }

  .work-card-footer .tag {
    display: none;
  }

  .work-card-footer {
    justify-content: flex-end;
  }

  .work-kind {
    top: 10px;
    right: 10px;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .gallery-params {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 0;
  }

  .gallery-params div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    padding: 9px 0;
  }

  .gallery-params div + div {
    padding: 9px 0;
    border-top: 1px solid rgba(91, 139, 173, 0.14);
    border-left: 0;
  }

  .gallery-params dt {
    margin: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    padding: 9px 14px;
    overflow: hidden;
    border-color: rgba(126, 180, 218, 0.18);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(15, 34, 48, 0.76), rgba(7, 19, 29, 0.88));
  }

  .process-card,
  .process-card:nth-child(4),
  .process-card:nth-child(5),
  .process-card:last-child {
    display: grid;
    width: 100%;
    min-height: 0;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-column: auto;
    gap: 1px 13px;
    align-items: center;
    padding: 13px 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }

  .process-card::before {
    inset: 4px -3px;
  }

  .process-card:not(:last-child)::after {
    top: 69px;
    left: 32px;
    width: 1px;
    height: calc(100% - 56px);
  }

  .process-marker {
    width: 56px;
    height: 56px;
    grid-row: 1 / 3;
    grid-column: 1;
    margin: 0;
    border-radius: 17px;
  }

  .process-icon {
    width: 50px;
    height: 50px;
  }

  .process-card .step-number {
    top: -6px;
    right: -7px;
    width: 22px;
    height: 22px;
    margin: 0;
    font-size: 8px;
  }

  .process-card h3 {
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    font-size: 15px;
  }

  .process-card p {
    grid-row: 2;
    grid-column: 2;
    max-width: none;
    margin: 0;
    margin-inline: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .reviews-section {
    padding-top: 50px;
    padding-bottom: 48px;
  }

  .reviews-header {
    gap: 18px;
    margin-bottom: 14px;
  }

  .reviews-kicker {
    margin-bottom: 11px;
  }

  .reviews-intro h2 {
    margin-bottom: 11px;
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.08;
  }

  .reviews-intro > p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .reviews-side {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }

  .reviews-source-link {
    grid-column: 1 / -1;
    min-height: 32px;
    font-size: 11px;
  }

  .reviews-rating {
    width: 100%;
    min-width: 0;
    padding: 15px 17px;
    border-radius: 17px;
  }

  .reviews-rating > strong {
    font-size: 38px;
  }

  .reviews-controls {
    align-self: flex-end;
  }

  .carousel-controls {
    grid-template-columns: 48px 56px 48px;
  }

  .carousel-progress {
    width: 46px;
  }

  .reviews-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 2px 9px;
    color: #718592;
    font-size: 12px;
  }

  .reviews-mobile-hint span {
    color: #6ebdf6;
    font-size: 17px;
  }

  .reviews-grid {
    grid-auto-columns: min(90%, 360px);
    gap: 14px;
    padding-bottom: 14px;
  }

  .review-card {
    min-height: 266px;
    padding: 22px;
    border-radius: 18px;
    scroll-snap-stop: always;
  }

  .review-card > p {
    font-size: 14px;
    line-height: 1.6;
  }

  .review-author h3 {
    max-width: 150px;
  }

  .contact-section {
    min-height: 0;
    padding: 52px 0 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-car {
    display: none;
  }

  .contact-content {
    padding: 0;
  }

  .cta-copy {
    padding: 0;
  }

  .cta-copy h2 span {
    white-space: normal;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 38px;
  }

  .contact-actions,
  .contacts-card {
    padding: 0;
  }

  .modal {
    place-items: end center;
    padding: 0;
    overflow: hidden;
  }

  .modal-card {
    width: 100%;
    max-height: 96dvh;
    border-radius: 18px 18px 0 0;
  }

  .modal-card > .modal-close {
    position: sticky;
    top: 10px;
    right: auto;
    width: 44px;
    height: 44px;
    margin: 10px 10px 0 auto;
  }

  .gallery-modal-card {
    display: block;
    padding: 10px 16px 24px;
    overflow: auto;
  }

  .calculator-modal-card {
    display: block;
    width: 100%;
    height: auto;
    max-height: 96dvh;
    overflow: auto;
    border-radius: 18px 18px 0 0;
  }

  .calculator-sidebar {
    display: block;
    padding: 8px 18px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(118, 177, 219, 0.16);
  }

  .calculator-sidebar .preview-chip {
    margin-bottom: 9px;
  }

  .calculator-sidebar h2 {
    max-width: 100%;
    margin-bottom: 9px;
    font-size: 27px;
  }

  .calculator-sidebar > p:not(.preview-chip) {
    max-width: 560px;
    margin-bottom: 17px;
    font-size: 13px;
  }

  .calculator-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .calculator-progress li {
    min-height: 34px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .calculator-progress li:not(:last-child)::after {
    display: none;
  }

  .calculator-progress li > span {
    width: 30px;
    height: 30px;
  }

  .calculator-progress b {
    margin: 0;
    font-size: 12px;
  }

  .calculator-progress small,
  .calculator-trust {
    display: none;
  }

  .calculator-form {
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 25px 18px calc(24px + env(safe-area-inset-bottom));
    overflow: visible;
  }

  .calculator-step {
    min-height: 0;
  }

  .calculator-step h3 {
    font-size: 28px;
  }

  .calculator-field input,
  .calculator-field select,
  .calculator-field textarea {
    font-size: 16px;
  }

  .calculator-photo-item button {
    width: 44px;
    height: 44px;
  }

  .calculator-step-copy {
    margin-bottom: 22px;
  }

  .calculator-actions {
    position: static;
    margin-top: 3px;
    padding-top: 22px;
    background: transparent;
  }

  .calculator-actions .button {
    min-width: 0;
    flex: 1;
    padding-inline: 17px;
  }

  .calculator-service-preview {
    grid-template-columns: 1fr;
  }

  .calculator-service-preview strong {
    grid-row: auto;
    grid-column: auto;
    margin: 5px 0;
  }

  .calculator-result-card output {
    font-size: 41px;
  }

  .gallery-case {
    gap: 16px;
  }

  .gallery-case-topline {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 7px;
  }

  .gallery-case-content h2 {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .gallery-case-description {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .gallery-case-actions {
    padding-top: 16px;
  }

  .gallery-case-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-card {
    max-width: 520px;
    flex-basis: 100%;
  }

  .service-media {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 420px) {
  .service-card {
    min-height: 0;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-buttons .button {
    min-height: 53px;
    white-space: nowrap;
  }

  .hero-stats {
    padding: 12px 9px;
  }

  .hero-stat {
    padding-inline: 7px;
    font-size: 12px;
  }

  .icon-stat {
    gap: 6px;
    font-size: 12px;
  }

  .stat-icon {
    width: 21px;
    height: 21px;
  }

  .calculator-progress li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px;
  }

  .calculator-progress li > span {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .calculator-progress b {
    font-size: 11px;
  }

  .calculator-field select {
    font-size: 16px;
  }

  .calculator-actions,
  .calculator-result-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .calculator-actions .button,
  .calculator-result-actions .button {
    width: 100%;
  }

  .calculator-result-actions .button-primary {
    grid-column: auto;
  }

  .calculator-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat:nth-child(2) {
    display: none;
  }

  .hero-stat:nth-child(3) {
    padding-left: 10px;
  }
}

/* Compact mobile presentation: keep the content, remove repeated visual weight. */
@media (max-width: 600px) {
  .hero .preview-chip,
  .services-lead,
  .services-scroll-note,
  .works-summary,
  .reviews-kicker,
  .reviews-intro > p:last-child,
  .reviews-mobile-hint {
    display: none;
  }

  .hero-media {
    height: clamp(226px, 62vw, 270px);
    object-position: 70% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.04) 68px, rgba(2, 8, 20, 0.1) 140px, rgba(2, 8, 20, 0.5) 226px, #04101a 310px, #04101a 100%),
      linear-gradient(90deg, rgba(2, 8, 20, 0.3), transparent 88%);
  }

  .hero-inner {
    padding-top: clamp(284px, 76vw, 326px);
    padding-bottom: 24px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .hero-lead,
  .hero-location {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-location {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-location-area {
    min-height: 25px;
    padding: 4px 9px;
    font-size: 10px;
  }

  .hero-location-link {
    min-height: 32px;
    font-size: 14px;
  }

  .hero-buttons,
  .hero-buttons:last-child {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 14px;
  }

  .hero-buttons .button {
    min-height: 48px;
  }

  .hero-buttons .button-outline {
    width: max-content;
    min-height: 44px;
    margin-inline: auto;
    padding: 7px 13px;
    border-color: transparent;
    color: #91cffa;
    background: transparent;
    box-shadow: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 11px 10px;
  }

  .hero-stat {
    min-height: 44px;
    padding-inline: 11px;
  }

  .hero-stat:nth-child(2) {
    display: none;
  }

  .hero-stat:nth-child(3) {
    padding-left: 13px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .services-section,
  .works-section,
  .process-section,
  .reviews-section {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .services-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .service-media {
    aspect-ratio: 16 / 9;
  }

  .service-body {
    padding: 16px 17px 14px;
  }

  .service-price {
    min-height: 27px;
    margin-bottom: 10px;
    padding: 3px 9px;
    font-size: 12px;
  }

  .service-card h3 {
    margin-bottom: 0;
    font-size: 18px;
  }

  .service-card p {
    display: none;
  }

  .service-action {
    margin-top: 7px;
  }

  .services-controls.carousel-controls {
    margin-top: 10px;
  }

  .works-intro {
    display: block;
    margin: -3px auto 14px;
    text-align: center;
  }

  .works-intro > p {
    max-width: 34ch;
    margin-inline: auto;
    font-size: 13px;
    line-height: 1.45;
  }

  .work-body {
    min-height: 0;
    padding: 16px 17px 15px;
  }

  .work-body h3 {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .work-body > p {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .work-specs {
    display: none;
  }

  .work-card-footer {
    margin-top: 10px;
  }

  .works-controls {
    margin-top: 14px;
  }

  .process-grid {
    padding: 7px 12px;
  }

  .process-card,
  .process-card:nth-child(4),
  .process-card:nth-child(5),
  .process-card:last-child {
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0 12px;
    padding: 9px 3px;
  }

  .process-card:not(:last-child)::after {
    top: 55px;
    left: 27px;
    height: calc(100% - 41px);
  }

  .process-marker {
    width: 48px;
    height: 48px;
    grid-row: 1;
    border-radius: 15px;
  }

  .process-icon {
    width: 43px;
    height: 43px;
  }

  .process-card .step-number {
    top: -5px;
    right: -6px;
    width: 20px;
    height: 20px;
    font-size: 7px;
  }

  .process-card h3 {
    grid-row: 1;
    margin: 0;
    font-size: 15px;
  }

  .process-card p {
    display: none;
  }

  .reviews-section {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .reviews-title-desktop,
  .calculator-title-desktop {
    display: none;
  }

  .reviews-title-mobile,
  .calculator-title-mobile {
    display: inline;
  }

  .reviews-header {
    gap: 13px;
    margin-bottom: 16px;
  }

  .reviews-intro h2 {
    margin-bottom: 0;
    font-size: 30px;
    line-height: 1.1;
  }

  .reviews-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .reviews-rating {
    width: auto;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border-radius: 15px;
  }

  .reviews-rating > strong {
    font-size: 30px;
  }

  .reviews-rating > div {
    gap: 0;
    padding-left: 10px;
  }

  .reviews-rating .stars {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .reviews-rating b {
    font-size: 11px;
  }

  .reviews-rating small {
    display: none;
  }

  .reviews-controls.carousel-controls,
  .carousel-controls {
    min-height: 48px;
    grid-template-columns: 44px 44px 44px;
    padding: 1px;
  }

  .carousel-nav,
  .carousel-controls .service-nav,
  .carousel-controls .review-nav {
    width: 44px;
    height: 44px;
  }

  .carousel-progress {
    width: 38px;
  }

  .reviews-grid {
    padding-bottom: 10px;
  }

  .review-card {
    min-height: 238px;
    padding: 18px;
  }

  .review-card > p {
    margin-bottom: 24px;
    padding-right: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .contact-section {
    padding: 38px 0 36px;
  }

  .cta-copy .eyebrow,
  .cta-copy > p:not(.eyebrow),
  .cta-copy h2 span,
  .contact-actions > p,
  .contact-actions > h3,
  .contacts-card > h3,
  .contacts-card li:first-child {
    display: none;
  }

  .cta-copy h2 {
    max-width: 11ch;
    margin-bottom: 0;
    font-size: 31px;
    line-height: 1.12;
  }

  .contact-details {
    gap: 20px;
    margin-top: 22px;
  }

  .contact-buttons {
    gap: 6px;
  }

  .contact-actions .button {
    min-height: 48px;
  }

  .contact-actions .button-outline {
    border-color: transparent;
    color: #8dcbf8;
    background: transparent;
  }

  .contact-action-link {
    margin-top: 7px;
  }

  .contacts-card ul {
    gap: 9px;
    margin: 0;
  }

  .contacts-card li {
    gap: 11px;
    font-size: 14px;
  }

  .contacts-card li svg {
    width: 22px;
    height: 22px;
  }

  .calculator-modal-card {
    position: relative;
    display: grid;
    width: 100%;
    height: min(82dvh, 680px);
    max-height: calc(100dvh - max(8px, env(safe-area-inset-top)));
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    overscroll-behavior: contain;
  }

  .calculator-modal-card:has(.calculator-step[data-calculator-step="1"]:not([hidden])) {
    height: auto;
  }

  .calculator-modal-card:has(.calculator-step[data-calculator-step="1"]:not([hidden])) .calculator-form {
    height: auto;
  }

  .calculator-step[data-calculator-step="1"]:not([hidden]) {
    min-height: 0;
  }

  .calculator-step[data-calculator-step="1"]:not([hidden]) .calculator-actions {
    position: static;
    margin-top: 16px;
    padding: 0;
    background: transparent;
  }

  .calculator-modal-card:has(.calculator-step[data-calculator-step="3"]:not([hidden])) {
    height: auto;
  }

  .calculator-modal-card:has(.calculator-step[data-calculator-step="3"]:not([hidden])) .calculator-form {
    height: auto;
  }

  .calculator-step[data-calculator-step="3"]:not([hidden]) {
    min-height: 0;
  }

  .calculator-modal-card > .modal-close {
    position: absolute;
    top: 11px;
    right: 11px;
    margin: 0;
  }

  .calculator-sidebar {
    position: relative;
    display: block;
    padding: 24px 66px 12px 18px;
    overflow: visible;
  }

  .calculator-sidebar::before {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    content: "";
    border-radius: 999px;
    background: rgba(164, 195, 216, 0.28);
    transform: translateX(-50%);
  }

  .calculator-sidebar .preview-chip,
  .calculator-sidebar > p:not(.preview-chip),
  .calculator-trust {
    display: none;
  }

  .calculator-sidebar h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
  }

  .calculator-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .calculator-progress li {
    display: block;
    min-height: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(126, 180, 218, 0.16);
  }

  .calculator-progress li.is-active,
  .calculator-progress li.is-complete {
    background: linear-gradient(90deg, #268fdd, #78c9ff);
    box-shadow: 0 0 9px rgba(66, 167, 245, 0.28);
  }

  .calculator-progress li::after,
  .calculator-progress li > span,
  .calculator-progress li > div {
    display: none;
  }

  .calculator-form {
    min-height: 0;
    height: 100%;
    padding: 15px 16px calc(12px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .calculator-step {
    min-height: 100%;
  }

  .calculator-kicker {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .calculator-step h3 {
    margin-bottom: 14px;
    font-size: 23px;
    line-height: 1.16;
  }

  .calculator-step-copy {
    display: none;
  }

  .calculator-field,
  .calculator-quantity-field {
    margin-bottom: 11px;
  }

  .calculator-field label,
  .calculator-quantity-field legend {
    margin-bottom: 6px;
  }

  .calculator-field input,
  .calculator-field select {
    height: 48px;
  }

  .calculator-field textarea {
    min-height: 72px;
    max-height: 96px;
    resize: none;
  }

  .calculator-field-error:empty {
    display: none;
  }

  .calculator-service-preview {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 13px 15px;
  }

  .calculator-service-preview strong {
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    font-size: 23px;
  }

  .calculator-service-preview small,
  .calculator-quantity-field > small,
  .calculator-upload small {
    display: none;
  }

  .calculator-stepper {
    width: 160px;
    height: 46px;
    grid-template-columns: 46px 1fr 46px;
  }

  .calculator-upload {
    min-height: 54px;
    padding: 8px 12px;
  }

  .calculator-upload svg {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .calculator-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.3fr);
    gap: 8px;
    margin-top: auto;
    padding: 18px 0 calc(5px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8, 20, 29, 0), rgba(8, 20, 29, 0.98) 28%);
  }

  .calculator-actions-end {
    grid-template-columns: 1fr;
  }

  .calculator-actions .button {
    width: 100%;
    min-height: 46px;
    padding-inline: 12px;
  }

  .calculator-result-step h3 {
    margin-bottom: 13px;
  }

  .calculator-result-card {
    padding: 16px 17px;
  }

  .calculator-result-card output {
    margin-bottom: 0;
    font-size: 36px;
  }

  .calculator-result-card p {
    display: none;
  }

  .calculator-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    margin-top: 10px;
  }

  .calculator-summary > div {
    display: block;
    padding: 8px 0;
  }

  .calculator-summary dd {
    margin-top: 3px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .calculator-disclaimer {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .calculator-result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
  }

  .calculator-result-actions .button {
    min-height: 44px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .calculator-result-actions .button-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .calculator-copy-status {
    min-height: 14px;
    margin-top: 5px;
  }

  .calculator-restart {
    margin-top: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
