/*
Theme Name: Спутниковое телевидение
Author: Сервис спутникового тв
Description: Установка, настройка и обслуживание спутникового оборудования.
Version: 1.0.4
Text Domain: satellite-tv-neutral
Requires PHP: 7.4
*/


:root {
  --red: #e31f26;
  --red-dark: #bd171d;
  --blue: #1d5fae;
  --blue-dark: #123a67;
  --text: #152033;
  --muted: #657386;
  --line: #dfe6ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(19, 42, 76, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#services,
#support,
#lead {
  scroll-margin-top: 50px;
}

#kits,
#contacts {
  scroll-margin-top: 122px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

main {
  background: var(--soft);
}

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

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

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

.topline {
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  color: #405066;
  font-size: 14px;
}

.topline__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.topline__inner span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(18, 48, 82, 0.08);
}

.nav-wrap {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: 0;
}

.brand img {
  width: 168px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding-right: 18px;
  font-size: 15px;
  color: #314057;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.phone {
  font-weight: 800;
  color: var(--blue-dark);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(227, 31, 38, 0.2);
}

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

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.button--ghost {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button--ghost:hover {
  color: #fff;
  background: var(--blue);
}

.button--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 95, 174, 0.2);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--blue-dark);
}

.hero {
  overflow: hidden;
  padding: 28px 0 38px;
  background: transparent;
}

.hero__mobile-eyebrow {
  display: none;
}

.hero__grid {
  width: min(1360px, calc(100% - 40px));
  min-height: 560px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 36%, rgba(255, 255, 255, 0.38) 62%, rgba(255, 255, 255, 0) 100%),
    url("./assets/hero-family-bright.webp") center right / cover no-repeat;
  box-shadow: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: #435269;
  font-size: 20px;
}

.hero-offer {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__badges span {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  color: #33445c;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.support p:not(.eyebrow),
.lead-section p:not(.eyebrow) {
  color: var(--muted);
}

.services,
.support {
  background: transparent;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  grid-template-areas:
    "body image"
    "body side";
  gap: 0;
  align-items: stretch;
  min-height: 388px;
  padding: 0;
  border: 1px solid rgba(227, 31, 38, 0.55);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 35px rgba(25, 57, 96, 0.07);
  overflow: hidden;
}

.service-card__tag {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card__body {
  grid-area: body;
  padding: 38px 36px 38px 40px;
}

.service-card p {
  color: #4b5a70;
}

.service-card ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #2f4058;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.service-card__image {
  grid-area: image;
  min-height: 254px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 12px;
  background: #fff;
  border: 0;
  color: #718096;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
}

.service-card__image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 235px;
  object-fit: contain;
  padding: 0;
  mix-blend-mode: multiply;
  filter: none;
}

.service-card__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 20px 28px 28px;
  border-left: 0;
  border-top: 0;
  border-radius: 0;
  background: #fff;
}

.service-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0;
}

.old-price {
  margin: 0;
  color: #8a96a8;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

.price {
  margin: 0;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.service-card__price span:not(.old-price),
.service-card__side span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
}

.service-card__actions .button {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
}

.price-options {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.price-options--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0;
}

.price-options div {
  min-width: 0;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px #d7e0ec;
}

.price-options em {
  display: block;
  margin-bottom: 5px;
  color: #8a96a8;
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

.price-options strong {
  display: block;
  color: var(--blue-dark);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.service-group-title {
  max-width: 760px;
  margin: 48px 0 4px;
}

.price-options span {
  margin: 5px 0 0;
  display: block;
}

.split-section,
.steps,
.lead-section {
  background: var(--soft);
}

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

.split-grid > div,
.lead-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 42, 76, 0.06);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list span {
  position: relative;
  padding-left: 28px;
  color: #31445f;
}

.check-list span::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.check-list--muted span::before {
  border-color: var(--blue);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.steps-row div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.steps-row strong {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.steps-row span {
  font-weight: 800;
  color: #293a52;
  line-height: 1.25;
}

.support__grid,
.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-tags button {
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: #263853;
  font: inherit;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}

.support-tags button:hover {
  color: #fff;
  background: var(--blue);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.help-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 42, 76, 0.06);
}

.help-grid h3 {
  font-size: 21px;
}

.help-grid p {
  color: var(--muted);
}

.help-grid button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.help-modal,
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 23, 38, 0.52);
}

.help-modal.is-open,
.lead-modal.is-open {
  display: flex;
}

.help-modal__panel,
.lead-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.help-modal__close,
.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.help-modal__panel h3,
.lead-modal__panel h3 {
  margin-right: 40px;
}

.help-modal__text {
  color: var(--muted);
}

.lead-modal__panel > p:not(.eyebrow) {
  color: var(--muted);
}

.help-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lead-form--modal {
  margin-top: 20px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #2d3d53;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ccd6e3;
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
}

.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}

