* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #f7f7f7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(4,4,4,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.brand { display: flex; flex-direction: column; gap: 4px; }
.brand-title { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.74rem; color: #9f9f9f; text-transform: uppercase; letter-spacing: 0.24em; }
.desktop-nav { display: flex; align-items: center; gap: 18px; }
.desktop-nav > a, .menu-group > button { color: #d0d0d0; font-size: 0.95rem; background: none; border: 0; cursor: pointer; }
.menu-group { position: relative; }
.menu-group:hover .mega-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-menu {
  position: absolute; left: 0; top: calc(100% + 18px); width: min(720px, 78vw);
  background: rgba(9,9,9,0.97); border: 1px solid rgba(255,255,255,0.08); border-radius: 28px; padding: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: 0.22s ease;
}
.mega-title { font-size: 0.78rem; color: #8f8f8f; text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 12px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; max-height: 430px; overflow: auto; }
.mega-grid a {
  padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,0.03); color: #ededed; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.04); transition: 0.2s ease;
}
.mega-grid a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; transition: 0.2s ease;
  cursor: pointer; font-weight: 700; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #ffffff; color: #000000; }
.btn-outline { background: rgba(255,255,255,0.04); color: #ffffff; border-color: rgba(255,255,255,0.12); }
.btn-big { padding: 16px 28px; }
.btn-block { width: 100%; }
.btn.tiny { padding: 8px 14px; font-size: 0.86rem; }
.badge, .chip, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #d7d7d7; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em;
}
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 22%), radial-gradient(circle at left center, rgba(255,255,255,0.06), transparent 30%), #050505;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; padding: 82px 0 72px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -0.04em; }
.lead { font-size: 1.05rem; line-height: 1.9; color: #c9c9c9; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.mini-keywords { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mini-keywords span {
  padding: 12px 16px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #efefef;
}
.mini-keywords.alt span { background: rgba(255,255,255,0.03); font-size: 0.94rem; }

.hero-marquee { margin-top: 24px; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.hero-marquee.alt { margin-top: 12px; background: linear-gradient(90deg, rgba(255,215,0,0.08), rgba(0,157,255,0.05), rgba(255,255,255,0.02)); }

.hero-gallery { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:18px; position:relative; z-index:2; }
.hero-gallery-card {
  position:relative; overflow:hidden; border-radius:24px; min-height:190px; padding:14px;
  border:1px solid rgba(255,255,255,0.10); background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  display:flex; flex-direction:column; justify-content:space-between;
}
.hero-gallery-card img { width:100%; height:118px; object-fit:cover; border-radius:18px; border:1px solid rgba(255,255,255,0.08); background:#060606; }
.hero-gallery-card strong { display:block; font-size:1.08rem; margin-top:10px; }
.hero-gallery-card span { display:block; color:#d0d0d0; margin-top:4px; font-size:0.92rem; line-height:1.5; }
.hero-gallery-card.ferrari { background:linear-gradient(135deg, rgba(255,70,70,0.18), rgba(255,255,255,0.03)); }
.hero-gallery-card.porsche { background:linear-gradient(135deg, rgba(255,190,40,0.18), rgba(255,255,255,0.03)); }
.hero-gallery-card.bmw { background:linear-gradient(135deg, rgba(70,150,255,0.18), rgba(255,255,255,0.03)); }
.hero-gallery-card.mercedes { background:linear-gradient(135deg, rgba(210,216,225,0.14), rgba(255,255,255,0.03)); }
.brand-ribbons.large span { padding:11px 16px; font-size:0.86rem; }
.car-track.deluxe { height:140px; margin-top:8px; }
.car.fast-car { top:24px; animation-duration:5.4s; }
.car.fast-car.two { top:74px; animation-duration:7.1s; animation-delay:1.2s; width:190px; height:70px; opacity:0.88; }
.marquee-track { display: flex; gap: 12px; width: max-content; padding: 12px; animation: marquee 26s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 30s; }
.marquee-track span {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06); color: #fff; font-weight: 700;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.car-card, .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 34px;
  box-shadow: 0 35px 100px rgba(0,0,0,0.45);
}
.car-card { padding: 26px; position: relative; overflow: hidden; min-height: 360px; }
.road { position: absolute; left: 0; right: 0; bottom: 115px; height: 2px; background: rgba(255,255,255,0.12); }
.car-track { height: 210px; position: relative; overflow: hidden; }
.car {
  width: 210px; height: 78px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14);
  position: absolute; left: -220px; top: 88px; animation: drive 6s linear infinite;
  display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; letter-spacing: 0.06em;
}
.car::before, .car::after {
  content: ''; position: absolute; width: 18px; height: 18px; background: #fff; border-radius: 999px; bottom: -9px;
}
.car::before { left: 26px; }
.car::after { right: 26px; }
.car-glow { position: absolute; inset: -24px; background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 65%); }
.car-label { position: relative; z-index: 1; }
.brand-ribbons { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; margin-bottom: 18px; }
.brand-ribbons span { padding: 10px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: linear-gradient(135deg, rgba(255,92,92,0.22), rgba(84,163,255,0.22)); border: 1px solid rgba(255,255,255,0.12); }
.cars-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; position: relative; z-index: 2; margin-bottom: 18px; }
.car-show { min-height: 72px; padding: 16px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); display: grid; gap: 6px; }
.car-show strong { font-size: 1rem; }
.car-show span { color: #d7d7d7; font-size: 0.85rem; }
.car-show-1 { background: linear-gradient(135deg, rgba(255,65,65,0.22), rgba(255,255,255,0.04)); }
.car-show-2 { background: linear-gradient(135deg, rgba(34,144,255,0.2), rgba(255,255,255,0.04)); }
.car-show-3 { background: linear-gradient(135deg, rgba(255,180,0,0.2), rgba(255,255,255,0.04)); }
.car-show-4 { background: linear-gradient(135deg, rgba(101,210,142,0.2), rgba(255,255,255,0.04)); }
.car-copy { margin-top: 26px; }
.car-copy h3 { margin: 0 0 10px; font-size: 1.45rem; }
.car-copy p { margin: 0; color: #c8c8c8; line-height: 1.8; }
@keyframes drive {
  0% { transform: translateX(0); }
  100% { transform: translateX(620px); }
}
.section { padding: 76px 0; }
.section-dark { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-head { max-width: 800px; margin-bottom: 26px; }
.section-head.left { margin-bottom: 22px; }
.section-head h2 { margin: 14px 0 10px; font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -0.03em; }
.section-head p { color: #bdbdbd; line-height: 1.85; }
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.location-card, .compact-card { padding: 24px; }
.location-card h3 { margin: 18px 0 10px; font-size: 1.34rem; }
.location-card p { color: #c7c7c7; line-height: 1.8; }
.arrow { display: inline-flex; margin-top: 18px; color: #fff; font-weight: 700; }
.split-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { padding: 30px; }
.feature-card h2, .feature-card h3 { margin-top: 14px; font-size: 1.6rem; }
.feature-card p { color: #c5c5c5; line-height: 1.85; }
.tick-list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 12px; }
.tick-list li { padding-left: 26px; position: relative; color: #ececec; }
.tick-list li::before { content: '•'; position: absolute; left: 8px; top: 0; color: #ffffff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 22px; }
.stats-grid div { padding: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; }
.stats-grid strong { display: block; font-size: 1.55rem; }
.stats-grid span { display: block; color: #bababa; margin-top: 6px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.faq-item { padding: 24px; border-radius: 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.faq-item h3 { margin: 0 0 12px; font-size: 1.2rem; }
.faq-item p { margin: 0; color: #c5c5c5; line-height: 1.8; }
.inner-hero { border-bottom: 1px solid rgba(255,255,255,0.06); }
.inner-grid { align-items: start; }
.sidebar-cta { padding: 26px; }
.sidebar-cta h3 { margin-top: 0; font-size: 1.45rem; }
.sidebar-cta p { color: #c3c3c3; line-height: 1.75; }
.sidebar-cta small { display: block; color: #a5a5a5; margin-top: 14px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 0.95rem; color: #b1b1b1; }
.compact-card { display: flex; flex-direction: column; gap: 6px; }
.compact-card strong { font-size: 1.06rem; }
.seo-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.seo-copy-box { padding: 18px; border-radius: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); display: grid; gap: 8px; }
.seo-copy-box strong { font-size: 1rem; }
.seo-copy-box span { color: #cfcfcf; line-height: 1.75; }
.site-footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 42px 0; background: rgba(0,0,0,0.35); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr; gap: 28px; }
.site-footer p, .site-footer span { color: #bababa; line-height: 1.8; }
.site-footer h4 { margin: 0 0 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #ededed; }
.floating-cta { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  min-width: 130px; text-align: center; padding: 14px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}
.float-wa { background: #ffffff; color: #000000; }
.float-call { background: rgba(255,255,255,0.06); color: #ffffff; border: 1px solid rgba(255,255,255,0.12); }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(4,4,4,0.97); }
.mobile-inner { padding: 16px 0 18px; display: grid; gap: 14px; }
.mobile-inner > a, .mobile-links a { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.04); }
.mobile-links { display: grid; gap: 10px; max-height: 280px; overflow: auto; margin-top: 10px; }
details summary { cursor: pointer; }
.not-found { text-align: center; padding: 80px 0; }
.flash { padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; }
.flash-success { background: rgba(46, 204, 113, 0.12); border: 1px solid rgba(46, 204, 113, 0.28); }
.flash-error { background: rgba(231, 76, 60, 0.12); border: 1px solid rgba(231, 76, 60, 0.28); }

.admin-page { background: #070707; color: #f6f6f6; }
.admin-layout { display: grid; grid-template-columns: 290px 1fr; min-height: 100vh; }
.admin-sidebar { border-right: 1px solid rgba(255,255,255,0.08); padding: 26px 20px; position: sticky; top: 0; height: 100vh; background: rgba(10,10,10,0.95); }
.admin-nav { margin-top: 28px; display: grid; gap: 10px; }
.admin-nav a { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.04); color: #ededed; }
.admin-content { padding: 28px; display: grid; gap: 22px; }
.admin-card { padding: 28px; border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)); border: 1px solid rgba(255,255,255,0.08); }
.admin-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-shell.small { max-width: 560px; margin: 0 auto; }
.auth-card { padding: 34px; }
.admin-form { display: grid; gap: 16px; }
.admin-form.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-form.stack { grid-template-columns: 1fr; }
.admin-form label { display: grid; gap: 8px; }
.admin-form label span { color: #d6d6d6; font-size: 0.94rem; }
.admin-form .full { grid-column: 1 / -1; }
.form-control {
  width: 100%; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff; outline: none;
}
.form-control:focus { border-color: rgba(255,255,255,0.24); box-shadow: 0 0 0 4px rgba(255,255,255,0.05); }
.location-search { margin-bottom: 18px; }
.location-table-wrap { overflow: auto; }
.location-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.location-table th, .location-table td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: top; text-align: left; }
.location-table th { color: #b8b8b8; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.12em; }
.location-edit-form { display: grid; gap: 10px; min-width: 380px; padding-top: 12px; }
.location-edit-form .check { display: flex; align-items: center; gap: 10px; }
.admin-actions { display: flex; justify-content: flex-start; gap: 14px; margin-top: 10px; }
code { padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,0.08); }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #fff; }
  .mobile-menu.open { display: block; }
  .hero-grid, .split-two, .footer-grid, .faq-grid, .seo-copy-grid { grid-template-columns: 1fr; }
  .card-grid.three, .card-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}
@media (max-width: 760px) {
  .nav-wrap { gap: 14px; }
  .hero-gallery { grid-template-columns: 1fr; }
  .nav-actions .btn { display: none; }
  .hero-grid { padding: 58px 0 48px; }
  .section { padding: 56px 0; }
  .card-grid.three, .card-grid.four { grid-template-columns: 1fr; }
  .admin-content { padding: 16px; }
  .admin-form.two-col { grid-template-columns: 1fr; }
}
