
/* ========== GLOBAL ========== */
:root {
  --primary-btn: #E4741E;
  --primary-btn-hover: #A24715;
  --nav-bg: #3A1A06;
  --bg-light: #F5F5F5;
  --text-main: #1F1F1F;
  --highlight: #F6D434;
  --white: #ffffff;
  --border: #e5e7eb;
  --max-width: 1120px;

  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

section {
  padding: 3.5rem 0;
}

h1, h2, h3, h4 {
  letter-spacing: 0.02em;
}

/* ========== HEADER / NAV ========== */

header.site-header {
  background: var(--nav-bg);
  color: #f5f5f5;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  width: 150px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #2f1304;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-title {
  font-size: 0.8rem;
  line-height: 1.3;
}

.header-title span:first-child {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.header-title span:last-child {
  display: block;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.85rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  color: #f9fafb;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 0.18s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f9fafb;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ========== BUTTONS ========== */

.btn-primary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--primary-btn);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(228, 116, 30, 0.35);
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.5);
  background: transparent;
  color: #f9fafb;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ========== HERO ========== */

.hero {
  background: radial-gradient(circle at top left, #7a4b1c 0, #3A1A06 40%, #150803 100%);
  color: #f9fafb;
  padding: 3.5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fbbf24;
  margin-bottom: 0.45rem;
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.18;
  margin-bottom: 0.8rem;
}

.hero-title span {
  color: #fde68a;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: #e5e7eb;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #d1d5db;
}

.hero-meta strong {
  color: #fef9c3;
}

.hero-card {
  background: rgba(0, 0, 0, 0.38);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.83rem;
  color: #e5e7eb;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.stat {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.9rem;
  padding: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
}

.stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

/* ========== SECTION UTILITIES ========== */

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 640px;
  margin: 0.25rem auto 0;
}

.pill {
  display: inline-flex;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(250, 204, 21, 0.16);
  color: #92400e;
  margin-bottom: 0.5rem;
}

.text-muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.card {
  background: var(--white);
  padding: 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.clean-list {
  list-style: none;
  padding-left: 0;
}

.clean-list li {
  margin-bottom: 0.4rem;
}

/* GRID */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.tag {
  display: inline-flex;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #fff7e6;
  color: #92400e;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

/* BRANDS STRIP */

.brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.brand-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  border: 1px dashed #e5e7eb;
  font-size: 0.83rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--highlight);
}

/* EXPORT BOX */

.export-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

/* TIMELINE */

.timeline {
  border-left: 2px solid #e5e7eb;
  padding-left: 1.2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--highlight);
}

.timeline-year {
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-text {
  font-size: 0.88rem;
  color: #4b5563;
}

/* AWARDS CAROUSEL (simple horizontal scroll) */

.awards-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.awards-strip img {
  width: 220px;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

/* CONTACT GRID */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.85rem;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* FOOTER */

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.3rem 0;
  font-size: 0.78rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner,
  .two-col,
  .grid-3,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset: 54px 0 auto 0;
    background: var(--nav-bg);
    padding: 0.8rem 1.25rem 1.2rem;
    flex-direction: column;
    gap: 0.8rem;
    transform: translateY(-120%);
    transition: transform 0.18s ease-out;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
}

/* ===========================================
   SAFE PATCH — DOES NOT MODIFY EXISTING LAYOUT
   Only fixes new pages (Privacy, Footer columns)
=========================================== */

/* Footer with columns */
.footer-col {
  flex: 1 1 220px;
  min-width: 200px;
  padding-right: 1rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-col a {
  display: block;
  color: #d1d5db;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  text-align: center;
  padding: 0.8rem;
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Privacy policy spacing */
.privacy-section p,
.privacy-section ul,
.privacy-section h3 {
  margin-bottom: 1rem;
}

.privacy-section ul {
  padding-left: 1.2rem;
}

/* Ensure images never overflow in cards */
.card img {
  max-width: 100%;
  height: auto;
}

/* Keep header logo scaling safe */
.header-logo img {
  width: 100%;
  object-fit: contain;
}
/* Mobile: Improve header spacing & logo scaling */
@media (max-width: 768px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }

  .header-left {
    gap: 0.5rem;
  }

  .header-logo {
    width: 120px;
    height: 38px;
  }

  .header-title span:first-child {
    font-size: 0.75rem;
  }

  .header-title span:last-child {
    font-size: 0.65rem;
  }
}@media (max-width: 768px) {
  .nav-links {
    text-align: left;
    padding-top: 1rem;
  }
  .nav-links a {
    font-size: 0.95rem;
    padding: 0.3rem 0;
  }
}@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-card {
    margin-top: 2rem;
  }
}@media (max-width: 768px) {
  section {
    padding: 2.2rem 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }
}@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}@media (max-width: 768px) {
  .card p,
  .text-muted {
    font-size: 0.85rem;
  }
}@media (max-width: 768px) {
  .timeline {
    padding-left: 0.8rem;
  }
  .timeline-year {
    font-size: 0.9rem;
  }
  .timeline-text {
    font-size: 0.85rem;
  }
}@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}@media (max-width: 600px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* OEM logos responsive fix */
.oem-logos {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Safety for mobile */
@media (max-width: 780px) {
  .card {
    overflow: hidden;
  }
}