.lead-form p {
  margin: 0;
  font-size: 13px;
}

.lead-form__status {
  min-height: 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.lead-form__status.is-error {
  color: #a52a2a;
}

.lead-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.service-page__header {
  position: relative;
}

.service-page__nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.service-page__links {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.service-page__links a {
  color: var(--text);
  font-weight: 700;
}

.service-page__hero {
  padding: 72px 0;
  background: linear-gradient(112deg, #eef4fb 0%, #fff 62%, #e0efff 100%);
}

.service-page__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 48px;
}

.service-page__hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
}

.service-page__lead {
  max-width: 670px;
  margin: 0 0 22px;
  color: #3f4e65;
  font-size: 18px;
  line-height: 1.65;
}

.service-page__price {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff2d8;
  color: #8a4c00;
  font-size: 17px;
  font-weight: 800;
}

.service-page__hero .button + .button {
  margin-left: 10px;
}

.service-page__image-wrap {
  display: grid;
  place-items: center;
  min-height: 290px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(28, 59, 94, 0.12);
}

.service-page__image-wrap img {
  max-width: min(100%, 370px);
  max-height: 310px;
  object-fit: contain;
}

.service-page__details {
  padding-top: 70px;
}

.service-page__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  max-width: 850px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-page__list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border-radius: 12px;
  background: var(--soft);
  color: #2d3d53;
  font-weight: 700;
}

.service-page__list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  padding: 42px 0;
  background: #111d2e;
  color: #dce5ef;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.brand--footer {
  margin-bottom: 14px;
  color: #fff;
}

