/* ==========================================================================
   II ВСЕРОССИЙСКИЙ МНОГОЖАНРОВЫЙ КОНКУРС-ФЕСТИВАЛЬ «БАРХАТНЫЕ СЕЗОНЫ»
   Стиль: Золотая осень, королевский бархат, классика в кедах
   ========================================================================== */

:root {
  --gold-100: #FFF9E6;
  --gold-200: #FFEAB3;
  --gold-300: #FFD980;
  --gold-400: #F3C053;
  --gold-500: #E5A93C;
  --gold-600: #D4881A;
  --gold-700: #B87009;
  --gold-800: #8C5204;
  --gold-gradient: linear-gradient(135deg, #FFEAB3 0%, #F3C053 30%, #D4881A 70%, #9B5D04 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(243, 192, 83, 0.15) 0%, rgba(212, 136, 26, 0.05) 100%);
  --gold-text-gradient: linear-gradient(135deg, #B87009 0%, #D4881A 35%, #8C5204 100%);

  --velvet-100: #FDF2F4;
  --velvet-200: #F8D0D7;
  --velvet-500: #B8253E;
  --velvet-600: #8E172C;
  --velvet-700: #6B0E1E;
  --velvet-800: #480712;
  --velvet-gradient: linear-gradient(135deg, #B8253E 0%, #8E172C 50%, #5A0A17 100%);

  --bg-cream: #FDFBF7;
  --bg-sand: #F7F1E6;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  --text-main: #241A15;
  --text-muted: #5C4E46;
  --text-light: #8E7F76;

  --border-gold: rgba(212, 136, 26, 0.28);
  --border-gold-glow: rgba(243, 192, 83, 0.6);
  --shadow-sm: 0 4px 14px rgba(140, 82, 4, 0.06);
  --shadow-md: 0 10px 30px rgba(140, 82, 4, 0.1);
  --shadow-lg: 0 20px 50px rgba(140, 82, 4, 0.15);
  --shadow-gold: 0 8px 24px rgba(212, 136, 26, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(243, 192, 83, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 45%, rgba(184, 37, 62, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(212, 136, 26, 0.07) 0%, transparent 45%);
}

#autumn-canvas,
.autumn-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

#autumn-canvas-fg,
.autumn-canvas-fg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 95;
}

.hero-section,
.advantages-section,
.polozhenie-section,
.jury-section,
.registration-section,
.partners-section,
.contacts-section,
.site-footer,
.reg-page-section {
  position: relative;
  z-index: 2;
}

a {
  color: var(--gold-700);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--velvet-600);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.font-serif {
  font-family: var(--font-serif);
}

.text-gold-gradient {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title-wrap {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-800);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.section-divider::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-divider i {
  color: var(--gold-600);
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 136, 26, 0.15);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(253, 251, 247, 0.98);
  box-shadow: 0 4px 20px rgba(140, 82, 4, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.header-logo-img:hover {
  transform: scale(1.03);
}

.header-logo-desktop {
  display: block;
}

.header-logo-mobile {
  display: none;
}

.mobile-menu-topbar,
.mobile-menu-footer {
  display: none;
}

.mobile-menu-links-wrap {
  display: contents;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-700);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-lk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #ffffff;
  border: 1.5px solid var(--gold-500);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-800);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-header-lk:hover {
  background: var(--gold-500);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-header-text-desktop {
  display: inline;
}

.btn-header-text-mobile {
  display: none;
}

.btn-header-reg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--velvet-gradient);
  border: none;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(184, 37, 62, 0.3);
  transition: all 0.25s ease;
}

.btn-header-reg:hover {
  box-shadow: 0 6px 20px rgba(184, 37, 62, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero */
.hero-section {
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #FFFFFF;
}

.hero-bg-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/hero_leaves_bg.webp?v=20261004_v10") center center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-org-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  width: fit-content;
}

.hero-fest-subtitle {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--velvet-600);
  margin-bottom: 8px;
}

.hero-title-img-wrap {
  margin: 5px 0 20px 0;
  max-width: 520px;
}

.hero-title-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(184, 112, 9, 0.25));
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
}

.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.hero-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-badge-icon.velvet {
  background: var(--velvet-100);
  border-color: var(--velvet-200);
  color: var(--velvet-600);
}

.hero-badge-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-light);
}

