:root {
  --red: #a82335;
  --accent: #ab062d;
  --text: #1c1d20;
  --muted: #606060;
  --line: #000000;
  --light: #E9E9E9;
  --shadow: 0 0 17px -1px rgba(0, 0, 0, 0.23);
  --content-width: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Jura", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

button {
  font-family: inherit;
}

.section {
  margin-top: 150px;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.topbar {
  background: var(--red);
  color: #ffffff;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 10px;
}

.topbar__location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.topbar__phone {
  font-weight: 600;
}

.branch-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.branch-modal.is-open {
  display: flex;
}

.branch-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.branch-modal__panel {
  position: relative;
  width: min(680px, 92vw);
  max-height: 80vh;
  padding: 32px 36px 28px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1;
}

.branch-modal__panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 35, 53, 0.16) 0%, rgba(168, 35, 53, 0) 70%);
}

.branch-modal__title {
  position: relative;
  font-size: 28px;
  margin-bottom: 24px;
}

.branch-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.branch-modal__close svg {
  width: 18px;
  height: 18px;
}

.branch-modal__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 6px;
}

.branch-modal__option {
  background: transparent;
  border: none;
  text-align: left;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.4;
  color: #404040;
  cursor: pointer;
}

.branch-modal__option:hover,
.branch-modal__option:focus {
  color: var(--accent);
}

.branch-modal__option.is-selected {
  color: var(--accent);
  font-weight: 600;
}

.branch-modal__city {
  display: block;
  font-weight: 500;
}

.branch-modal__address {
  display: block;
  font-weight: 400;
}

body.branch-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 210;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.contact-modal__panel {
  position: relative;
  width: min(720px, 92vw);
  max-height: 90vh;
  padding: 30px 32px 32px;
  background: #ffffff;
  border-radius: 22px;
  border: 2px solid var(--accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  z-index: 1;
}

.contact-modal__title {
  font-size: 26px;
  margin-bottom: 20px;
}

.contact-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.contact-modal__close svg {
  width: 18px;
  height: 18px;
}

.contact-modal__form .request-form {
  gap: 14px;
}

body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .contact-modal {
    padding: 16px 10px;
  }

  .contact-modal__panel {
    width: 100%;
    padding: 24px 15px 22px;
  }
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 10px;
}

.breadcrumbs {
  border-bottom: 1px solid #ececec;
  background: #ffffff;
}

.breadcrumbs .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

.breadcrumbs__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  font-size: 14px;
  color: #656565;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: #b0b0b0;
}

.breadcrumbs__item a {
  color: inherit;
  transition: color 0.2s ease;
}

.breadcrumbs__item a:hover,
.breadcrumbs__item a:focus {
  color: var(--accent);
}

.breadcrumbs__item.is-current {
  color: var(--text);
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__icon {
  height: 46px;
  width: auto;
}

.logo__text {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.nav a,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__trigger {
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown:hover > .nav__trigger,
.nav-dropdown:focus-within > .nav__trigger {
  color: var(--accent);
}

/* .nav-dropdown:hover > .nav__trigger.nav__with-caret::after,
.nav-dropdown:focus-within > .nav__trigger.nav__with-caret::after {
  transform: rotate(225deg);
} */

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 420px;
  max-width: 560px;
  display: none;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  background: #ffffff;
  border: 1px solid #efefef;
  box-shadow: var(--shadow);
  z-index: 50;
}

.nav-dropdown--align-right .nav-dropdown__menu,
.nav--align-right .nav-dropdown__menu,
.nav > .nav-dropdown:last-child .nav-dropdown__menu {
  left: auto;
  right: 0;
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
  background: transparent;
}

.nav-dropdown__menu-inner {
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: flex;
}

.nav-dropdown__group-link {
  width: 100%;
  justify-content: space-between;
  padding: 18px 22px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #efefef;
}

.nav-dropdown__group-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.8;
}


.nav-dropdown__group:last-child .nav-dropdown__group-link {
  border-bottom: none;
}

.nav-dropdown__group-link:hover {
  background: #f6f6f6;
}

.nav-dropdown__group {
  position: relative;
}

.nav-dropdown__submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 320px;
  display: none;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #efefef;
  box-shadow: var(--shadow);
}

.nav-dropdown--align-right .nav-dropdown__submenu,
.nav--align-right .nav-dropdown__submenu,
.nav > .nav-dropdown:last-child .nav-dropdown__submenu {
  left: auto;
  right: 100%;
}

