:root {
  --fm-charcoal: #14181d;
  --fm-navy: #1b2a3d;
  --fm-navy-2: #23384f;
  --fm-steel: #4d5b6b;
  --fm-steel-light: #eef1f4;
  --fm-amber: #f2a71b;
  --fm-amber-dark: #d68f0f;
  --fm-white: #ffffff;
  --fm-text-dark: #1a1d21;
  --fm-text-muted: #5b6572;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--fm-text-dark);
  background: var(--fm-white);
}

h1, h2, h3, h4, .fm-brand-name {
  font-family: 'Oswald', -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fm-eyebrow {
  font-family: 'Oswald', sans-serif;
  color: var(--fm-amber-dark);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.fm-eyebrow-light { color: var(--fm-amber); }

.fm-h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--fm-navy);
}
.fm-h2-light { color: var(--fm-white); }

.fm-h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fm-navy);
  margin-bottom: 0.5rem;
}
.fm-h3-light {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fm-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fm-body { color: var(--fm-text-muted); line-height: 1.7; }

/* ===== NAVBAR ===== */
.fm-navbar {
  background: rgba(20, 24, 29, 0.96);
  backdrop-filter: blur(6px);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.fm-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.fm-logo-chip {
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.fm-logo-chip img { height: 30px; width: auto; display: block; }
.fm-brand-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}
.fm-navbar .nav-link {
  color: #d7dde3;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
}
.fm-navbar .nav-link:hover { color: var(--fm-amber); }

.fm-btn-amber {
  background: var(--fm-amber);
  border: 1px solid var(--fm-amber);
  color: #1a1200;
}
.fm-btn-amber:hover {
  background: var(--fm-amber-dark);
  border-color: var(--fm-amber-dark);
  color: #1a1200;
}
.fm-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
}
.fm-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.fm-btn-outline-dark {
  background: transparent;
  border: 2px solid var(--fm-navy);
  color: var(--fm-navy);
}
.fm-btn-outline-dark:hover {
  background: var(--fm-navy);
  color: #fff;
}

/* ===== HERO (compact, angled bottom edge) ===== */
.fm-hero {
  position: relative;
  min-height: 78vh;
  background: url('img/hero.webp') center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  margin-bottom: -4vw;
}
.fm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(15, 25, 40, 0.55) 0%, rgba(15, 25, 40, 0.10) 100%),
    linear-gradient(to bottom, rgba(20, 35, 55, 0.55) 0%, rgba(20, 35, 55, 0.25) 45%, rgba(15, 24, 29, 0.65) 100%);
}
.fm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  background: rgba(10, 16, 26, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}
.fm-hero-eyebrow {
  color: #ffd479;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.fm-hero-title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.fm-hero-subtitle {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.fm-hero-tagline {
  color: #f1f3f5;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0.75rem auto 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* ===== BRAND STRIP ===== */
.fm-brand-strip {
  background: var(--fm-steel-light);
  position: relative;
  padding-top: 5rem !important;
}
.fm-brand-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(20,24,29,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 110px;
}
.fm-brand-card img { max-width: 100%; height: 64px; width: auto; object-fit: contain; }

/* ===== ABOUT ===== */
.fm-about-img { width: 100%; height: auto; object-fit: cover; }
.fm-stat {
  background: var(--fm-steel-light);
  border-radius: 10px;
  padding: 1rem 0.5rem;
}
.fm-stat-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--fm-navy);
}
.fm-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm-text-muted);
}

/* ===== SERVICES ===== */
.fm-services { background: #fff; }
.fm-service-card {
  background: var(--fm-steel-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--fm-amber);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(20,24,29,0.10);
}
.fm-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--fm-navy);
  color: var(--fm-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.fm-gallery { background: var(--fm-steel-light); }
.fm-gallery-item {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 10px rgba(20,24,29,0.08);
}
.fm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.fm-gallery-item:hover img { transform: scale(1.06); }
.fm-quote-tile {
  background: var(--fm-navy);
  color: #fff;
}
.fm-quote-icon { font-size: 2rem; color: var(--fm-amber); }
.fm-quote-text { font-size: 0.95rem; font-style: italic; color: #e6e9ec; }
.fm-quote-author { font-size: 0.8rem; color: var(--fm-amber); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== PARTS ===== */
.fm-parts { background: #fff; }
.fm-brand-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fm-pill {
  background: var(--fm-steel-light);
  color: var(--fm-navy);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #dde3e8;
}

/* ===== CONTACT ===== */
.fm-contact { background: var(--fm-charcoal); }
.fm-contact-card {
  background: var(--fm-navy);
  border-radius: 14px;
  padding: 2rem;
  color: #fff;
}
.fm-contact-list li { margin-bottom: 1rem; font-size: 1rem; }
.fm-contact-list i { color: var(--fm-amber); width: 22px; }
.fm-contact-list a { color: #fff; text-decoration: none; }
.fm-contact-list a:hover { color: var(--fm-amber); }
.fm-hr { border-color: rgba(255,255,255,0.15); }
.fm-hours li { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 0.5rem; color: #d7dde3; }
.fm-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
}
.fm-social:hover { background: var(--fm-amber); color: #1a1200; }
.fm-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

/* ===== FOOTER ===== */
.fm-footer { background: var(--fm-charcoal); color: #b9c0c8; }
.fm-footer-logo-chip {
  background: #fff;
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 10px;
}
.fm-footer-text { font-size: 0.9rem; color: #9aa4ad; max-width: 320px; }
.fm-footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fm-footer-links li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.fm-footer-links a { color: #b9c0c8; text-decoration: none; }
.fm-footer-links a:hover { color: var(--fm-amber); }
.fm-footer-bottom { font-size: 0.82rem; color: #7d858d; }
.fm-powered-by { color: var(--fm-amber); text-decoration: none; font-weight: 600; }
.fm-powered-by:hover { text-decoration: underline; }

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

@media (max-width: 991.98px) {
  .fm-navbar .navbar-collapse { margin-top: 0.75rem; }
  .fm-hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
}