.hero-badge-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-gold-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--gold-gradient);
  color: #241A15;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 35px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 136, 26, 0.4);
  transition: all 0.25s ease;
}

.btn-gold-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 136, 26, 0.55);
  color: #000000;
}

.btn-outline-fest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 35px;
  border: 1.5px solid var(--border-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.btn-outline-fest:hover {
  border-color: var(--gold-600);
  background: var(--gold-100);
  color: var(--gold-800);
  transform: translateY(-2px);
}

.hero-media-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* COUNTDOWN TIMER CARD */
.hero-timer-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 12px 16px 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(140, 82, 4, 0.12);
  position: relative;
  z-index: 5;
  transition: all 0.3s ease;
}

.hero-timer-card:hover {
  box-shadow: 0 16px 36px rgba(140, 82, 4, 0.18);
  border-color: var(--gold-600);
}

.timer-top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timer-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timer-alert-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--velvet-700);
  background: rgba(184, 37, 62, 0.08);
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid rgba(184, 37, 62, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: pulseAlert 2.5s infinite;
}

@keyframes pulseAlert {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-timer-digits {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timer-digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  background: #FDFBF7;
  border: 1px solid rgba(212, 136, 26, 0.25);
  border-radius: 10px;
  padding: 6px 4px 4px 4px;
  transition: all 0.2s ease;
}

.hero-timer-card:hover .timer-digit-box {
  background: #FAF5E8;
  border-color: var(--gold-600);
}

.timer-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--velvet-800);
  line-height: 1;
}

.timer-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.timer-colon {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-600);
  margin: 0 -2px;
  margin-top: -8px;
}

.hero-art-backdrop {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 192, 83, 0.35) 0%, rgba(184, 37, 62, 0.08) 60%, transparent 80%);
  filter: blur(20px);
  z-index: 1;
}

.hero-poster-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.hero-poster-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(140, 82, 4, 0.22);
  border: 4px solid #ffffff;
  max-width: 340px;
  width: 100%;
  transition: transform 0.4s ease;
}

.hero-poster-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-poster-card:hover {
  transform: scale(1.02) rotate(1deg);
}

.hero-floating-badge {
  position: absolute;
  z-index: 6;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.hero-floating-badge.badge-top {
  top: -24px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  animation: floatAnimTop 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

.hero-floating-badge.badge-bottom {
  bottom: -22px;
  left: -20px;
  right: auto;
  animation-delay: 2s;
}

@keyframes floatAnimTop {
  0% { transform: translate(-50%, 0); }
  100% { transform: translate(-50%, -8px); }
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #241A15;
  font-size: 1rem;
}

.floating-badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.floating-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Features */
.advantages-section {
  padding: 80px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
  background: var(--bg-card-hover);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.advantage-card.velvet-theme .advantage-icon {
  background: var(--velvet-100);
  border-color: var(--velvet-200);
  color: var(--velvet-600);
}

.advantage-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.advantage-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   DIGITAL POLOZHENIE (FULL OFFICIAL TEXT ON PAGE)
   ========================================================================== */
.polozhenie-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(247, 241, 230, 0.7) 50%, transparent 100%);
}

.polozhenie-wrapper {
  background: var(--bg-card);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  box-shadow: var(--shadow-lg);
}

.polozhenie-top-doc-info {
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 30px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.doc-approval-block {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
  border-left: 3px solid var(--gold-600);
  padding-left: 16px;
}

.doc-download-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-doc-direct-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--gold-gradient);
  color: #241A15;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 30px;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.btn-doc-direct-download:hover {
  transform: translateY(-2px);
  color: #000000;
  box-shadow: 0 8px 25px rgba(243, 192, 83, 0.55);
}

