@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg: #060708;
  --bg-soft: #0d0f12;
  --panel: #111419;
  --panel-2: #171a1f;
  --text: #f7f8fa;
  --muted: #a3a9b2;
  --line: #252a31;
  --red: #ed171f;
  --red-dark: #a90910;
  --success: #37c97f;
  --radius: 18px;
  --max: 1180px;
  --display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(237,23,31,.35); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(6,7,8,.88); backdrop-filter: blur(18px);
}
.nav-wrap { width: min(var(--max), calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.site-brand img { width: 210px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 9px 11px; border-radius: 8px; color: #c1c6cd; text-decoration: none; font-size: 13px; font-weight: 600; transition: .18s ease; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.055); }
.nav-portal { margin-left: 8px; background: var(--red) !important; color: #fff !important; padding: 10px 15px !important; }
.nav-portal:hover { background: #ff252d !important; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 72% 43%, rgba(237,23,31,.18), transparent 32%), linear-gradient(115deg, rgba(255,255,255,.025), transparent 46%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom,#000,transparent 86%); opacity: .55; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 40px)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 30px; }
.hero-copy { padding: 86px 0 96px; }
.kicker { color: #ff555b; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 12px 0 18px; font-family: var(--display); text-transform: uppercase; font-style: italic; letter-spacing: -.035em; line-height: .9; font-size: clamp(54px, 7vw, 92px); }
.hero h1 span { color: var(--red); }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.btn-site { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 13px; transition: .18s ease; }
.btn-site:hover { transform: translateY(-1px); border-color: #444b55; }
.btn-site.primary { background: linear-gradient(135deg,#f3232b,#b40a11); color: #fff; border-color: #ff343b; box-shadow: 0 10px 30px rgba(237,23,31,.16); }
.btn-site.light { background: #fff; color: #070809; border-color: #fff; }
.hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hero-visual img { position: absolute; width: min(850px, 120%); max-width: none; right: -22%; bottom: 3%; filter: drop-shadow(0 35px 35px rgba(0,0,0,.72)); }
.hero-badge { position: absolute; right: 2%; top: 22%; width: 190px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(9,11,14,.77); backdrop-filter: blur(13px); box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.hero-badge strong { display: block; font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.hero-badge span { color: var(--muted); font-size: 12px; }
.hero-redbar { height: 5px; background: linear-gradient(90deg,var(--red) 0 26%,#4e0609 26% 34%,transparent 34%); }

.trust-strip { border-bottom: 1px solid var(--line); background: #090b0d; }
.trust-grid { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 22px 26px; border-left: 1px solid var(--line); }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section { padding: 92px 0; }
.section.alt { background: #090b0d; border-top: 1px solid #16191e; border-bottom: 1px solid #16191e; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin: 5px 0 0; font-family: var(--display); font-size: clamp(35px,4vw,52px); line-height: 1; text-transform: uppercase; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card { min-height: 250px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg,#13161a,#0d0f12); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; right: -45px; top: -45px; width: 130px; height: 130px; border: 1px solid rgba(237,23,31,.2); transform: rotate(45deg); }
.service-no { color: var(--red); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { margin: 27px 0 9px; font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; }
.service-card p { color: var(--muted); font-size: 13px; margin: 0; }
.service-link { position: absolute; left: 27px; bottom: 24px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 28px; min-height: 220px; background: #0e1114; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(237,23,31,.12); border: 1px solid rgba(237,23,31,.3); color: #ff646a; font-family: var(--display); font-weight: 700; }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin: 32px 0 7px; }
.step p { color: var(--muted); font-size: 12px; margin: 0; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vehicle-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0d0f12; }
.vehicle-art { min-height: 175px; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%,rgba(237,23,31,.15),transparent 48%), #0a0c0f; position: relative; }
.vehicle-art::before { content: ''; width: 72%; aspect-ratio: 2.2; border-radius: 48% 52% 25% 25% / 65% 65% 30% 30%; background: linear-gradient(160deg,#282d34,#111419); box-shadow: inset 0 0 0 1px #373d46,0 22px 40px rgba(0,0,0,.45); transform: perspective(420px) rotateX(6deg); }
.vehicle-art::after { content: ''; position: absolute; width: 62%; height: 4px; bottom: 34px; background: rgba(237,23,31,.65); filter: blur(4px); }
.vehicle-body { padding: 19px 20px 21px; }
.vehicle-body h3 { margin: 0; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.vehicle-meta { margin-top: 6px; display: flex; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
.availability { margin-top: 14px; display: inline-flex; gap: 7px; align-items: center; color: #8de3b4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.availability::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(55,201,127,.11); }
.empty-state { grid-column: 1 / -1; padding: 36px; text-align: center; border: 1px dashed #343a43; border-radius: 16px; color: var(--muted); }

.portal-cta { position: relative; overflow: hidden; border: 1px solid #382025; border-radius: 22px; padding: 44px; background: linear-gradient(120deg,#180a0c,#101216 52%,#0c0e11); }
.portal-cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 84% 50%,rgba(237,23,31,.26),transparent 28%); pointer-events: none; }
.portal-cta > * { position: relative; z-index: 1; }
.portal-cta h2 { margin: 7px 0 11px; font-family: var(--display); font-size: 44px; line-height: .95; text-transform: uppercase; }
.portal-cta p { max-width: 660px; color: #afb5bd; }

.page-hero { position: relative; overflow: hidden; padding: 94px 0 75px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 45%,rgba(237,23,31,.14),transparent 28%), #080a0c; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 48px 48px; opacity: .5; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(50px,7vw,78px); max-width: 900px; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 16px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.copy h2, .content-block h2 { margin: 0 0 15px; font-family: var(--display); text-transform: uppercase; font-size: 38px; line-height: 1; }
.copy p, .content-block p { color: var(--muted); }
.fact-panel { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fact-row { padding: 20px 22px; border-bottom: 1px solid var(--line); background: #0e1114; }
.fact-row:last-child { border-bottom: 0; }
.fact-row strong { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.fact-row span { color: var(--muted); font-size: 12px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.contact-card, .contact-form { border: 1px solid var(--line); border-radius: 18px; background: #0d0f12; padding: 28px; }
.contact-card h2, .contact-form h2 { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin: 0 0 10px; }
.contact-card p { color: var(--muted); }
.contact-option { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.contact-option strong { display: block; }
.contact-option span { color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { display: block; margin-bottom: 7px; color: #c6cbd2; font-size: 12px; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #30353d; border-radius: 9px; background: #080a0c; color: #fff; padding: 11px 12px; outline: none; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,23,31,.08); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { color: #7f8791; font-size: 11px; margin-top: 12px; }

.site-footer { border-top: 1px solid var(--line); background: #050607; }
.footer-main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 50px 0 32px; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 45px; }
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 430px; color: #7f8791; font-size: 12px; }
.footer-col strong { display: block; margin-bottom: 12px; font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 7px 0; color: #9299a3; font-size: 12px; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 18px 0 25px; border-top: 1px solid #191c21; display: flex; justify-content: space-between; gap: 20px; color: #666e78; font-size: 11px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 12px; flex-direction: column; align-items: stretch; background: #0c0f12; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 25px 60px rgba(0,0,0,.45); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-portal { margin-left: 0; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 80px 0 25px; }
  .hero-visual { min-height: 400px; }
  .hero-visual img { width: min(760px,115%); right: -8%; }
  .hero-badge { right: 2%; top: 14%; }
  .card-grid, .vehicle-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-wrap, .container, .hero-inner, .trust-grid, .footer-main, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .site-brand img { width: 175px; }
  .hero-copy { padding-top: 62px; }
  .hero h1 { font-size: clamp(48px,15vw,70px); }
  .hero-visual { min-height: 300px; }
  .hero-badge { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .card-grid, .vehicle-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .portal-cta { padding: 30px 24px; }
  .portal-cta h2 { font-size: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

/* Public access buttons */
.nav-admin { border:1px solid #3a4048; color:#fff !important; background:#0b0d10; }
.nav-admin:hover { border-color:#666f7b; background:#15191e !important; }

/* Cross-device safeguards */
html, body { max-width:100%; overflow-x:hidden; }
.site-nav a, .btn-site, .nav-toggle { -webkit-tap-highlight-color: transparent; }
@media (max-width: 980px) {
  .nav-admin { text-align:center; }
  .site-nav { max-height:calc(100vh - 92px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
}
@media (max-width: 480px) {
  .nav-wrap { min-height:68px; }
  .site-nav { top:62px; left:14px; right:14px; }
  .site-nav a { min-height:44px; display:flex; align-items:center; justify-content:center; }
  .btn-site { width:100%; }
  .hero-actions { width:100%; }
}
