* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f4f5f7;
  color: #1f2937;
  line-height: 1.55;
  font-size: 15px;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Хедер */
header {
  background: #1e293b;
  color: #fff;
  padding: 36px 0 32px;
  border-bottom: 3px solid #c9a227;
}
header h1 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
header p { margin: 0; color: #cbd5e1; font-size: .95rem; }

/* Блок Апельсинка — ЗОЛОТОЙ */
.orange-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border: 1px solid #d4af37;
  border-left: 5px solid #c9a227;
  padding: 28px;
  margin: 32px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(201,162,39,.15), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
}
.orange-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  animation: goldShine 6s infinite;
  pointer-events: none;
}
@keyframes goldShine {
  0% { transform: translate(-30%, -30%) rotate(0deg); }
  100% { transform: translate(30%, 30%) rotate(0deg); }
}
.orange-card .info { flex: 1 1 340px; position: relative; z-index: 1; }
.orange-card .visual {
  flex: 0 0 200px;
  height: 130px;
  background: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(120,80,0,.5);
  border: 1px solid #b8860b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 12px rgba(201,162,39,.35);
  position: relative;
  z-index: 1;
}
.orange-card h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: #78550a;
  font-weight: 700;
  letter-spacing: -.01em;
}
.orange-card ul { margin: 0 0 18px; padding-left: 20px; color: #5a4208; }
.orange-card ul li { margin-bottom: 6px; font-size: .95rem; }
.orange-card ul li::marker { color: #c9a227; }
.bonus {
  display: inline-block;
  background: linear-gradient(135deg, #c9a227, #f4d03f);
  color: #fff;
  font-weight: 700;
  padding: 9px 16px;
  margin-bottom: 18px;
  font-size: .88rem;
  border: 1px solid #b8860b;
  text-shadow: 0 1px 2px rgba(120,80,0,.4);
  box-shadow: 0 2px 8px rgba(201,162,39,.3);
  position: relative;
  z-index: 1;
}

/* Кнопки */
.btn {
  display: inline-block;
  background: #1e293b;
  color: #fff;
  font-weight: 500;
  padding: 12px 28px;
  text-decoration: none;
  font-size: .93rem;
  border: 1px solid #1e293b;
  transition: background .15s, border-color .15s;
  cursor: pointer;
  letter-spacing: .01em;
  position: relative;
  z-index: 1;
}
.btn:hover { background: #c9a227; border-color: #c9a227; }

/* Золотая кнопка для блока Апельсинка */
.orange-card .btn {
  background: linear-gradient(135deg, #b8860b 0%, #c9a227 50%, #b8860b 100%);
  border-color: #8b6508;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(120,80,0,.4);
  box-shadow: 0 3px 10px rgba(201,162,39,.4);
}
.orange-card .btn:hover {
  background: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
  border-color: #8b6508;
}

/* Секции */
section { margin: 44px 0; }
section h2 {
  font-size: 1.3rem;
  margin: 0 0 6px;
  color: #1e293b;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
section .subtitle { color: #64748b; margin: 10px 0 20px; font-size: .9rem; }

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.offer-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .15s, box-shadow .15s;
}
.offer-card:hover { border-color: #cbd5e1; box-shadow: 0 2px 12px rgba(30,41,59,.08); }
.offer-card .name { font-weight: 600; font-size: 1.08rem; margin-bottom: 8px; color: #1e293b; }
.offer-card .desc { color: #475569; font-size: .9rem; margin-bottom: 14px; }

.offer-card .params {
  font-size: .85rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.offer-card .params b { color: #1e293b; font-weight: 600; }

.offer-card .actions { display: flex; gap: 8px; }
.offer-card .actions .btn { flex: 1; text-align: center; padding: 10px 16px; font-size: .88rem; }
.offer-card .actions .btn-detail {
  background: #fff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  flex: 0 0 auto;
  padding: 10px 14px;
}
.offer-card .actions .btn-detail:hover { background: #f1f5f9; border-color: #94a3b8; color: #1e293b; }

.badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid #e2e8f0;
}
.badge.hot { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.badge.free { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

/* Золотая карточка (первая в секции) */
.offer-card.gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  border: 1px solid #d4af37;
  border-top: 4px solid #c9a227;
  box-shadow: 0 4px 20px rgba(201,162,39,.18), inset 0 1px 0 rgba(255,255,255,.6);
  position: relative;
  overflow: hidden;
}
.offer-card.gold::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  animation: goldShine 6s infinite;
  pointer-events: none;
}
.offer-card.gold .name { color: #78550a; }
.offer-card.gold .desc { color: #5a4208; }
.offer-card.gold .params {
  background: rgba(255,255,255,.55);
  border-color: #e6cf7a;
  color: #5a4208;
}
.offer-card.gold .params b { color: #78550a; }
.offer-card.gold .actions .btn {
  background: linear-gradient(135deg, #b8860b 0%, #c9a227 50%, #b8860b 100%);
  border-color: #8b6508;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(120,80,0,.4);
  box-shadow: 0 3px 10px rgba(201,162,39,.4);
}
.offer-card.gold .actions .btn:hover {
  background: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
  border-color: #8b6508;
}
.offer-card.gold .actions .btn-detail {
  background: rgba(255,255,255,.85);
  color: #78550a;
  border: 1px solid #d4af37;
  box-shadow: none;
  text-shadow: none;
}
.offer-card.gold .actions .btn-detail:hover {
  background: #fff;
  border-color: #b8860b;
  color: #78550a;
}
.offer-card.gold .badge {
  background: linear-gradient(135deg, #c9a227, #f4d03f);
  color: #fff;
  border-color: #b8860b;
  text-shadow: 0 1px 2px rgba(120,80,0,.3);
}

/* Панель сортировки */
.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.sort-label {
  color: #64748b;
  font-size: .85rem;
  font-weight: 600;
  margin-right: 4px;
}
.sort-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.sort-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.sort-btn.active {
  background: #1e293b;
  color: #fff;
  border-color: #1e293b;
}

/* FAQ */
.faq { background: #fff; border: 1px solid #e2e8f0; padding: 32px 28px; }
.faq h2 { margin-top: 0; }
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  margin: 0 0 8px;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item h3::after { content: '+'; font-size: 1.2rem; color: #64748b; font-weight: 400; }
.faq-item.open h3::after { content: '−'; }
.faq-item p { margin: 0; color: #475569; font-size: .9rem; display: none; }
.faq-item.open p { display: block; }

/* Уведомления */
.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}
.toast {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #c9a227;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(30,41,59,.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn .35s ease;
  font-size: .88rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.toast:hover { border-left-color: #b8860b; box-shadow: 0 6px 20px rgba(30,41,59,.18); }
.toast .icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78550a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid #d4af37;
}
.toast .text b { display: block; font-size: .88rem; color: #1e293b; font-weight: 600; }
.toast .text span { color: #64748b; font-size: .8rem; }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(120%); }
}

/* Модальное окно */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 30px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(15,23,42,.3);
  animation: popIn .2s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes popIn {
  from { transform: scale(.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal h3 { margin: 0 0 18px; font-size: 1.25rem; color: #1e293b; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #94a3b8;
  line-height: 1;
}
.modal-close:hover { color: #1e293b; }
.modal-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .92rem;
}
.modal-row span { color: #64748b; }
.modal-row b { color: #1e293b; font-weight: 600; }
.modal-desc { color: #475569; font-size: .9rem; margin: 18px 0; }
.modal .btn { width: 100%; text-align: center; }

footer {
  text-align: center;
  padding: 32px 16px 44px;
  color: #94a3b8;
  font-size: .82rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
}
footer p { margin: 4px 0; }

@media (max-width: 600px) {
  header h1 { font-size: 1.3rem; }
  .orange-card { flex-direction: column-reverse; text-align: center; }
  .orange-card ul { text-align: left; display: inline-block; }
  .orange-card .visual { width: 100%; }
}