.polo-section-block {
  margin-bottom: 42px;
}

.polo-h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-800);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 8px;
}

.polo-h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--velvet-700);
  margin: 24px 0 12px 0;
}

.polo-p {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 14px;
}

.polo-list {
  padding-left: 20px;
  margin-bottom: 18px;
}

.polo-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.polo-list li::before {
  content: "•";
  color: var(--gold-600);
  font-size: 1.3rem;
  position: absolute;
  left: -6px;
  top: -2px;
}

.polo-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px 0;
}

.polo-chip {
  display: inline-block;
  background: #ffffff;
  border: 1px solid rgba(212, 136, 26, 0.3);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.polo-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.polo-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.polo-table th {
  background: var(--gold-100);
  color: var(--gold-800);
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  border-bottom: 2px solid var(--border-gold);
}

.polo-table td {
  padding: 14px 18px;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(212, 136, 26, 0.15);
  color: var(--text-main);
}

.polo-table tr:hover td {
  background: rgba(255, 249, 230, 0.4);
}

.polo-desktop-table {
  display: block;
}

.polo-mobile-scores-grid {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0;
}

.polo-mobile-score-card {
  background: #ffffff;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.score-card-header {
  background: var(--gold-gradient);
  color: #241A15;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-card-rows {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  background: var(--bg-cream);
  border: 1px solid rgba(212, 136, 26, 0.15);
}

.score-row.deg-1 {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF3D6 100%);
  border-color: var(--gold-500);
}

.score-row.deg-1 .score-label {
  font-weight: 800;
  color: var(--gold-800);
}

.score-row.deg-2 .score-label {
  font-weight: 700;
  color: #5C4E46;
}

.score-row.deg-3 .score-label {
  font-weight: 600;
  color: #7D6B5F;
}

.score-row.deg-dip .score-label {
  color: var(--text-muted);
}

.score-val {
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

/* Mobile fee cards */
.polo-mobile-fees-grid {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}

.polo-mobile-fee-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold-600);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.fee-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.fee-card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--velvet-700);
  text-align: right;
  white-space: nowrap;
}

.fee-unit {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.polo-highlight-box {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 20px 0;
}

/* ==========================================================================
   JURY SECTION & INTERACTIVE MODAL
   ========================================================================== */
.jury-section {
  padding: 80px 0;
}

.jury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 24px;
}

.jury-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.jury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(140, 82, 4, 0.16);
  border-color: var(--gold-500);
}

.jury-photo-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #f0ebe1;
  position: relative;
}

.jury-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.jury-card:hover .jury-photo-wrap img {
  transform: scale(1.06);
}

.jury-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 26, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jury-card:hover .jury-photo-overlay {
  opacity: 1;
}

.jury-btn-view {
  background: var(--gold-gradient);
  color: #241A15;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.jury-info {
  padding: 20px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.jury-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.jury-city {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-700);
  margin-bottom: 6px;
}

.jury-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex-grow: 1;
}

.btn-jury-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 20px;
  border: 1px solid var(--gold-500);
  background: var(--gold-100);
  color: var(--gold-800);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.jury-card:hover .btn-jury-details {
  background: var(--gold-500);
  color: #ffffff;
}

/* JURY MODAL POPUP */
.jury-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 9, 6, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jury-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.jury-modal-dialog {
  background: #ffffff;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jury-modal-backdrop.open .jury-modal-dialog {
  transform: translateY(0) scale(1);
}

.jury-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--gold-100);
  border: 1px solid var(--border-gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 10;
}

.jury-modal-close:hover {
  background: var(--velvet-600);
  color: #ffffff;
  transform: rotate(90deg);
}

.jury-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 35px;
  gap: 30px;
}

.jury-modal-sidebar {
  text-align: center;
  border-right: 1px solid var(--border-gold);
  padding-right: 25px;
}

.jury-modal-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  margin: 0 auto 16px auto;
}

.jury-modal-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.jury-modal-city {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--velvet-600);
}

