:root {
  --bg: #0a0d11;
  --bg-soft: #10151b;
  --bg-elevated: #141a21;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --line-accent: rgba(213, 154, 82, 0.45);
  --text: #f4f5f7;
  --muted: #b9bec7;
  --muted-2: #8e96a3;
  --accent: #d59a52;
  --accent-bright: #f3c27a;
  --accent-dark: #9f6a2f;
  --danger: #ff8c8c;
  --success: #b4f3c2;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.24);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --container: min(1240px, calc(100% - 48px));
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Montserrat", "Manrope", system-ui, sans-serif;
  --section-space: clamp(76px, 9vw, 132px);
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(213, 154, 82, 0.14), transparent 28%),
    radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open,
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #14100b;
  background: var(--accent-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 16px;
  border-radius: 999px;
  color: #16110c;
  background: var(--accent-bright);
  transform: translateY(-140%);
  transition: transform 0.25s ease;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section[id],
.hero[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section--services,
.section--prices,
.section--gallery,
.section--contacts {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%, rgba(255, 255, 255, 0.025)),
    var(--bg-soft);
}

.section-head {
  max-width: 810px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p:last-child,
.hero__lead,
.request-copy > p,
.modal__intro,
.about-content > p,
.feature-banner__content > p,
.prices-note {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-bright);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright));
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 980px;
  font-size: clamp(38px, 5.6vw, 74px);
  font-weight: 900;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
}

h3 {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
}

p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid rgba(243, 194, 122, 0.4);
  border-radius: 999px;
  color: #15110c;
  background:
    linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow:
    0 18px 38px rgba(213, 154, 82, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 24px 45px rgba(213, 154, 82, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button:active {
  transform: translateY(-1px);
}

.button--ghost {
  color: var(--text);
  border-color: var(--line-accent);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(243, 194, 122, 0.74);
  background: rgba(213, 154, 82, 0.12);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button--small {
  min-height: 48px;
  padding: 13px 20px;
  font-size: 14px;
}

.button--block {
  width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(243, 194, 122, 0.86);
  outline-offset: 4px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 17, 0.72);
  backdrop-filter: blur(22px);
  transition:
    height 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 13, 17, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.logo {
  flex: 0 0 auto;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.logo span {
  color: var(--accent-bright);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
}

.main-nav a,
.footer-nav a,
.footer-contacts a,
.footer-bottom a,
.header__phone,
.contacts-card a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contacts a:hover,
.footer-contacts a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.header__phone:hover,
.header__phone:focus-visible,
.contacts-card a:hover,
.contacts-card a:focus-visible {
  color: var(--accent-bright);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.header__phone {
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.burger {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 23px;
}

.burger span:nth-child(3) {
  top: 30px;
}

body.menu-open .burger span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: max(820px, 100svh);
  padding: calc(var(--header-height) + 78px) 0 88px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.94) 0%, rgba(8, 10, 13, 0.76) 44%, rgba(8, 10, 13, 0.36) 74%, rgba(8, 10, 13, 0.56) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(10, 13, 17, 0.92)),
    url("../images/hero.jpg") center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 25%, rgba(243, 194, 122, 0.22), transparent 26%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.58fr);
  align-items: end;
  gap: clamp(34px, 5vw, 78px);
  width: 100%;
}

.hero__content {
  max-width: 930px;
}

.hero__lead {
  max-width: 820px;
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px 12px 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 800;
}

.hero__benefits li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 0 6px rgba(243, 194, 122, 0.14);
  transform: translateY(-50%);
}

.hero-card {
  align-self: end;
  padding: clamp(22px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(10, 13, 17, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-card__top {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card__top span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-card__top strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.2;
}

.hero-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.hero-card__stats article {
  min-height: 108px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-card__stats strong {
  display: block;
  color: var(--accent-bright);
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
}

.hero-card__stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-card > p {
  color: var(--muted);
  font-size: 15px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.advantage-card,
.price-card,
.step-card,
.contacts-card,
.lead-form {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.service-card {
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--radius-lg);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.service-card:hover,
.service-card:focus-within,
.advantage-card:hover,
.price-card:hover,
.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-accent);
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(213, 154, 82, 0.08) inset;
}

.service-card img {
  width: 100%;
  height: 242px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
  transition: transform 0.55s ease;
}

.service-card:hover img,
.service-card:focus-within img {
  transform: scale(1.06);
}

.service-card__body {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 26px;
}

.service-card__body p {
  margin-top: 16px;
  color: var(--muted);
}

.service-card__body a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent-bright);
  font-weight: 800;
}

.service-card__body a span {
  transition: transform 0.25s ease;
}

.service-card__body a:hover span,
.service-card__body a:focus-visible span {
  transform: translateX(5px);
}

/* Feature */
.section--feature {
  padding-top: calc(var(--section-space) * 0.82);
  padding-bottom: calc(var(--section-space) * 0.82);
}

.feature-banner {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.94) 0%, rgba(7, 9, 12, 0.82) 48%, rgba(7, 9, 12, 0.28) 100%),
    url("../images/gallery-5.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.feature-banner__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 25%, rgba(243, 194, 122, 0.2), transparent 24%),
    linear-gradient(180deg, transparent, rgba(10, 13, 17, 0.48));
}

.feature-banner__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.feature-banner__content p {
  max-width: 700px;
  margin-top: 24px;
  font-size: clamp(16px, 1.5vw, 20px);
}

.feature-banner__content .button {
  margin-top: 34px;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.advantage-card {
  min-height: 284px;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.advantage-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
}

.advantage-card p {
  margin-top: 16px;
  color: var(--muted);
}

/* Split section */
.section--split {
  padding-top: calc(var(--section-space) * 0.92);
}

.split-grid,
.about-grid,
.request-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.split-media,
.about-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.split-media::after,
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 10, 13, 0.46));
  pointer-events: none;
}

