/* proverka-avto-evropa.ru — Elegant Light Theme */
/* Playfair Display + white backgrounds + ghost buttons + horizontal cards */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-white: #FFFFFF;
  --bg-cream: #F5F0EB;
  --accent: #C8907E;
  --accent-dark: #A0705F;
  --accent-light: #E0AFA0;
  --navy: #0D1B2A;
  --navy-light: #1B2D45;
  --text: #3A3A3A;
  --text-light: #7A7A7A;
  --border: #E8E2DC;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
}

a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

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

/* ===== CENTERED NAV ===== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky; top: 0; z-index: 100;
}
.header-top {
  text-align: center; padding: 16px 0 8px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.5px;
}
.logo span { color: var(--accent); }
.nav-bar {
  display: flex; justify-content: center; gap: 28px; padding: 8px 0 12px;
  list-style: none;
}
.nav-bar a {
  color: var(--text-light); font-size: .88rem; font-weight: 500;
  position: relative; padding-bottom: 4px;
}
.nav-bar a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transition: transform .2s;
}
.nav-bar a:hover { color: var(--navy); }
.nav-bar a:hover::after { transform: scaleX(1); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }
.nav-bar.open {
  display: flex; flex-direction: column; align-items: center;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-white); border-bottom: 1px solid var(--border);
  padding: 16px 0; gap: 12px;
}

/* ===== HERO — MINIMALIST WHITE ===== */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: var(--bg-white);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-light);
  max-width: 580px; margin: 0 auto 28px;
}

/* VIN form — elegant underline style */
.vin-elegant {
  max-width: 520px; margin: 0 auto;
  display: flex; gap: 12px; align-items: flex-end;
}
.vin-field { flex: 1; position: relative; }
.vin-field label {
  display: block; font-size: .75rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
  font-weight: 600;
}
.vin-field input {
  width: 100%; padding: 10px 0;
  background: transparent;
  border: none; border-bottom: 2px solid var(--border);
  font-size: 1.1rem; color: var(--navy);
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px; text-transform: uppercase;
  outline: none; transition: border-color .2s;
}
.vin-field input:focus { border-color: var(--accent); }
.vin-field input::placeholder { color: #C0C0C0; text-transform: none; letter-spacing: 0; }

/* ===== GHOST BUTTONS ===== */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 28px;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: .92rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: .25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--navy); color: #fff;
}
.btn-accent {
  border-color: var(--accent-dark); color: var(--accent-dark);
}
.btn-accent:hover {
  background: var(--accent-dark); color: #fff;
}
.btn-solid {
  background: var(--navy); color: #fff; border: 1.5px solid var(--navy);
}
.btn-solid:hover {
  background: var(--navy-light);
}

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-header {
  text-align: center; margin-bottom: 40px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-light); font-size: .95rem; max-width: 520px; margin: 0 auto; }
.section-divider {
  width: 40px; height: 2px; background: var(--accent);
  margin: 14px auto 0;
}

.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--bg-white); }

/* ===== HORIZONTAL CARDS ===== */
.h-card {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: border-color .2s;
}
.h-card:hover { border-color: var(--accent); }
.h-card-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-cream);
  border-radius: 50%;
}
.h-card-body { flex: 1; }
.h-card h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}
.h-card p { color: var(--text-light); font-size: .9rem; line-height: 1.6; }

/* ===== COMPARISON TABLE ===== */
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.compare-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  text-align: center;
}
.compare-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(200,144,126,0.12);
}
.compare-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.compare-card .price {
  font-size: 2rem; font-weight: 700; color: var(--accent-dark);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
.compare-card ul {
  list-style: none; text-align: left; margin-bottom: 24px;
}
.compare-card li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem; color: var(--text);
}
.compare-card li:last-child { border: none; }

/* ===== PRICING TABLE (3-col) ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.price-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(200,144,126,0.1);
}
.price-card.highlight::before {
  content: 'Популярный'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 16px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.price-card .amount {
  font-size: 2.2rem; font-weight: 700; color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.price-card .amount small { font-size: .9rem; color: var(--text-light); font-weight: 400; }
.price-card ul {
  list-style: none; margin: 20px 0; text-align: left;
}
.price-card li {
  padding: 6px 0; font-size: .88rem; color: var(--text-light);
  padding-left: 20px; position: relative;
}
.price-card li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent);
}

/* ===== FAQ CARDS (always open) ===== */
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.faq-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 24px;
}
.faq-card h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 8px;
  font-family: 'Playfair Display', serif; color: var(--navy);
}
.faq-card p { color: var(--text-light); font-size: .9rem; line-height: 1.6; }

/* ===== STATS ===== */
.stats-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem; font-weight: 700; color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.stat-label { color: var(--text-light); font-size: .85rem; margin-top: 2px; }

/* ===== FOOTER (3-col + form) ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.footer-about p { font-size: .88rem; line-height: 1.6; margin-top: 12px; }
.footer-about .logo { color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.6); font-size: .88rem; }
.footer a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  font-size: .8rem;
}

/* ===== PLATFORM CARDS ===== */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.platform-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  transition: .2s; display: block;
  text-decoration: none;
}
.platform-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(200,144,126,0.1);
}
.platform-card .p-icon { font-size: 2.2rem; margin-bottom: 14px; }
.platform-card h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--navy); }
.platform-card p { color: var(--text-light); font-size: .88rem; margin-bottom: 16px; }

/* ===== CONTENT (inner pages) ===== */
.page-hero {
  padding: 100px 24px 40px;
  text-align: center; background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 10px;
}
.page-hero p { color: var(--text-light); font-size: 1rem; max-width: 560px; margin: 0 auto; }

.breadcrumb { padding: 14px 0; font-size: .82rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb .current { color: var(--accent-dark); }

.content-section { padding: 40px 0; }
.content-section h2 {
  font-size: 1.4rem; margin-bottom: 14px;
}
.content-section h3 {
  font-size: 1.1rem; margin-bottom: 8px; margin-top: 24px;
}
.content-section p {
  color: var(--text); font-size: .93rem; line-height: 1.7; margin-bottom: 12px;
}
.content-section ul { margin: 10px 0 14px 20px; }
.content-section li { font-size: .92rem; margin-bottom: 5px; color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-bar { display: none; }
  .burger { display: block; position: absolute; right: 24px; top: 16px; }
  .header-top { position: relative; }
  .hero { padding: 60px 20px 40px; }
  .vin-elegant { flex-direction: column; gap: 16px; }
  .h-card { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { gap: 24px; }
}
@media (max-width: 480px) {
  .compare-grid, .pricing-grid, .platform-grid, .faq-grid { grid-template-columns: 1fr; }
}
