/* ===== SABII AUTO SERVICES — GLOBAL CSS ===== */
/* Aesthetic: Industrial Luxury · Bold Orange + Graphite + Cream */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Barlow+Condensed:wght@500;700;900&display=swap');

:root {
  /* Colors */
  --bg: #0e0c0a;
  --bg2: #131110;
  --bg3: #181512;
  --surface: #1e1a16;
  --surface2: #252018;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,150,30,0.12);

  --orange: #f05a00;
  --orange-light: #ff7a20;
  --orange-dim: rgba(240,90,0,0.15);
  --cream: #f0e8d8;
  --cream-dim: #8a7d6a;
  --steel: #3a3530;
  --steel-light: #5a5248;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --max-w: 1240px;
  --nav-h: 76px;
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== TEXTURE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(14,12,10,0.95);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-emblem {
  width: 42px;
  height: 42px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-emblem svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.logo-sub {
  font-family: var(--font-cond);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%) !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 2px solid var(--orange);
  padding: 2.5rem;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  z-index: 999;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 1.75rem; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,90,0,0.3); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--steel);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 2.75rem; font-size: 1rem; }

/* ===== SECTION TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

/* ===== HEADINGS ===== */
h1, h2, h3 { line-height: 1.0; }

.display-heading {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--cream);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  color: var(--cream);
}

.accent { color: var(--orange); }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== DIVIDER ===== */
.chevron-divider {
  position: relative;
  height: 50px;
  overflow: hidden;
}

.chevron-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 2px solid var(--orange);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--cream-dim);
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  color: var(--cream-dim);
  background: var(--surface);
  transition: all 0.2s;
}

.footer-socials a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--steel-light);
  font-size: 0.8rem;
  font-family: var(--font-cond);
  letter-spacing: 0.05em;
}

/* ===== PAGE HEADER ===== */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.page-hero p {
  color: var(--cream-dim);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
