﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Rubik:wght@700&display=swap");

@font-face {
  font-family: "Tenor Sans";
  src: url("./assets/TenorSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #f4242b;
  --red-dark: #d9151d;
  --ink: #111214;
  --muted: #686b70;
  --line: #dedfe1;
  --paper: #ffffff;
  --soft: #f3f3f1;
  --radius: 22px;
  color-scheme: light;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
}

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

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

img {
  display: block;
}

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  max-height: 1040px;
  overflow: hidden;
  background: #ececea;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.02);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 27%, rgba(255, 255, 255, 0.54) 49%, rgba(255, 255, 255, 0.03) 73%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0.4) 100%);
  pointer-events: none;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 28px;
  left: 50%;
  width: min(1760px, calc(100% - 80px));
  min-height: 94px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 70px rgba(24, 24, 24, 0.1);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.9vw, 37px);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav--right {
  justify-content: flex-end;
}

.nav a:not(.nav__phone) {
  position: relative;
  padding: 36px 0;
}

.nav a:not(.nav__phone)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__phone {
  padding: 16px 18px;
  color: #fff;
  border-radius: 12px;
  background: var(--red);
  box-shadow: 0 10px 30px rgba(244, 36, 43, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.nav__phone:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
}

.brand {
  position: relative;
  z-index: 1;
  min-width: 160px;
  padding: 11px 16px 10px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: transparent;
  line-height: 1;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.04em;
}

.brand span {
  margin-top: 5px;
  color: var(--red);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.mobile-phone {
  display: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero__content {
  position: absolute;
  z-index: 3;
  top: 51%;
  left: max(54px, calc((100% - 1760px) / 2));
  width: min(780px, 53vw);
  transform: translateY(-44%);
}

.rating {
  width: max-content;
  min-height: 52px;
  margin-bottom: 30px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(17, 18, 20, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(25, 25, 25, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.rating__pin {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 50%;
  font-size: 9px;
}

.rating__stars,
.stars {
  color: #ffb800;
  letter-spacing: 0.07em;
}

.rating strong {
  font-size: 15px;
}

.rating span:last-child {
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  display: grid;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(52px, 4vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 strong {
  white-space: nowrap;
}

.hero h1 strong {
  margin-top: 12px;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 0.88em;
  font-weight: 400;
  letter-spacing: -0.045em;
  -webkit-text-stroke: 0.7px currentColor;
  paint-order: stroke fill;
}

.hero__lead {
  max-width: 700px;
  margin: 34px 0 0;
  color: #35373a;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.hero__buttons {
  margin-top: 32px;
  display: flex;
  gap: 14px;
}

.button {
  min-height: 60px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

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

.button--red {
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 36px rgba(244, 36, 43, 0.23);
}

.button--red:hover {
  background: var(--red-dark);
}

.button--white {
  border-color: rgba(17, 18, 20, 0.14);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-contacts {
  position: absolute;
  z-index: 4;
  right: max(42px, calc((100% - 1760px) / 2));
  bottom: 72px;
  width: 270px;
  display: grid;
  gap: 14px;
}

.glass-card {
  padding: 23px 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: 0 16px 45px rgba(25, 25, 25, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.glass-card p {
  margin: 0;
}

.glass-card > a {
  margin-top: 16px;
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
}

.glass-card .route {
  color: var(--red);
}

.glass-card .hours {
  margin-top: 17px;
}

.floating-call {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 7px solid rgba(244, 36, 43, 0.24);
  border-radius: 50%;
  background: var(--red);
  background-clip: padding-box;
  box-shadow: 0 16px 40px rgba(244, 36, 43, 0.32);
  font-size: 21px;
}

.service-strip {
  position: relative;
  z-index: 2;
  min-height: 66px;
  padding: 17px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  overflow: hidden;
  color: #fff;
  background: var(--red);
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(12px, 1.15vw, 17px);
  white-space: nowrap;
}

.service-strip i {
  color: var(--ink);
  font-size: 10px;
  font-style: normal;
}

.section,
.directions,
.reviews,
.contacts,
.footer {
  width: min(1760px, calc(100% - 80px));
  margin-inline: auto;
}

.section,
.directions,
.reviews,
.contacts {
  scroll-margin-top: 125px;
}

.section {
  padding: 130px 0;
}

.section-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 70px;
}

.section-heading h2,
.directions h2,
.reviews h2 {
  margin: 0;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(52px, 5vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 60px rgba(20, 20, 20, 0.055);
  isolation: isolate;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  border-color: rgba(244, 36, 43, 0.44);
  box-shadow: 0 28px 75px rgba(20, 20, 20, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45%;
  left: -75%;
  width: 42%;
  height: 190%;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 36, 43, 0.03) 28%,
    rgba(244, 36, 43, 0.34) 52%,
    rgba(244, 36, 43, 0.03) 74%,
    transparent
  );
  filter: blur(3px);
  pointer-events: none;
}

.service-card:hover::before {
  animation: red-shine 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes red-shine {
  0% {
    left: -75%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

.service-card--featured {
  min-height: 370px;
}

.service-card--featured:nth-child(-n + 3) {
  color: #fff;
  border-color: #1a1b1d;
  background: #141517;
}

.service-card--featured:nth-child(-n + 3) p {
  color: #b7b9bd;
}

.flag-mark {
  position: relative;
  width: 62px;
  height: 42px;
  margin-bottom: 23px;
  transform: skewY(-7deg);
  background:
    conic-gradient(from 90deg, #fff 25%, var(--red) 0 50%, #fff 0 75%, var(--red) 0)
    0 0 / 18px 18px;
  box-shadow: 0 8px 22px rgba(244, 36, 43, 0.14);
}

.flag-mark::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -7px;
  width: 3px;
  height: 57px;
  border-radius: 2px;
  background: var(--red);
}

.service-card__tag {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-card h3 {
  max-width: 480px;
  margin: 12px 0 14px;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(27px, 1.8vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-card p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.service-card__footer {
  margin-top: auto;
  padding-top: 23px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.service-card__footer strong {
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(23px, 1.65vw, 30px);
  font-weight: 400;
  white-space: nowrap;
}

.service-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card__footer a span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--red);
  font-size: 17px;
}

.price-note {
  margin: 30px 0 0;
  color: #8b8d92;
  font-size: 12px;
}

.directions {
  padding: 110px 95px 95px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 90px;
  color: var(--ink);
  border: 1px solid #e1e1de;
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 36, 43, 0.12), transparent 28%),
    linear-gradient(145deg, #f8f8f6, #ecece9);
  box-shadow: 0 35px 100px rgba(20, 20, 20, 0.07);
}

.directions h2 {
  font-size: clamp(52px, 4.5vw, 80px);
}

.directions__intro > p:not(.section-label) {
  max-width: 630px;
  margin: 32px 0;
  color: #56585c;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 7px;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  color: var(--red);
  font-size: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stats article {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(17, 18, 20, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.045);
}

.stats strong {
  color: var(--red);
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 56px;
  font-weight: 400;
}

.stats span {
  color: #66686c;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.more-services {
  grid-column: 1 / -1;
  padding-top: 52px;
  border-top: 1px solid rgba(17, 18, 20, 0.12);
}

.more-services__head {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.more-services__head p {
  margin: 0;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 1;
}

.more-services__head span {
  color: #77797d;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.mini-running {
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(244, 36, 43, 0.38);
  border-radius: 18px;
  background: #151618;
  box-shadow: inset 0 0 55px rgba(244, 36, 43, 0.11);
}

.mini-running__track {
  width: max-content;
  display: flex;
  align-items: center;
  will-change: transform;
  animation: mini-ticker 38s linear infinite;
}

.mini-running__group {
  padding-right: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

.mini-running span {
  padding: 22px 0;
  color: #f2f2f2;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-running i {
  color: var(--red);
  font-size: 8px;
  font-style: normal;
}

@keyframes mini-ticker {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.reviews {
  padding: 130px 0;
}

.reviews__head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 55px;
}

.reviews__summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 5px 14px;
}

.reviews__summary > strong {
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 58px;
  font-weight: 400;
}

.reviews__summary .stars {
  font-size: 16px;
}

.reviews__summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.reviews__controls {
  display: flex;
  gap: 10px;
}

.reviews__controls button {
  width: 54px;
  height: 54px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.reviews__controls button:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.reviews__viewport {
  width: 100vw;
  margin-left: calc((100vw - min(1760px, calc(100vw - 80px))) / -2);
  padding: 6px max(40px, calc((100vw - 1760px) / 2)) 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}

.reviews__viewport::-webkit-scrollbar {
  display: none;
}

.reviews__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reviews__track {
  width: max-content;
  display: flex;
  gap: 18px;
}

.review-card {
  width: min(420px, calc(100vw - 58px));
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 48px rgba(20, 20, 20, 0.055);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__top span {
  color: #ffb800;
  letter-spacing: 0.08em;
}

.review-card__top b {
  padding: 7px 9px;
  color: #fff;
  border-radius: 7px;
  background: #07a158;
  font-size: 10px;
}

.review-card > p {
  margin: 31px 0;
  font-family: "Rubik", "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.review-card footer {
  margin-top: auto;
  display: grid;
  gap: 5px;
}

.review-card footer strong {
  font-size: 14px;
}

.review-card footer span {
  color: var(--muted);
  font-size: 11px;
}

.all-reviews {
  width: max-content;
  margin: 28px 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.all-reviews span {
  font-size: 20px;
}

.contacts {
  padding-bottom: 70px;
}

.contact-table {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr 0.85fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: #fff;
}

.contact-table article {
  min-height: 150px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.contact-table article:last-child {
  border-right: 0;
}

.contact-table article > span {
  color: var(--muted);
  font-size: 14px;
}

.contact-table a,
.contact-table strong {
  font-size: 16px;
  line-height: 1.35;
}

.contact-table__phone {
  color: var(--red);
  font-size: clamp(18px, 1.6vw, 26px) !important;
  font-weight: 800;
  white-space: nowrap;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
}

.map-link i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--red);
  font-style: normal;
}

.map-frame {
  position: relative;
  height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #e8e9e6 url("./assets/map-fallback.svg") center / cover no-repeat;
}

.map-surface {
  position: absolute;
  inset: 0;
  display: block;
  background: url("./assets/map-fallback.svg") center / cover no-repeat;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms ease;
}

.map-surface:hover {
  transform: scale(1.025);
  filter: saturate(1.1);
}

.map-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(390px, calc(100% - 40px));
  padding: 32px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.map-card h3 {
  margin: 9px 0 12px;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
}

.map-card > span {
  color: var(--muted);
  font-size: 13px;
}

.map-card__rating {
  margin: 22px 0;
  color: #ffb800;
}

.map-card__rating strong {
  margin-left: 9px;
  color: var(--ink);
}

.map-card__actions {
  display: flex;
  gap: 10px;
}

.map-card__actions a {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 10px;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.footer {
  width: 100%;
  min-height: 610px;
  padding: 58px 0;
  color: #fff;
  background: #242527;
}

.footer__inner {
  width: min(1760px, calc(100% - 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.9fr) minmax(330px, 1fr);
  align-items: stretch;
}

.footer__cta,
.footer__navigation,
.footer__contacts {
  min-height: 494px;
  padding: 24px 60px;
}

.footer__cta {
  padding-left: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #4a4b4e;
}

.footer__cta > p {
  margin: 0 0 25px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer__cta h2 {
  max-width: 650px;
  margin: 0 0 42px;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(44px, 3.7vw, 70px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.footer__cta > a {
  width: max-content;
  min-width: 310px;
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 10px 30px rgba(244, 36, 43, 0.28);
  font-size: 13px;
  font-weight: 800;
}

.footer__navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  border-right: 1px solid #4a4b4e;
}

.footer h3 {
  margin: 0 0 2px;
  color: #737579;
  font-size: 14px;
  font-weight: 600;
}

.footer__navigation > a:not(.footer__rating, .footer__route) {
  width: max-content;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
}

.footer__navigation > a:not(.footer__rating, .footer__route):hover {
  color: var(--red);
}

.footer__rating,
.footer__route {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #525357;
  border-radius: 8px;
  transition: border-color 180ms ease, background 180ms ease;
}

.footer__rating {
  margin-top: auto;
}

.footer__rating:hover,
.footer__route:hover {
  border-color: var(--red);
  background: rgba(244, 36, 43, 0.06);
}

.footer__rating > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
}

.footer__rating i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(145deg, #5bc65a 0 42%, #168bda 43% 71%, #f3cb23 72%);
  font-size: 17px;
  font-style: normal;
}

.footer__rating strong {
  font-size: 17px;
}

.footer__rating b {
  color: #ffc629;
}

.footer__route span {
  font-size: 13px;
  font-weight: 700;
}

.footer__route strong {
  color: var(--red);
  font-size: 24px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__contacts > div {
  display: grid;
  gap: 8px;
}

.footer__contacts p {
  margin: 0;
  color: #f0f0f1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.footer__phone {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.footer__legal {
  margin-top: auto;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px !important;
}

.footer__legal a,
.footer__legal button,
.footer__legal p,
.footer__legal span {
  padding: 0;
  color: #77797d;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.footer__legal button {
  cursor: pointer;
}

.footer__legal a:hover,
.footer__legal button:hover {
  color: #fff;
}

.reveal-text {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(5px);
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 1450px) {
  .topbar {
    width: calc(100% - 48px);
    padding-inline: 25px;
  }

  .nav {
    gap: 18px;
    font-size: 12px;
  }

  .nav__phone {
    padding-inline: 14px;
  }

  .hero__content {
    left: 48px;
    width: 700px;
  }

  .hero-contacts {
    right: 32px;
  }

  .service-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    grid-column: 1;
    justify-self: start;
    width: 46px;
    height: 46px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    color: var(--ink);
    border: 1px solid rgba(17, 18, 20, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 19px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .brand {
    grid-column: 2;
  }

  .mobile-phone {
    grid-column: 3;
    justify-self: end;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--red);
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 18px;
    display: grid;
    gap: 7px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(17, 18, 20, 0.96);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    pointer-events: none;
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu > a:not(.mobile-menu__phone) {
    padding: 15px 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-menu__phone {
    margin-top: 5px;
    padding: 16px;
    display: grid;
    gap: 5px;
    color: #fff;
    border-radius: 13px;
    background: var(--red);
  }

  .mobile-menu__phone span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-menu__phone strong {
    font-size: 17px;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 36%, rgba(255, 255, 255, 0.17) 75%),
      linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.4));
  }

  .hero__content {
    width: 660px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-contacts {
    width: 235px;
  }

  .section,
  .directions,
  .reviews,
  .contacts {
    width: calc(100% - 48px);
  }

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

  .directions {
    padding: 65px;
  }

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

  .contact-table article:nth-child(even) {
    border-right: 0;
  }

  .contact-table article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer__inner {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr) minmax(280px, 1fr);
  }

  .footer__cta,
  .footer__navigation,
  .footer__contacts {
    padding-inline: 32px;
  }
}

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

  .hero {
    min-height: 820px;
    height: 100svh;
  }

  .hero__image {
    object-position: 57% center;
  }

  .hero__content {
    top: 49%;
    left: 28px;
    width: calc(100% - 56px);
    transform: translateY(-42%);
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 62px);
  }

  .hero h1 span,
  .hero h1 strong {
    white-space: normal;
  }

  .hero__lead {
    max-width: 590px;
  }

  .hero-contacts {
    display: none;
  }

  .section {
    padding: 95px 0;
  }

  .section-heading,
  .reviews__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

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

  .section-heading > p {
    max-width: 650px;
  }

  .directions {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .reviews {
    padding: 95px 0;
  }

  .reviews__summary {
    width: max-content;
  }

  .reviews__controls {
    position: absolute;
    right: 24px;
    margin-top: 110px;
  }

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

  .footer__cta {
    grid-column: 1 / -1;
    min-height: 410px;
    border-right: 0;
    border-bottom: 1px solid #4a4b4e;
  }

  .footer__navigation,
  .footer__contacts {
    min-height: 500px;
  }
}

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

  .hero__image {
    object-position: 60% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.75) 62%, rgba(255, 255, 255, 0.22)),
      linear-gradient(0deg, rgba(255, 255, 255, 0.72), transparent 60%);
  }

  .topbar {
    top: 14px;
    width: calc(100% - 24px);
    min-height: 72px;
    padding: 0 13px;
    border-radius: 16px;
  }

  .brand {
    min-width: 142px;
    padding-inline: 12px;
  }

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

  .mobile-phone {
    width: 42px;
    height: 42px;
  }

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

  .mobile-menu {
    top: calc(100% + 8px);
    padding: 14px;
    border-radius: 16px;
  }

  .hero__content {
    top: 48%;
    left: 18px;
    width: calc(100% - 36px);
  }

  .rating {
    min-height: 44px;
    margin-bottom: 23px;
    padding-inline: 14px;
    gap: 8px;
    font-size: 10px;
  }

  .rating__pin {
    width: 22px;
    height: 22px;
  }

  .rating__stars {
    display: none;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(35px, 9.6vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero h1 strong {
    margin-top: 10px;
    font-size: 0.84em;
    line-height: 1.05;
    white-space: normal;
    -webkit-text-stroke-width: 0.55px;
  }

  .hero__lead {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__buttons {
    margin-top: 24px;
    display: grid;
  }

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

  .floating-call {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .service-strip {
    min-height: auto;
    padding: 17px 18px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    overflow: hidden;
    font-size: 11px;
    white-space: normal;
  }

  .section,
  .directions,
  .reviews,
  .contacts {
    width: calc(100% - 28px);
  }

  .section {
    padding: 75px 0;
  }

  .section-heading h2,
  .directions h2,
  .reviews h2 {
    font-size: 43px;
  }

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

  .section-heading > p {
    font-size: 14px;
  }

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

  .service-card,
  .service-card--featured {
    min-height: 330px;
    padding: 24px;
  }

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

  .directions {
    width: 100%;
    padding: 64px 18px;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 0;
  }

  .directions__intro,
  .stats,
  .more-services {
    min-width: 0;
    width: 100%;
  }

  .directions h2 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .directions__intro > p:not(.section-label) {
    margin-block: 24px;
    font-size: 14px;
    line-height: 1.62;
  }

  .text-link {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.45;
  }

  .stats {
    gap: 8px;
  }

  .stats article {
    min-height: 145px;
    padding: 18px;
  }

  .stats strong {
    font-size: 42px;
  }

  .more-services__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mini-running span {
    font-size: 11px;
  }

  .reviews {
    padding: 75px 0;
  }

  .reviews__head {
    margin-bottom: 38px;
  }

  .reviews__controls {
    right: 14px;
    margin-top: 96px;
  }

  .reviews__controls button {
    width: 45px;
    height: 45px;
  }

  .reviews__viewport {
    margin-left: -14px;
    padding-inline: 14px;
  }

  .review-card {
    min-height: 380px;
    padding: 25px;
  }

  .contact-table {
    grid-template-columns: 1fr;
  }

  .contact-table article,
  .contact-table article:nth-child(4),
  .contact-table article:last-child {
    grid-column: auto;
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-table article:last-child {
    border-bottom: 0;
  }

  .map-frame {
    height: 500px;
  }

  .map-card {
    padding: 25px;
  }

  .footer {
    min-height: auto;
    padding: 70px 0 28px;
  }

  .footer__inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .footer__cta,
  .footer__navigation,
  .footer__contacts {
    min-height: auto;
    padding: 55px 8px;
    border-right: 0;
    border-bottom: 1px solid #4a4b4e;
  }

  .footer__cta {
    grid-column: auto;
  }

  .footer__cta h2 {
    font-size: 42px;
  }

  .footer__cta > a {
    width: 100%;
    min-width: 0;
  }

  .footer__navigation {
    gap: 17px;
  }

  .footer__rating {
    margin-top: 30px;
  }

  .footer__contacts {
    border-bottom: 0;
  }

  .map-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mini-running__track {
    animation: none;
  }

  .reveal-text {
    opacity: 1;
    transform: none;
    filter: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
