/* ============================================================
   AUDI CLUB RUSSIA — styles.css
   Luxury Dark Theme | Cormorant Garamond + Barlow
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
  --gold: #c8a96e;
  --gold-light: #dfc090;
  --gold-dark: #a88040;
  --bg-void: #080808;
  --bg-dark: #0e0e0e;
  --bg-mid: #141414;
  --bg-card: #181818;
  --bg-card-hover: #1e1e1e;
  --surface: #222222;
  --surface-2: #2a2a2a;
  --border: rgba(200, 169, 110, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text-primary: #f0ece4;
  --text-secondary: #a8a098;
  --text-muted: #666055;
  --text-gold: #c8a96e;
  --red-accent: #cc2200;
  --silver: #c0c0c0;
  --white: #ffffff;
  --header-h: 70px;
  --max-w: 1300px;
  --radius: 4px;
  --radius-lg: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 30px rgba(200, 169, 110, 0.12);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.7);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

::selection {
  background: var(--gold);
  color: var(--bg-void);
}

a {
  color: var(--text-gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul { list-style: none; }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ==================== PRELOADER ==================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  text-align: center;
}

.rings-wrap svg {
  width: 160px;
  animation: ringsPulse 1.5s ease-in-out infinite alternate;
}

@keyframes ringsPulse {
  from { opacity: 0.4; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.preloader-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--text-secondary);
  margin-top: 20px;
  margin-bottom: 30px;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--surface);
  margin: 0 auto;
  border-radius: 1px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  animation: preloaderFill 1.8s ease forwards;
}

@keyframes preloaderFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==================== HEADER ==================== */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition);
}

.header-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

#main-header.scrolled .header-bg {
  background: rgba(8, 8, 8, 0.95);
}

.header-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-rings {
  width: 80px;
  transition: transform var(--transition);
}

.logo-wrap:hover .logo-rings {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
}

.logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--gold);
}

/* ---- Navigation ---- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 16px;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,169,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(200,169,110,0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-void) 0%, #0a0a0a 50%, var(--bg-void) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  opacity: 0.5;
}

@keyframes gridShift {
  from { transform: translateY(0); }
  to { transform: translateY(60px); }
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 900px;
  padding: 0 40px;
  animation: heroReveal 1.2s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin-bottom: 30px;
}

.hero-t1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-primary);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-t2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 3.5vw, 38px);
  font-weight: 300;
  letter-spacing: 16px;
  color: var(--gold);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.1s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
}

.hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(1.3) translateY(5px); }
}

.hero-slogan {
  position: absolute;
  bottom: 50px;
  right: 50px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 2px;
  transform: rotate(90deg);
  transform-origin: right center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.8s forwards;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--gold);
  color: var(--bg-void);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,169,110,0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 13px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ==================== MAIN CONTENT WRAP ==================== */
#main-content {
  padding-top: 0;
}

/* ==================== TAB SECTIONS ==================== */
.tab-section {
  display: none;
  min-height: 100vh;
  animation: tabReveal 0.5s ease forwards;
}

.tab-section.active {
  display: block;
}

@keyframes tabReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== SECTION HERO ==================== */
.section-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.sh-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand-hero .sh-overlay {
  background: linear-gradient(135deg, #0a0807 0%, #1a1208 40%, #080808 100%),
              repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(200,169,110,0.02) 30px, rgba(200,169,110,0.02) 31px);
}

.history-hero .sh-overlay {
  background: linear-gradient(135deg, #080808 0%, #0a0a0f 50%, #080808 100%),
              repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(80,80,180,0.03) 40px, rgba(80,80,180,0.03) 41px);
}

