:root {
  --bg: #020720;
  --bg-soft: #06133c;
  --ink: #fff8e8;
  --muted: #c7d3e9;
  --muted-strong: #eef4ff;
  --gold: #f0ae15;
  --gold-bright: #ffd65a;
  --silver: #d7dce6;
  --line: rgba(255, 214, 90, 0.18);
  --panel: rgba(4, 13, 43, 0.9);
  --panel-solid: #07163d;
  --blue: #063681;
  --green: #25d366;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --header-bg: linear-gradient(180deg, rgba(1, 5, 25, 0.94), rgba(2, 7, 32, 0.66));
  --header-border: rgba(255, 214, 90, 0.16);
  --hero-shade:
    radial-gradient(circle at 50% 28%, rgba(5, 57, 145, 0.16), rgba(2, 7, 32, 0.76) 52%, #020720 100%),
    linear-gradient(90deg, rgba(1, 5, 25, 0.84), rgba(2, 9, 36, 0.3) 48%, rgba(1, 5, 25, 0.82)),
    linear-gradient(180deg, rgba(1, 5, 25, 0.5), rgba(2, 7, 32, 0.44) 50%, #020720 100%);
  --hero-filter: saturate(1.16) contrast(1.12) brightness(1.04);
  --services-bg:
    linear-gradient(180deg, #020720, #07163d 46%, #020720),
    radial-gradient(circle at 12% 18%, rgba(255, 214, 90, 0.2), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(0, 147, 224, 0.12), transparent 32%);
  --about-bg:
    linear-gradient(rgba(3, 11, 42, 0.78), rgba(3, 11, 42, 0.86)),
    radial-gradient(circle at 78% 30%, rgba(3, 87, 160, 0.42), transparent 30%),
    #06133c;
  --reviews-bg:
    radial-gradient(circle at 12% 0%, rgba(255, 214, 90, 0.15), transparent 34%),
    #030b2c;
  --contacts-bg: #061024;
  --final-cta-bg: linear-gradient(135deg, #06133c, #08205f 48%, #3e2900);
  color-scheme: dark;
}

body[data-theme="light"] {
  --bg: #fff8eb;
  --bg-soft: #fffdf8;
  --ink: #030a2e;
  --muted: #526078;
  --muted-strong: #182347;
  --gold: #c78300;
  --gold-bright: #9a6500;
  --silver: #647083;
  --line: rgba(3, 10, 46, 0.13);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --blue: #e9f3ff;
  --shadow: 0 24px 80px rgba(7, 22, 61, 0.14);
  --header-bg: linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 248, 235, 0.82));
  --header-border: rgba(199, 131, 0, 0.18);
  --hero-shade:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), rgba(255, 248, 235, 0.9) 54%, #fff8eb 100%),
    linear-gradient(90deg, rgba(255, 248, 235, 0.96), rgba(255, 248, 235, 0.62) 48%, rgba(255, 248, 235, 0.96)),
    linear-gradient(180deg, rgba(255, 248, 235, 0.76), rgba(255, 248, 235, 0.78) 50%, #fff8eb 100%);
  --hero-filter: saturate(0.92) contrast(0.9) brightness(1.18);
  --services-bg:
    linear-gradient(180deg, #fff8eb, #ffffff 42%, #f3ead7),
    radial-gradient(circle at 12% 18%, rgba(199, 131, 0, 0.18), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(0, 147, 224, 0.12), transparent 32%);
  --about-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 243, 255, 0.9)),
    radial-gradient(circle at 78% 30%, rgba(199, 131, 0, 0.14), transparent 32%),
    #fffdf8;
  --reviews-bg:
    radial-gradient(circle at 12% 0%, rgba(199, 131, 0, 0.14), transparent 34%),
    #fffdf8;
  --contacts-bg: #edf5ff;
  --final-cta-bg: linear-gradient(135deg, #ffffff, #eaf4ff 54%, #f3dea7);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  transition:
    background 220ms ease,
    color 220ms ease;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--gold);
  color: #101010;
  padding: 10px 14px;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo,
.hero__logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 90, 0.54);
  border-radius: 50%;
  background: rgba(255, 214, 90, 0.08);
  box-shadow:
    inset 0 0 0 5px rgba(255, 214, 90, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.22);
}

