* {
  box-sizing: border-box;
}

:root {
  --red: #f02214;
  --orange: #ff7a00;
  --dark: #4d433b;
  --text: #1f1f1f;
  --muted: #6b625c;
  --line: #f2dfcf;
  --bg: #fffaf5;
  --shadow: 0 14px 35px rgba(72, 36, 10, .10);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: #fff;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 223, 207, .75);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text b {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: #4e443d;
  letter-spacing: -.5px;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #675e57;
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.footer-nav a:hover {
  color: var(--red);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.phone-link b {
  font-size: 25px;
}

.phone-link small {
  display: block;
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  color: #555;
}

.phone-icon {
  color: var(--red);
  font-size: 22px;
}

.mobile-phone {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 36px;
  background: linear-gradient(135deg, #f01414, #ff7a00);
  color: white;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(240, 34, 20, .22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(240, 34, 20, .28);
}

.btn-small {
  min-height: 50px;
  padding: 0 30px;
  font-size: 16px;
}

.btn-mid {
  min-width: 290px;
}

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #fff7ee;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 29%, rgba(255,255,255,.25) 49%, rgba(255,255,255,0) 80%),
    url("assets/hero-worker.jpg") center right / cover no-repeat;
}

.hero-inner {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-content {
  padding: 46px 0 34px;
}

.hero h1 {
  margin: 0;
  color: #5f5147;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 450px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.hero-cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 650px;
}

.mini-card {
  min-height: 126px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.mini-card b {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.mini-card small {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: #5e5a57;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  font-weight: 900;
  font-size: 19px;
}

.mini-icon.green { color: #41b649; }
.mini-icon.orange { color: var(--orange); }
.mini-icon.red {
  width: 34px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 13px;
}

.hero-action {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.arrow {
  color: #70675e;
  font-size: 45px;
  transform: rotate(8deg);
}

.hero-logo-badge {
  position: absolute;
  right: 95px;
  top: 155px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 38px;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
  border: 7px solid #746f66;
}

.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.section {
  padding: 32px 0;
}

.section-title,
.about h2,
.director h2 {
  margin: 0 0 24px;
  color: #5f5147;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -.5px;
}

.about {
  padding-top: 26px;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 66px;
  align-items: start;
}

.about-text p {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.about-text .directions {
  margin-top: 24px;
}

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

.fact {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(72, 36, 10, .04);
}

.fact span {
  min-width: 38px;
  color: var(--orange);
  font-size: 29px;
  text-align: center;
}

.fact b {
  display: block;
  font-size: 15px;
}

.fact small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #59514b;
}

.phone-fact {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

.phone-fact b {
  font-size: 28px;
  color: #5f5147;
}

.center {
  text-align: center;
  margin-top: 24px;
}

.work-slider,
.review-slider {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.cards-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 3px 18px;
  scrollbar-width: none;
}

.cards-row::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(72,36,10,.08);
}

.work-card {
  position: relative;
  min-width: 176px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(72, 36, 10, .10);
  scroll-snap-align: start;
}

.work-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
}

.work-card div {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  padding: 8px 13px;
  background: rgba(255,255,255,.94);
  font-weight: 900;
  color: #5f5147;
  box-shadow: 0 8px 18px rgba(72, 36, 10, .12);
}

.work-card span {
  color: var(--orange);
}

.reviews {
  padding-top: 12px;
}

.review-card {
  min-width: 236px;
  min-height: 213px;
  padding: 20px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(72, 36, 10, .05);
  scroll-snap-align: start;
}

.stars {
  color: var(--orange);
  letter-spacing: 3px;
  font-size: 17px;
  margin-bottom: 14px;
}

.review-card p {
  margin: 0;
  min-height: 92px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.review-card b {
  display: block;
  margin-top: 15px;
  font-size: 14px;
}

.review-card small {
  display: block;
  margin-top: 5px;
  font-weight: 700;
  color: #5f5147;
}

.director {
  padding: 30px 0;
  background: #fffaf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.director-grid {
  display: grid;
  grid-template-columns: 260px 1fr 310px;
  gap: 32px;
  align-items: center;
}

.director-photo {
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,0,0,.15)),
    linear-gradient(135deg, #d6b28d, #3f332a);
  box-shadow: var(--shadow);
  display: grid;
  place-items: end center;
  padding: 24px;
}

.avatar {
  width: 180px;
  height: 220px;
  border-radius: 90px 90px 30px 30px;
  background:
    radial-gradient(circle at 50% 28%, #f1c29c 0 19%, transparent 20%),
    radial-gradient(circle at 50% 38%, #222 0 25%, transparent 26%),
    linear-gradient(135deg, #65615e, #2e2e2e);
  box-shadow: inset 0 -30px 0 rgba(0,0,0,.15);
  position: relative;
}

.avatar::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 64px;
  width: 52px;
  height: 58px;
  background: #f0be97;
  border-radius: 45% 45% 48% 48%;
}

.avatar::after {
  content: "Тепло";
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  font-size: 14px;
  color: #f7941d;
  font-weight: 900;
}

.director-text p {
  margin: 0 0 12px;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.director-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.director-facts li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 35px;
  font-weight: 800;
  color: #5f5147;
}

.director-facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -3px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 15px;
}

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

.benefit-card {
  min-height: 158px;
  padding: 20px 14px;
  text-align: center;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(72, 36, 10, .04);
}

.benefit-card span {
  display: block;
  min-height: 44px;
  color: var(--red);
  font-size: 38px;
  font-weight: 900;
}

.benefit-card:nth-child(4) span {
  color: #43b449;
}

.benefit-card:nth-child(5) span,
.benefit-card:nth-child(6) span {
  color: var(--orange);
}

.benefit-card b {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.benefit-card small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: #5c5550;
}

.lead-section {
  padding: 12px 0 28px;
}

.lead-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.05fr 280px;
  align-items: center;
  overflow: hidden;
  min-height: 177px;
  border-radius: 14px;
  background: linear-gradient(100deg, #fff0dc, #fff 50%, #fff4e5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lead-text {
  padding: 26px 28px;
  position: relative;
  z-index: 2;
}

.lead-text h2 {
  margin: 0;
  color: #5f5147;
  font-size: 35px;
  line-height: 1;
}

.lead-text p {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.lead-badges {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.lead-badges span {
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(72, 36, 10, .06);
}

.lead-form {
  display: grid;
  gap: 11px;
  position: relative;
  z-index: 3;
}

.lead-form input {
  height: 45px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,0,.12);
}

.lead-form .btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
}

.form-note {
  display: none;
  margin: 0;
  font-size: 11px;
  color: #6b625c;
}

.lead-image {
  align-self: stretch;
  background:
    linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.06)),
    url("assets/form-worker.jpg") center / cover no-repeat;
}

.footer {
  padding: 26px 0;
  background: linear-gradient(135deg, #4b443d, #2f2b27);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer .brand-text b,
.footer .brand-text small {
  color: #fff;
}

.footer-brand .brand-logo {
  filter: grayscale(1) brightness(1.7);
}

.footer-nav {
  color: rgba(255,255,255,.8);
}

.footer-phone {
  color: #fff;
  white-space: nowrap;
}

.footer-phone b {
  display: block;
  font-size: 21px;
}

.footer-phone small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  text-align: center;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .header-contact {
    gap: 12px;
  }

  .hero-logo-badge {
    width: 210px;
    height: 210px;
    right: 40px;
  }

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

  .director-grid {
    grid-template-columns: 220px 1fr;
  }

  .director-facts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-card {
    grid-template-columns: 1fr 1fr;
  }

  .lead-image {
    display: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-contact {
    display: none;
  }

  .mobile-phone {
    display: flex;
  }

  .brand-text b {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    position: absolute;
    height: 420px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72)),
      url("assets/hero-worker.jpg") center / cover no-repeat;
  }

  .hero-inner {
    min-height: auto;
    display: block;
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .hero-content {
    padding: 0;
  }

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

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

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

  .hero-logo-badge {
    position: static;
    width: 160px;
    height: 160px;
    margin: 24px auto 0;
    padding: 24px;
  }

  .about-grid,
  .director-grid,
  .lead-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .phone-fact b {
    font-size: 22px;
  }

  .work-slider,
  .review-slider {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }

  .director-facts {
    grid-template-columns: 1fr;
  }

  .director-photo {
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
  }

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

  .lead-text,
  .lead-form {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 33px;
  }

  .section-title,
  .about h2,
  .director h2 {
    font-size: 27px;
  }

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

  .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .hero-action {
    display: block;
  }

  .arrow {
    display: none;
  }
}


/* ===== Правки v2 ===== */
.brand {
  min-width: 300px;
}

.brand-text {
  min-width: 0;
}

.brand-text b {
  white-space: nowrap;
  font-size: 20px;
}

.header-inner {
  gap: 18px;
}

.nav {
  gap: 28px;
  flex-shrink: 0;
}

.header-contact {
  flex-shrink: 0;
}

.btn-small {
  white-space: nowrap;
}

/* Первый экран: стандартный отступ, одно главное изображение, без второго логотипа */
.hero {
  min-height: 570px;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 31%, rgba(255,255,255,.55) 49%, rgba(255,255,255,.1) 77%),
    url("assets/hero-worker.jpg") center right / cover no-repeat;
}

.hero-inner {
  grid-template-columns: 0.88fr 1.12fr;
}

.hero-content {
  padding-left: 0;
  max-width: 690px;
}

.hero-logo-badge {
  display: none !important;
}

/* Карточки в блоке о компании: ровный текст и яркие иконки */
.fact {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
}

.fact span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff3b1f, #ff8a00);
  color: #fff !important;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(255, 104, 0, .22);
}

.fact b,
.fact small {
  display: block;
  margin: 0;
  line-height: 1.25;
}

.fact b {
  font-size: 16px;
}

.fact small {
  font-size: 14px;
}

.phone-fact {
  grid-template-columns: 54px auto;
  justify-content: center;
}

.phone-fact span {
  font-size: 24px;
}

.phone-fact b {
  font-size: 28px;
}

.vk-link {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 17px;
  background: #fff;
  border: 1px solid var(--line);
  color: #2f68c8;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(72, 36, 10, .05);
}

.vk-link::before {
  content: "VK";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 24px;
  border-radius: 8px;
  background: #2f68c8;
  color: #fff;
  font-size: 13px;
}

/* Наши работы: 3 крупные карточки на экране */
.cards-row {
  gap: 24px;
}

.work-card {
  min-width: calc((100% - 48px) / 3);
  border-radius: 18px;
}

.work-card img {
  height: 300px;
  object-fit: cover;
}

.work-card div {
  left: 22px;
  right: 22px;
  bottom: 22px;
  min-height: 62px;
  padding: 14px 18px;
  font-size: 22px;
  border-radius: 14px;
}

.work-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff3b1f, #ff8a00);
  color: #fff;
}

/* Фото руководителя из макета */
.director-photo {
  padding: 0;
  background: #f6eee6;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Последний блок: ровная обрезка фото без видимого текста */
.lead-image {
  background:
    linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,0)),
    url("assets/form-worker.jpg") center center / cover no-repeat;
}

/* Адаптив */
@media (max-width: 1180px) {
  .brand {
    min-width: 265px;
  }
  .brand-text b {
    font-size: 18px;
  }
  .phone-link b {
    font-size: 22px;
  }
}

@media (max-width: 1080px) {
  .brand {
    min-width: auto;
  }
  .work-card {
    min-width: calc((100% - 24px) / 2);
  }
  .work-card img {
    height: 270px;
  }
}

@media (max-width: 820px) {
  .brand-text b {
    white-space: normal;
    font-size: 17px;
  }

  .hero-bg {
    height: 470px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.7)),
      url("assets/hero-worker.jpg") center right / cover no-repeat;
  }

  .work-card {
    min-width: 84%;
  }

  .work-card img {
    height: 260px;
  }

  .work-card div {
    font-size: 19px;
  }

  .fact,
  .phone-fact {
    grid-template-columns: 50px 1fr;
    justify-content: start;
    text-align: left;
  }

  .phone-fact b {
    font-size: 22px;
  }
}


/* ===== Правки v3: точное исправление замечаний ===== */

/* Шапка: логотип и тексты компактно, в одну строку */
.site-header .container {
  width: min(1240px, calc(100% - 32px));
}

.header-inner {
  min-height: 68px;
  gap: 14px;
}

.brand {
  min-width: 235px !important;
  gap: 9px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text b {
  white-space: nowrap !important;
  font-size: 17px !important;
  letter-spacing: -0.3px;
  line-height: 1 !important;
}

.brand-text small {
  font-size: 12px !important;
  margin-top: 4px;
  white-space: nowrap;
}

.nav {
  gap: 20px !important;
  font-size: 13px !important;
}

.phone-link b {
  font-size: 22px !important;
  white-space: nowrap;
}

.phone-link small {
  font-size: 11px !important;
}

.btn-small {
  min-height: 46px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

/* Первый экран: фото рабочего, один логотип, левый отступ около 0,5 см */
.hero {
  min-height: 570px !important;
}

.hero .container {
  width: min(1240px, calc(100% - 20px)); /* примерно 0,5 см слева/справа */
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,.54) 48%, rgba(255,255,255,.10) 78%),
    url("assets/hero-worker.jpg") center right / cover no-repeat !important;
}

.hero-inner {
  min-height: 570px !important;
  grid-template-columns: 0.82fr 1.18fr !important;
}

.hero-content {
  padding-left: 0 !important;
  margin-left: 0 !important;
  max-width: 650px;
}

.hero-logo-badge {
  display: none !important;
}

/* Блок О компании: одинаковый шрифт и ровные карточки */
.facts {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}

.fact {
  min-height: 82px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  text-align: left !important;
}

.fact span {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f02014, #ff8a00) !important;
  color: #fff !important;
  font-size: 23px !important;
  line-height: 1 !important;
  box-shadow: 0 10px 22px rgba(255, 104, 0, .23) !important;
}

.fact div {
  display: block !important;
  min-width: 0;
}

.fact b,
.fact small {
  display: block !important;
  margin: 0 !important;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  line-height: 1.28 !important;
  color: #1f1f1f !important;
}

.fact b {
  font-size: 16px !important;
  font-weight: 800 !important;
}

.fact small {
  margin-top: 3px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #5f5147 !important;
}

.phone-fact {
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  text-align: center !important;
}

.phone-fact b {
  font-size: 27px !important;
  font-weight: 900 !important;
  color: #5f5147 !important;
}

/* Ссылка ВК заметная и кликабельная */
.vk-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 18px !important;
  padding: 15px 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2f68c8, #4d8dff) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(47, 104, 200, .22) !important;
  border: none !important;
}

