.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - var(--header-h));
  padding: 56px 0 40px;
  background: #06101d url("../images/main_page/hero_section.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 10, 18, 0.78) 0%,
    rgba(5, 10, 18, 0.42) 52%,
    rgba(5, 10, 18, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 280px);

  align-items: start;
  padding-left: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  margin-top: 0px !important;}
.support-icon{
  background-color: var(--color-hero-card);
  padding:4px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.support-icon img {
  width: 26px;
  height: 26px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--color-accent);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 24px;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.stat img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  margin-top: 4px;
}

.stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.hero-card {
  margin-top: 72px;
  padding: 28px 26px;
  border-radius: 24px;
 
  border: 1px solid #007EF3;

  -webkit-box-shadow: 0px 0px 20px 3px rgba(0,126,243,0.25); 
  box-shadow: 0px 0px 20px 3px rgba(0,126,243,0.25);
  position: absolute;
  right: 140px;
  top: -120px;
}

.hero-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.hero-card-list li {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #828282;
}

.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 99px;
  background: transparent;
}

.hero-card-list li.is-active::before {
  background: var(--color-accent);
}

#about,
#reasons,
#contacts,
#hero {
  scroll-margin-top: var(--header-h);
}
.container hero-inner{

}
.about {
  background: var(--color-bg);
}

.about-text {
  max-width: 980px;
}

.about-text a {
  color: var(--color-accent);
  font-weight: 700;
}

.reasons {
  background: var(--color-bg);
  padding-top: 20px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.reason-card h3 {
  margin: 22px 0 12px;
  font-size: 22px;
}

.reason-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.reason-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 22px;
}

.contacts {
  position: relative;
  color: #fff;
  background: #050910 url("../images/main_page/footer_section.png") center/cover no-repeat;
}

.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.82), rgba(5, 9, 16, 0.7));
}

.contacts .container {
  position: relative;
  z-index: 1;
}

.contacts-head {
  text-align: center;
  margin-bottom: 42px;
}

.contacts-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.contacts-kicker::before,
.contacts-kicker::after {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--color-accent);
}

.contacts .section-title {
  color: #fff;
}

.contacts .section-text {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.map {
  width: 100%;
  min-height: 360px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: #dbe7f5;
}

.map iframe,
.map ymaps {
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-info {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contacts-info img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.contacts-list {
  display: grid;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contacts-list a:hover {
  color: var(--color-accent);
}

.site-footer {
  background: #111111;
  border-top: 1px solid var(--color-line);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contacts span,
.footer-bottom p {
  margin: 0;
  color: var(--color-muted);
}

.footer-nav,
.footer-contacts {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contacts a {
  font-weight: 600;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

/* Модалка поддержки */

.modal-backdrop.show {
  opacity: 1;
  background: rgba(5, 8, 14, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal.fade .modal-dialog {
  transform: translateY(18px) scale(0.98);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.show .modal-dialog {
  transform: none;
}

.support-modal {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(59, 157, 255, 0.16), transparent 60%),
    radial-gradient(400px 240px at 100% 100%, rgba(124, 92, 255, 0.14), transparent 60%),
    #141923;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.support-modal .modal-header {
  padding: 26px 28px 0;
  border: 0;
  align-items: flex-start;
}

.support-modal .modal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.support-modal .btn-close {
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: rgba(255, 255, 255, 0.065);
  background-size: 14px;
  opacity: 1;
  transition: background-color 0.25s, transform 0.25s;
}

.support-modal .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.support-modal .modal-body {
  padding: 8px 28px 4px;
}

.support-lead {
  color: rgba(236, 241, 250, 0.66);
  margin-bottom: 22px;
}

.support-modal .form-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(236, 241, 250, 0.66);
  margin-bottom: 7px;
}

.support-modal .form-control {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.support-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.support-modal .form-control:focus {
  background: rgba(59, 157, 255, 0.06);
  border-color: rgba(59, 157, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 157, 255, 0.16);
  color: #fff;
}

.support-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #8ff0c8;
  font-size: 14px;
  font-weight: 600;
}

.support-status.is-error {
  background: rgba(255, 120, 140, 0.1);
  border-color: rgba(255, 120, 140, 0.3);
  color: #ff9fb0;
}

.support-modal .modal-footer {
  padding: 18px 28px 26px;
  border: 0;
  gap: 10px;
}

.support-modal .modal-footer .btn {
  margin: 0;
  border-radius: 14px;
  min-height: 50px;
}

.support-modal .btn-primary {
  background: linear-gradient(135deg, #3b9dff 0%, #7c5cff 100%);
  border: 0;
  box-shadow: 0 14px 30px -14px rgba(59, 157, 255, 0.9);
}

.support-modal .btn-primary:hover {
  background: linear-gradient(135deg, #3b9dff 0%, #7c5cff 100%);
  box-shadow: 0 18px 36px -14px rgba(59, 157, 255, 1);
}

.support-modal .btn-ghost {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.09);
}

@media (max-width: 980px) {
  .hero-inner,
  .contacts-grid,
  .reasons-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 0;
    max-width: 320px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 48px 0 36px;
  }

  .hero-eyebrow::after {
    display: none;
  }

  .hero-title {
    font-size: 38px;
  }

  .map {
    min-height: 280px;
    height: 280px;
  }

  .contacts-list {
    font-size: 18px;
  }
}
