.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%),
    url(/images/decorative/decor_1.webp);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: particle-drift 12s ease-in-out infinite alternate;
}

@keyframes particle-drift {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px 56px;
  width: 100%;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: #F8FAFC;
  margin-bottom: 12px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-style: normal;
  color: #CBD5E1;
  max-width: 560px;
  line-height: 1.6;
}

.offers-section {
  position: relative;
  padding: 64px 20px;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)), url(/images/offers_bg/offers_bg.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

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

.offers-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 32px;
  text-align: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(249, 115, 22, 0.4), rgba(22, 163, 74, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.offer-card:hover::before { opacity: 1; }

.offer-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 0;
}

.offer-logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px;
}

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

.offer-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #F8FAFC;
}

.offer-card-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-bonus {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: #CBD5E1;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms {
  font-size: 0.72rem;
  font-style: normal;
  color: #64748B;
}

.offer-desc {
  font-size: 0.78rem;
  font-style: normal;
  color: #64748B;
  line-height: 1.5;
}

.offer-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--primary);
  color: #F8FAFC;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.offer-cta:hover {
  background: #1D4ED8;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
  color: #F8FAFC;
}

.info-section {
  padding: 64px 20px;
  position: relative;
  overflow: hidden;
}

.info-section:nth-child(odd) { background: var(--bg); }
.info-section:nth-child(even) { background: var(--surface); }

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

.info-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.info-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--text);
  margin-bottom: 16px;
}

.info-text {
  font-size: 0.92rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}

.deco-wrap {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.deco-wrap img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.info-1-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.info-2-layout {
  text-align: center;
}

.info-2-layout .info-title,
.info-2-layout .info-text { margin-left: auto; margin-right: auto; }

.info-2-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.info-2-side {
  padding: 24px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.info-2-side h3 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-2-side p {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}

.info-3-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.info-3-timeline {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 800px;
  margin-top: 24px;
}

.info-3-step {
  flex: 1;
  padding: 20px 16px;
  border-top: 3px solid var(--accent);
  background: rgba(249, 115, 22, 0.06);
  text-align: left;
}

.info-3-step:not(:last-child) { border-right: 1px solid var(--border); }

.info-3-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.info-4-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.info-4-panel {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(22, 163, 74, 0.12);
}

.info-4-panel dl { display: grid; gap: 16px; }

.info-4-panel dt {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary);
  font-style: italic;
}

.info-4-panel dd {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
  margin: 0;
  padding-left: 0;
}

.info-5-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.info-5-accent-bar {
  width: 4px;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.info-5-content { padding-left: 0; }

.info-6-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-6-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.info-6-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.info-6-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-6-card p {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
}

.info-7-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.info-7-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin: 0;
  max-width: 400px;
}

.info-8-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-8-block {
  padding: 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.info-8-block:nth-child(1) { background: rgba(37, 99, 235, 0.08); }
.info-8-block:nth-child(2) { background: rgba(22, 163, 74, 0.08); }

.info-8-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.info-8-block p {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
}

.info-9-layout {
  position: relative;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: 16px;
}

.info-9-layout::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.info-9-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.info-9-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.info-9-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.info-9-item span {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--muted);
}

.info-10-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.info-10-helpline {
  margin-top: 20px;
  padding: 20px 24px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  display: inline-block;
}

.info-10-helpline strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.info-10-helpline p {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero { min-height: 40vh; }
  .hero-inner { text-align: center; }
  .hero-subtitle { margin: 0 auto; }
  .info-1-layout,
  .info-4-layout,
  .info-5-layout,
  .info-7-layout,
  .info-10-layout { grid-template-columns: 1fr; }
  .info-2-columns { grid-template-columns: 1fr; }
  .info-3-timeline { flex-direction: column; }
  .info-3-step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
  .info-6-layout { grid-template-columns: 1fr; }
  .info-8-layout { grid-template-columns: 1fr; }
  .info-9-grid { grid-template-columns: repeat(2, 1fr); }
  .deco-wrap { margin: 0 auto; max-width: 100%; }
  .offers-section { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .info-9-grid { grid-template-columns: 1fr; }
  .offer-logo {
    width: 64px;
    height: 64px;
  }
  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

@media (max-width: 375px) {
  .deco-wrap {
    max-width: 100%;
    max-height: 220px;
  }
  .deco-wrap img {
    width: 100%;
    max-width: 100%;
    max-height: 220px;
    height: auto;
    object-fit: cover;
  }
  .offer-bonus {
    font-size: 0.85rem;
  }
}