.vk-link::before {
  content: "VK";
  width: 38px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 13px;
}

/* Наши работы: 3 крупные карточки на экране */
.work-slider {
  grid-template-columns: 42px 1fr 42px !important;
  gap: 18px !important;
}

.cards-row {
  gap: 26px !important;
  padding: 10px 4px 22px !important;
}

.work-card {
  min-width: calc((100% - 52px) / 3) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 30px rgba(72, 36, 10, .14) !important;
}

.work-card img {
  height: 330px !important;
  object-fit: cover !important;
}

.work-card div {
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  min-height: 66px !important;
  padding: 14px 18px !important;
  border-radius: 15px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.work-card span {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f02014, #ff8a00) !important;
  color: #fff !important;
}

.slider-arrow {
  width: 42px !important;
  height: 42px !important;
}

/* Фото руководителя */
.director-photo {
  padding: 0 !important;
  background: #f6eee6 !important;
  overflow: hidden !important;
}

.director-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Фото в заявке — ровное, без текста */
.lead-image {
  background:
    linear-gradient(90deg, rgba(255,255,255,.66), rgba(255,255,255,0)),
    url("assets/form-worker.jpg") center center / cover no-repeat !important;
}

/* Адаптивные размеры */
@media (max-width: 1180px) {
  .brand {
    min-width: 215px !important;
  }

  .brand-text b {
    font-size: 15px !important;
  }

  .nav {
    gap: 14px !important;
    font-size: 12px !important;
  }

  .phone-link b {
    font-size: 20px !important;
  }
}

@media (max-width: 1080px) {
  .nav {
    display: none !important;
  }

  .work-card {
    min-width: calc((100% - 26px) / 2) !important;
  }

  .work-card img {
    height: 300px !important;
  }
}

@media (max-width: 820px) {
  .hero .container,
  .site-header .container {
    width: min(100% - 20px, 1240px) !important;
  }

  .brand {
    min-width: auto !important;
  }

  .brand-text b {
    white-space: nowrap !important;
    font-size: 15px !important;
  }

  .hero-bg {
    height: 480px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72)),
      url("assets/hero-worker.jpg") center center / cover no-repeat !important;
  }

  .hero-inner {
    display: block !important;
    min-height: auto !important;
  }

  .work-card {
    min-width: 86% !important;
  }

  .work-card img {
    height: 270px !important;
  }

  .facts {
    grid-template-columns: 1fr !important;
  }

  .phone-fact {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .phone-fact b {
    font-size: 22px !important;
  }
}