.brand__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.hero__logo {
  width: 124px;
  height: 124px;
  margin: 0 auto 22px;
}

.theme-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__logo .theme-logo {
  transform: scale(1.72);
  transform-origin: 50% 24%;
}

.hero__logo .theme-logo {
  transform: scale(2.05);
  transform-origin: 50% 19%;
}

.theme-logo--light {
  display: none;
}

body[data-theme="light"] .theme-logo--dark {
  display: none;
}

body[data-theme="light"] .theme-logo--light {
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted-strong);
  font-size: 14px;
}

.site-nav a,
.header-phone,
.theme-toggle {
  transition: color 180ms ease;
}

.site-nav a:hover,
.header-phone:hover {
  color: var(--gold-bright);
}

.header-phone {
  justify-self: end;
  color: var(--gold-bright);
  font-weight: 800;
  white-space: nowrap;
}

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

.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  cursor: pointer;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.theme-toggle:hover {
  color: var(--gold-bright);
}

.theme-toggle__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 214, 90, 0.18);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  place-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 80px) 72px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-filter);
  transform: scale(1.02);
}

.hero__shade {
  background: var(--hero-shade);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  color: var(--muted-strong);
  font-size: clamp(18px, 2.6vw, 25px);
}

.hero__text {
  max-width: 730px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions,
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #111;
  box-shadow: 0 12px 36px rgba(255, 214, 90, 0.24);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--gold);
}

.hero__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted-strong);
  list-style: none;
  font-weight: 700;
}

.hero__contacts a {
  border-bottom: 1px solid rgba(255, 214, 90, 0.42);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 132px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--bg-soft);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 80px);
}

.section__heading {
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section__heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section__heading p {
  color: var(--muted);
  font-size: 17px;
}

.section--services {
  background: var(--services-bg);
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.service-filter {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  cursor: pointer;
  padding: 9px 16px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.service-filter:hover,
.service-filter.is-active {
  border-color: rgba(255, 214, 90, 0.74);
  background: rgba(255, 214, 90, 0.12);
  color: var(--gold-bright);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card,
.review-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.service-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 26px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.service-card:hover {
  border-color: rgba(255, 214, 90, 0.44);
  transform: translateY(-2px);
}

.service-card.is-hidden {
  display: none;
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 214, 90, 0.52);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted-strong);
}

.service-card li::marker {
  color: var(--gold);
}

.service-card p {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--gold-bright);
  font-weight: 700;
}

.section--about {
  background: var(--about-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 86px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.about-facts {
  display: grid;
  gap: 14px;
}

.about-facts div,
.contact-note {
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.045);
  padding: 18px 20px;
}

.about-facts span,
.contact-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.about-facts strong,
.contact-list strong {
  color: var(--ink);
  font-size: 18px;
}

.section--process {
  background: var(--bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.process-grid article {
  min-height: 230px;
  padding: 26px;
}

.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 214, 90, 0.12);
  color: var(--gold-bright);
  font-weight: 900;
}

.process-grid p,
.review-card p {
  color: var(--muted);
}

.section--local {
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, var(--panel-solid), var(--bg-soft) 62%, rgba(255, 214, 90, 0.14));
}

.local-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.local-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 17px;
}

