/* ============================================================
   GoldTruckHelper — чистый стиль
   Палитра: акцент #F4E60E, тёмный #232323, текст #3a3a3a
   ============================================================ */

:root {
  --accent: #F4E60E;
  --accent-dark: #d9cf00;
  --dark: #232323;
  --dark-2: #171717;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --light: #f5f5f5;
  --white: #ffffff;
  --radius: 4px;
  --maxw: 1140px;
  --nav-h: 72px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; margin: 0 0 0.5em; font-family: "Rubik", sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); font-weight: 300; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.text-center { text-align: center; }
.center .section-intro { max-width: 760px; margin: 0 auto 48px; }
.section-title { margin-bottom: 0.3em; }
.section-sub { color: var(--muted); font-weight: 300; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Rubik", sans-serif;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); color: var(--dark); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--dark); }

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--accent);
  backdrop-filter: blur(6px);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.site-header .container {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--dark); font-family: "Rubik", sans-serif; font-weight: 700; font-size: 1.1rem; }
.brand:hover { color: var(--dark); }
.brand img { height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--dark); font-family: "Rubik", sans-serif; font-weight: 500; font-size: 0.98rem; position: relative; }
.nav-links a:hover { color: #9a9000; }
.nav-links a.active { color: #9a9000; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; background: var(--dark); border-radius: 2px;
}

.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 40px; height: 28px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 3px; background: var(--dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(15px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-15px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  margin-top: 0;
  background:
    linear-gradient(90deg, rgba(23,23,23,0.86) 0%, rgba(23,23,23,0.55) 45%, rgba(23,23,23,0.15) 100%),
    url('../images/fura-1068x600.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: left;
}
.hero .container { padding-top: var(--nav-h); }
.hero-content { max-width: 680px; }
.hero h1 { color: var(--accent); margin-bottom: 0.4em; }
.hero .lead { font-size: clamp(1.05rem, 2.5vw, 1.35rem); color: #eee; margin-bottom: 28px; font-weight: 300; }
.hero .scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #ccc; font-size: 0.85rem; text-align: center; }
.hero .scroll-hint::after { content: ''; display: block; width: 2px; height: 28px; background: #ccc; margin: 6px auto 0; animation: scroll 1.6s infinite; }
@keyframes scroll { 0%,100% { transform: scaleY(0.6); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Feature cards (функционал) ---------- */
.features { background: var(--light); }
.features-grid { display: grid; gap: 20px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.1); }
.feature-num {
  flex: 0 0 56px;
  height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--dark);
  font-family: "Rubik", sans-serif; font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center;
}
.feature-text h4 { margin-bottom: 0.4em; }
.feature-text p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* ---------- Text + hotkeys (profile) ---------- */
.prose { max-width: 820px; }
.prose p { color: var(--text); }
.hotkeys { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 14px; }
.hotkeys li { position: relative; padding-left: 28px; border-left: 3px solid var(--accent); padding-left: 20px; margin-left: 4px; }
kbd {
  display: inline-block; padding: 2px 8px; font-size: 0.85em; font-family: "Rubik", sans-serif;
  background: var(--dark); color: var(--white); border-radius: 4px; margin-right: 6px;
}

/* ---------- Service cards (информационные окна) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid #eee; border-radius: var(--radius);
  padding: 28px; transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card h4 { color: var(--dark); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background var(--transition); }
.gallery-item:hover::after { background: rgba(0,0,0,0.15); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 0 40px rgba(0,0,0,0.6); }
.lightbox-close { position: fixed; top: 20px; right: 28px; color: #fff; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.5rem; background: rgba(255,255,255,0.08); border: 0; cursor: pointer; padding: 8px 16px; border-radius: var(--radius); }
.lightbox-nav:hover { background: var(--accent); color: var(--dark); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Accordion (download) ---------- */
.warning {
  background: #fff6db; border-left: 4px solid var(--accent-dark);
  color: var(--dark); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px; font-size: 0.98rem;
}
.warning strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }

.accordion { display: grid; gap: 12px; max-width: 820px; }
.accordion-item { background: var(--white); border: 1px solid #e6e6e6; border-radius: var(--radius); overflow: hidden; }
.accordion-head {
  width: 100%; text-align: left; padding: 18px 20px; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: "Rubik", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--dark);
}
.accordion-head:hover { color: var(--accent-dark); }
.accordion-head .icon { font-size: 1.4rem; color: var(--accent); transition: transform var(--transition); flex: 0 0 auto; }
.accordion-item.open .accordion-head .icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-inner { padding: 0 20px 20px; color: var(--muted); }
.accordion-inner .links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.accordion-inner .links a:not(.btn) {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}
.accordion-inner .links a:not(.btn):hover { color: var(--accent-dark); }

/* ---------- Steps (setup) ---------- */
.steps { display: grid; gap: 24px; max-width: 760px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--dark); font-family: "Rubik", sans-serif; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.step-content h3 { margin-bottom: 0.3em; }

/* ---------- Mini hero (setup) ---------- */
.mini-hero {
  padding: 140px 0 70px;
  background: linear-gradient(rgba(23,23,23,0.88), rgba(23,23,23,0.9)), url('../images/fura-1068x600.jpg') center/cover no-repeat;
  color: var(--white); text-align: center;
}
.mini-hero h1 { color: var(--accent); font-weight: 700; }
.mini-hero p { color: #ddd; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent); color: var(--dark); padding: 32px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer p { margin: 0; font-weight: 500; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer .footer-links a { color: var(--dark); font-weight: 600; margin: 0; }
.site-footer a:hover, .site-footer .footer-links a:hover { text-decoration: underline; }

/* ---------- Utility sections ---------- */
.bg-light { background: var(--light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--accent); flex-direction: column; align-items: stretch;
    padding: 16px 20px; gap: 4px;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { padding: 8px 0; }
  .nav-links a { color: var(--dark); }
  .nav-links a.active, .nav-links a:hover { color: #9a9000; }
  .hero { text-align: left; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .features-grid { }
  .site-footer .container { text-align: center; justify-content: center; }
}