/* ===== Правки v4: шапка в одну строку + последняя главная картинка ===== */

/* Более широкий контейнер в шапке, чтобы пункты не переносились */
.site-header .container {
  width: min(1360px, calc(100% - 24px)) !important;
}

.header-inner {
  min-height: 66px !important;
  gap: 18px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.brand {
  min-width: 230px !important;
  width: 230px !important;
  flex: 0 0 230px !important;
  gap: 8px !important;
}

.brand-logo {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  ring: none !important;
}

.brand-text b {
  font-size: 15px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  letter-spacing: -0.3px !important;
}

.brand-text small {
  margin-top: 3px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.nav {
  display: flex !important;
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: 26px !important;
  min-width: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.nav a {
  white-space: nowrap !important;
  display: inline-block !important;
}

.header-contact {
  flex: 0 0 auto !important;
  gap: 14px !important;
}

.phone-link {
  white-space: nowrap !important;
}

.phone-link b {
  font-size: 20px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.phone-link small {
  font-size: 10px !important;
  line-height: 1.1 !important;
  margin-top: 5px !important;
  white-space: nowrap !important;
}

.btn-small {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Первый экран: новая картинка с рабочим, без второго логотипа, меньше левый отступ */
.hero .container {
  width: min(1360px, calc(100% - 20px)) !important;
}

.hero {
  min-height: 560px !important;
  background: #fff7ef !important;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,.46) 48%, rgba(255,255,255,.04) 78%),
    url("assets/hero-worker.jpg") center right / cover no-repeat !important;
}

.hero-inner {
  min-height: 560px !important;
  grid-template-columns: 0.82fr 1.18fr !important;
}

.hero-content {
  padding-left: 0 !important;
  margin-left: 0 !important;
  max-width: 620px !important;
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 58px) !important;
  line-height: 1.08 !important;
}

.hero-logo-badge {
  display: none !important;
}

/* Если предыдущие стили пытались показать большой круглый логотип */
.hero-inner > .hero-logo-badge,
.hero .hero-logo-badge {
  display: none !important;
}

/* Ссылка ВК еще заметнее */
.vk-link {
  background: linear-gradient(135deg, #2f68c8, #5a9bff) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 26px rgba(47, 104, 200, .28) !important;
}

/* Последний блок: ровная картинка */
.lead-image {
  background:
    linear-gradient(90deg, rgba(255,255,255,.62), rgba(255,255,255,0)),
    url("assets/form-worker.jpg") center center / cover no-repeat !important;
}

@media (max-width: 1180px) {
  .site-header .container {
    width: min(1360px, calc(100% - 18px)) !important;
  }

  .brand {
    flex-basis: 200px !important;
    width: 200px !important;
    min-width: 200px !important;
  }

  .brand-text b {
    font-size: 13px !important;
  }

  .brand-text small {
    font-size: 10px !important;
  }

  .nav {
    gap: 16px !important;
    font-size: 11px !important;
  }

  .phone-link b {
    font-size: 18px !important;
  }

  .btn-small {
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none !important;
  }

  .brand {
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .header-contact {
    display: none !important;
  }

  .mobile-phone {
    display: flex !important;
  }
}

@media (max-width: 820px) {
  .hero-bg {
    height: 480px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74)),
      url("assets/hero-worker.jpg") center center / cover no-repeat !important;
  }
}


/* ===== Правки v5: новая картинка первого экрана и фрагмент с мужчиной в заявке ===== */

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,.48) 49%, rgba(255,255,255,.08) 78%),
    url("assets/hero-worker.jpg") center right / cover no-repeat !important;
}

.hero-logo-badge {
  display: none !important;
}

.lead-image {
  background:
    linear-gradient(90deg, rgba(255,255,255,.62), rgba(255,255,255,0)),
    url("assets/form-worker.jpg") center center / cover no-repeat !important;
}

@media (max-width: 820px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74)),
      url("assets/hero-worker.jpg") center center / cover no-repeat !important;
  }
}


