/* ============================================
   АВТОШКОЛА «ГУД» — Основные стили
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-red: #E30613;
  --color-red-dark: #B8050F;
  --color-red-light: #FF1F2E;
  --color-black: #0E0E0E;
  --color-dark: #1A1A1A;
  --color-gray-900: #2A2A2A;
  --color-gray-700: #4A4A4A;
  --color-gray-500: #8A8A8A;
  --color-gray-300: #D9D9D9;
  --color-gray-100: #F4F4F4;
  --color-white: #FFFFFF;
  --color-gold: #F5C518;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(227, 6, 19, 0.15);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 16px;
  color: var(--color-black);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-gray-700);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 48px;
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin: 0 auto 56px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-gray-900);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-large {
  padding: 20px 44px;
  font-size: 18px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-top {
  background: var(--color-black);
  color: var(--color-white);
  padding: 8px 0;
  font-size: 13px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header-top-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-top-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-selector {
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-selector:hover {
  color: var(--color-red-light);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 30px;
}

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

.logo-mark {
  width: 56px;
  height: 56px;
  background: var(--color-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: -0.02em;
  position: relative;
  box-shadow: 0 4px 16px rgba(227, 6, 19, 0.3);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  pointer-events: none;
}

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

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 11px;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-black);
  position: relative;
  padding: 6px 0;
}

.nav a:hover {
  color: var(--color-red);
}

.nav a.has-dropdown::after {
  content: '▾';
  margin-left: 4px;
  font-size: 10px;
}

.nav-item {
  position: relative;
}

.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 16px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 10;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item .dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.nav-item .dropdown a:hover {
  background: var(--color-gray-100);
  color: var(--color-red);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-black);
}

.header-phone:hover {
  color: var(--color-red);
}

.header-hours {
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 2px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 200;
  transition: right 0.4s ease;
  overflow-y: auto;
  padding: 60px 28px 40px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  color: var(--color-black);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav a:hover {
  color: var(--color-red);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 640px;
  background: var(--color-black);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 0;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(227, 6, 19, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(227, 6, 19, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0E0E0E 0%, #1A1A1A 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge::before {
  content: '★';
  color: var(--color-gold);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  margin-bottom: 24px;
  color: var(--color-white);
}

.hero h1 .accent {
  color: var(--color-red);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.08em;
  background: var(--color-red);
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}

.hero-stat {
  border-left: 3px solid var(--color-red);
  padding-left: 16px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Hero form card */
.hero-form {
  background: var(--color-white);
  color: var(--color-black);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(227, 6, 19, 0.25);
  position: relative;
}

.hero-form::before {
  content: 'АКЦИЯ';
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--color-red);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.hero-form h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.hero-form p {
  color: var(--color-gray-700);
  margin-bottom: 24px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--color-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-agreement {
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 12px;
  line-height: 1.5;
}

.form-agreement a {
  color: var(--color-red);
  text-decoration: underline;
}

.hero-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* Countdown / urgency */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(227, 6, 19, 0.1);
  color: var(--color-red);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border-left: 3px solid var(--color-red);
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  background: var(--color-gray-100);
  position: relative;
}

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

.cat-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-red);
}

.cat-card.featured {
  background: linear-gradient(145deg, var(--color-black) 0%, var(--color-gray-900) 100%);
  color: var(--color-white);
}

.cat-card.featured .cat-price-from,
.cat-card.featured .cat-duration {
  color: rgba(255, 255, 255, 0.7);
}

.cat-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-icon {
  width: 80px;
  height: 80px;
  background: var(--color-red);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.3);
}

.cat-card.featured .cat-icon {
  background: var(--color-red);
}

.cat-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.cat-description {
  color: var(--color-gray-700);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cat-card.featured .cat-description {
  color: rgba(255, 255, 255, 0.7);
}

.cat-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 4px;
}

.cat-card.featured .cat-price {
  color: var(--color-red-light);
}

.cat-price-from {
  font-size: 13px;
  color: var(--color-gray-500);
  font-weight: 400;
}

.cat-duration {
  font-size: 14px;
  color: var(--color-gray-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-duration::before {
  content: '⏱';
  font-size: 16px;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: var(--transition);
}

.cat-card.featured .cat-btn {
  background: var(--color-red);
}

.cat-btn:hover {
  background: var(--color-red);
  transform: translateX(4px);
}

.cat-btn::after {
  content: '→';
  transition: transform 0.3s;
}

.cat-btn:hover::after {
  transform: translateX(4px);
}

/* ============================================
   ADVANTAGES (Tabs)
   ============================================ */
.advantages {
  background: var(--color-white);
}

.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(227, 6, 19, 0.3) 0%, transparent 60%);
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 6px;
}

.stat-value .accent {
  color: var(--color-red-light);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.feature-card {
  background: var(--color-gray-100);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 4px solid var(--color-red);
}

.feature-card:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-4px);
}

.feature-card:hover .feature-title {
  color: var(--color-white);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--color-black);
}

.feature-text {
  font-size: 15px;
  line-height: 1.65;
  color: inherit;
  opacity: 0.9;
}

/* ============================================
   AUTOPARK
   ============================================ */