.site-footer p {
  max-width: 460px;
  color: #aebbd0;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 1060px) {
  .nav-wrap {
    gap: 18px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 12px;
  }

  .hero {
    min-height: 0;
    padding-top: 22px;
    background-position: center right;
  }

  .hero__grid {
    min-height: 560px;
    padding: 46px;
    background-position: 60% center;
  }

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

  .service-card {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "body image"
      "side side";
  }

  .service-card__image {
    border-left: 0;
  }

  .service-card__side {
    border-top: 0;
    border-left: 0;
  }

  .service-page__hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr);
    gap: 28px;
  }

  .service-page__nav {
    gap: 16px;
  }

  .service-page__links {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  #services,
  #support,
  #lead {
    scroll-margin-top: 60px;
  }

  #kits,
  #contacts {
    scroll-margin-top: 108px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: relative;
    top: auto;
    z-index: 30;
  }

  .topline {
    display: none;
  }

  .topline__inner {
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-wrap {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    order: 1;
  }

  .brand img {
    width: 118px;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 0;
  }

  .header-actions .phone {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    order: 3;
    flex: 0 0 44px;
    margin-left: 0;
  }

  .main-nav {
    order: 4;
  }

  .service-page__nav {
    min-height: 64px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0;
  }

  .service-page__nav .phone {
    margin-left: auto;
    font-size: 14px;
    white-space: nowrap;
  }

  .service-page__links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .service-page__links a {
    white-space: nowrap;
  }

  .service-page__hero {
    padding: 42px 0;
  }

  .service-page__hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-page__lead {
    font-size: 16px;
  }

  .service-page__image-wrap {
    min-height: 235px;
  }

  .service-page__image-wrap img {
    max-height: 240px;
  }

  .service-page__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  .hero__lead {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 24px;
    text-align: center;
  }

  .eyebrow,
  .section-head .eyebrow,
  .service-group-title .eyebrow,
  .hero__mobile-eyebrow {
    text-align: left;
  }

  .section-head h2,
  .split-grid h2,
  .support h2,
  .lead-section h2,
  .service-group-title h2,
  .help-grid h3,
  .split-grid p,
  .support p:not(.eyebrow),
  .lead-section p:not(.eyebrow),
  .help-grid p,
  .site-footer,
  .site-footer p {
    text-align: center;
  }

  .service-card,
  .split-grid,
  .steps-row,
  .footer-grid,
  .help-grid{
    grid-template-columns: 1fr;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    grid-template-areas:
      "body"
      "image"
      "side";
    padding: 20px;
    min-height: 0;
  }

  .service-card__body {
    display: contents;
    padding: 0;
  }

  .service-card__tag {
    display: none;
  }

  .service-card__body h3 {
    order: 1;
    text-align: center;
  }

  .service-card__body > p:not(.service-card__tag) {
    order: 2;
    text-align: center;
  }

  .service-card p {
    font-size: 15px;
  }

  .service-card ul {
    order: 3;
    margin-top: 16px;
    gap: 7px;
    font-size: 15px;
    justify-items: stretch;
    text-align: left;
  }

  .service-card li {
    width: auto;
    max-width: 100%;
  }

  .service-card__image {
    order: 4;
    min-height: 0;
    margin: 18px auto 0;
    padding: 0;
    width: min(270px, 100%);
    border-left: 0;
    border-radius: 0;
    background: #fff;
  }

  .service-card__image img {
    max-height: 185px;
  }

  .service-card__side {
    order: 6;
    padding: 16px 0 0;
    border-top: 0;
    border-left: 0;
    background: transparent;
  }

  .service-card__price {
    order: 5;
    justify-content: center;
    text-align: center;
    margin-top: 18px;
    padding-top: 0;
  }

  .old-price {
    font-size: 16px;
  }

  .price {
    font-size: 30px;
  }

  .service-card__actions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-left: 0;
  }

  .service-card__actions .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 14px;
  }

  .price-options {
    order: 5;
    width: 100%;
    text-align: center;
  }

  .price-options--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    padding-top: 0;
  }

  .price-options div {
    padding: 11px;
  }

  .price-options strong {
    font-size: 22px;
  }

  .service-group-title {
    margin-top: 36px;
  }

  .hero {
    min-height: 0;
    padding: 28px 0 32px;
    background-position: 63% center;
  }

  .hero__mobile-eyebrow {
    display: block;
    width: min(100% - 24px, 1180px);
    margin: 0 auto 10px;
  }

  .hero__grid {
    width: min(100% - 24px, 1180px);
    min-height: 530px;
    padding: 28px 22px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0.36) 100%),
      url("./assets/hero-family-bright.webp") 68% center / cover no-repeat;
  }

  .hero__content {
    min-height: 474px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .hero__content > .eyebrow {
    display: none;
  }

  .hero__place {
    display: block;
    color: var(--red);
  }

  .hero h1 {
    text-align: center;
  }

  .hero-offer {
    display: block;
    width: calc(100% + 44px);
    margin: 18px -22px 0;
    padding: 13px 22px 12px;
    border: 1px solid rgba(227, 31, 38, 0.12);
    border-right: 0;
    border-left: 0;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 22px rgba(19, 42, 76, 0.045);
    text-align: center;
    backdrop-filter: blur(3px);
  }

  .hero-offer strong,
  .hero-offer span {
    display: block;
  }

  .hero-offer strong {
    color: var(--red);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 900;
  }

  .hero-offer span {
    margin-top: 5px;
    color: var(--blue);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 0;
  }

  .hero__actions .button {
    min-height: 46px;
    padding: 11px 10px;
    font-size: 14px;
  }

  .hero__badges {
    display: none;
  }

  .hero__badges span {
    padding: 8px 9px;
    font-size: 12px;
    width: fit-content;
  }

  .split-grid > div,
  .lead-form,
  .help-grid article {
    padding: 20px;
    text-align: center;
  }

  .check-list {
    text-align: left;
  }

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

  .steps-row div {
    min-height: 104px;
    padding: 16px;
    align-items: center;
    text-align: center;
  }

  .steps-row div:last-child {
    grid-column: 1 / -1;
  }

  .support-tags {
    gap: 8px;
    justify-content: center;
  }

  .support-tags button {
    padding: 10px 11px;
    font-size: 13px;
  }

  .help-grid article {
    min-height: 0;
  }

  .lead-form label,
  .lead-form p {
    text-align: center;
  }

  .footer-grid {
    gap: 22px;
  }

  .brand--footer {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 24px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .lead-form .button {
    width: 100%;
  }

  .hero {
    min-height: 0;
    background-position: 68% center;
  }

  .hero__grid {
    min-height: 520px;
    padding: 24px 20px;
  }

  .hero-offer {
    width: calc(100% + 40px);
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero__content {
    min-height: 472px;
  }

  .hero__badges span {
    font-size: 11px;
  }

  .service-card {
    padding: 18px;
  }

  .service-card__image img {
    max-height: 165px;
  }

  .service-card p,
  .service-card ul {
    font-size: 14px;
  }

  .split-grid > div,
  .lead-form {
    padding: 20px;
  }

  .lead-modal__panel,
  .help-modal__panel {
    padding: 26px 20px;
  }
}