/* ===== Правки v6: реальные фото в блоке "Наши работы" ===== */

.work-card div {
  align-items: center !important;
  gap: 12px !important;
  white-space: normal !important;
}

.work-card div strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  color: #5f5147;
}

.work-card div small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  color: #7a6d63;
}

.work-card img {
  object-fit: cover !important;
}

@media (max-width: 820px) {
  .work-card div strong {
    font-size: 19px;
  }

  .work-card div small {
    font-size: 12px;
  }
}


/* ===== Правки v7: новые фото "Наши работы" + логотип на первом экране справа ===== */

.hero-logo-badge {
  display: grid !important;
  position: absolute !important;
  right: 8% !important;
  top: 22% !important;
  width: 230px !important;
  height: 230px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .92) !important;
  place-items: center !important;
  padding: 34px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.18) !important;
  border: 5px solid rgba(116, 111, 102, .75) !important;
  z-index: 3 !important;
}

.hero-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.work-card div {
  align-items: center !important;
  gap: 12px !important;
  white-space: normal !important;
}

.work-card div strong {
  display: block !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  color: #5f5147 !important;
}

.work-card div small {
  display: block !important;
  margin-top: 4px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #7a6d63 !important;
}

.work-card img {
  object-fit: cover !important;
}

@media (max-width: 1080px) {
  .hero-logo-badge {
    width: 180px !important;
    height: 180px !important;
    right: 4% !important;
    top: 25% !important;
    padding: 26px !important;
  }
}

