*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.header-phone {
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
}

.header-whatsapp {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #edb007;
  color: #edb007;
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 28px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 16px 64px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: #edb007;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 11, 48, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 11, 48, 0.35);
}

.btn-outline {
  border: 2px solid #edb007;
  color: #ffffff;
  background-color: transparent;
  box-shadow: 0 10px 20px rgba(0, 11, 48, 0.25);
}

.btn-outline:hover {
  background-color: #edb007;
  color: #000000;
}

.btn-secondary {
  background-color: #edb007;
  color: #ffffff;
}

.section {
  padding: 80px 0;
}

.section-gray {
  background-color: #f7f7f7;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 40px;
}

.section-title .accent {
  color: #edb007;
}

.grid {
  display: grid;
  gap: 24px;
}

.advantages-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.packages-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 32px;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-icon {
  text-align: left;
  padding: 24px 20px;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.card-icon__img {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.card-icon h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-icon p {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.package-card {
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.package-card__image {
  padding-top: 70%;
  background-size: cover;
  background-position: center;
}

.package-card__body {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.package-card__body h3 {
  margin: 0;
  font-size: 18px;
}

.installment {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.installment__text {
  flex: 1 1 260px;
}

.installment__logos {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 0 0 auto;
}

.installment__logos img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.step {
  padding: 24px 20px;
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.step__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.narrow {
  max-width: 780px;
}

.text-block p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333333;
}

.accordion {
  border-top: 1px solid #e2e2e2;
}

.accordion-item {
  border-bottom: 1px solid #e2e2e2;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}

.accordion-icon {
  font-weight: 600;
  font-size: 18px;
  margin-left: 16px;
}

.accordion-header.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding-bottom: 12px;
  font-size: 14px;
  color: #555555;
}

.accordion-body.is-open {
  display: block;
}

.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-info h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.footer-info p {
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #aaaaaa;
}

@media (max-width: 960px) {
  .header-inner {
    padding: 10px 12px;
  }

  .nav-list {
    position: absolute;
    top: 56px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.98);
    padding: 12px 16px;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .header-contacts {
    display: none;
  }

  .hero-content {
    text-align: left;
    padding-top: 96px;
  }

  .installment {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}


