/* Base & Variables */
:root {
  --bg-main: #FFFBEB;
  --bg-surface: #FFFFFF;
  --bg-soft: #FEF3C7;
  --text-main: #1C1917;
  --text-muted: #57534E;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --border: #E7E5E4;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 4px 14px rgba(28, 25, 23, 0.05);
  --shadow-lg: 0 18px 40px rgba(234, 88, 12, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero-section {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: #9A3412;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.pill-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accent-text {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Digital Loyalty Card */
.loyalty-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF7ED 100%);
  border: 2px solid #FDBA74;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.card-status {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-balance-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.balance-caption {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.balance-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.balance-value span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.balance-note {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-holder span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-holder strong {
  font-size: 0.98rem;
  color: var(--text-main);
}

.qr-box {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-light {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-accent {
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
  border-top: 1px solid #FDE68A;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Cards Grid */
.cards-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.orange-bg {
  background: #FFEDD5;
  color: var(--accent);
}

.green-bg {
  background: var(--green-soft);
  color: var(--green);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 1rem;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  font-size: 0.96rem;
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #FFEDD5;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Activation Form */
.activate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.activate-info h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
}

.activate-info > p {
  margin: 0 0 24px;
  font-size: 1.06rem;
  color: var(--text-muted);
}

.perks-box {
  display: grid;
  gap: 14px;
}

.perk-row {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.perk-row strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.perk-row span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-card h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
}

.form-sub {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #FAFAF9;
  color: var(--text-main);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 16px 0 20px;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

.form-error {
  background: #FEE2E2;
  color: #B91C1C;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 12px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}

.cabinet-preview {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
  text-align: left;
  display: grid;
  gap: 10px;
}

.cab-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
}

.success-note {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.faq-wrap {
  max-width: 800px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  background: #1C1917;
  color: #D6D3D1;
  padding: 44px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #292524;
}

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0 0 12px;
  max-width: 460px;
  font-size: 0.92rem;
  color: #A8A29E;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: #D6D3D1;
}

.footer-contacts a {
  color: #FDBA74;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #D6D3D1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-copy {
  padding-top: 20px;
  font-size: 0.85rem;
  color: #78716C;
}

/* Mobile Responsive */
@media (max-width: 860px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .cards-grid.two-cols,
  .steps-grid,
  .activate-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 32px 0 48px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