.a6-hero .sh-overlay {
  background: linear-gradient(135deg, #080808 0%, #0c1218 50%, #080808 100%);
}

.russia-hero .sh-overlay {
  background: linear-gradient(135deg, #0a0808 0%, #140808 50%, #080808 100%);
}

.models-hero .sh-overlay {
  background: linear-gradient(135deg, #080808 0%, #0c0c0c 100%);
}

.tech-hero .sh-overlay {
  background: linear-gradient(135deg, #080808 0%, #080c10 50%, #080808 100%);
}

.club-hero .sh-overlay {
  background: linear-gradient(135deg, #0a0808 0%, #12100a 50%, #080808 100%);
}

.gallery-hero .sh-overlay {
  background: linear-gradient(135deg, #080808 0%, #0c0c10 50%, #080808 100%);
}

/* Section Hero Decorative Element */
.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(200,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.section-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-void));
  z-index: 2;
}

.sh-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.sh-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.sh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sh-desc {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ==================== CONTENT WRAP ==================== */
.content-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 60px 120px;
}

/* ==================== DIVIDER ==================== */
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 70px 0;
  color: var(--gold);
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-ornament span {
  font-size: 18px;
  opacity: 0.6;
}

/* ==================== BLOCK TITLE ==================== */
.block-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.1;
}

.block-title em {
  color: var(--gold);
  font-style: italic;
}

/* ==================== BRAND TAB ==================== */
/* Intro Block */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.intro-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.intro-text p:first-of-type {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 300;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.7;
}

.pillar-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Lineup Table */
.lineup-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.lineup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lineup-table thead tr {
  background: var(--surface);
}

.lineup-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.lineup-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.lineup-table tr:last-child td { border-bottom: none; }

.lineup-table tr:hover td {
  background: var(--bg-card);
  color: var(--text-primary);
}

.lineup-table td strong {
  color: var(--gold);
  font-weight: 500;
}

/* Awards */
.awards-block { }

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

.award-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.award-item:hover {
  border-color: var(--border);
}

.award-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1.1;
  min-width: 50px;
}

.award-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Quote */
.quote-block {
  text-align: center;
  padding: 60px 40px;
  position: relative;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  color: var(--gold);
  opacity: 0.05;
  line-height: 1;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 20px;
}

cite {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ==================== HISTORY TAB ==================== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.timeline-era {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 50px 0 30px;
}

.era-label {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-void);
  padding: 8px 20px;
  border: 1px solid var(--border);
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.tl-item.left {
  flex-direction: row;
  padding-right: calc(50% + 40px);
}

.tl-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.tl-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-void);
  box-shadow: 0 0 10px rgba(200,169,110,0.4);
  z-index: 2;
}

.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 16px;
  white-space: nowrap;
}

.tl-item.left .tl-year { text-align: right; }
.tl-item.right .tl-year { text-align: left; }

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 30px;
  flex: 1;
  transition: all var(--transition);
}

.tl-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.tl-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tl-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tl-card p + p { margin-top: 10px; }

/* ==================== A6 TAB ==================== */
.a6-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.a6-intro-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}

.a6-intro-text p:first-child {
  font-size: 18px;
  color: var(--text-primary);
}

.a6-badge {
  width: 160px;
  height: 160px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.a6-badge::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-subtle);
}

.badge-inner {
  text-align: center;
}

.badge-gen {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.badge-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-primary);
  margin-top: 4px;
}

.badge-year {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Generations */
.generations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.gen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 22px;
  transition: all var(--transition);
}

.gen-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.featured-gen {
  border-color: var(--gold-dark) !important;
  background: rgba(200,169,110,0.04) !important;
}

.gen-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.featured-gen .gen-code {
  font-size: 38px;
}

.gen-years {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.gen-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.gen-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Specs Tabs */
.specs-tabs { }

.specs-tab-nav {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.st-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
}

.st-btn:hover { color: var(--text-primary); border-color: var(--border); }
.st-btn.active {
  background: var(--gold);
  color: var(--bg-void);
  border-color: var(--gold);
}

.specs-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 40px;
}

.specs-content.hidden { display: none; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.spec-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  transition: background var(--transition);
}

.spec-item:hover { background: var(--bg-card-hover); }
.spec-item:nth-child(3n) { border-right: none; }

.spec-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.spec-val {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 400;
}

/* Tech List */
.tech-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-item {
  display: flex;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 40px;
  transition: all var(--transition);
}

.tech-item:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.tech-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  flex-shrink: 0;
  line-height: 1;
}

.tech-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tech-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Maintenance */
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.maint-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 30px 26px;
  transition: all var(--transition);
}

.maint-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.maint-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.maint-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.maint-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== RUSSIA TAB ==================== */
.russia-intro {
  margin-bottom: 50px;
}

.russia-intro p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
}