.jury-modal-content {
  padding-top: 10px;
}

.jury-modal-section-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-800);
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jury-regalia-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jury-regalia-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-main);
}

.jury-regalia-list li::before {
  content: "✦";
  color: var(--gold-600);
  font-size: 0.85rem;
  position: absolute;
  left: 0;
  top: 1px;
}

@media (max-width: 768px) {
  .jury-modal-body {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 20px;
  }

  .jury-modal-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .jury-modal-photo {
    width: 180px;
    height: 220px;
  }
}

/* AUTH ERROR MODAL NOTIFICATION */
.auth-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 9, 6, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-dialog {
  background: #ffffff;
  border: 2px solid var(--velvet-600);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 38px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(184, 37, 62, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-backdrop.open .auth-modal-dialog {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-cream);
  border: 1px solid var(--border-gold);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.auth-modal-close:hover {
  background: var(--velvet-600);
  color: #ffffff;
}

.auth-modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--velvet-100);
  color: var(--velvet-600);
  border: 2px solid var(--velvet-200);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  box-shadow: 0 8px 20px rgba(184, 37, 62, 0.15);
}

.auth-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--velvet-700);
  margin-bottom: 12px;
}

.auth-modal-desc {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 26px;
}

.auth-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-modal-retry {
  background: var(--velvet-600);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-retry:hover {
  background: var(--velvet-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 37, 62, 0.25);
}

.btn-modal-recovery {
  background: var(--bg-cream);
  color: var(--gold-800);
  border: 1px solid var(--border-gold);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-modal-recovery:hover {
  background: var(--gold-100);
  border-color: var(--gold-500);
  color: var(--gold-900);
}

/* ==========================================================================
   REGISTRATION & LOGIN ON-PAGE BLOCK (#registration)
   ========================================================================== */
.registration-section {
  padding: 90px 0;
  background: radial-gradient(circle at center, rgba(243, 192, 83, 0.14) 0%, transparent 70%);
}

.reg-block-card {
  background: #ffffff;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(140, 82, 4, 0.18);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reg-info-side {
  background: linear-gradient(135deg, #2D1A12 0%, #452115 100%);
  padding: 50px 45px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reg-info-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-200);
  margin-bottom: 16px;
}

.reg-info-text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 30px;
}

.reg-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
}

.reg-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
}

.reg-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #241A15;
  font-size: 1rem;
  flex-shrink: 0;
}

.btn-new-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--velvet-gradient);
  border: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.98rem;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(184, 37, 62, 0.4);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-new-account:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 37, 62, 0.55);
  color: #ffffff;
}

