:root {
  --yellow: #f5c518;
  --yellow-d: #e0b000;
  --black: #0d0d0e;
  --dark: #17181a;
  --dark-2: #222326;
  --line: #2e3034;
  --text: #1b1c1e;
  --muted: #6b6f76;
  --light: #f3f4f6;
  --white: #fff;
  --radius: 8px;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Barlow', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.4;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
[hidden] { display: none !important; }

.container { width: min(1280px, 100% - 32px); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 0; border-radius: 6px; cursor: pointer;
  font-weight: 700; transition: background .2s, transform .1s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: #111; }
.btn-yellow:hover { background: var(--yellow-d); }
.btn-dark { background: var(--dark-2); color: #fff; }
.btn-block { width: 100%; padding: 13px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.topbar { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #222; }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-gear { width: 44px; height: 44px; color: var(--yellow); animation: spin 14s linear infinite; }
.logo-text { font-family: var(--cond); font-weight: 800; font-size: 2rem; line-height: .9; letter-spacing: .5px; color: #fff; }
.logo-text b { color: var(--yellow); }
.logo-text small { display: block; font-size: .62rem; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; color: #ddd; margin-top: 3px; }
.logo-text.big { font-size: 2.4rem; }

.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-weight: 500; font-size: .95rem; padding: 24px 0; border-bottom: 3px solid transparent; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--yellow); }
.nav a.active { border-color: var(--yellow); }

.phone-link { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.phone-link svg { width: 18px; color: var(--yellow); }
.phone-link:hover { color: var(--yellow); }

/* Selector limbă */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 6px; cursor: pointer;
  background: var(--dark-2); color: #fff; border: 1px solid var(--line); font-weight: 600;
}
.lang-btn:hover { border-color: var(--yellow); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px 0; list-style: none;
  background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.25); z-index: 60;
}
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px;
  background: none; border: 0; cursor: pointer; font-weight: 500; text-align: left;
}
.lang-menu button:hover { background: #fff6cf; }
.lang-menu button.active { font-weight: 700; background: var(--light); }

.account { position: relative; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  background: #fff; color: var(--text); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.25); overflow: hidden;
}
.account-head { padding: 12px 16px; background: var(--light); font-size: .9rem; }
.account-head b { display: block; }
.account-menu a, .account-menu button {
  display: block; width: 100%; text-align: left; padding: 11px 16px;
  background: none; border: 0; cursor: pointer; font-weight: 500;
}
.account-menu a:hover, .account-menu button:hover { background: #fff6cf; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url(img/hero.jpg) center / cover no-repeat;
  filter: blur(6px) brightness(.45) saturate(.8);
  transform: scale(1.08);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 52% 50%, rgba(245,197,24,.12), transparent 40%),
              linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.1) 45%, rgba(0,0,0,.6));
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 460px 340px; gap: 24px; align-items: center;
  padding: 34px 0;
}
.hero-text h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.05; font-weight: 700; }
.hero-text h1 span { color: var(--yellow); }
.hero-sub { font-size: 1.15rem; margin: 14px 0 26px; color: #e9e9e9; }
.hero-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.hero-features li { display: flex; gap: 14px; align-items: flex-start; }
.hero-features svg { width: 32px; height: 32px; color: var(--yellow); flex: none; }
.hero-features b { display: block; font-size: 1.05rem; }
.hero-features span { color: #c9c9c9; font-size: .9rem; }

/* ---------- Orbit animation ---------- */
.orbit-wrap { display: grid; justify-items: center; gap: 14px; }
.orbit {
  --size: 420px; --sat: 150px; --r: calc(var(--size) / 2 - var(--sat) / 2 - 6px);
  --dur: 1.1s;
  position: relative; width: var(--size); height: var(--size);
}
.orbit-track {
  position: absolute; inset: calc(var(--sat) / 2 + 6px - 1px);
  border: 2px dashed rgba(245,197,24,.55); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit-track--inner {
  inset: calc(var(--sat) / 2 + 48px);
  border: 1px solid rgba(255,255,255,.12);
  animation-direction: reverse; animation-duration: 25s;
}
.orbit-ring {
  --spin: 0deg;
  position: absolute; inset: 0;
  transform: rotate(var(--spin));
  transition: transform var(--dur) cubic-bezier(.65,.05,.25,1);
}
.sat {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: var(--sat); height: var(--sat);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.sat-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transform: rotate(calc(var(--spin) * -1)) scale(.78);
  transition: transform var(--dur) cubic-bezier(.65,.05,.25,1), border-color .4s, box-shadow .4s, filter .4s;
  filter: grayscale(.5) brightness(.7);
  background: #000;
}
.sat-inner img { width: 100%; height: 100%; object-fit: cover; }
.sat.active .sat-inner {
  transform: rotate(calc(var(--spin) * -1)) scale(1.08);
  border-color: var(--yellow);
  box-shadow: 0 0 0 6px rgba(245,197,24,.25), 0 14px 40px rgba(0,0,0,.7);
  filter: none;
}
.orbit-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 170px; height: 170px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle, #222 0%, #0b0b0b 75%);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 40px rgba(245,197,24,.25), inset 0 0 20px rgba(0,0,0,.8);
}
.orbit-center small { color: #bbb; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.orbit-center strong { font-family: var(--cond); font-size: 2.2rem; color: var(--yellow); text-transform: uppercase; line-height: 1; }
.orbit-center span { font-size: .75rem; color: #ddd; padding: 0 18px; }
.orbit-center .swap { animation: fadeUp .5s ease; }
.orbit-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #111; font-size: 1.8rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: background .2s;
}
.orbit-nav:hover { background: var(--yellow); }
.orbit-nav.prev { left: -10px; }
.orbit-nav.next { right: -10px; }
.orbit-dots { display: flex; gap: 8px; }
.orbit-dots button { width: 26px; height: 5px; border-radius: 3px; border: 0; background: #666; cursor: pointer; transition: all .3s; }
.orbit-dots button.active { width: 40px; background: var(--yellow); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Request panel ---------- */
.request-panel {
  background: rgba(13,13,14,.94); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.request-panel h2 { font-family: var(--cond); color: var(--yellow); font-size: 1.75rem; text-transform: uppercase; margin-bottom: 14px; }
.request-panel form { display: grid; gap: 9px; }
.request-panel input:not([type=radio]):not([type=file]) {
  width: 100%; padding: 10px 12px; border-radius: 6px; border: 1px solid #ccc; background: #f6f6f6; color: #111;
}
.request-panel input:focus { outline: 2px solid var(--yellow); outline-offset: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vehicle-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vehicle-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle-tabs span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 4px 4px 6px; border-radius: 7px; cursor: pointer; text-align: center;
  background: var(--dark-2); border: 1px solid var(--line);
  font-weight: 600; font-size: .8rem; line-height: 1.15;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.vehicle-tabs img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px;
  filter: grayscale(.45) brightness(.75);
  transition: filter .25s, transform .25s;
}
.vehicle-tabs span:hover { border-color: rgba(245,197,24,.6); }
.vehicle-tabs span:hover img { filter: grayscale(.1) brightness(.95); }
.vehicle-tabs em { font-style: normal; }
.vehicle-tabs input:checked + span {
  background: var(--yellow); color: #111; border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.25);
}
.vehicle-tabs input:checked + span img { filter: none; }
.vehicle-tabs input:focus-visible + span { outline: 2px solid #fff; }
.dropzone {
  position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1.5px dashed #666; border-radius: 6px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--yellow); background: rgba(245,197,24,.06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 30px; height: 30px; flex: none; }
.dropzone small { display: block; color: #aaa; font-size: .78rem; }
.form-msg { margin: 0; min-height: 1.2em; font-size: .9rem; font-weight: 600; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #f87171; }
.form-note { margin: 0; text-align: center; font-size: .85rem; color: #ccc; }

/* ---------- Perks ---------- */
.perks { background: var(--light); border-bottom: 1px solid #e3e3e3; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 0; }
.perk { display: flex; gap: 12px; align-items: center; }
.perk-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; }
.perk-ico svg { width: 24px; height: 24px; }
.perk b { display: block; font-size: .95rem; }
.perk small { color: var(--muted); }

/* ---------- Vehicle cards ---------- */
.vehicle-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.vcard {
  position: relative; min-height: 190px; border-radius: var(--radius); overflow: hidden; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 25%, rgba(0,0,0,.1) 70%), var(--img) center 35% / cover;
  transition: transform .25s, box-shadow .25s;
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.vcard h3 { font-family: var(--cond); font-size: 1.6rem; text-transform: uppercase; }
.vcard p { margin: 2px 0 0; font-size: .9rem; color: #e5e5e5; }
.vcard i {
  font-style: normal; flex: none; width: 34px; height: 34px; border-radius: 6px;
  background: var(--yellow); color: #111; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
}

/* ---------- Categories + how ---------- */
.split { display: grid; grid-template-columns: 1fr 330px; gap: 22px; margin-top: 30px; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.section-head h2, .brands h2 { font-family: var(--cond); font-size: 1.5rem; text-transform: uppercase; }
.section-head a { color: var(--muted); font-size: .92rem; }
.section-head a:hover { color: #111; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-grid a {
  border: 1px solid #e3e3e3; border-radius: var(--radius); padding: 14px 8px 12px; text-align: center;
  display: grid; justify-items: center; gap: 8px; transition: border-color .2s, box-shadow .2s;
}
.cat-grid a:hover { border-color: var(--yellow); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.cat-grid img { height: 70px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-grid span { font-weight: 600; font-size: .9rem; }

.how { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 20px; }
.how h2 { font-family: var(--cond); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 12px; }
.how ol { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.how li { counter-increment: s; position: relative; padding-left: 46px; }
.how li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: #111;
  display: grid; place-items: center; font-weight: 700;
}
.how b { display: block; }
.how span { color: #bbb; font-size: .88rem; }

/* ---------- Brands ---------- */
.brands { margin: 30px auto 40px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; align-items: center; }
.brand-row span { font-family: var(--cond); font-weight: 800; font-size: 1.35rem; color: #3a3d42; letter-spacing: .5px; opacity: .8; transition: opacity .2s, color .2s; }
.brand-row span:hover { opacity: 1; color: #000; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #ccc; padding: 36px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; text-transform: uppercase; margin-bottom: 10px; }
.footer p { margin: 6px 0; }
.footer a:hover { color: var(--yellow); }
.footer .btn { margin-top: 8px; }
.copy { border-top: 1px solid #222; margin-top: 26px; padding-top: 14px; font-size: .85rem; color: #888; }

.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,197,24,.6); } 50% { box-shadow: 0 0 0 14px rgba(245,197,24,0); } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; background: #fff; border-radius: 10px; width: min(420px, 100%); padding: 26px; max-height: 90vh; overflow: auto; animation: fadeUp .25s; }
.modal-box.wide { width: min(760px, 100%); }
.modal-box h3 { margin-bottom: 14px; }
.modal-close { position: absolute; right: 10px; top: 6px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: #888; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 2px solid #eee; }
.auth-tabs button { background: none; border: 0; padding: 10px; font-weight: 700; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.auth-tabs button.active { color: #111; border-color: var(--yellow); }
.auth-form { display: grid; gap: 12px; }
.auth-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.auth-form input { padding: 11px 12px; border: 1px solid #ccc; border-radius: 6px; }
.auth-form input:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }

.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.table th { background: var(--light); font-size: .8rem; text-transform: uppercase; color: var(--muted); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge.new { background: #fff3c4; color: #8a6500; }
.badge.done { background: #dcfce7; color: #166534; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr 360px; }
  .orbit-wrap { grid-column: 1 / -1; grid-row: 2; }
  .request-panel { grid-row: 1 / span 1; }
  .nav { gap: 18px; }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--black); flex-direction: column; gap: 0; padding: 8px 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border: 0; }
  .burger { display: block; }
  .phone-link { font-size: .9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-wrap { grid-row: auto; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar-inner { gap: 12px; }
  .logo-text { font-size: 1.5rem; }
  .logo-text small { display: none; }
  .logo-gear { width: 34px; height: 34px; }
  .phone-link { display: none; }
  .lang-btn { padding: 7px 8px; }
  .lang-btn svg { display: none; }
  #accountLabel { display: none; }
  .orbit { --size: 320px; --sat: 112px; }
  .orbit-center { width: 128px; height: 128px; }
  .orbit-center strong { font-size: 1.7rem; }
  .orbit-center span { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