@media (max-width: 820px) {
  .hero-logo-badge {
    position: static !important;
    width: 150px !important;
    height: 150px !important;
    margin: 24px auto 0 !important;
    padding: 22px !important;
  }

  .work-card div strong {
    font-size: 19px !important;
  }

  .work-card div small {
    font-size: 12px !important;
  }
}


/* ===== Правки v8: исправление блока "Наши работы" на телефоне ===== */

@media (max-width: 820px) {
  .works {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
    overflow: hidden !important;
  }

  .works .container {
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .works .section-title {
    margin-bottom: 24px !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .work-slider {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .work-slider .slider-arrow {
    display: none !important;
  }

  #works-list.cards-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    padding: 4px 0 18px 0 !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  #works-list.cards-row::-webkit-scrollbar {
    display: none !important;
  }

  #works-list .work-card {
    display: block !important;
    flex: 0 0 82vw !important;
    width: 82vw !important;
    min-width: 82vw !important;
    max-width: 82vw !important;
    height: 300px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    scroll-snap-align: start !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(72, 36, 10, .16) !important;
  }

  #works-list .work-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 20px !important;
  }

  #works-list .work-card div {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 10px 22px rgba(72, 36, 10, .16) !important;
    font-size: 18px !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  #works-list .work-card div span {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  #works-list .work-card div strong {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  #works-list .work-card div small {
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 420px) {
  #works-list .work-card {
    flex-basis: 84vw !important;
    width: 84vw !important;
    min-width: 84vw !important;
    max-width: 84vw !important;
    height: 285px !important;
  }
}


/* ===== Правки v9: логотип на первом экране, фото на мобильной версии, кнопка "Позвонить" ===== */

/* Понятная мобильная кнопка телефона */
.mobile-phone {
  gap: 7px !important;
  width: auto !important;
  min-width: 118px !important;
  height: 50px !important;
  padding: 0 14px !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #f02014, #ff7a00) !important;
  box-shadow: 0 10px 22px rgba(240, 34, 20, .22) !important;
}

.mobile-phone-icon {
  font-size: 20px !important;
  line-height: 1 !important;
}

.mobile-phone-text {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Логотип на первом экране справа */
.hero-logo-badge {
  display: grid !important;
  position: absolute !important;
  right: 8% !important;
  top: 22% !important;
  width: 230px !important;
  height: 230px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.92) !important;
  place-items: center !important;
  padding: 34px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.18) !important;
  border: 5px solid rgba(116,111,102,.75) !important;
  z-index: 5 !important;
}

