:root {
  --color-primary: #3c4a97;
  --color-primary-dark: #162264;
  --color-bg-light: #f4f6ff;
  --color-whatsapp: #25d366;
  --color-accent: #f9bc02;
  --color-text: #2e2e2e;
  --color-text-muted: #565656;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  color: var(--color-text);
  background: #ffffff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #eceffb;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary-dark);
}
.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 600;
}
.icon-link {
  display: inline-flex;
  color: var(--color-whatsapp);
}
.icon-link--telegram {
  color: #29a9eb;
}

/* Hero */
.hero {
  background: var(--color-bg-light);
  padding: 48px 0;
  text-align: center;
}
.hero h1 {
  color: var(--color-primary-dark);
  font-size: 30px;
  margin: 0 0 12px;
}
.hero p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin: 0;
}

/* Operator sections */
.operator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid #eceffb;
  text-align: center;
}
.operator__col {
  flex: 1;
  min-width: 240px;
}
.operator__head h2 {
  color: var(--color-primary-dark);
  margin: 0 0 8px;
}
.operator__hint {
  color: var(--color-text-muted);
  margin: 0 0 20px;
  font-size: 15px;
}
.operator__photo {
  flex-shrink: 0;
}
.operator__photo img {
  max-width: 440px;
  max-height: 340px;
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
.operator__photo img:hover {
  opacity: 0.9;
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--color-primary-dark);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}
.btn-pay:hover { opacity: 0.85; }
.btn-pay__icon { flex-shrink: 0; }

/* How it works */
.how {
  padding: 40px 0 56px;
}
.how h2 {
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 28px;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.how__step {
  background: var(--color-bg-light);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.how__step p { margin: 0; color: var(--color-text-muted); font-size: 14px; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.badge--kaspi { background: var(--color-accent); color: #2e2e2e; }
.badge--halyk { background: var(--color-primary); }

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: #f4f6ff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* Floating WhatsApp button */
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 20;
}

/* Photo lightbox */
.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  z-index: 50;
}
.photo-modal.active {
  display: flex;
}
.photo-modal img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 24px; }
  .operator { flex-direction: column; }
}