.split-media img {
  width: 100%;
  min-height: 760px;
  object-fit: cover;
}

.split-content h2,
.about-content h2,
.request-copy h2 {
  margin-bottom: 24px;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(243, 194, 122, 0.85);
}

/* Prices */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: grid;
  align-content: space-between;
  min-height: 230px;
  padding: 26px;
  border-radius: var(--radius-md);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.price-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.price-card strong {
  display: block;
  margin-top: 30px;
  color: var(--accent-bright);
  font-family: var(--font-head);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1;
}

.prices-note {
  max-width: 930px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(243, 194, 122, 0.22);
  border-radius: var(--radius-md);
  background: rgba(213, 154, 82, 0.08);
}

/* Steps */
.steps-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list::before {
  content: "";
  position: absolute;
  top: 56px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 194, 122, 0.58), transparent);
}

.step-card {
  position: relative;
  z-index: 1;
  min-height: 332px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.step-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  border: 1px solid rgba(243, 194, 122, 0.4);
  border-radius: 999px;
  color: #16110c;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 20px 42px rgba(213, 154, 82, 0.22);
}

.step-card p {
  margin-top: 18px;
  color: var(--muted);
}

/* About */
.section--about {
  background:
    radial-gradient(circle at 16% 52%, rgba(213, 154, 82, 0.12), transparent 28%),
    var(--bg);
}

.about-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.about-content > p + p {
  margin-top: 16px;
}

.about-media img {
  width: 100%;
  min-height: 720px;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.stats-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.stats-grid strong {
  display: block;
  color: var(--accent-bright);
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 36%, rgba(8, 10, 13, 0.78)),
    radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.14));
  opacity: 0.92;
  transition: opacity 0.28s ease;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 13, 17, 0.62);
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-7px);
  border-color: var(--line-accent);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.34);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
  opacity: 0.68;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
  min-height: 540px;
}

/* Request */
.section--request {
  overflow: hidden;
}

.section--request::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 55%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 154, 82, 0.22), transparent 70%);
  pointer-events: none;
}

.request-grid {
  align-items: start;
}