.russia-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 70px;
}

.rstat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.rstat-card:hover {
  border-color: var(--border);
}

.rstat-card.highlight {
  border-color: var(--gold-dark);
  background: rgba(200,169,110,0.04);
}

.rstat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.rstat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rstat-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* Bar Chart */
.model-share-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  width: 120px;
  flex-shrink: 0;
  text-align: right;
}

.bar-wrap {
  flex: 1;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-void);
  animation: barGrow 1s cubic-bezier(0.4,0,0.2,1) forwards;
  transform-origin: left;
}

@keyframes barGrow {
  from { width: 0%; }
  to { width: var(--pct); }
}

/* Russia History */
.russia-history {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rh-item {
  display: flex;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 36px;
  transition: all var(--transition);
}

.rh-item:hover {
  border-color: var(--border);
}

.rh-item.critical {
  border-left: 3px solid var(--red-accent);
}

.rh-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  min-width: 80px;
  flex-shrink: 0;
  line-height: 1.2;
}

.rh-item.critical .rh-year { color: var(--red-accent); }

.rh-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service Situation */
.service-situation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ss-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 30px 28px;
}

.ss-block h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ss-block.good h4 { color: #44cc88; }
.ss-block.caution h4 { color: var(--gold); }
.ss-block.bad h4 { color: var(--red-accent); }

.ss-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-block li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.ss-block.good li::before { content: '✓'; color: #44cc88; position: absolute; left: 0; }
.ss-block.caution li::before { content: '○'; color: var(--gold); position: absolute; left: 0; }
.ss-block.bad li::before { content: '✗'; color: var(--red-accent); position: absolute; left: 0; }

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.russia-note {
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-dark);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.russia-note strong { color: var(--text-primary); }

/* ==================== MODELS TAB ==================== */
.model-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mf-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
  border-radius: var(--radius);
}

.mf-btn:hover { color: var(--text-primary); border-color: var(--border); }
.mf-btn.active {
  background: var(--gold);
  color: var(--bg-void);
  border-color: var(--gold);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
  overflow: hidden;
}

.model-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.model-card.hidden-model { display: none; }

.featured-model {
  border-color: var(--gold-dark) !important;
}

.mc-header {
  background: var(--surface);
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-model {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.mc-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.sedan-badge { background: rgba(200,169,110,0.1); color: var(--gold); border: 1px solid rgba(200,169,110,0.2); }
.suv-badge { background: rgba(80,160,80,0.1); color: #88dd88; border: 1px solid rgba(80,160,80,0.2); }
.sport-badge { background: rgba(200,80,40,0.1); color: #ff8866; border: 1px solid rgba(200,80,40,0.2); }
.ev-badge { background: rgba(40,180,120,0.1); color: #44ddaa; border: 1px solid rgba(40,180,120,0.2); }

.mc-body {
  padding: 24px;
}

.mc-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.mc-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mc-specs span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}

/* ==================== TECH TAB ==================== */
.tech-showcase {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ts-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 50px 60px;
  transition: all var(--transition);
  align-items: start;
}

.ts-item:hover {
  border-color: var(--border);
}

.ts-item.reverse {
  grid-template-columns: 1fr 120px;
}

.ts-item.reverse .ts-number {
  order: 2;
  text-align: right;
}

.ts-item.reverse .ts-content {
  order: 1;
}

.ts-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
}

.ts-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.ts-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.ts-tags span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
}

.ts-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.ts-fact {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(200,169,110,0.05);
  border-left: 2px solid var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  line-height: 1.5;
}

/* ==================== CLUB TAB ==================== */
.club-manifesto {
  margin-bottom: 70px;
}

.manifesto-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 900px;
  margin-bottom: 20px;
}

.manifesto-text:first-of-type {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 300;
}

/* Membership Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: all var(--transition);
}

.tier-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.featured-tier {
  border-color: var(--gold-dark) !important;
  background: rgba(200,169,110,0.03) !important;
}

.tier-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--gold);
  padding: 4px 14px;
}

.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.tier-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

.tier-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tier-benefits li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.tier-benefits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* Events */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-item {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 32px;
  transition: all var(--transition);
}

.event-item:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.ed-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.ed-mon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.event-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.event-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.event-meta span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.partner-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.partner-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.partner-discount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

/* Contact Form */
.contact-block {
  margin-top: 70px;
}

.contact-form-wrap {
  max-width: 700px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* ==================== GALLERY TAB ==================== */
.gallery-intro {
  margin-bottom: 40px;
}

.gallery-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 700px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition);
  grid-column: span 2;
}

.gallery-item:hover {
  border-color: var(--border);
}

.gi-large { grid-column: span 3; }

.gi-car {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-svg-wrap {
  padding: 30px 20px 10px;
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-card) 100%);
  flex: 1;
}

