/* Страница «Корпоративам» (/korporativ/). Основа — style.css,
   здесь только то, чего нет на детском лендинге. */

.hero--corp {
  min-height: auto;
  padding: 3rem 0 3.5rem;
}

.hero--corp .hero__bg img { object-position: 30% 50%; }

@media (min-width: 980px) {
  .hero--corp { padding: 4.5rem 0 4.5rem; }
}

.badge__dot--soon {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

/* Макет ТВ: табло команд между раундами */
.board {
  position: relative;
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: linear-gradient(160deg, #1b1430 0%, #0d0a18 100%);
  color: #f4f1ff;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  border: 10px solid #15111f;
}

.board__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 255, 0.6);
}

.board__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #fff;
}

.board__rows { display: flex; flex-direction: column; gap: 0.55rem; }

.board__row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.board__place {
  font-family: var(--font-display);
  color: rgba(244, 241, 255, 0.55);
  font-size: 0.9rem;
}

.board__bar {
  position: relative;
  height: 2.3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.board__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: 10px;
  background: var(--c, var(--purple));
}

.board__name {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 0.8rem;
  font-size: 0.92rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.board__score {
  font-family: var(--font-display);
  font-size: 1.05rem;
  min-width: 2.6rem;
  text-align: right;
}

.board__foot {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(244, 241, 255, 0.65);
}

.board-wrap { position: relative; }

.board-phone {
  position: absolute;
  right: -0.5rem;
  bottom: -2.5rem;
  width: 150px;
  padding: 0.9rem 0.7rem;
  border-radius: 24px;
  background: #fff;
  border: 6px solid #15111f;
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  color: var(--ink);
}

.board-phone__team {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.15);
  color: #0e7490;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.board-phone__q { font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; }

.board-phone__opt {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 0.3rem;
}

.board-phone__opt.is-picked {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  font-weight: 700;
}

@media (max-width: 600px) {
  .board-phone { display: none; }
}

/* Карточки: способы деления на команды, раунды, кому подходит */
.cards {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 760px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 760px) and (max-width: 999px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.card__icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.card p + p { margin-top: 0.5rem; }

.card__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.card--accent {
  border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.09), var(--bg-card) 55%);
}

/* Темы вопросов — «чипсы» */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 2rem auto 0;
  max-width: 900px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.chips li.is-own {
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
  background: rgba(229, 156, 21, 0.1);
  color: var(--gold-deep);
}

/* Тарифы */
.tiers {
  display: grid;
  gap: 1.1rem;
  align-items: stretch;
}

@media (min-width: 760px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .tiers { grid-template-columns: repeat(4, 1fr); }
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.tier--best {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: linear-gradient(180deg, rgba(229, 156, 21, 0.1) 0%, var(--bg-card) 45%);
  box-shadow: 0 0 0 1px rgba(229, 156, 21, 0.15), 0 24px 60px rgba(31, 24, 48, 0.12);
}

.tier__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.tier__size {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.tier__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.1;
}

.tier__per {
  margin: 0.25rem 0 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.tier ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
}

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

.tier .btn { margin-top: auto; }

.tiers-extra {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
}

@media (min-width: 760px) {
  .tiers-extra { grid-template-columns: repeat(2, 1fr); }
}

.tiers-note {
  margin: 1.5rem auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Форма заявки */
.lead {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .lead { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.lead__copy h2 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
}

.lead__copy p { color: var(--ink-muted); margin: 0 0 0.8rem; }

.lead__perks {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead__perks li { position: relative; padding-left: 1.5rem; }

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

.lead-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (min-width: 560px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .lead-form .is-wide { grid-column: 1 / -1; }
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 24, 48, 0.18);
  background: #fdfcfa;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
}

.lead-form textarea { min-height: 90px; resize: vertical; }

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: transparent;
}

.lead-form__hp { position: absolute; left: -9999px; }

.lead-form__fine {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.lead-form__status {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.lead-form__status.is-ok { color: #15803d; }
.lead-form__status.is-error { color: #c2410c; }

/* Телефон не должен закрывать очки на табло: рядом с табло, а где
   места нет — прячем (табло само по себе объясняет продукт). */
@media (max-width: 1199px) {
  .board-phone { display: none; }
}

@media (min-width: 1200px) {
  .board-wrap { margin-right: 8.5rem; }
  .board-phone { right: -8.5rem; bottom: -2rem; }
}
