.hero {
  width: 100%;
  background: var(--primary);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(163, 230, 53, 0.25), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(244, 114, 182, 0.2), transparent 35%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-half-light {
  color: #ffffff;
}

.hero-half-accent {
  color: var(--accent);
}

.hero-sub {
  color: rgba(2, 6, 23, 0.72);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.offers-section {
  padding: 56px 24px 64px;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.82), rgba(2, 15, 47, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.offers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.offers-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.offers-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.offer-card {
  background: #1A1035;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  border-radius: 12px;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.45);
}

.offer-logo-wrap {
  width: 160px;
  height: 80px;
  background: #0D0818;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.offer-logo-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #E5E7EB;
}

.offer-bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.offer-bonus {
  font-size: 14px;
  font-weight: 600;
  color: #FFD700;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.offer-terms {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.7);
}

.offer-desc {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.65);
  line-height: 1.4;
}

.offer-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: #22C55E;
  color: #0B0614;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.offer-cta:hover {
  background: #A78BFA;
  text-decoration: none;
  color: #0B0614;
}

.info-section {
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.info-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--eco-glow);
  opacity: 0.35;
  pointer-events: none;
  filter: blur(40px);
}

.info-section:nth-child(odd)::after {
  top: -40px;
  right: -60px;
}

.info-section:nth-child(even)::after {
  bottom: -50px;
  left: -40px;
  background: var(--nature-mist);
}

.info-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.info-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 14px;
}

.info-section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.info-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.info-cta:hover {
  background: var(--secondary);
  color: var(--bg);
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.4);
}

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

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

.layout-stack h2 {
  text-align: center;
}

.layout-stack .stack-body {
  max-width: 720px;
  margin: 0 auto;
}

.layout-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.feature-cards {
  display: grid;
  gap: 12px;
}

.feature-card {
  padding: 14px 16px;
  background: rgba(2, 15, 47, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.25);
}

.feature-card strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

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

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

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
}

.layout-timeline .timeline {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.layout-band {
  background: linear-gradient(105deg, rgba(163, 230, 53, 0.1), transparent 55%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

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

.mosaic-text {
  grid-column: 1 / -1;
}

.mosaic-tile {
  min-height: 100px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.mosaic-tile strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

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

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

.aside-rail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.aside-rail h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.aside-rail ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.aside-rail li {
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 14px;
  border-left: 2px solid var(--secondary);
}

.layout-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.layout-center .decor-clip {
  display: inline-block;
  margin: 20px 0;
}

.layout-zebra {
  display: grid;
  gap: 18px;
}

.zebra-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(2, 15, 47, 0.55);
  border: 1px solid var(--border);
}

.zebra-row:nth-child(even) {
  background: rgba(56, 189, 248, 0.06);
}

.zebra-label {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.9rem;
}

.zebra-body {
  color: var(--muted);
  font-size: 0.95rem;
}

.layout-pull {
  position: relative;
  padding: 32px 28px;
  border-left: 4px solid var(--accent);
  background: rgba(244, 114, 182, 0.06);
  border-radius: 0 16px 16px 0;
}

.layout-pull .pull-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 16px;
}

.bg-decor-1 {
  background-image:
    linear-gradient(135deg, rgba(2, 15, 47, 0.92), rgba(2, 6, 23, 0.88)),
    url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
}

.bg-decor-2 {
  position: relative;
}

.bg-decor-2 .decor-side {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  background-image: url("/images/decorative/decor_2.webp");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.4);
}

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

@keyframes nature {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@keyframes green {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.04);
  }
}

@keyframes sustainable {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

@keyframes organic {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

.info-section .info-wrap {
  animation: eco 0.7s ease both, sustainable 0.9s ease both;
}

.organic-divider {
  animation: nature 6s ease-in-out infinite, organic 8s ease-in-out infinite;
}

.hero {
  animation: green 10s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 20px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

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

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

  .zebra-row {
    grid-template-columns: 1fr;
  }

  .quote-mark {
    font-size: 3rem;
  }

  .offers-section {
    padding: 40px 16px 48px;
  }

  .offer-logo-wrap {
    width: 140px;
    height: 70px;
  }

  .offer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .info-section {
    padding: 40px 16px;
    overflow-x: hidden;
  }

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

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

  .bg-decor-2 .decor-side {
    max-width: 100%;
    min-height: 160px;
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .offer-logo-wrap {
    width: 120px;
    height: 60px;
  }

  .offer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 11px;
  }
}
