/* ===== Variables ===== */
:root {
  --color-bg: #fafafa;
  --color-bg-dark: #0f172a;
  --color-primary: #3B72E6;
  --color-primary-dark: #2f5eb8;
  --color-accent: #3B72E6;
  --color-text: #2C3545;
  --color-text-light: #434F66;
  --color-white: #ffffff;
  --color-border: #E2E9F5;
  --color-ice: #D5E1F2;
  --color-bg-soft: #E2E9F5;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 104px;
  --container-pad: 24px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --color-page-gray: #E2E9F5;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav__logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 10px 18px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-text-light);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
  background: rgba(59, 114, 230, 0.08);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 114, 230, 0.35);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--safe-top));
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 95% at 62% 48%,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.38) 32%,
      rgba(255, 255, 255, 0.12) 52%,
      transparent 68%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.06) 42%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 255, 255, 0.45) 58%,
      rgba(255, 255, 255, 0.68) 66%,
      rgba(255, 255, 255, 0.85) 76%,
      rgba(255, 255, 255, 0.94) 88%,
      rgba(255, 255, 255, 0.97) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.hero__blur {
  position: absolute;
  inset: 0;
  left: 32%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 14%,
    rgba(0, 0, 0, 0.65) 32%,
    #000 52%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 14%,
    rgba(0, 0, 0, 0.65) 32%,
    #000 52%,
    #000 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}

.hero__visual {
  position: relative;
  width: 100%;
  min-height: clamp(400px, 54vw, 620px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.hero__scene-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.svg');
  background-position: center top;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(226, 233, 245, 0.3) 78%,
    var(--color-page-gray) 100%
  );
  pointer-events: none;
}

.hero__scene-truck {
  position: absolute;
  inset: -8% -18% -6% -14%;
  background-image: url('../images/hero-truck.png');
  background-repeat: no-repeat;
  background-position: 2% 100%;
  background-size: 112% auto;
  z-index: 1;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #fafafa 0%,
    #f6f8fc 45%,
    #eef2f8 72%,
    var(--color-page-gray) 100%
  );
  z-index: -1;
}

.hero__content {
  max-width: 560px;
  justify-self: end;
}

.hero__label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 114, 230, 0.1);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: 540px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--about {
  background: linear-gradient(180deg, var(--color-page-gray) 0%, #ffffff 120px);
}

.section--services {
  padding: 100px 0;
  background: #f8fafc;
}

.services-section__wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.services-section__header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.services-section__header .section__title {
  margin-bottom: 1rem;
}

.services-section__subtitle {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-light);
}

/* Services carousel — partial visibility (peek) */
.services-carousel {
  position: relative;
  padding: 0 1.75rem;
}

@media (min-width: 768px) {
  .services-carousel {
    padding: 0 2.25rem;
  }
}

.services-carousel__viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 20px;
  min-height: 0;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.services-carousel__track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.services-card {
  flex-shrink: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 280px;
  padding: 1.75rem 1.625rem;
  border-radius: 1.125rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(44, 53, 69, 0.06);
  opacity: 0.45;
  transform: scale(0.94);
  transition:
    opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 520px) {
  .services-card {
    grid-template-columns: 1fr 168px;
    gap: 1.5rem;
    min-height: 260px;
  }
}

@media (min-width: 768px) {
  .services-card {
    grid-template-columns: 1fr 220px;
    min-height: 300px;
    padding: 2.25rem 2.5rem;
  }

  .services-card__illus {
    max-width: 220px;
  }
}

.services-card__content {
  min-width: 0;
}

.services-card__illus {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 192px;
  aspect-ratio: 1;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f0f5fc 0%, #e8eef7 100%);
  padding: 0.75rem;
}

.services-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 12px 40px rgba(59, 114, 230, 0.12);
  border-color: #dbeafe;
}

.services-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

@media (min-width: 768px) {
  .services-card__title {
    font-size: 1.75rem;
  }
}

.services-card__text {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #475569;
}

@media (min-width: 768px) {
  .services-card__text {
    font-size: 1.125rem;
  }
}

.services-card__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 1.0625rem;
  color: #334155;
}

@media (min-width: 768px) {
  .services-card__list {
    font-size: 1.125rem;
  }
}

.services-card__list li {
  position: relative;
  padding-left: 1.25rem;
}

.services-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.services-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #ffffff;
  color: #475569;
  box-shadow: 0 4px 16px rgba(44, 53, 69, 0.1);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.services-carousel__btn svg {
  width: 1rem;
  height: 1rem;
}

