/*
Theme Name: King Pong Club
Theme URI: https://kingpong.by
Author: web-seo.by
Description: Тема для клуба настольного тенниса King Pong Club, Минск
Version: 1.1.0
Text Domain: kingpong
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --red:        #D32F2F;
  --red-dark:   #B71C1C;
  --red-light:  #EF5350;
  --red-pale:   #FFEBEE;

  --black:      #111111;
  --text:       #1A1A1A;
  --text-muted: #666666;
  --border:     #E0E0E0;
  --bg:         #FFFFFF;
  --bg-gray:    #F7F7F7;
  --bg-dark:    #1A1A1A;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius:     4px;
  --tr:         0.18s ease;
  --container:  1320px;
  --gap:        clamp(1rem, 2.5vw, 1.75rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
h4 { font-size: 1rem; }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--white { background: var(--bg); }
.section--gray  { background: var(--bg-gray); }
.section--dark  { background: var(--bg-dark); }
.section--red   { background: var(--red); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-header h2 { margin-top: 0.25rem; }
.section-header p  { color: var(--text-muted); margin-top: 0.5rem; max-width: 560px; font-size: 1.05rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--tr);
  line-height: 1;
  text-align: center;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: #fff;
}
.btn--dark {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn--dark:hover { background: #333; border-color: #333; color: #fff; }
.btn--white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--white-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn--lg { padding: 0.95rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}
.badge--red   { background: var(--red); color: #fff; }
.badge--blue  { background: #1565C0; color: #fff; }
.badge--green { background: #2E7D32; color: #fff; }
.badge--gray  { background: var(--border); color: var(--text-muted); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 1rem;
}
.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.site-logo span { color: var(--red); }
.site-logo:hover { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 0.1rem; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: all var(--tr);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.current-menu-item { color: var(--text); background: var(--bg-gray); }
.nav-phone {
  margin-left: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red) !important;
  background: var(--red-pale) !important;
  padding: 0.4rem 0.9rem !important;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-phone:hover { background: var(--red) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.22s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 58px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--red);
    gap: 0.1rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.05rem; padding: 0.65rem 0.75rem; width: 100%; }
  .nav-phone { margin-left: 0; margin-top: 0.5rem; text-align: center; justify-content: center; }
}

/* ============================================================
   HERO — главная страница
   ============================================================ */
.hero {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 520px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}
.hero__info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.hero__info-card .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.hero__info-card .val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.hero__info-card .val a { color: var(--text); }
.hero__info-card .val a:hover { color: var(--red); }
.hero__stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
.hero__stat-num  { font-size: 1.6rem; font-weight: 800; color: var(--red); line-height: 1; }
.hero__stat-lbl  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   PAGE HERO — заголовок внутренних страниц
   ============================================================ */
