/* ============ KORXONALAR UCHUN (korporativ chegirma) ============ */
.corp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 36px auto 0;
}

.corp-tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 22px;
  padding: 26px 22px 22px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.corp-tier.is-active {
  border: 2px solid #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.corp-tier--best::after {
  content: "ENG FOYDALI";
  position: absolute;
  top: -11px;
  right: 18px;
  background: #000;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}

.corp-tier__people {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

.corp-tier__discount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  margin: 4px 0 14px;
}

.corp-tier__rows {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px dashed #e5e7eb;
  display: grid;
  gap: 8px;
}

.corp-tier__rows li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #4b5563;
}

.corp-tier__rows strong {
  color: #111827;
  white-space: nowrap;
}

.corp-note {
  max-width: 980px;
  margin: 14px auto 0;
  font-size: 0.84rem;
  color: #6b7280;
}

/* Kalkulyator + forma */
.corp-calc {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  max-width: 980px;
  margin: 32px auto 0;
  text-align: left;
}

.corp-card {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 24px;
  padding: 30px 26px;
}

.corp-card--dark {
  background: #0b0b0c;
  color: #fff;
  border-color: #0b0b0c;
}

.corp-card h3 {
  font-size: 1.2rem;
  font-weight: 750;
  margin: 0 0 4px;
}

.corp-card__sub {
  font-size: 0.86rem;
  color: #6b7280;
  margin: 0 0 22px;
}

.corp-field {
  margin-bottom: 20px;
}

.corp-field__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.corp-field__head label {
  font-weight: 650;
  font-size: 0.95rem;
  color: #111827;
}

.corp-field__head small {
  color: #6b7280;
  font-size: 0.8rem;
}

.corp-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.corp-stepper button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  flex-shrink: 0;
}

.corp-stepper button:hover {
  background: #f3f4f6;
}

.corp-stepper input[type="number"] {
  width: 90px;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  -moz-appearance: textfield;
}

.corp-stepper input[type="number"]::-webkit-inner-spin-button,
.corp-stepper input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.corp-stepper input[type="range"] {
  flex: 1;
  accent-color: #000;
  min-width: 0;
}

.corp-card:not(.corp-card--dark) {
  display: flex;
  flex-direction: column;
}

.corp-steps {
  margin: auto 0 0;
  padding: 22px 0 0 18px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: #6b7280;
  line-height: 1.4;
}

.corp-steps strong {
  color: #111827;
}

.corp-hint {
  padding: 12px 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #1e40af;
  line-height: 1.45;
}

.corp-hint.is-max {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* Natija (qora karta) */
.corp-badge {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.corp-badge.is-none {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.corp-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.corp-lines li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.corp-lines span:last-child {
  color: #fff;
  white-space: nowrap;
}

.corp-total {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.corp-total__old {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  min-height: 1.2em;
}

.corp-total__new {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
}

.corp-total__save {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #86efac;
  font-weight: 600;
  min-height: 1.2em;
}

.corp-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.corp-form input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.corp-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.corp-form input:focus {
  outline: none;
  border-color: #fff;
}

.corp-form button {
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-weight: 750;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}

.corp-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.corp-form__msg {
  font-size: 0.86rem;
  min-height: 1.2em;
  margin: 0;
}

.corp-form__msg.is-ok {
  color: #86efac;
}

.corp-form__msg.is-err {
  color: #fca5a5;
}

.corp-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 24px auto 0;
  text-align: left;
}

.corp-perk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.4;
}

.corp-perk i {
  color: #111827;
  margin-top: 3px;
}

.corp-perk strong {
  display: block;
  color: #111827;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .corp-tiers,
  .corp-calc {
    grid-template-columns: 1fr;
  }

  .corp-perks {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .corp-card {
    padding: 24px 18px;
  }

  .corp-perks {
    grid-template-columns: 1fr;
  }

  .corp-stepper input[type="range"] {
    display: none;
  }

  .corp-stepper input[type="number"] {
    flex: 1;
    width: auto;
  }

  .corp-total__new {
    font-size: 1.8rem;
  }
}