.hero-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Desktop: оставляем нормальное фото */
.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 29%, rgba(255,255,255,.35) 49%, rgba(255,255,255,.02) 78%),
    url("assets/hero-worker.jpg") center right / cover no-repeat !important;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 78px !important;
  }

  .mobile-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero {
    position: relative !important;
    min-height: 980px !important;
    overflow: hidden !important;
    background: #fff7ef !important;
  }

  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    min-height: 980px !important;
    opacity: 1 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.64) 0%, rgba(255,255,255,.50) 31%, rgba(255,255,255,.32) 58%, rgba(255,247,239,.84) 100%),
      url("assets/hero-worker.jpg") center top / cover no-repeat !important;
  }

  .hero-inner {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    min-height: 980px !important;
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 4 !important;
    padding: 0 !important;
    max-width: none !important;
  }

  .hero h1 {
    font-size: 42px !important;
    line-height: 1.08 !important;
    color: #5f5147 !important;
  }

  .hero-subtitle {
    max-width: 100% !important;
    font-size: 20px !important;
    line-height: 1.55 !important;
    color: #191919 !important;
  }

  .hero-logo-badge {
    display: grid !important;
    position: absolute !important;
    right: 20px !important;
    top: 338px !important;
    width: 128px !important;
    height: 128px !important;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(255,255,255,.92) !important;
    border: 3px solid rgba(116,111,102,.68) !important;
    z-index: 6 !important;
  }

  .hero-cards {
    position: relative !important;
    z-index: 7 !important;
    margin-top: 300px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .mini-card {
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(2px) !important;
  }
}

@media (max-width: 420px) {
  .mobile-phone {
    min-width: 104px !important;
    height: 48px !important;
    padding: 0 11px !important;
    font-size: 13px !important;
  }

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

  .hero-logo-badge {
    right: 16px !important;
    top: 330px !important;
    width: 116px !important;
    height: 116px !important;
    padding: 16px !important;
  }

  .hero-cards {
    margin-top: 280px !important;
  }
}


/* ===== Правки v10: непрозрачный логотип и мобильная картинка без полного забеливания ===== */

/* Непрозрачный логотип на первом экране */
.hero-logo-badge {
  display: grid !important;
  position: absolute !important;
  right: 8% !important;
  top: 22% !important;
  width: 240px !important;
  height: 240px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  place-items: center !important;
  padding: 22px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.22) !important;
  border: 5px solid rgba(116,111,102,.82) !important;
  z-index: 20 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-logo-badge img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
  border-radius: 50% !important;
}

/* Мобильная версия: сверху под текстом белое, ниже чистая картинка */
@media (max-width: 820px) {
  .hero {
    min-height: 1040px !important;
    background: #fff7ef !important;
  }

  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    min-height: 1040px !important;
    height: 100% !important;
    opacity: 1 !important;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.92) 0%,
        rgba(255,255,255,.90) 36%,
        rgba(255,255,255,.15) 52%,
        rgba(255,255,255,0) 72%,
        rgba(255,255,255,0) 100%
      ),
      url("assets/hero-worker.jpg") center top / cover no-repeat !important;
  }

  .hero::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 420px !important;
    height: 360px !important;
    background: url("assets/hero-worker.jpg") center center / cover no-repeat !important;
    z-index: 1 !important;
    opacity: 1 !important;
  }

  .hero-inner {
    position: relative !important;
    z-index: 3 !important;
    min-height: 1040px !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 4 !important;
  }

  .hero-logo-badge {
    display: grid !important;
    position: absolute !important;
    right: 18px !important;
    top: 438px !important;
    width: 122px !important;
    height: 122px !important;
    padding: 10px !important;
    background: #fff !important;
    border: 3px solid rgba(116,111,102,.82) !important;
    z-index: 9 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-logo-badge img {
    border-radius: 50% !important;
    opacity: 1 !important;
  }

  .hero-cards {
    position: relative !important;
    z-index: 6 !important;
    margin-top: 340px !important;
  }
}

@media (max-width: 420px) {
  .hero-logo-badge {
    right: 16px !important;
    top: 430px !important;
    width: 112px !important;
    height: 112px !important;
    padding: 9px !important;
  }

  .hero-cards {
    margin-top: 320px !important;
  }
}


/* ===== Правки v11: мягкий градиент на первом экране в мобильной версии ===== */

@media (max-width: 820px) {
  .hero-bg {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.91) 22%,
        rgba(255,255,255,.82) 36%,
        rgba(255,255,255,.62) 46%,
        rgba(255,255,255,.36) 56%,
        rgba(255,255,255,.16) 66%,
        rgba(255,255,255,.04) 76%,
        rgba(255,255,255,0) 100%
      ),
      url("assets/hero-worker.jpg") center top / cover no-repeat !important;
  }

  .hero::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 390px !important;
    height: 440px !important;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.55) 0%,
        rgba(255,255,255,.30) 16%,
        rgba(255,255,255,.10) 30%,
        rgba(255,255,255,0) 48%,
        rgba(255,255,255,0) 100%
      ),
      url("assets/hero-worker.jpg") center center / cover no-repeat !important;
    z-index: 1 !important;
    opacity: 1 !important;
  }

  .hero-logo-badge {
    z-index: 9 !important;
  }

  .hero-cards {
    z-index: 6 !important;
  }
}