.page-hero {
  padding-block: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero .label { margin-bottom: 0.2rem; }
.page-hero h1 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.page-hero p  { color: var(--text-muted); margin-top: 0.4rem; max-width: 580px; font-size: 0.95rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.card:hover {
  border-color: var(--red);
  box-shadow: 0 2px 12px rgba(211,47,47,0.1);
}
.card__body { padding: 1.25rem; }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.pain-item {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}
.pain-item__icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pain-item__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.pain-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.schedule-tab {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--tr);
}
.schedule-tab:hover { border-color: var(--red); color: var(--red); }
.schedule-tab.active { background: var(--red); border-color: var(--red); color: #fff; }

.schedule-panel { display: none; }
.schedule-panel.active { display: block; }

.schedule-event {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  background: var(--bg);
  transition: border-color var(--tr);
}
.schedule-event:hover { border-color: var(--red); }

.schedule-event__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.schedule-event__format { font-size: 1rem; font-weight: 700; }
.schedule-event__badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: var(--red); color: #fff;
  border-radius: 2px; text-transform: uppercase; letter-spacing: 0.05em;
}
.schedule-event__badge--ladder { background: #1565C0; }

.schedule-event__details {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 0.5rem; font-size: 0.88rem; color: var(--text-muted);
}
.schedule-event__price { font-size: 0.88rem; color: var(--red); font-weight: 600; margin-top: 0.3rem; }

/* ============================================================
   REGISTRATION BLOCK
   ============================================================ */
.registration-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.registration-block__header {
  background: var(--red);
  padding: 0.9rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.registration-block__title { font-size: 1rem; font-weight: 700; color: #fff; }
.registration-block__date  { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.registration-block__body  { padding: 1.25rem; }

.participants-list { margin-bottom: 1.25rem; }
.participants-list h4 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem;
}
.participants-list__count { font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; }
.participants-list__names { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.participant-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
}

.reg-form { display: flex; flex-direction: column; gap: 0.65rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem;
}
.reg-form input,
.reg-form select,
.reg-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--tr);
}
.reg-form input:focus,
.reg-form select:focus { outline: none; border-color: var(--red); }
.reg-form input::placeholder { color: #bbb; }
.form-notice { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-success {
  background: #E8F5E9; border: 1px solid #A5D6A7;
  padding: 0.85rem 1rem; border-radius: var(--radius);
  color: #2E7D32; font-size: 0.9rem; display: none;
}
.form-error {
  background: #FFEBEE; border: 1px solid #EF9A9A;
  padding: 0.85rem 1rem; border-radius: var(--radius);
  color: var(--red-dark); font-size: 0.9rem; display: none;
}

/* ============================================================
   COACHES
   ============================================================ */
.coach-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.coach-card:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(211,47,47,0.08); }
.coach-card__photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  background: var(--bg-gray); display: flex; align-items: center;
  justify-content: center; font-size: 4rem; color: #ccc;
}
.coach-card__photo.no-photo { aspect-ratio: 3/4; }
.coach-card__body { padding: 1.1rem; }
.coach-card__rank { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 0.2rem; }
.coach-card__name { font-size: 1.15rem; margin-bottom: 0.3rem; }
.coach-card__bio  { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   PRICE
   ============================================================ */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.price-table th { background: var(--bg-gray); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.price-table td:last-child { font-weight: 700; color: var(--red); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: none; }

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--tr);
}
.price-card:hover { border-color: var(--red); }
.price-card__name   { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.price-card__amount { font-size: 1.3rem; font-weight: 800; color: var(--red); margin-bottom: 0.4rem; }
.price-card__note   { font-size: 0.85rem; color: var(--text-muted); }
.price-card__list   { margin-top: 0.85rem; }
.price-card__list li {
  font-size: 0.88rem; color: var(--text-muted);
  padding: 0.3rem 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.4rem;
}
.price-card__list li::before { content: '—'; color: var(--red); font-size: 0.75rem; flex-shrink: 0; }
.price-card__list li:last-child { border-bottom: none; }

/* ============================================================
   TOURNAMENT CARD
   ============================================================ */
.tournament-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.tournament-card:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(211,47,47,0.08); }
.tournament-card__header { background: var(--red); padding: 1rem 1.25rem; }
.tournament-card__series { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 0.2rem; }
.tournament-card__name   { font-size: 1.15rem; font-weight: 700; color: #fff; }
.tournament-card__body   { padding: 1.1rem 1.25rem; }
.tournament-card__meta   { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-item {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--tr);
}
.contact-item:hover { border-color: var(--red); }
.contact-item__icon  { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-item__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item__value { font-size: 1rem; font-weight: 700; color: var(--text); }
.contact-item__value a { color: var(--text); }
.contact-item__value a:hover { color: var(--red); }

/* ============================================================
   HOURS
   ============================================================ */
.hours-list { display: flex; flex-direction: column; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.hours-row:last-child { border-bottom: none; }
.hours-day  { color: var(--text-muted); }
.hours-time { font-weight: 700; color: var(--text); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #ccc; border: 1px solid var(--border); }
.about-features { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; }
.about-feature { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); }
.about-feature__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 0.55em; }

/* ============================================================
   SDUSHOR
   ============================================================ */
.sdushor-block {
  background: #E3F2FD;
  border: 1px solid #90CAF9;
  border-left: 3px solid #1565C0;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sdushor-block h3 { color: #0D47A1; margin-bottom: 0.5rem; }
.sdushor-block p  { color: #1565C0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--red);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 480px; margin: 0 auto 1.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #1A1A1A; padding-block: 2rem; border-top: 3px solid var(--red); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-logo span { color: var(--red); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.1rem; }
.footer-nav a { font-size: 0.82rem; color: #888; padding: 0.25rem 0.5rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; color: #666; }
.footer-copy a { color: #888; }
.footer-copy a:hover { color: #fff; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider { border: none; border-top: 1px solid var(--border); margin-block: 1.5rem; }

/* ============================================================
   FORM SUCCESS / ERROR (standalone)
   ============================================================ */
.alert-success { background: #E8F5E9; border: 1px solid #A5D6A7; padding: 1rem; border-radius: var(--radius); color: #2E7D32; font-size: 0.92rem; }
.alert-error   { background: #FFEBEE; border: 1px solid #EF9A9A; padding: 1rem; border-radius: var(--radius); color: var(--red-dark); font-size: 0.92rem; }

/* ============================================================
   LADDER
   ============================================================ */
.ladder-info { background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.ladder-info p { color: var(--text-muted); }
.ladder-standings { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ladder-standings table { width: 100%; border-collapse: collapse; }
.ladder-standings th, .ladder-standings td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.ladder-standings th { background: var(--bg-gray); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.ladder-standings tr:last-child td { border-bottom: none; }
.ladder-rank { font-size: 0.82rem; color: var(--text-muted); width: 40px; }
.ladder-rank--top { color: var(--red); font-weight: 700; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 600px) {
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .price-table th, .price-table td { padding: 0.65rem 0.6rem; font-size: 0.82rem; }
}

/* ============================================================
   HERO — уточнения
   ============================================================ */
.hero__left { flex: 1; }

/* ============================================================
   PAIN GRID — 2 колонки, иконка слева
   ============================================================ */
.pain-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) { .pain-grid-2 { grid-template-columns: 1fr; } }

.pain-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* убираем левую полосу */
  border-left: 1px solid var(--border);
}
.pain-item:hover { border-color: var(--red); }
.pain-item__icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.pain-item__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.pain-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   STEPS — как начать играть
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 860px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .steps-grid { grid-template-columns: 1fr; } }

.step-item {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-item__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.6rem;
  opacity: 0.25;
}
.step-item h4 { font-size: 0.97rem; margin-bottom: 0.4rem; }
.step-item p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   FORMAT CARDS — кнопка всегда внизу
   ============================================================ */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 760px) { .formats-grid { grid-template-columns: 1fr; } }

.format-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.format-card:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(211,47,47,0.08); }
.format-card--featured { border-color: var(--red); }

.format-card__badge {
  position: absolute;
  top: -1px; right: 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.format-card__icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.format-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.format-card__desc  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.format-card__list  {
  flex: 1; /* толкает CTA вниз */
  list-style: none;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.format-card__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.format-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}
.format-card__cta { margin-top: auto; }

/* ============================================================
   TOURNAMENT ROW — горизонтальная карточка
   ============================================================ */
.tournament-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--tr);
}
.tournament-row:hover { border-color: var(--red); }
.tournament-row__date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.tournament-row__name { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.tournament-row__meta { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.83rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.tournament-row__count { font-size: 0.82rem; color: var(--text-muted); }
.tournament-row__action { flex-shrink: 0; }

/* ============================================================
   SDUSHOR PROMO
   ============================================================ */
.sdushor-promo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid #1565C0;
  border-radius: var(--radius);
  padding: 2rem 2rem 2rem 1.75rem;
}
@media (max-width: 680px) { .sdushor-promo { grid-template-columns: 1fr; gap: 1.5rem; } }

.sdushor-promo__text h2 { margin: 0.25rem 0 0.6rem; }
.sdushor-promo__text p  { color: var(--text-muted); font-size: 0.95rem; max-width: 520px; }

.sdushor-promo__info {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sdushor-promo__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.sdushor-promo__row:last-child { border-bottom: none; }
.sdushor-promo__row span { color: var(--text-muted); }
.sdushor-promo__row strong { color: var(--text); }
.sdushor-promo__row strong a { color: var(--text); font-weight: 700; }
.sdushor-promo__row strong a:hover { color: var(--red); }

/* ============================================================
   TRUST GRID — цифры доверия
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.trust-item__num   { font-size: 2.2rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 0.4rem; }
.trust-item__label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   HERO TG CARD
   ============================================================ */
.hero__tg-card {
  border-color: #90CAF9 !important;
  background: #E3F2FD !important;
}
.hero__tg-card .lbl { color: #1565C0 !important; }
.hero__tg-card .val { color: #0D47A1 !important; }
