/* ============================================================
   FIRST CHOICE AUTO HAIL - OTM WEB DESIGN
   Dark/industrial variant, sandstone frames, gold accent
   ============================================================ */

/* ---------- FONTS ---------- */
/* Imported via <link> in each page head: Bebas Neue + Rajdhani */

/* ---------- ROOT ---------- */
:root {
  /* Warm frame palette (sandstone / wheat, auto industry) */
  --frame:        rgba(231, 218, 193, 0.93);  /* primary sandstone */
  --frame-light:  rgba(247, 241, 228, 0.97);  /* cream sub-card */
  --frame-deep:   rgba(43, 34, 25, 0.95);     /* espresso-brown emphasis */
  --frame-deep2:  rgba(54, 43, 31, 0.96);     /* slightly lifted deep tone */

  /* Accent (pulled from FC logo gold) */
  --accent:       #f6b30a;
  --accent-light: #ffce4a;
  --accent-deep:  #b87d05;

  /* Ink + neutrals */
  --ink:        #2a2118;
  --ink-soft:   #5b4d3c;
  --ink-faint:  #897a64;
  --cream-text: #f3e9d6;
  --line:       rgba(120, 96, 56, 0.28);
  --line-deep:  rgba(246, 179, 10, 0.22);

  --shadow-soft: 0 6px 18px rgba(0,0,0,0.18);
  --shadow-lift: 0 22px 48px rgba(0,0,0,0.32);

  --maxw: 1240px;
  --radius: 12px;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #14110d;
  position: relative;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

/* ---------- LOCKED BODY BACKGROUND ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('assets/body-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
}
.eyebrow.is-center { justify-content: center; }
.eyebrow.is-center::after {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
}
.on-dark .eyebrow { color: var(--accent); }

/* ---------- LAYOUT: SECTION + WARM FRAME ---------- */
.section { padding: 90px 0; }
.section.tight { padding: 64px 0; }

.container {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--frame);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 70px 60px;
}
/* side gutters always present */
.section > .wrap {
  padding: 0 40px;
}

/* deep emphasis frame */
.container.deep {
  background: var(--frame-deep);
  color: var(--cream-text);
}
.container.deep h1,
.container.deep h2,
.container.deep h3 { color: #fff; }
.container.deep p { color: rgba(243,233,214,0.85); }

/* center accent tab (inner page, first frame) */
.container.has-tab::after {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 14px rgba(246,179,10,0.6);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #1c1710;
  box-shadow: 0 8px 22px rgba(246,179,10,0.28);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.on-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.on-dark .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 16, 11, 0.92);
  border-bottom: 1px solid rgba(246,179,10,0.18);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 44px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: transform .25s ease;
}
.brand:hover img { transform: scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.96rem;
  color: rgba(243,233,214,0.82);
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--accent); }
.nav-cta {
  padding: 11px 24px;
  font-size: 0.92rem;
}

/* hamburger */
.hamburger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 220;
}
.hamburger span {
  position: absolute;
  left: 11px;
  width: 26px; height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.5,0,.2,1), opacity .3s cubic-bezier(.5,0,.2,1);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22.75px; }