.autopark {
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.autopark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center bottom, rgba(227, 6, 19, 0.2) 0%, transparent 70%);
}

.autopark .container {
  position: relative;
}

.autopark .section-title {
  color: var(--color-white);
}

.autopark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.car-card {
  background: var(--color-gray-900);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  background: #1f1f1f;
  border-color: rgba(227, 6, 19, 0.3);
}

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

.car-illustration {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-red);
}

.car-illustration svg {
  width: 100%;
  height: 100%;
  max-width: 200px;
}

.car-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.car-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.car-link {
  color: var(--color-red-light);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.car-link::after {
  content: '→';
  transition: transform 0.3s;
}

.car-link:hover::after {
  transform: translateX(4px);
}

/* ============================================
   INSTRUCTORS
   ============================================ */
.instructors {
  background: var(--color-gray-100);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.instructor-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.instructor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.instructor-photo {
  height: 320px;
  background: linear-gradient(135deg, var(--color-gray-300), var(--color-gray-500));
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.instructor-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 2;
}

.instructor-photo .placeholder-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
}

.instructor-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-red);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 3;
}

.instructor-info {
  padding: 20px;
  position: relative;
  z-index: 3;
}

.instructor-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-black);
  text-transform: uppercase;
}

.instructor-experience {
  color: var(--color-gray-700);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.instructor-experience::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  background: var(--color-white);
}

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

.review-card {
  background: var(--color-gray-100);
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Georgia', serif;
  font-size: 80px;
  color: var(--color-red);
  line-height: 1;
  font-weight: 700;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--color-gold);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--color-gray-900);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-gray-300);
  padding-top: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-black);
}

.review-date {
  font-size: 12px;
  color: var(--color-gray-500);
}

/* ============================================
   PROCESS / STEPS
   ============================================ */
.process {
  background: var(--color-gray-100);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-black);
}

.step-text {
  color: var(--color-gray-700);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--color-white);
}

.faq-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px solid var(--color-gray-100);
  transition: var(--transition);
}

.faq-question {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-black);
  gap: 20px;
}

.faq-question:hover {
  color: var(--color-red);
}

.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--color-red);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--color-gray-700);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.95;
}

/* ============================================
   CONTACTS
   ============================================ */
.contacts {
  background: var(--color-gray-100);
}

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

.contacts-info {
  background: var(--color-black);
  color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.contacts-info h3 {
  font-size: 32px;
  margin-bottom: 28px;
  color: var(--color-white);
}

.contact-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.contact-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.contact-value a {
  color: var(--color-white);
}

.contact-value a:hover {
  color: var(--color-red-light);
}

.contacts-map {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(45deg, var(--color-gray-300) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-gray-300) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-gray-300) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-gray-300) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  background-color: var(--color-gray-100);
}

.map-placeholder {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-placeholder-icon {
  font-size: 56px;
  color: var(--color-red);
  margin-bottom: 16px;
}

.map-placeholder h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.map-placeholder p {
  color: var(--color-gray-700);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 72px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-name {
  color: var(--color-white);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 340px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social a:hover {
  background: var(--color-red);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--color-white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--color-red-light);
}

.footer-col .phone {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  display: block;
  margin-bottom: 8px;
}

.footer-col .phone:hover {
  color: var(--color-red-light);
}

.footer-col .email,
.footer-col .address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--color-red-light);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(227, 6, 19, 0.3) 0%, transparent 60%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--color-red-light);
}

.breadcrumbs .separator {
  opacity: 0.5;
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header .lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

/* Price table */
.price-table {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 20px 28px;
  align-items: center;
  border-bottom: 1px solid var(--color-gray-100);
  transition: var(--transition);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.head {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.price-row:not(.head):hover {
  background: var(--color-gray-100);
}

.price-row .cat-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}

.price-row .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-red);
}

/* Promo cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.promo-card {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card.dark {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 100%);
}

.promo-card::before {
  content: '%';
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 260px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.promo-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  width: fit-content;
}

.promo-card h3 {
  font-size: 30px;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.promo-card p {
  opacity: 0.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.promo-card .btn-white {
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

/* Document / info page content */
.content-page {
  background: var(--color-white);
}

.content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 32px;
  margin: 40px 0 20px;
}

.content-wrapper h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}

.content-wrapper p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-gray-900);
}

.content-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-gray-900);
}

.info-box {
  background: var(--color-gray-100);
  border-left: 4px solid var(--color-red);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 24px 0;
}

.info-box-title {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-red);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .categories-grid,
  .features-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cars-grid,
  .instructors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

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

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

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .price-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 14px;
  }

  .price-row .col-hide-tablet {
    display: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

  .categories-grid,
  .features-grid,
  .reviews-grid,
  .cars-grid,
  .instructors-grid,
  .steps-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-form {
    padding: 28px 20px;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

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

  .header-top-left {
    display: none;
  }

  .logo-tagline {
    display: none;
  }

  .price-row {
    grid-template-columns: 1fr 1fr;
    padding: 14px 16px;
  }

  .price-row .col-hide-mobile {
    display: none;
  }

  .contacts-info {
    padding: 28px;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }

/* Pulse for CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(227, 6, 19, 0); }
}

.pulse {
  animation: pulse 2s infinite;
}
