.hero {
  position: relative;
  height: 60vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--bg);
  background-image: url("/images/decorative/decor_1.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 6, 10, 0.7) 0%,
    rgba(5, 6, 10, 0.35) 45%,
    transparent 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 48px;
  animation: hero-rise 0.9s ease-out both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(5, 6, 10, 0.6);
}

.hero .subtitle {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: rgba(237, 233, 254, 0.9);
  max-width: 520px;
  line-height: 1.55;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(5, 6, 10, 0.88) 0%, rgba(14, 16, 32, 0.9) 100%),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.12), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(244, 114, 182, 0.1), transparent 40%);
  pointer-events: none;
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}

.offers-inner > h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.offers-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.info-block {
  position: relative;
  padding: 56px 0;
}

.info-block + .info-block {
  border-top: 1px solid var(--border);
}

.info-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.5;
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.info-block h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.info-block p {
  font-family: var(--font-sans);
  margin-bottom: 14px;
  max-width: 70ch;
  color: rgba(237, 233, 254, 0.9);
}

.info-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}

.bg-panel-a {
  background: linear-gradient(180deg, rgba(14, 16, 32, 0.65), transparent);
}

.bg-panel-b {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(34, 211, 238, 0.06), transparent 50%),
    linear-gradient(180deg, transparent, rgba(14, 16, 32, 0.4));
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.layout-checklist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.layout-checklist li {
  font-family: var(--font-sans);
  position: relative;
  padding: 8px 0 8px 28px;
  color: rgba(237, 233, 254, 0.9);
  border-bottom: 1px solid var(--border);
}

.layout-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--secondary);
  background: rgba(163, 230, 53, 0.15);
}

.layout-steps {
  margin: 0 0 16px 1.2rem;
  font-family: var(--font-sans);
}

.layout-steps li {
  margin-bottom: 10px;
  color: rgba(237, 233, 254, 0.9);
}

.layout-band {
  border: 1px solid var(--border);
  padding: 24px;
  background: rgba(14, 16, 32, 0.55);
  position: relative;
}

.layout-band::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(237, 233, 254, 0.06);
  pointer-events: none;
}

.layout-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.stat-chip {
  flex: 1 1 140px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.5);
  font-family: var(--font-sans);
}

.stat-chip strong {
  display: block;
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-chip span {
  font-size: 0.85rem;
  color: var(--muted);
}

.layout-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 18px;
  max-width: 56ch;
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mosaic-panel {
  padding: 8px 0;
}

.layout-rail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}

.rail-mark {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  background: rgba(163, 230, 53, 0.08);
}

.layout-zigzag {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.zig-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: rgba(14, 16, 32, 0.45);
  font-family: var(--font-sans);
  animation: fade-in-soft 0.7s ease both;
}

.zig-item:nth-child(2) {
  margin-left: 24px;
  animation-delay: 0.1s;
}

.zig-item:nth-child(3) {
  margin-left: 48px;
  animation-delay: 0.2s;
}

@keyframes fade-in-soft {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.layout-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.layout-table th,
.layout-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.layout-table th {
  background: rgba(34, 211, 238, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.layout-table td {
  color: rgba(237, 233, 254, 0.88);
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.mini-card {
  padding: 18px;
  border: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.45);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mini-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.mini-card p {
  font-size: 0.88rem;
  margin: 0;
}

.decor-wrap {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(237, 233, 254, 0.04);
  position: relative;
}

.decor-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(5, 6, 10, 0.35);
  pointer-events: none;
}

.decor-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  display: block;
  object-fit: cover;
}

.layout-clauses .clause {
  font-family: var(--font-sans);
  margin-bottom: 14px;
  padding-left: 1.6rem;
  position: relative;
}

.layout-clauses .clause::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-serif);
}

@media (max-width: 800px) {
  .hero {
    height: 40vh;
    min-height: 260px;
    align-items: center;
  }

  .hero-inner {
    text-align: center;
    padding: 28px 20px;
  }

  .hero .subtitle {
    margin: 0 auto;
  }

  .layout-split,
  .layout-mosaic,
  .layout-cards {
    grid-template-columns: 1fr;
  }

  .layout-rail {
    grid-template-columns: 1fr;
  }

  .zig-item:nth-child(2),
  .zig-item:nth-child(3) {
    margin-left: 0;
  }

  .decor-wrap {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
  }
}

@media (max-width: 375px) {
  .section-wrap {
    padding: 0 16px;
  }

  .decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    height: auto;
  }

  .hero {
    min-height: 220px;
  }
}