.request-copy {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.request-copy > p {
  max-width: 640px;
  font-size: clamp(16px, 1.45vw, 20px);
}

.request-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.request-points span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(243, 194, 122, 0.28);
  border-radius: 999px;
  color: var(--accent-bright);
  background: rgba(213, 154, 82, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.lead-form {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-xl);
}

.form-row {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.form-row label,
.checkbox-row {
  color: var(--text);
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.form-row input {
  min-height: 60px;
  padding: 0 18px;
}

.form-row textarea {
  min-height: 136px;
  padding: 18px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted-2);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(243, 194, 122, 0.72);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(243, 194, 122, 0.12);
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: rgba(255, 140, 140, 0.76);
  box-shadow: 0 0 0 4px rgba(255, 140, 140, 0.12);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.checkbox-row span {
  color: var(--muted);
  font-weight: 700;
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.field-error--consent {
  display: block;
  margin-top: 10px;
  margin-bottom: 16px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-server-message {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 140, 140, 0.34);
  border-radius: 18px;
  color: #ffd1d1;
  background: rgba(255, 140, 140, 0.08);
  font-weight: 800;
}

.form-server-message.is-error {
  display: block;
}

.form-success {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(180, 243, 194, 0.34);
  border-radius: 18px;
  color: var(--success);
  background: rgba(180, 243, 194, 0.08);
  font-weight: 800;
}


/* Thank-you page */
.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 14%, rgba(213, 154, 82, 0.22), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--bg);
}

.thanks-main {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 116px 0 76px;
}

.thanks-card {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(243, 194, 122, 0.24);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(11, 14, 18, 0.84);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.thanks-card__mark {
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(243, 194, 122, 0.36);
  border-radius: 50%;
  color: var(--accent-bright);
  background: rgba(213, 154, 82, 0.12);
  font-size: 42px;
  font-weight: 900;
}

.thanks-card h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.thanks-card p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

@media (max-width: 540px) {
  .thanks-main {
    padding-top: 102px;
  }

  .thanks-card__mark {
    width: 74px;
    height: 74px;
    font-size: 36px;
  }

  .thanks-actions .button {
    width: 100%;
  }
}

/* Contacts */
.contacts-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.contacts-card {
  display: grid;
  align-content: space-between;
  min-height: 540px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-xl);
}

.contacts-card dl {
  display: grid;
  gap: 24px;
  margin: 0 0 34px;
}

.contacts-card dl > div {
  display: grid;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-card dt {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contacts-card dd {
  margin: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.3;
}

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 68% 30%, rgba(243, 194, 122, 0.18), transparent 24%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 22px),
    var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(243, 194, 122, 0.34);
  border-radius: 28px;
}

.map-placeholder > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(430px, calc(100% - 52px));
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(10, 13, 17, 0.72);
  text-align: center;
  backdrop-filter: blur(18px);
}

.map-placeholder strong {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.map-placeholder span {
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 76px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080a0d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) minmax(180px, 0.7fr) minmax(240px, 0.8fr);
  gap: 44px;
}

.footer-brand p {
  max-width: 540px;
  margin-top: 22px;
  color: var(--muted);
}

.footer-nav,
.footer-contacts {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-nav h2,
.footer-contacts h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-nav a,
.footer-contacts a,
.footer-contacts span {
  color: var(--muted);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 700;
}

/* Modal */
.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open,
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop,
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 7, 0.82);
  backdrop-filter: blur(14px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(900px, calc(100svh - 56px));
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    #10151b;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.58);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 13, 17, 0.72);
  font-size: 32px;
  line-height: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.modal__close:hover,
.modal__close:focus-visible,
.lightbox__close:hover,
.lightbox__close:focus-visible {
  transform: rotate(90deg);
  border-color: rgba(243, 194, 122, 0.6);
  background: rgba(213, 154, 82, 0.12);
}

.modal__dialog h2 {
  max-width: 540px;
  margin-bottom: 18px;
  padding-right: 58px;
  font-size: clamp(28px, 3vw, 42px);
}

.modal__intro {
  max-width: 560px;
  margin-bottom: 28px;
}

.lead-form--modal {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Lightbox */
.lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1320px, 100%);
}

.lightbox figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(22px, 3vw, 36px);
  background: #0d1116;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.58);
}

.lightbox figure img {
  width: 100%;
  max-height: min(76svh, 860px);
  object-fit: contain;
  background: #0d1116;
}