.reg-form-side {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reg-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.reg-form-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.form-group-reg {
  margin-bottom: 20px;
}

.form-label-reg {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input-reg {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border-gold);
  background: var(--bg-cream);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input-reg:focus {
  border-color: var(--gold-600);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 136, 26, 0.12);
}

.btn-form-login {
  width: 100%;
  padding: 15px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  color: #241A15;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-form-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(243, 192, 83, 0.6);
  color: #000000;
}

.form-extra-links {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.form-extra-links a {
  font-weight: 600;
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners-section {
  padding: 70px 0;
  background: #ffffff;
}

.partners-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.partner-logo-item {
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-gold);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 105px;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.partner-logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: 0 10px 25px rgba(140, 82, 4, 0.12);
}

.partner-logo-item img {
  max-height: 75px;
  max-width: 220px;
  object-fit: contain;
}

/* ==========================================================================
   CONTACTS & VENUE
   ========================================================================== */
.contacts-section {
  padding: 80px 0 100px 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.contacts-map-card {
  order: 1; /* Слева карта на компьютере */
}

.contacts-info-card {
  order: 2; /* Справа информация на компьютере */
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}

.contact-rows-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-item-sublabel {
  display: inline;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.contact-item-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-phones-val {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-phone-link {
  display: inline-block;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.contact-phone-link:hover {
  color: var(--velvet-600);
}

.messengers-btns-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.25s ease;
}

.btn-msg.vk { background: #0077FF; }
.btn-msg.max { background: linear-gradient(135deg, #FF6B00 0%, #D9381E 100%); }

.btn-msg:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.contacts-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.map-embed-frame {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  border: none;
  min-height: 380px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1C110C 0%, #2D1A12 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px 0;
  border-top: 2px solid var(--gold-600);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-logo-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
}

.footer-about-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-fest-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 8px;
}

.footer-fest-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-200);
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero-badges-grid {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .reg-block-card {
    grid-template-columns: 1fr;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .polozhenie-wrapper {
    padding: 35px 24px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 100px;
  }

  .header-logo-desktop {
    display: none;
  }

  .header-logo-mobile {
    display: block;
    height: 90px;
  }

  .btn-header-text-desktop {
    display: none !important;
  }

  .btn-header-text-mobile {
    display: inline !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 60%, #FFF8EA 100%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 28px 20px;
    box-shadow: none;
    border: none;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .mobile-menu-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-bottom: 1.5px solid var(--border-gold);
    padding-bottom: 14px;
    position: relative;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 45px;
    border-bottom: none;
    margin-bottom: 0;
  }

  .mobile-menu-full-logo {
    max-height: 52px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .mobile-menu-close {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1.5px solid var(--gold-600);
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    color: var(--velvet-800);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 10;
    transition: all 0.2s ease;
  }

  .mobile-menu-close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    display: block;
  }

  .mobile-menu-close:hover,
  .mobile-menu-close:active {
    background: var(--velvet-600);
    color: #ffffff;
    border-color: var(--velvet-600);
    transform: translateY(-50%) scale(1.06);
  }

  .mobile-menu-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 20px 0;
    align-items: center;
  }

  .nav-menu .nav-link {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link i {
    color: var(--gold-600);
    font-size: 1.2rem;
    width: 26px;
    text-align: center;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    color: var(--velvet-700);
    background: var(--gold-100);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-top: 18px;
    border-top: 1.5px solid var(--border-gold);
    text-align: center;
  }

  .mobile-menu-phones-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mobile-menu-phones-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  .mobile-phone-link {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--velvet-600);
    text-decoration: none;
    display: inline-block;
  }

  .mobile-menu-messengers {
    display: flex;
    gap: 10px;
    margin-top: 4px;
  }

  .btn-msg-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
  }

  .btn-msg-mini.vk { background: #0077FF; }
  .btn-msg-mini.max { background: linear-gradient(135deg, #FF6B00 0%, #D9381E 100%); }

  .burger-btn {
    display: block;
  }

  .hero-badges-grid {
    grid-template-columns: 1fr;
  }

  .hero-media-wrap {
    width: 100%;
    max-width: 320px;
    margin: 45px auto 15px auto;
  }

  .hero-floating-badge {
    padding: 7px 12px;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }

  .floating-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .floating-badge-text {
    font-size: 0.74rem;
  }

  .floating-badge-sub {
    font-size: 0.65rem;
  }

  .hero-floating-badge.badge-top {
    top: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .hero-floating-badge.badge-bottom {
    bottom: -20px;
    left: -10px;
    right: auto;
  }

  .reg-info-side {
    padding: 35px 24px;
  }

  .reg-form-side {
    padding: 35px 24px;
  }

  .polo-desktop-table {
    display: none !important;
  }

  .polo-mobile-scores-grid {
    display: flex !important;
  }

  .polo-mobile-fees-grid {
    display: flex !important;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contact-item-sublabel {
    display: block;
    margin-top: 2px;
    margin-bottom: 4px;
    color: var(--gold-800);
    font-weight: 700;
  }

  .contact-phones-val {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .contact-phone-link {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
  }

  .contacts-info-card {
    order: 1 !important; /* Сверху информация на мобильном */
  }

  .contacts-map-card {
    order: 2 !important; /* Снизу карта на мобильном */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STANDALONE REGISTRATION PAGE (reg_form.php)
   ========================================================================== */
.reg-page-section {
  padding: 120px 0 80px 0;
  min-height: calc(100vh - 400px);
}

.reg-page-card {
  background: #ffffff;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(140, 82, 4, 0.12);
  padding: 45px;
  max-width: 920px;
  margin: 0 auto;
}

.reg-page-form-block {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid rgba(212, 136, 26, 0.18);
}

.reg-page-form-block:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.reg-block-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-800);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reg-block-heading i {
  color: var(--velvet-600);
  font-size: 1.2rem;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-label-custom .req {
  color: var(--velvet-600);
  font-weight: 800;
}

.form-input-custom,
.form-select-custom {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-cream);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-input-custom:focus,
.form-select-custom:focus {
  outline: none;
  border-color: var(--gold-600);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 136, 26, 0.15);
}

.reg-notice-box {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
}

.reg-notice-box i {
  color: var(--gold-700);
  margin-right: 6px;
}

.reg-alert-error {
  background: #FFF0F2;
  border: 1.5px solid var(--velvet-400);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: var(--velvet-800);
  font-size: 0.94rem;
  line-height: 1.55;
}

.reg-alert-error-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--velvet-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-alert-success {
  background: #F0FFF4;
  border: 1.5px solid #38A169;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
  color: #22543D;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.reg-alert-success-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #2F855A;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* REGISTRATION PRIVACY CHECKBOX */
.form-privacy-check-card {
  background: #FDFBF7;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0 16px 0;
  transition: all 0.25s ease;
}

.form-privacy-check-card:hover {
  background: #FAF6EE;
  border-color: var(--gold-600);
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-main);
  user-select: none;
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #FFFFFF;
  border: 2px solid var(--gold-600);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.custom-checkbox-label:hover .custom-checkbox-box {
  border-color: var(--gold-800);
  box-shadow: 0 0 0 3px rgba(212, 136, 26, 0.15);
}

.custom-checkbox-input:checked ~ .custom-checkbox-box {
  background: linear-gradient(135deg, #D4881A 0%, #B76E00 100%);
  border-color: #B76E00;
}

.custom-checkbox-input:checked ~ .custom-checkbox-box::after {
  content: "✔";
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
}

.custom-checkbox-text a {
  color: var(--gold-800);
  font-weight: 700;
  text-decoration: underline;
}

.custom-checkbox-text a:hover {
  color: var(--velvet-600);
}

/* BUTTON REGISTRATION (WARM GOLDEN AMBER / EMERALD) */
.btn-reg-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #E69500 0%, #D4881A 50%, #B76E00 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(212, 136, 26, 0.4);
  transition: all 0.25s ease;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

.btn-reg-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #F3A410 0%, #E69500 50%, #C47800 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 136, 26, 0.55);
}

.btn-reg-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-reg-submit:disabled,
.btn-reg-submit.btn-reg-disabled {
  background: #D8D8D8 !important;
  color: #8C8C8C !important;
  border: 1px solid #CCCCCC !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.75;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-800);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 25px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 50;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  color: var(--velvet-600);
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .reg-page-section {
    padding: 110px 0 60px 0;
  }

  .reg-page-card {
    padding: 28px 18px;
  }

  .form-grid-3col,
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   COOKIE NOTIFICATION BANNER (152-ФЗ РФ)
   ========================================================================== */
.cookie-banner-wrap {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 980px;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 16px 24px;
  z-index: 999998;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideUpCookie 0.4s ease forwards;
}

@keyframes slideUpCookie {
  from {
    opacity: 0;
    transform: translate(-50%, 25px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-main);
  flex-grow: 1;
}

.cookie-banner-text a {
  color: var(--velvet-600);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-actions {
  flex-shrink: 0;
}

.btn-cookie-accept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--velvet-gradient);
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 37, 62, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 37, 62, 0.35);
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.45;
  margin-top: 14px;
  text-align: center;
}

.form-privacy-note a {
  color: var(--velvet-600);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cookie-banner-wrap {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-banner-icon {
    display: none;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .btn-cookie-accept {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}