.car-svg-wrap svg {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .car-svg-wrap svg {
  transform: scale(1.04);
}

.gi-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
}

.gi-model {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gi-detail {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.gallery-cta {
  text-align: center;
  margin-top: 70px;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.gallery-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.gallery-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* ==================== FOOTER ==================== */
#main-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 70px 60px 50px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-rings {
  width: 100px;
}

.footer-brand-text { }

.fb-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fb-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fl-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.fl-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.fl-col a:hover { color: var(--text-primary); }

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  transition: all var(--transition);
}

.social-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-primary);
  z-index: 9000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  border-radius: var(--radius);
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .header-inner { padding: 0 24px; }
  .content-wrap { padding: 60px 40px 100px; }
  .sh-content { padding: 0 40px; }
  .footer-inner { padding: 60px 40px 40px; grid-template-columns: 240px 1fr; gap: 50px; }
  .footer-bottom { padding: 20px 40px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-block { grid-template-columns: 1fr; gap: 50px; }
  .intro-stats { max-width: 400px; }
  .generations-grid { grid-template-columns: repeat(3, 1fr); }
  .russia-stats { grid-template-columns: repeat(2, 1fr); }
  .ts-item, .ts-item.reverse { grid-template-columns: 80px 1fr; gap: 30px; padding: 40px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item { grid-column: span 2; }
  .gi-large { grid-column: span 4; }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .main-nav.open { display: flex; }

  .nav-link {
    padding: 14px 30px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-link::after { display: none; }
  .burger { display: flex; }

  .hero-slogan { display: none; }
  .content-wrap { padding: 50px 24px 80px; }
  .sh-content { padding: 0 24px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-item:nth-child(3n) { border-right: 1px solid var(--border-subtle); }
  .spec-item:nth-child(2n) { border-right: none; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .maintenance-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; }
  .service-situation { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .ts-item, .ts-item.reverse { grid-template-columns: 1fr; gap: 16px; padding: 30px; }
  .ts-number { font-size: 48px; }
  .tl-item.left, .tl-item.right { padding: 0; flex-direction: column; padding-left: 40px; }
  .tl-year { padding-top: 0; }
  .timeline::before { left: 12px; }
  .tl-dot { left: 7px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { grid-column: span 1; }
  .gi-large { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-t1 { font-size: 52px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .generations-grid { grid-template-columns: 1fr 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .russia-stats { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-item:nth-child(2n) { border-right: 1px solid var(--border-subtle); }
  .spec-item:nth-child(1n) { border-right: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gi-large { grid-column: span 1; }
  .specs-tab-nav { flex-wrap: wrap; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ==================== ANIMATIONS & UTILITIES ====================  */

/* ---- Model card image ---- */
.mc-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.mc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.model-card:hover .mc-img {
  transform: scale(1.05);
}

/* ---- Gallery photo wrap ---- */
.gi-photo-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-mid);
}

.gi-large .gi-photo-wrap {
  height: 280px;
}

.gi-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gi-photo {
  transform: scale(1.04);
}

.gi-svg-fallback {
  display: none;
  padding: 20px 16px 8px;
}

.gi-svg-fallback svg {
  width: 100%;
  height: auto;
}

/* ---- Timeline image ---- */
.tl-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 14px 0 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.tl-card:hover .tl-img {
  transform: scale(1.01);
}

/* ==================== ANIMATIONS & UTILITIES ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Highlight on hover for interactive elements */
.interactive-hover {
  transition: all var(--transition);
}

/* Gold text utility */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* Separator */
.sep { 
  display: inline-block; 
  margin: 0 8px; 
  color: var(--border); 
}