.hamburger span:nth-child(3) { top: 29.5px; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(78vw, 360px);
  background: linear-gradient(165deg, #1a140d 0%, #251c11 60%, #322615 100%);
  border-left: 3px solid var(--accent);
  box-shadow: -20px 0 60px rgba(0,0,0,0.45);
  padding: 96px 32px 50px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.5,0,.2,1);
  z-index: 210;
  display: flex;
  flex-direction: column;
}
.nav-open .mobile-menu { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
  color: var(--cream-text);
  padding: 18px 0;
  border-bottom: 1px solid rgba(246,179,10,0.18);
  transition: color .4s cubic-bezier(.5,0,.2,1), padding-left .4s cubic-bezier(.5,0,.2,1);
}
.mobile-menu a:hover,
.mobile-menu a.is-active { color: var(--accent); padding-left: 10px; }
.mobile-menu .btn {
  margin-top: 26px;
  width: 100%;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 200;
}
.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.55) 55%, rgba(12,9,6,0.30) 100%), url('assets/hero-home.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 78px;
}
.hero-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .gold { color: var(--accent); }
.hero p {
  color: rgba(243,233,214,0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* inner page hero */
.hero--page {
  min-height: 50vh;
  border-bottom: 3px solid var(--accent);
}
.hero--page.hero-services { background-image: linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.5) 100%), url('assets/hero-services.jpg'); }
.hero--page.hero-about    { background-image: linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.5) 100%), url('assets/hero-about.jpg'); }
.hero--page.hero-contact  { background-image: linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.5) 100%), url('assets/hero-contact.jpg'); }
.hero--page h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
.hero--page p { margin-bottom: 0; }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--frame-deep2);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  padding: 16px 0;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--cream-text);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.marquee-item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- INTRO GRID ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-media { position: relative; }
.intro-media img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.intro-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--accent);
  color: #1c1710;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  line-height: 1;
}
.intro-copy h2 { margin-bottom: 18px; }
.intro-copy p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- CARD GRIDS ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 38px;
}
.card {
  background: var(--frame-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.card .ic {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #1c1710;
  border-radius: 9px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }

.section-head { max-width: 640px; }
.section-head.is-center { margin: 0 auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.deep .section-head p { color: rgba(243,233,214,0.82); }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
}
.stat .lbl {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: rgba(243,233,214,0.78);
  margin-top: 8px;
  font-weight: 600;
}

/* ---------- PROCESS STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 38px;
}
.step {
  background: var(--frame-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}
.step .step-no {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- TESTIMONIAL ---------- */
.quote-card {
  background: var(--frame-light);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 40px 44px;
  box-shadow: var(--shadow-soft);
  max-width: 820px;
  margin: 0 auto;
}
.quote-stars { color: var(--accent); letter-spacing: 4px; font-size: 1.2rem; margin-bottom: 14px; }
.quote-card blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.quote-card cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  font-size: 0.95rem;
}

/* ---------- CTA STRIP ---------- */
.cta .container { text-align: center; }
.cta .container.deep {
  background-image: linear-gradient(rgba(33,26,18,0.86), rgba(33,26,18,0.92)), url('assets/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.cta .lede { max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(246,179,10,0.25);
  flex-wrap: wrap;
}
.cta-trust .t-stat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
}
.cta-trust .t-desc {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(243,233,214,0.78);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- CONTACT ---------- */
.info-panel {
  background: var(--frame-deep);
  border-radius: 10px;
  padding: 42px 38px;
}
.info-panel h3 { color: #fff; margin-bottom: 6px; }
.info-panel > p { color: rgba(243,233,214,0.8); margin-bottom: 18px; }
.form-shell h3 { margin-bottom: 6px; }
.form-shell > p { color: var(--ink-soft); margin-bottom: 22px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}
.info-panel .info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(243,233,214,0.12);
}
.info-panel .info-row:last-child { border-bottom: none; }
.info-panel .ic {
  flex: none;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #1c1710;
  border-radius: 8px;
  font-size: 1.15rem;
}
.info-panel .info-row .lbl {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}
.info-panel .info-row .val { color: var(--cream-text); font-size: 1.06rem; }
.info-panel .info-row a:hover { color: var(--accent); }

.form-shell .field { margin-bottom: 18px; }
.form-shell label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.form-shell input,
.form-shell textarea {
  width: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-shell input:focus,
.form-shell textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246,179,10,0.25);
}
.form-shell textarea { min-height: 130px; resize: vertical; }
.form-shell .btn { width: 100%; margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 12px; font-weight: 600; color: var(--accent-deep); }

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(28, 22, 14, 0.96);
  border-top: 3px solid var(--accent);
  color: rgba(243,233,214,0.78);
  padding: 64px 0 26px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}
.footer .f-brand .brand-mark { font-size: 1.7rem; color: #fff; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }
.footer .f-brand p { margin-top: 12px; font-size: 0.98rem; max-width: 280px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 22px 40px 0;
  border-top: 1px solid rgba(243,233,214,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-bottom-links a[href*="otm-designs"] { color: var(--accent); font-weight: 600; }
.footer-bottom-links a[href*="otm-designs"]:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: 14px; }
.footer-social a:hover { color: var(--accent); }

/* ---------- MOBILE CALL BAR ---------- */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: #1c1710;
  text-align: center;
  padding: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  z-index: 120;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .container { padding: 56px 44px; }
  .intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .intro-media img { aspect-ratio: 16 / 11; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .hamburger { display: block; order: -1; }
  .brand { margin-left: auto; margin-right: auto; transform: translateX(-24px); }
  .brand img { height: 40px; }
  .nav-inner { padding: 12px 24px; }
  .hero { min-height: 78vh; }
  .hero p { font-size: 1.1rem; }
  .call-bar { display: block; }
  body { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section > .wrap { padding: 0 18px; }
  .container { padding: 36px 22px; }
  .grid-3, .grid-2, .steps, .stats { grid-template-columns: 1fr; }
  .hero-content, .hero-actions { padding-left: 0; }
  .hero-actions .btn { width: 100%; }
  .cta-trust { gap: 26px; }
  .quote-card { padding: 30px 26px; }
  .quote-card blockquote { font-size: 1.12rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { scroll-behavior: auto; }
}