.services-carousel__btn:hover:not(:disabled) {
  color: var(--color-primary);
  border-color: #bfdbfe;
  box-shadow: 0 6px 20px rgba(59, 114, 230, 0.18);
}

.services-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.services-carousel__btn--prev {
  left: 0;
}

.services-carousel__btn--next {
  right: 0;
}

@media (min-width: 768px) {
  .services-carousel__btn {
    width: 3rem;
    height: 3rem;
  }

  .services-carousel__btn--prev {
    left: -0.25rem;
  }

  .services-carousel__btn--next {
    right: -0.25rem;
  }
}

.services-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.services-dot {
  width: 8px;
  height: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
}

.services-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.services-dot.is-active::after {
  background: var(--color-primary);
  transform: scale(1.35);
}

.services-dot:focus-visible,
.services-carousel__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

#about .section__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

#about .section__text,
#about .about-list li {
  font-size: 1.0625rem;
}

#about .section__subtitle {
  font-size: 1.25rem;
}

.section__text {
  color: var(--color-text-light);
  margin-bottom: 16px;
  max-width: 720px;
}

.section__text:last-of-type {
  margin-bottom: 32px;
}

.section__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 28px 0 16px;
  color: var(--color-text);
}

.about-list {
  max-width: 720px;
  margin-bottom: 24px;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.about-list strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== Stats ===== */
.stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.stats__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stats__label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.service-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* ===== Contacts Page ===== */
.contacts-hero {
  padding: calc(var(--header-height) + var(--safe-top) + 80px) 0 60px;
  background: var(--color-white);
}

.contacts-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contacts-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 520px;
}

.section--contacts {
  padding-top: 40px;
  padding-bottom: 100px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 20px;
}

.contact-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-card__text {
  color: var(--color-text-light);
  line-height: 1.8;
}

.contact-card__text a {
  color: var(--color-primary);
  transition: color var(--transition);
}

.contact-card__text a:hover {
  color: var(--color-primary-dark);
}

.contacts-hours {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contacts-hours__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.contacts-hours__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-hours__item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.contacts-hours__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contacts-hours__item span:last-child {
  font-weight: 500;
  color: var(--color-text);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-white);
}

