/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--white); overflow-x: hidden; background: #050505; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── VARS ── */
:root {
  --gold: #D05F00;
  --gold-l: #E8720F;
  --white: #fff;
  --w70: rgba(255,255,255,0.7);
  --w40: rgba(255,255,255,0.4);
  --w15: rgba(255,255,255,0.15);
  --w08: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', -apple-system, sans-serif;
}

/* ── FIXED BACKGROUND ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,0.58);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.solid {
  background: rgba(4,4,4,0.94);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-logo img { height: 32px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
  color: var(--w70);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-btn {
  background: var(--gold);
  color: #000 !important;
  padding: 9px 22px;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.nav-btn:hover { background: var(--gold-l) !important; }

.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--white); }
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(4,4,4,0.97);
  backdrop-filter: blur(20px);
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 22px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--w70); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; transition: color 0.2s; }
.nav-mobile a:hover { color: var(--white); }

/* ── FOOTER ── */
footer {
  background: rgba(2,2,2,0.97);
  border-top: 1px solid var(--border);
  padding: 60px 52px 36px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-logo img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: var(--w40); line-height: 1.85; }
.footer-social-icons { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.footer-social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  color: var(--w40);
  font-size: 15px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social-icons a:hover { color: var(--white); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.footer-col-title { font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--w40); margin-bottom: 18px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 2.1; }
.footer-contact a { color: var(--gold); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-l); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.18); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  color: var(--w40); font-size: 14px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-socials a:hover { color: var(--white); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* ── SHARED TYPOGRAPHY ── */
.section-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
}
.section-rule { width: 40px; height: 1px; background: var(--gold); margin-top: 20px; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #000;
  padding: 14px 32px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); color: #000; }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--white);
  padding: 13px 32px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--w40); cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  nav { padding: 0; }
  .nav-inner { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  footer { padding: 44px 22px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1050px) {
  nav { padding: 0; }
  .nav-inner { padding: 0 28px; }
  footer { padding: 52px 28px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE BG ── */
@media (max-width: 768px) {
  .page-bg { background-attachment: scroll; }
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--w70);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-right: 6px;
}
.theme-toggle:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.nav-toggle-mobile { display: none; margin-right: 0; }
@media (max-width: 768px) {
  .nav-toggle-desktop { display: none !important; }
  .nav-toggle-mobile { display: flex; margin-right: 10px; }
}

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--w70);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0; margin-right: 6px;
}
.lang-toggle:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.nav-lang-mobile { display: none; margin-right: 6px; }
@media (max-width: 768px) {
  .nav-lang-desktop { display: none !important; }
  .nav-lang-mobile { display: flex; }
}
body.light nav.solid .lang-toggle {
  background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.5);
}
body.light nav:not(.solid) .lang-toggle { color: rgba(255,255,255,0.75); }

/* ── LIGHT THEME ── */
body.light {
  --white: #111;
  --w70: rgba(0,0,0,0.65);
  --w40: rgba(0,0,0,0.4);
  --w15: rgba(0,0,0,0.12);
  --w08: rgba(0,0,0,0.07);
  --border: rgba(0,0,0,0.1);
  background: #f5f5f5;
}
/* No overlay on transparent sections in light theme */
body.light .page-overlay {
  background: transparent !important;
}
/* Sections that always stay dark regardless of theme */
body.light .hero,
body.light .page-hero,
body.light .car-hero,
body.light .cat-header,
body.light .process-wrap,
body.light .cta-wrap,
body.light .article-wrap,
body.light .about-cta,
body.light .team-section {
  --white: #fff;
  --w70: rgba(255,255,255,0.7);
  --w40: rgba(255,255,255,0.4);
  --w15: rgba(255,255,255,0.15);
  --border: rgba(255,255,255,0.09);
  color: #fff;
}
/* Dark overlay on top of the light page-overlay for these sections */
body.light .hero::before,
body.light .page-hero::before,
body.light .cat-header::before,
body.light .process-wrap::before,
body.light .cta-wrap::before,
body.light .article-wrap::before,
body.light .about-cta::before,
body.light .team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 0;
  pointer-events: none;
}
/* car-hero already has its own .car-hero-overlay, just restore variables above */
/* Logo in hero stays white */
body.light .hero .hero-logo img { filter: brightness(0) invert(1); }
/* Nav solid → white */
body.light nav.solid {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
/* Transparent nav: white text over dark hero */
body.light nav:not(.solid) .nav-links a { color: rgba(255,255,255,0.75); }
body.light nav:not(.solid) .nav-links a:hover { color: #fff; }
body.light nav:not(.solid) .theme-toggle { color: rgba(255,255,255,0.75); }
/* Solid nav: dark text + black logo */
body.light nav.solid .nav-links a { color: rgba(0,0,0,0.5); }
body.light nav.solid .nav-links a:hover { color: #111; }
body.light nav.solid .nav-logo img { filter: brightness(0); }
body.light nav.solid .theme-toggle {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.5);
}
body.light .nav-mobile {
  background: rgba(255,255,255,0.98) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
body.light .nav-mobile a { color: rgba(0,0,0,0.5); }
body.light .nav-mobile a:hover { color: #111; }
/* Footer → white */
body.light footer {
  background: rgba(255,255,255,0.97) !important;
  border-top-color: rgba(0,0,0,0.08) !important;
}
body.light .footer-logo img { filter: brightness(0); }
body.light .footer-nav a,
body.light .footer-contact,
body.light .footer-desc { color: rgba(0,0,0,0.45); }
body.light .footer-copy { color: rgba(0,0,0,0.25); }
body.light .footer-social-icons a,
body.light .footer-socials a {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.4);
}
body.light .footer-social-icons a:hover,
body.light .footer-socials a:hover { color: #111; border-color: rgba(0,0,0,0.3); }
