/* FordRule — уникальная тема: тёмный + кислотный акцент */
:root {
  --bg: #0d0d0f;
  --surface: #16161a;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --accent: #22d3a5;
  --accent-dim: #0d9488;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius: 12px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; color: var(--text-muted); }
.cookie-banner a { color: var(--accent); }
.cookie-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
  font-family: var(--font-body);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}
.nav { display: flex; gap: 2rem; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34, 211, 165, 0.35); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Features */
.features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features h2 {
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255,255,255,0.06);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-img {
  height: 200px;
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.feature-card:hover .feature-img img { transform: scale(1.08); }
.feature-card h3 {
  padding: 1.25rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.feature-card p {
  padding: 0.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 4rem 2rem;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cta h2 { font-family: var(--font-display); margin-bottom: 0.5rem; }
.cta p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Footer */
.footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--surface);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  flex-wrap: wrap;
}
.footer-col strong { display: block; margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.1rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; line-height: 1.5; }
.footer-label { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); color: var(--text-muted); font-size: 0.85rem; text-align: center; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-social { justify-content: flex-start; }
}

.page-main { padding-top: 5rem; min-height: 80vh; }
.page-hero { padding: 3rem 2rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-muted); }
.content-block { max-width: 900px; margin: 0 auto; padding: 2rem; }
.content-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.content-img { width: 100%; border-radius: var(--radius-lg); }
.services-list { max-width: 800px; margin: 0 auto; padding: 2rem; }
.service-item { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.06); }
.service-item h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.5rem; }
.service-item p { color: var(--text-muted); font-size: 0.95rem; }
.contact-section { max-width: 1000px; margin: 0 auto; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form-wrap h2, .map-wrap h2 { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.2rem; }
.contact-form label { display: block; margin-bottom: 1rem; color: var(--text-muted); font-size: 0.9rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); background: var(--surface); color: var(--text); margin-top: 0.25rem; font-family: var(--font-body); }
.map-wrap iframe { margin-top: 0.5rem; }
.thank-you-page .page-hero { padding: 4rem 2rem; }
.thank-you-page .btn { margin-top: 1rem; }
.faq-section { max-width: 600px; margin: 0 auto; padding: 2rem; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question { width: 100%; text-align: left; padding: 1rem 0; background: none; border: none; color: var(--text); font-family: var(--font-body); font-size: 1rem; font-weight: 500; cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; color: var(--text-muted); padding: 0 0 1rem; }
.faq-answer.open { max-height: 200px; }
.legal h2 { font-family: var(--font-display); margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.blog-grid { max-width: 1200px; margin: 0 auto; padding: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); padding: 1rem; }
  .content-inner { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
}