@media (max-width: 420px) {
  .hero::after {
    top: 385px !important;
    height: 430px !important;
  }
}


/* ===== Правки v12: оформление первого блока в мобильной версии ===== */

.hero-mobile-badge {
  display: none;
}

@media (max-width: 820px) {
  .hero {
    background: linear-gradient(180deg, #fffaf5 0%, #fff2e6 100%) !important;
  }

  .hero-inner {
    padding-top: 22px !important;
  }

  .hero-content {
    margin: 0 auto !important;
    padding: 22px 20px 24px !important;
    border-radius: 28px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,248,240,.90) 52%, rgba(255,236,220,.86) 100%) !important;
    border: 1px solid rgba(255, 122, 0, .22) !important;
    box-shadow: 0 18px 38px rgba(133, 71, 27, .13) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .hero-content::before {
    content: "" !important;
    position: absolute !important;
    top: -70px !important;
    right: -72px !important;
    width: 170px !important;
    height: 170px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255,122,0,.23) 0%, rgba(255,122,0,.12) 42%, rgba(255,122,0,0) 70%) !important;
    z-index: 0 !important;
  }

  .hero-content::after {
    content: "" !important;
    position: absolute !important;
    left: -52px !important;
    bottom: -56px !important;
    width: 145px !important;
    height: 145px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(240,32,20,.16) 0%, rgba(240,32,20,.08) 45%, rgba(240,32,20,0) 72%) !important;
    z-index: 0 !important;
  }

  .hero-mobile-badge {
    display: inline-flex !important;
    position: relative !important;
    z-index: 2 !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f02014, #ff7a00) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    box-shadow: 0 10px 22px rgba(240, 32, 20, .22) !important;
  }

  .hero h1 {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 0 !important;
    color: #5f5147 !important;
    font-size: 36px !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
  }

  .hero h1::after {
    content: "" !important;
    display: block !important;
    width: 86px !important;
    height: 5px !important;
    margin-top: 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #f02014, #ff7a00) !important;
    box-shadow: 0 8px 18px rgba(255, 122, 0, .25) !important;
  }

  .hero-subtitle {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 18px !important;
    padding-left: 14px !important;
    border-left: 4px solid #ff7a00 !important;
    color: #2c2927 !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    font-weight: 800 !important;
  }

  .hero-action {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero-action .btn {
    border-radius: 18px !important;
  }

  .hero-cards {
    margin-top: 300px !important;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding: 20px 18px 22px !important;
    border-radius: 24px !important;
  }

  .hero h1 {
    font-size: 33px !important;
  }

  .hero-subtitle {
    font-size: 17px !important;
  }

  .hero-mobile-badge {
    font-size: 11px !important;
    padding: 8px 11px !important;
  }

  .hero-cards {
    margin-top: 290px !important;
  }
}


/* ===== Правки v13: белая карточка заканчивается под текстом, дальше фото без забеливания ===== */

