/* FearlessFitz — градиентный, фиолетово-оранжевый акцент */
:root {
  --bg: #0f0e17;
  --card: #1a1925;
  --text: #f0eef5;
  --muted: #8b8798;
  --orange: #ff6b35;
  --violet: #7c3aed;
  --font: 'Outfit', sans-serif;
  --font2: 'DM Sans', sans-serif;
  --rad: 16px;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  border-top: 1px solid rgba(255,255,255,0.06);
  transform: translateY(100%);
  transition: transform 0.4s;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--orange); }
.cookie-btn { background: var(--violet); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: var(--rad); cursor: pointer; font-family: var(--font); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(15,14,23,0.9);
  backdrop-filter: blur(10px);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font); font-weight: 700; font-size: 1.4rem; color: var(--orange); text-decoration: none; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--orange); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

.banner {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
}
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg) 0%, transparent 50%); }
.banner-content { position: relative; z-index: 1; max-width: 600px; }
.banner h1 { font-family: var(--font); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; background: linear-gradient(90deg, var(--orange), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.banner p { color: var(--muted); margin-bottom: 1.5rem; }
.btn { display: inline-block; padding: 0.8rem 1.6rem; background: var(--orange); color: #fff; text-decoration: none; border-radius: var(--rad); font-weight: 600; font-family: var(--font); transition: transform 0.2s; }
.btn:hover { transform: scale(1.02); }
.btn.light { background: transparent; border: 2px solid var(--text); color: var(--text); }
.btn.light:hover { background: var(--text); color: var(--bg); }

.section { padding: 4rem 0; }
.section h2 { font-family: var(--font); text-align: center; margin-bottom: 2rem; font-size: 1.75rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.box { background: var(--card); border-radius: var(--rad); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: transform 0.3s; }
.box:hover { transform: translateY(-6px); }
.box img { width: 100%; height: 180px; object-fit: cover; }
.box h3 { font-family: var(--font); padding: 1rem 1.25rem 0; font-size: 1.05rem; }
.box p { padding: 0.5rem 1.25rem 1.25rem; color: var(--muted); font-size: 0.9rem; }

.bar {
  background: linear-gradient(90deg, var(--violet), var(--orange));
  padding: 2rem;
  text-align: center;
}
.bar .wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.bar p { font-family: var(--font); font-size: 1.1rem; }

.footer { padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; flex-wrap: wrap; }
.footer .wrap > div:first-child { color: var(--muted); font-size: 0.9rem; }
.footer .wrap > div:first-child strong { display: block; margin-bottom: 0.25rem; color: var(--orange); font-family: var(--font); }
.footer .wrap > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-label { display: block; margin-bottom: 0.5rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,107,53,0.15); color: var(--muted); transition: background 0.2s, color 0.2s, transform 0.2s; }
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { max-width: 1100px; margin: 1.5rem auto 0; padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 0.85rem; text-align: center; }

.page-hero { padding: 5rem 2rem 2rem; text-align: center; }
.page-hero h1 { font-family: var(--font); margin-bottom: 0.5rem; }
.page-hero p { color: var(--muted); }
.page-body { max-width: 800px; margin: 0 auto; padding: 2rem; }
.page-body h2 { font-family: var(--font); margin: 1.5rem 0 0.5rem; font-size: 1.2rem; }
.page-body p { color: var(--muted); margin-bottom: 1rem; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 2rem; }
.contact-split label { display: block; margin-bottom: 0.25rem; }
.contact-split input, .contact-split textarea { width: 100%; padding: 0.75rem; border-radius: var(--rad); border: 1px solid rgba(255,255,255,0.1); background: var(--card); color: var(--text); margin-bottom: 1rem; font-family: var(--font2); }
.map-wrap { border-radius: var(--rad); overflow: hidden; height: 350px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.faq-box { margin-bottom: 0.5rem; background: var(--card); border-radius: var(--rad); overflow: hidden; }
.faq-box summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; list-style: none; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box div { padding: 0 1.25rem 1rem; color: var(--muted); }
.thank-page { text-align: center; padding: 4rem 2rem; }
.err-page { text-align: center; padding: 4rem 2rem; }
.err-page h1 { font-family: var(--font); font-size: 4rem; }
.legal h2 { font-family: var(--font); margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }

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