.footer__copy {
  font-size: 0.875rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

/* ===== Scroll Animations ===== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  :root {
    --header-height: 72px;
    --container-pad: 16px;
  }

  .nav__logo {
    font-size: 1.25rem;
    gap: 12px;
  }

  .nav__logo-img {
    width: 50px;
    height: 50px;
  }

  .nav__toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav__menu {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-top));
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--color-white);
    padding: 16px var(--container-pad) calc(24px + var(--safe-bottom));
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 48px;
  }

  .hero::after {
    background:
      radial-gradient(
        ellipse 110% 60% at 50% 24%,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.45) 45%,
        transparent 72%
      ),
      linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.35) 36%,
        transparent 58%
      );
  }

  .hero__blur {
    left: 0;
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 12%,
      #000 28%,
      #000 55%,
      transparent 72%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 12%,
      #000 28%,
      #000 55%,
      transparent 72%
    );
  }

  .hero__visual {
    order: 2;
    min-height: clamp(240px, 62vw, 360px);
  }

  .hero__scene-truck {
    inset: -6% -10% -4% -8%;
    background-size: 115% auto;
  }

  .hero__content {
    order: 1;
    justify-self: stretch;
    max-width: none;
  }

  .hero__title {
    font-size: clamp(1.625rem, 7vw, 2.25rem);
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero__content .btn {
    width: 100%;
    padding: 16px 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section--services {
    padding: 3.5rem 0 calc(3.5rem + var(--safe-bottom));
  }

  .services-section__header {
    margin-bottom: 1.75rem;
  }

  .services-section__header .section__title {
    font-size: clamp(1.5rem, 5.5vw, 1.75rem);
    margin-bottom: 0.75rem;
  }

  .services-section__subtitle {
    font-size: 1rem;
  }

  .services-carousel {
    padding: 0 2.75rem;
  }

  .services-carousel__viewport {
    padding: 8px 0 16px;
  }

  .services-card {
    min-height: auto;
    padding: 1.25rem 1.125rem;
    gap: 1rem;
  }

  .services-card__title {
    font-size: 1.125rem;
  }

  .services-card__text {
    margin-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .services-card__list {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
  }

  .services-card__illus {
    max-width: 128px;
    padding: 0.5rem;
  }

  .services-carousel__btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .services-carousel__btn--prev {
    left: -0.125rem;
  }

  .services-carousel__btn--next {
    right: -0.125rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 5.5vw, 1.75rem);
  }

  #about .section__title {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  #about .section__text,
  #about .about-list li {
    font-size: 1rem;
  }

  #about .section__subtitle {
    font-size: 1.125rem;
  }

  .section__text,
  .about-list li {
    font-size: 0.9375rem;
  }

  .stats {
    gap: 24px;
  }

  .contacts-hero {
    padding: calc(var(--header-height) + var(--safe-top) + 48px) 0 40px;
  }

  .contacts-hero__subtitle {
    font-size: 1rem;
  }

  .section--contacts {
    padding-bottom: calc(72px + var(--safe-bottom));
  }

  .contact-card,
  .contacts-hours {
    padding: 24px;
  }

  .contacts-hours__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer {
    padding: 32px 0 calc(32px + var(--safe-bottom));
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 479px) {
  :root {
    --container-pad: 12px;
  }

  .nav__logo-text {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .services-carousel {
    padding: 0 2.25rem;
  }

  .services-card {
    padding: 1.125rem 1rem;
  }

  .services-card__illus {
    max-width: 112px;
  }

  .hero__visual {
    min-height: clamp(200px, 58vw, 300px);
  }
}

/* ===== Desktop (ПК) — явно фиксируем полные размеры ===== */
@media (min-width: 768px) {
  :root {
    --header-height: 104px;
    --container-pad: 24px;
  }

  .nav__logo {
    font-size: 1.75rem;
    gap: 16px;
    margin-left: -2cm;
  }

  .nav__logo-img {
    width: 68px;
    height: 68px;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    flex-direction: row;
    width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__grid {
    grid-template-columns: 1.42fr 0.58fr;
    gap: 24px;
    padding: 0 0 80px;
  }

  .hero__visual {
    order: unset;
    min-height: clamp(520px, 60vw, 760px);
    overflow: visible;
  }

  .hero__scene-truck {
    top: -18%;
    right: -26%;
    bottom: 0;
    left: calc(-20% - 2cm);
    background-size: 143% auto;
    background-position: 2% 100%;
  }

  .hero__content {
    order: unset;
    max-width: 580px;
    justify-self: end;
    padding-left: 1cm;
  }

  .hero__title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 24px;
  }

  .hero__subtitle {
    font-size: 1.1875rem;
    margin-bottom: 36px;
  }

  .hero__content .btn {
    width: auto;
    padding: 14px 28px;
  }

  .hero::after {
    background:
      radial-gradient(
        ellipse 60% 95% at 62% 48%,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.38) 32%,
        rgba(255, 255, 255, 0.12) 52%,
        transparent 68%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        transparent 34%,
        rgba(255, 255, 255, 0.06) 42%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.45) 58%,
        rgba(255, 255, 255, 0.68) 66%,
        rgba(255, 255, 255, 0.85) 76%,
        rgba(255, 255, 255, 0.94) 88%,
        rgba(255, 255, 255, 0.97) 100%
      );
  }

  .hero__blur {
    left: 32%;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 14%,
      rgba(0, 0, 0, 0.65) 32%,
      #000 52%,
      #000 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 14%,
      rgba(0, 0, 0, 0.65) 32%,
      #000 52%,
      #000 100%
    );
  }

  .section {
    padding: 100px 0;
  }

  .section--services {
    padding: 100px 0;
  }

  .services-section__header {
    margin-bottom: 3.5rem;
  }

  .services-section__header .section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
  }

  .services-section__subtitle {
    font-size: 1.25rem;
  }

  .services-carousel {
    padding: 0 2.5rem;
  }

  .services-carousel__viewport {
    padding: 16px 0 28px;
  }

  .services-card {
    min-height: 300px;
    padding: 2.25rem 2.5rem;
  }

  .services-card__title {
    font-size: 1.75rem;
  }

  .services-card__text {
    font-size: 1.125rem;
  }

  .services-card__list {
    font-size: 1.125rem;
  }

  .services-card__illus {
    max-width: 220px;
  }

  .section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
  }

  #about .section__title {
    font-size: clamp(2.125rem, 3.5vw, 2.875rem);
  }

  #about .section__text,
  #about .about-list li {
    font-size: 1.1875rem;
  }

  #about .section__subtitle {
    font-size: 1.3125rem;
  }

  #about .section__inner {
    margin-left: -2cm;
  }

  .section__text,
  .about-list li {
    font-size: 1rem;
  }
}