.lightbox figcaption {
  padding: 18px 24px 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 13, 17, 0.72);
  font-size: 46px;
  line-height: 1;
  backdrop-filter: blur(16px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 194, 122, 0.6);
  background: rgba(213, 154, 82, 0.14);
}

/* Adaptive */
@media (max-width: 1180px) {
  :root {
    --container: min(1240px, calc(100% - 40px));
  }

  .main-nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .hero-card {
    max-width: 620px;
  }

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

  .price-card:nth-child(4),
  .price-card:nth-child(5) {
    grid-column: span 1;
  }

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

  .steps-list::before {
    display: none;
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }
}

@media (max-width: 980px) {
  :root {
    --container: calc(100% - 32px);
    --header-height: 82px;
  }

  .site-header {
    height: var(--header-height);
  }

  .burger {
    display: inline-flex;
  }

  .header__actions .button--small {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 26px;
    background: rgba(14, 18, 24, 0.98);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      max-height 0.34s ease,
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease,
      padding 0.24s ease,
      border-color 0.24s ease;
  }

  body.menu-open .main-nav {
    max-height: 460px;
    padding: 14px 18px;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 16px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 62px);
    padding-bottom: 74px;
  }

  .hero__lead {
    margin-top: 22px;
  }

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

  .feature-banner {
    min-height: 560px;
    background-position: center center;
  }

  .split-grid,
  .about-grid,
  .request-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .split-media img,
  .about-media img {
    min-height: 540px;
  }

  .request-copy {
    position: static;
  }

  .contacts-card,
  .map-placeholder {
    min-height: auto;
  }

  .contacts-card {
    gap: 32px;
  }

  .map-placeholder {
    min-height: 460px;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .button {
    min-height: 56px;
    width: 100%;
  }

  .hero__buttons,
  .request-points {
    display: grid;
  }

  .hero__benefits {
    display: grid;
    gap: 12px;
  }

  .hero__benefits li {
    width: 100%;
  }

  .hero-card__stats,
  .stats-grid,
  .prices-grid,
  .steps-list,
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .hero-card__stats article {
    min-height: auto;
  }

  .service-card__body {
    min-height: auto;
  }

  .service-card__body a {
    margin-top: 22px;
  }

  .feature-banner {
    min-height: 620px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(7, 9, 12, 0.3) 0%, rgba(7, 9, 12, 0.86) 54%, rgba(7, 9, 12, 0.98) 100%),
      url("../images/gallery-5.jpg") center center / cover no-repeat;
  }

  .split-media img,
  .about-media img {
    min-height: 420px;
  }

  .price-card {
    min-height: 178px;
  }

  .step-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 270px;
  }

  .gallery-item:nth-child(8) {
    min-height: 390px;
  }

  .lead-form,
  .contacts-card {
    border-radius: 26px;
  }

  .map-placeholder {
    min-height: 390px;
  }

  .map-placeholder > div {
    padding: 26px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
  }

  .modal,
  .lightbox {
    padding: 16px;
  }

  .modal__dialog {
    max-height: calc(100svh - 32px);
  }

  .lightbox__dialog {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lightbox__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 52px;
    height: 52px;
    font-size: 38px;
    transform: translateY(-50%);
  }

  .lightbox__nav:hover,
  .lightbox__nav:focus-visible {
    transform: translateY(calc(-50% - 2px));
  }

  .lightbox__nav--prev {
    left: 14px;
  }

  .lightbox__nav--next {
    right: 14px;
  }

  .lightbox figure img {
    max-height: min(70svh, 720px);
  }
}

@media (max-width: 540px) {
  :root {
    --container: calc(100% - 24px);
    --header-height: 76px;
  }

  .header__inner {
    gap: 14px;
  }

  .logo {
    font-size: 22px;
  }

  .burger {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-card,
  .advantage-card,
  .price-card,
  .step-card,
  .lead-form,
  .contacts-card {
    padding: 22px;
  }

  .feature-banner {
    min-height: 580px;
    padding: 24px;
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall {
    min-height: 240px;
  }

  .gallery-item:nth-child(8) {
    min-height: 350px;
  }

  .modal__close,
  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .modal__dialog h2 {
    padding-right: 38px;
  }

  .lightbox figcaption {
    padding: 16px 18px 18px;
  }
}

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

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