@media (max-width: 820px) {
  .hero {
    min-height: 1060px !important;
    background: #fff7ef !important;
    overflow: hidden !important;
  }

  /* Основная фотография теперь видна на всём фоне */
  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    min-height: 1060px !important;
    opacity: 1 !important;
    background:
      url("assets/hero-worker.jpg") center top / cover no-repeat !important;
  }

  /* Убираем дополнительное забеленное фото-дублирование */
  .hero::after {
    display: none !important;
    content: none !important;
  }

  .hero-inner {
    position: relative !important;
    z-index: 2 !important;
    min-height: 1060px !important;
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  /*
    Белый блок только под заголовком и текстом.
    Ниже карточки фон становится прозрачным, и фото видно без забеливания.
  */
  .hero-content {
    margin: 0 auto !important;
    padding: 22px 20px 26px !important;
    border-radius: 28px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(255,248,240,.94) 56%, rgba(255,236,220,.90) 100%) !important;
    border: 1px solid rgba(255, 122, 0, .22) !important;
    box-shadow: 0 18px 38px rgba(133, 71, 27, .13) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .hero h1,
  .hero-subtitle,
  .hero-mobile-badge,
  .hero-action {
    position: relative !important;
    z-index: 2 !important;
  }

  /* Фотография ниже карточки — без белой плашки */
  .hero-logo-badge {
    display: grid !important;
    position: absolute !important;
    right: 18px !important;
    top: 500px !important;
    width: 122px !important;
    height: 122px !important;
    padding: 10px !important;
    background: #fff !important;
    border: 3px solid rgba(116,111,102,.82) !important;
    z-index: 9 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Карточки преимуществ начинаются ниже открытой части фото */
  .hero-cards {
    position: relative !important;
    z-index: 6 !important;
    margin-top: 410px !important;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 1050px !important;
  }

  .hero-inner {
    min-height: 1050px !important;
  }

  .hero-content {
    padding: 20px 18px 24px !important;
    border-radius: 24px !important;
  }

  .hero-logo-badge {
    right: 16px !important;
    top: 485px !important;
    width: 112px !important;
    height: 112px !important;
    padding: 9px !important;
  }

  .hero-cards {
    margin-top: 390px !important;
  }
}


/* ===== Правки v14: белое только вокруг текста, остальное — открытое фото ===== */

.hero-title-card {
  display: contents;
}

@media (max-width: 820px) {
  /* Весь первый экран снова строится на фотографии */
  .hero {
    min-height: 1040px !important;
    background: #fff7ef !important;
    overflow: hidden !important;
  }

  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    min-height: 1040px !important;
    height: 100% !important;
    opacity: 1 !important;
    background: url("assets/hero-worker.jpg") center top / cover no-repeat !important;
  }

  /* Убираем старые дублирующие слои, которые забеливали фото */
  .hero::after {
    display: none !important;
    content: none !important;
  }

  .hero-inner {
    position: relative !important;
    z-index: 2 !important;
    min-height: 1040px !important;
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  /* Сам .hero-content больше не является белой огромной карточкой */
  .hero-content {
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 4 !important;
  }

  .hero-content::before,
  .hero-content::after {
    display: none !important;
    content: none !important;
  }

  /* Белая карточка только вокруг бейджа, заголовка и описания */
  .hero-title-card {
    display: block !important;
    padding: 22px 20px 26px !important;
    border-radius: 28px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(255,248,240,.94) 58%, rgba(255,236,220,.90) 100%) !important;
    border: 1px solid rgba(255, 122, 0, .22) !important;
    box-shadow: 0 18px 38px rgba(133, 71, 27, .13) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 5 !important;
  }

  .hero-title-card::before {
    content: "" !important;
    position: absolute !important;
    top: -70px !important;
    right: -72px !important;
    width: 170px !important;
    height: 170px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255,122,0,.20) 0%, rgba(255,122,0,.10) 42%, rgba(255,122,0,0) 70%) !important;
    z-index: 0 !important;
  }

  .hero-title-card::after {
    content: "" !important;
    position: absolute !important;
    left: -52px !important;
    bottom: -56px !important;
    width: 145px !important;
    height: 145px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(240,32,20,.13) 0%, rgba(240,32,20,.07) 45%, rgba(240,32,20,0) 72%) !important;
    z-index: 0 !important;
  }

  .hero-title-card .hero-mobile-badge,
  .hero-title-card h1,
  .hero-title-card .hero-subtitle {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero-title-card h1 {
    margin-top: 0 !important;
  }

  /* Фото мужчины ниже карточки — без белого покрытия */
  .hero-logo-badge {
    display: grid !important;
    position: absolute !important;
    right: 18px !important;
    top: 500px !important;
    width: 122px !important;
    height: 122px !important;
    padding: 10px !important;
    background: #fff !important;
    border: 3px solid rgba(116,111,102,.82) !important;
    z-index: 9 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-action {
    position: relative !important;
    z-index: 6 !important;
    margin-top: 22px !important;
  }

  .hero-cards {
    position: relative !important;
    z-index: 6 !important;
    margin-top: 360px !important;
  }
}

@media (max-width: 420px) {
  .hero-title-card {
    padding: 20px 18px 24px !important;
    border-radius: 24px !important;
  }

  .hero-logo-badge {
    right: 16px !important;
    top: 485px !important;
    width: 112px !important;
    height: 112px !important;
    padding: 9px !important;
  }

  .hero-cards {
    margin-top: 350px !important;
  }
}


/* ===== Правки v15: блок с видеоотзывом ===== */

.video-reviews {
  padding-top: 18px;
  padding-bottom: 44px;
  background: #fff;
}

.video-review-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,122,0,.11), transparent 32%),
    linear-gradient(135deg, #fffaf5 0%, #ffffff 48%, #fff3e6 100%);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(72, 36, 10, .10);
}

.video-review-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f02014, #ff7a00);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(240, 32, 20, .20);
}

.video-review-text h3 {
  margin: 0;
  color: #5f5147;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.5px;
}

.video-review-text p {
  margin: 16px 0 0;
  max-width: 440px;
  color: #4d433b;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.vk-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #2f68c8;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(47,104,200,.22);
}

.vk-video-link:hover {
  transform: translateY(-1px);
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #1f1f1f;
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 820px) {
  .video-reviews {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .video-review-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
    border-radius: 22px;
  }

  .video-review-text h3 {
    font-size: 25px;
  }

  .video-review-text p {
    font-size: 15px;
  }

  .vk-video-link {
    width: 100%;
    text-align: center;
  }

  .video-frame-wrap {
    border-radius: 18px;
  }
}


/* ===== Правки v16: плашка после видеоотзыва ===== */

.video-cta {
  margin-top: 26px;
  text-align: center;
}

.video-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 38px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f02014, #ff7a00);
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(240, 32, 20, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.video-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(240, 32, 20, .30);
}

@media (max-width: 820px) {
  .video-cta {
    margin-top: 22px;
  }

  .video-cta-button {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 17px;
    text-align: center;
  }
}