.section--reviews {
  background: var(--reviews-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  min-height: 260px;
  padding: 26px;
}

.review-card p {
  font-size: 16px;
}

.review-card strong {
  display: block;
  margin-top: 24px;
  color: var(--gold-bright);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-note {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.contact-list a:hover {
  border-color: rgba(255, 214, 90, 0.56);
  transform: translateY(-1px);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted-strong);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 80px);
  background: var(--final-cta-bg);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.final-cta__contacts {
  display: grid;
  gap: 12px;
  max-width: 420px;
  color: var(--gold-bright);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.floating-contact {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.floating-contact__button {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #062212;
  cursor: pointer;
  gap: 10px;
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.24);
}

.floating-contact__button span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.floating-contact__panel {
  display: grid;
  min-width: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.floating-contact__panel[hidden] {
  display: none;
}

.floating-contact__panel a {
  padding: 14px 16px;
  color: var(--ink);
}

.floating-contact__panel a + a {
  border-top: 1px solid var(--line);
}

.floating-contact__panel a:hover {
  background: rgba(255, 214, 90, 0.11);
}

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

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(540px, 100%);
  border: 1px solid rgba(255, 214, 90, 0.42);
  border-radius: 8px;
  background: var(--panel-solid);
  padding: clamp(26px, 5vw, 40px);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal__dialog h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.modal__dialog p:not(.eyebrow) {
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

body[data-theme="light"] .hero__image {
  opacity: 0.36;
}

body[data-theme="light"] .hero h1,
body[data-theme="light"] .hero__lead,
body[data-theme="light"] .hero__text,
body[data-theme="light"] .hero__contacts {
  color: #171a22;
}

body[data-theme="light"] .brand__logo,
body[data-theme="light"] .hero__logo {
  border-color: rgba(199, 131, 0, 0.34);
  background: rgba(255, 255, 255, 0.78);
}

body[data-theme="light"] .brand strong,
body[data-theme="light"] .site-nav {
  color: #030a2e;
}

body[data-theme="light"] .site-nav a {
  color: #182347;
  font-weight: 700;
}

body[data-theme="light"] .brand small {
  color: #45516a;
}

body[data-theme="light"] .theme-toggle {
  color: #182347;
}

body[data-theme="light"] .button--ghost {
  border-color: rgba(24, 30, 40, 0.22);
  background: rgba(255, 255, 255, 0.42);
}

body[data-theme="light"] .service-filter {
  border-color: rgba(24, 30, 40, 0.16);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-strong);
}

body[data-theme="light"] .service-filter:hover,
body[data-theme="light"] .service-filter.is-active {
  background: rgba(199, 131, 0, 0.14);
  color: #704800;
}

body[data-theme="light"] .service-card,
body[data-theme="light"] .review-card,
body[data-theme="light"] .process-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 241, 0.72));
}

body[data-theme="light"] .about-facts div,
body[data-theme="light"] .contact-note {
  background: rgba(255, 255, 255, 0.62);
}

body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.78);
}

body[data-theme="light"] .modal__backdrop {
  background: rgba(20, 24, 32, 0.36);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-phone {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 2;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small,
  .header-phone {
    font-size: 12px;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 92svh;
    padding: 96px 18px 56px;
  }

  h1 {
    overflow-wrap: anywhere;
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.04;
  }

  .hero__lead,
  .hero__text {
    font-size: 16px;
  }

  .trust-strip,
  .about-layout,
  .local-panel,
  .contact-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .section__heading--left {
    text-align: center;
  }

  .final-cta__contacts {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .header-phone {
    grid-column: auto;
    justify-self: start;
  }

  .header-actions {
    grid-column: auto;
    flex-wrap: wrap;
    justify-content: start;
    gap: 8px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero__content {
    max-width: 300px;
  }

  .hero .eyebrow {
    max-width: 28ch;
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    max-width: 290px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(27px, 7.5vw, 29px);
  }

  .hero__lead,
  .hero__text {
    max-width: 30ch;
    margin-right: auto;
    margin-left: auto;
  }

  .hero__actions,
  .modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__contacts {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    gap: 10px 16px;
  }

  .button {
    width: 100%;
  }

  .service-filter {
    flex: 1 1 calc(50% - 10px);
    min-width: 130px;
  }

  .floating-contact {
    left: 14px;
    right: auto;
    bottom: 92px;
    justify-items: start;
  }

  .floating-contact__button {
    min-height: 50px;
    padding: 10px 14px;
  }
}