.nav-dropdown__group:hover .nav-dropdown__submenu,
.nav-dropdown__group:focus-within .nav-dropdown__submenu {
  display: flex;
}

.nav-dropdown__submenu-link {
  width: 100%;
  justify-content: flex-start;
  padding: 16px 20px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #efefef;
}

.nav-dropdown__submenu-link:last-child {
  border-bottom: none;
}

.nav-dropdown__submenu-link:hover {
  background: #f6f6f6;
}

.nav__with-caret::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__line {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.icon-btn {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: inherit;
  border: none;
  background: transparent;
  padding: 0;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.btn {
  border: none;
  border-radius: 0;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
}

.btn--light {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.btn-lg {
  font-size: 23px;
  font-weight: 300;
  padding: 15px 47px;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-image: url("../img/home/MG_1196-1-1-1.76d5005423a2.jpg");
  background-size: cover;
  background-position: 70% center;
  padding-bottom: 1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero__title {
  font-size: 65px;
  font-weight: 600;
  /* letter-spacing: 0.08em;
  line-height: 1.1; */
  text-transform: uppercase;
  margin-bottom: 26px;
}

.bar-text {
  color: white;
  display: flex;
  align-items: stretch;
  gap: 16px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
}

.bar-text::before {
  content: "";
  width: 5px;
  height: auto;
  background: var(--red);
  flex: 0 0 5px;
  align-self: stretch;
}

.hero__advantages {
  display: grid;
  gap: 14px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.hero__advantages li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 14px;
  align-items: start;
}

.hero__advantages li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--red);
}

.hero__cta {
  font-size: 20px;
  padding: 16px 48px;
  letter-spacing: 0.03em;
}

.section-head {
  position: relative;
  margin-bottom: 40px;
  padding-top: 30px;
  display: grid;
  gap: 18px;
}

/* .section-ghost {
  position: absolute;
  left: 0;
  top: -36px;
  font-size: 71px;
  font-weight: 600;
  color: rgba(171, 6, 45, 0.07);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
} */

.section-ghost {
  display: flex;
  font-size: 71px;
  font-weight: 600;
  color: rgba(171, 6, 45, 0.07);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 35px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
}

.why {
  margin-top: -90px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background: var(--line);
}

.lead {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  font-size: 20px;
  color: #000000;
}

.lead__content {
  flex: 1;
  min-width: 0;
}

.lead::before {
  content: "";
  width: 8px;
  height: 100%;
  background: var(--red);
  flex: 0 0 5px;
}

.section-head--light .section-title {
  color: #ffffff;
}

.section-head--light .section-title::after {
  background: #ffffff;
}

.lead--light {
  color: rgba(255, 255, 255, 0.9);
}

.about__grid {
  display: flex;
  gap: 20px;
  align-items: center;
}

.about__photo {
  border: 3x solid var(--accent);
  padding: 20px;
  min-height: 460px;
  display: flex;
  align-items: center;
  width: 40%;
}

.about__photo-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.reasons {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
  line-height: 1;
  width: 55%;
}

.about__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.about__photo {
  border: 2px solid var(--accent);
  align-items: stretch;
  width: 40%;
}

.about__photo-bg {
  width: 100%;
  min-height: 464px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: -38px;
}

.reason__num {
  font-size: 80px;
  font-weight: 600;
  color: rgba(136, 136, 136, 0.33);
  line-height: 1;
  display: flex;
}

.reason__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.reason__mark {
  background: var(--accent);
  display: flex;
  flex-shrink: 0;
}

.reason__mark svg {
  fill: #AB062D;
  height: 15px;
}

.reason__title {
  font-size: 20px;
  font-weight: 600;
  text-transform: none;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.reason__text {
  font-size: 16px;
  color: var(--text);
  margin: 0;
  font-weight: 400;
}

.items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-around;
  flex: 1 1 420px;
  width: 55%;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item__bullet {
  width: 15px;
  height: 15px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.item__title {
  font-family: "Jura", sans-serif;
  font-size: 25px;
  font-weight: 500;
  text-transform: none;
  color: #1C1D20;
  margin: 0;
  line-height: 1.0;
}

.item__text,
.item_body,
.items .item > p,
.items .item > ul,
.items .item > ol,
.item_body > p,
.item_body > ul,
.item_body > ol {
  font-family: "Jura", sans-serif;
  font-size: 20px;
  color: #1C1D20;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

.item_body {
  padding-left: 25px;
}

.item__text .rich-text > *:first-child {
  margin-top: 0;
}

.item__text .rich-text > *:last-child {
  margin-bottom: 0;
}

.item_body > *:first-child,
.item_body .rich-text > *:first-child {
  margin-top: 0;
}

.item_body > *:last-child,
.item_body .rich-text > *:last-child {
  margin-bottom: 0;
}

.items .item > ul,
.items .item > ol,
.item_body > ul,
.item_body > ol {
  padding-left: 1.2em;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.promo-card {
  background: #ffffff;
  box-shadow: var(--shadow);
  /* min-height: 400px; */
  display: flex;
  flex-direction: column;
}

.promo-card__image {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.promo-card__image--one {
  background-image: url("../img/home/037-2-1-scaled.88fc8792f9f6.jpg");
}

.promo-card__image--two {
  background-image: url("../img/home/2025-07-02-11.48.54.bfb5e814c429.jpg");
}

.promo-card__image--three {
  background-image: url("../img/home/7HvL3zteBhBVX_GVlgh87H0IF0s-960.1261f9ab975e.jpg");
}

.promo-card__body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  flex: 1;
  min-height: 120px;
}

.promo-card__body h3 {
  font-size: 20px;
  font-weight: 600;
  text-transform: none;
  color: #000000;
}

.article-slider__wrap {
  position: relative;
}

.article-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.article-slider__track::-webkit-scrollbar {
  display: none;
}

.article-slider__track::-webkit-scrollbar-thumb {
  background: transparent;
}

.article-slider__track::-webkit-scrollbar-track {
  background: transparent;
}

.article-slider__item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

.article-slider__item .promo-card {
  height: 100%;
}

.article-slider__item .promo-card__body {
  min-height: 140px;
}

.article-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1c1d20;
  cursor: pointer;
  z-index: 2;
}

.article-slider__arrow--prev {
  left: -12px;
}

.article-slider__arrow--next {
  right: -12px;
}

.article-slider__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.article-context .content {
  font-size: 18px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.slider-dots span,
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d6d6;
  border: none;
  padding: 0;
  cursor: pointer;
}

.slider-dots span.active,
.slider-dots button.is-active {
  background: #1f1f1f;
}

.main-services {
  margin-top: -90px;
}

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

.service-card {
  background: var(--light);
  padding: 24px 120px 28px 24px;
  min-height: 170px;
  position: relative;
}

.service-card--pattern {
  background-image: url("../images/Group-34-gr-bl-sm.722509f63f50.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card:hover {
  background-image: url("../images/Group-34.90d40c2250c4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 8px;
  color: var(--text);
}

.service-card p {
  color: var(--text);
  margin: 0;
  font-weight: 400;
}

.service-card__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 80px;
  height: 80px;
}

.service-card.hover-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.service-card.hover-card p {
  margin: 0;
}

.service-card.hover-card .btn--primary {
  background: var(--accent);
  color: #ffffff;
}

.service-card.hover-card .btn--primary:hover,
.service-card.hover-card .btn--primary:focus,
.service-card.hover-card .btn--primary:focus-visible,
.service-card.hover-card:hover .btn--primary {
  background: #ffffff;
  color: #000000;
}

.service-card.hover-card:hover h3,
.service-card.hover-card:hover p {
  color: #ffffff;
}

.corporate {
  position: relative;
  color: #ffffff;
  background-image: url("../img/home/MG_1097-1-1-1024x683-1.4dce2ff81c30.jpg");
  background-size: cover;
  background-position: center;
}

.corporate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.corporate .container {
  position: relative;
  z-index: 1;
}

.corporate__list {
  display: grid;
  gap: 18px;
  padding-bottom: 40px;
}

.corp-card {
  border: 1px solid var(--accent);
  padding: 22px 24px;
  max-width: 760px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.corp-card__num {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.corp-card h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 8px;
}

.corp-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.corp-card--solid {
  background-color: var(--accent);
  background-image: url("../images/Group-42.a75c0e877c80.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: var(--accent);
  position: relative;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  background: #ffffff;
  box-shadow: var(--shadow);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.news-card__image {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.news-card__image--one {
  background-image: url("../img/home/5435942362414182267-1-1.f0770ea2e0ef.jpg");
}

.news-card__image--two {
  background-image: url("../img/home/2025-06-27-17.03.48-e1751033875710.02160987088b.jpg");
}

.news-card__image--three {
  background-image: url("../img/home/2025-05-22-12.23.09-1-1.665ca8e748f2.jpg");
}

.news-card__body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  flex: 1;
  min-height: 120px;
}

.news-card__body h3 {
  font-size: 20px;
  font-weight: 600;
  text-transform: none;
  color: #000000;
}

.section.info {
  background: #3f3f3f;
  color: #ffffff;
  padding: 120px 0;
  margin-bottom: 3rem;

}

.section.info .container {
  max-width: var(--content-width);
}

.section.info p {
  color: rgba(255, 255, 255, 0.86);
}

.info__head.section-head {
  padding-top: 0;
  margin-bottom: 72px;
}

.info__head .section-title {
  font-size: 44px;
  letter-spacing: 0.04em;
}

.info__lead {
  max-width: 880px;
  margin-bottom: 30px;
  font-size: 18px;
}

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

.info__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.95);
}

.info__service {
  font-weight: 500;
}

.info__price {
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
}

.info__notes {
  margin-top: 28px;
  max-width: 880px;
}

.info__notes p:last-child {
  margin-bottom: 0;
}

.info__contacts {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  color: var(--text);
}

.contact .lead {
  max-width: 880px;
}

.contact .lead::before {
  width: 8px;
  height: 34px;
}

.request__title {
  margin-top: -90px;
}

.request__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

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

.request-form input,
.request-form select,
.request-form textarea {
  border: 2px solid var(--accent);
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 0;
  font-family: inherit;
}

.request-form textarea {
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus,
.request-form select:active,
.request-form select:hover {
  border-color: var(--accent);
  outline: none;
}

.request-form select option:checked {
  background-color: rgba(171, 6, 45, 0.1);
  color: var(--accent);
}

.checkbox {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.recaptcha {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #d6d6d6;
  padding: 10px;
  max-width: 320px;
  background: #f8f8f8;
}

.recaptcha__box {
  width: 22px;
  height: 22px;
  border: 1px solid #bdbdbd;
  background: #ffffff;
}

.recaptcha__text {
  display: grid;
  gap: 2px;
  font-size: 11px;
  color: #6b6b6b;
}

.recaptcha__text strong {
  font-size: 13px;
  color: #1b1b1b;
}

.recaptcha__text small {
  font-size: 9px;
  color: #8a8a8a;
}

.request__photo {
  border: 2px solid var(--accent);
  padding: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.request-form .btn {
  margin-top: 4px;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.request-form .btn--primary:hover {
  background: #900523;
}

.request__photo::before {
  content: "";
  display: block;
  width: 100%;
  height: 350px;
  background-image: url("../img/home/044-1-1-1.76459d07526e.jpg");
  background-size: cover;
  background-position: center;
}

.map {
  margin-top: 60px;
}

.map iframe {
  width: 100%;
  height: 481px;
  border: 0;
  display: block;
}

.footer {
  background: #ffffff;
  color: #000000;
  padding: 40px 0 20px;
  border-top: 1px solid #000000;
}

.logo--footer .logo__icon {
  height: 80px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  color: #000000;
}

.footer__social {
  display: flex;
  gap: 20px;
  color: var(--accent);
}

.footer__social a {
  display: grid;
  place-items: center;
  color: inherit;
}

.footer__social svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 16px;
  color: #000000;
  flex: 2 1 560px;
}

.footer__col {
  flex: 1 1 calc((100% - 60px) / 3);
}

.footer__col h4 {
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  margin: 0 0 8px;
  color: #000000;
}

.footer__col p {
  margin: 0 0 10px;
  color: #000000;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
p.footer__item {
  font-weight: 700;
}
.footer__icon {
  display: inline-flex;
  color: var(--accent);
  flex-shrink: 0;
}

.footer__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__icon--mail svg {
  width: 18px;
  height: 14px;
}

.footer__bottom {
  margin-top: 30px;
  height: 1px;
  background: #e0e0e0;
}

.page-404 main {
  min-height: calc(100vh - 260px);
}

.error404 {
  margin-top: 0;
  padding: clamp(56px, 10vh, 110px) 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(171, 6, 45, 0.14), rgba(171, 6, 45, 0) 48%),
    radial-gradient(circle at 84% 70%, rgba(168, 35, 53, 0.12), rgba(168, 35, 53, 0) 52%),
    #f6f6f6;
}

.error404__card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  height: 450px;
  padding: 30px clamp(24px, 4vw, 48px);
  border: 1px solid #e1e1e1;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.error404__card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171, 6, 45, 0.2) 0%, rgba(171, 6, 45, 0) 68%);
}

.error404__code {
  display: block;
  font-size: clamp(74px, 12vw, 132px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.88;
  color: rgba(171, 6, 45, 0.95);
  margin-bottom: 8px;
}

.error404__title {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 12px;
  max-width: 16ch;
}

.error404__text {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 21px);
  color: #3d3d3d;
  line-height: 1.35;
  max-width: 42ch;
}

.error404__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 190px;
  padding: 10px 22px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.error404__btn--ghost {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.error404__btn--ghost:hover,
.error404__btn--ghost:focus {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 1100px) {
  body {
    --content-width: 900px;
  }
  .site-header__inner {
    position: relative;
  }
  .header-icons {
    display: none;
  }
  .nav__with-caret::after {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: var(--shadow);
    width: min(320px, 90vw);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 60;
  }
  .nav.nav--open {
    display: flex;
  }
  .nav a,
  .nav__trigger {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__menu {
    display: none;
  }
  .nav-dropdown:hover > .nav__trigger,
  .nav-dropdown:focus-within > .nav__trigger {
    color: inherit;
  }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu,
  .nav-dropdown__group:hover .nav-dropdown__submenu,
  .nav-dropdown__group:focus-within .nav-dropdown__submenu {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .promo-grid,
  .news-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  .about__grid {
    flex-wrap: wrap;
  }
  .about__photo {
    width: 100%;
  }
  .about__grid {
    flex-direction: column;
  }
  .reasons {
    width: 100%;
  }
  .items{
    width: 100%;
  }
  .request__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
  }
  .footer__col {
    flex-basis: calc((100% - 30px) / 2);
    min-width: 240px;
  }
  .corp-card {
    max-width: 100%;
  }
  .article-slider__arrow {
    display: none;
  }
  .article-slider__item {
    flex-basis: 70%;
  }
}

@media (max-width: 640px) {
  .breadcrumbs .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .breadcrumbs__list {
    font-size: 13px;
    gap: 6px 10px;
  }
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
  }
  .topbar__location {
    flex-wrap: wrap;
  }
  .topbar__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .topbar__actions .btn {
    width: 100%;
  }
.page-main .hero__title {
  font-size: 35px;
}
  .hero__content {
    padding: 90px 10px;
  }
  .hero__title {
    font-size: 34px;
    letter-spacing: 0.05em;
  }
  .bar-text {
    font-size: 18px;
    color: white;
  }
  .hero__advantages {
    gap: 12px;
    font-size: 16px;
  }
  .hero__advantages li {
    grid-template-columns: 10px 1fr;
    gap: 12px;
  }
  .hero__advantages li::before {
    width: 10px;
    height: 10px;
    margin-top: 4px;
  }
  .section-title {
    font-size: 25px;
    flex-wrap: wrap;
  }
  .section-title::after {
    width: 100%;
  }
  .section-ghost {
    font-size: 50px;
  }
  .promo-grid,
  .news-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .footer__col {
    flex-basis: 100%;
    min-width: 0;
  }
  .article-slider__item {
    flex-basis: 85%;
  }
  .lead {
    font-size: 16px;
  }
  .reasons {
    gap: 20px;
  }
  .reason__top {
    margin-top: 50px;
  }
  .reason__num {
    display: none;
  }
  .reason__heading {
    margin-top: -40px;
    align-items: flex-end;
    flex-wrap: nowrap;
  }
  .reason__title {
    font-size: 20px;
  }
  .reason__text {
    font-size: 16px;
  }
  .service-card {
    padding-right: 100px;
  }

  .section.info {
    padding: 90px 0;
  }

  .info__head .section-title {
    font-size: 30px;
  }

  .info__price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .info__price {
    text-align: left;
  }
  .request__photo {
    display: none;
  }
  .error404 {
    padding: 42px 0 56px;
  }
  .error404__card {
    height: 450px;
    padding: 24px 18px;
  }
  .error404__code {
    font-size: 68px;
  }
  .error404__title {
    font-size: 22px;
  }
  .error404__text {
    font-size: 15px;
    line-height: 1.3;
  }
  .error404__actions {
    margin-top: 16px;
    flex-direction: column;
    gap: 8px;
  }
  .error404__btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    font-size: 15px;
  }
}
