/* =========================================================
   CIT VEHICLE REPAIRING — Temporary site stylesheet
   Design tokens live at the top. Colors are the official
   CIT brand values from the logobook.
   ========================================================= */

:root {
  /* Brand colors (from CIT logobook) */
  --gold: #FFC800;
  --gold-dark: #E0AB00;
  --blue: #3460BF;
  --blue-dark: #244B94;
  --blue-light: #4885E0;
  --ink: #15171B;
  --white: #FFFFFF;

  /* Supporting neutrals */
  --paper: #F7F6F2;
  --paper-dim: #EFEDE6;
  --ink-soft: #52565E;
  --border: #E2DFD5;

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 12px 32px rgba(21, 23, 27, 0.10);
  --shadow-sm: 0 4px 14px rgba(21, 23, 27, 0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--gold); }
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-title-light { color: var(--white); }
.section-sub {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 auto 44px;
}
.section-title.center + .section-sub { margin-top: -6px; }

/* ---------- Hazard stripe signature motif ---------- */
.hazard-strip {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0px, var(--gold) 14px,
    var(--ink) 14px, var(--ink) 28px
  );
}
.hazard-strip--footer { margin-top: 28px; }

.hazard-divider {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0px, var(--gold) 18px,
    var(--blue-dark) 18px, var(--blue-dark) 36px
  );
}
.hazard-divider--top { margin-bottom: 0; }
.hazard-divider--bottom { margin-top: 0; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}
.nav-link:hover { color: var(--blue); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-whatsapp {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-small { padding: 10px 18px; font-size: 13.5px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(720px 420px at 82% 18%, rgba(72,133,224,0.16), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 4px 0 20px;
  color: var(--ink);
}
.text-blue { color: var(--blue); }
.hero-sub {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 30px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Hero visual: job card ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}
.hero-backdrop {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 1;
  opacity: 0.14;
  pointer-events: none;
}
.job-card {
  width: min(340px, 90%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
  transform: rotate(-3.5deg);
  border: 1px solid var(--border);
  position: relative;
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-weight: 600;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.job-card-id { color: var(--ink-soft); font-weight: 500; }
.job-card-list { display: flex; flex-direction: column; gap: 11px; }
.job-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.job-card-list .tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.job-card-list li.pending { color: var(--ink-soft); }
.tick-pending { background: var(--paper-dim); color: var(--ink-soft); border: 1.5px dashed var(--border); }
.job-card-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stamp-badge {
  position: absolute;
  bottom: 6%;
  right: 4%;
  width: 108px;
  height: 108px;
  border: 2.5px dashed var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  background: rgba(255, 200, 0, 0.08);
}
.stamp-badge span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
  line-height: 1.35;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.process { padding: 60px 0 68px; }

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -2px;
  width: calc(100% - 52px);
  border-top: 2px dashed var(--border);
}
.process-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.process-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.process-icon svg { width: 22px; height: 22px; fill: var(--blue); }
.process-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: var(--ink-soft); max-width: 210px; margin: 0 auto; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 72px 0 80px; position: relative; overflow: hidden; }

.services-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(52,96,191,0.05) 0px, rgba(52,96,191,0.05) 1px,
    transparent 1px, transparent 40px
  ),
  repeating-linear-gradient(
    0deg,
    rgba(52,96,191,0.05) 0px, rgba(52,96,191,0.05) 1px,
    transparent 1px, transparent 40px
  );
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 0%, transparent 75%);
}
.services .container { position: relative; z-index: 1; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-light);
}
.service-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--white); }
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.service-card p { color: var(--ink-soft); font-size: 14.5px; }

/* =========================================================
   WHY CHOOSE CIT
   ========================================================= */
.why {
  background: var(--blue);
  color: var(--white);
  padding-bottom: 4px;
  position: relative;
  overflow: hidden;
}
.why-car {
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 480px;
  height: auto;
  fill: var(--white);
  opacity: 0.06;
  pointer-events: none;
}
.why .container { padding-top: 64px; padding-bottom: 60px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
  max-width: 920px;
  margin: 0 auto;
}
.why-grid li { display: flex; gap: 14px; align-items: flex-start; }
.tick-light {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-grid strong { display: block; font-size: 16px; margin-bottom: 4px; }
.why-grid p { color: rgba(255,255,255,0.78); font-size: 14.5px; }

/* =========================================================
   PRE-PURCHASE INSPECTION
   ========================================================= */
.inspection { padding: 80px 0; }
.inspection-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 52px;
  box-shadow: var(--shadow-sm);
}
.inspection-copy .section-title { margin-bottom: 16px; }
.inspection-copy p { color: var(--ink-soft); font-size: 16px; max-width: 460px; margin-bottom: 28px; }

.inspection-visual { display: flex; justify-content: center; }
.inspection-car { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.inspection-car .car-outline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
}
.inspection-car .check-point {
  fill: var(--gold);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.inspection-car .check-lead {
  stroke: var(--gold-dark);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.inspection-car .check-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  fill: var(--ink-soft);
  text-anchor: middle;
}

/* =========================================================
   LOCATION & CONTACT
   ========================================================= */
.location { padding: 76px 0 90px; }

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 36px 34px;
}
.contact-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.contact-address { color: rgba(255,255,255,0.65); font-size: 14.5px; margin-bottom: 26px; }

.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-row dd { margin: 0; font-size: 15px; font-weight: 500; text-align: right; }
.contact-row dd a:hover { color: var(--gold); }

.hours-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hours-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hours-table td {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child {
  font-weight: 600;
  width: 38%;
}
.hours-table td:last-child {
  text-align: right;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
}
.hours-table tr.is-closed td:last-child {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hours-table tr.is-today td:first-child { color: var(--gold); }

.map-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-placeholder {
  height: 100%;
  min-height: 280px;
  background:
    linear-gradient(rgba(52,96,191,0.05), rgba(52,96,191,0.05)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(52,96,191,0.12) 39px, rgba(52,96,191,0.12) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(52,96,191,0.12) 39px, rgba(52,96,191,0.12) 40px),
    var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  border: 2px dashed var(--border);
  border-radius: 16px;
}
.map-placeholder svg { width: 34px; height: 34px; fill: var(--blue); margin-bottom: 12px; }
.map-placeholder p { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.map-placeholder span { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); max-width: 260px; }
.map-embed { width: 100%; height: 100%; min-height: 280px; border: 0; display: none; }

/* Desktop/tablet: show the live embed, hide the tap card */
@media (min-width: 761px) {
  .map-embed { display: block; }
  .map-placeholder { display: none; }
}

.location-cta {
  text-align: center;
  background: var(--paper-dim);
  border-radius: 16px;
  padding: 44px 30px;
}
.location-cta h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.location-cta p { color: var(--ink-soft); margin-bottom: 24px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--white); padding-top: 44px; position: relative; overflow: hidden; }
.footer-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,200,0,0.04) 0px, rgba(255,200,0,0.04) 10px,
    transparent 10px, transparent 20px
  );
  -webkit-mask-image: linear-gradient(180deg, black, transparent 70%);
  mask-image: linear-gradient(180deg, black, transparent 70%);
}
.footer-inner { position: relative; z-index: 1; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 46px; height: 46px; }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.footer-address { color: rgba(255,255,255,0.6); font-size: 13.5px; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--gold); }

.footer-note {
  color: rgba(255,255,255,0.5);
  font-size: 12.5px;
  padding: 20px 0 26px;
  text-align: center;
}

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(21,23,27,0.10);
}
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 14.5px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; min-height: 300px; }
  .inspection-inner { grid-template-columns: 1fr; padding: 36px 28px; text-align: left; }
  .inspection-visual { order: -1; }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; max-width: 480px; }
  .process-row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }

  .service-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1; }
  .why-car { width: 320px; }
  .inspection-car { max-width: 280px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 44px; }
  .hero-title { font-size: 32px; }
  .job-card { transform: rotate(-2deg); }
  .stamp-badge { width: 92px; height: 92px; right: 2%; }
  .contact-card, .location-cta { padding: 28px 22px; }
  .process-row { grid-template-columns: 1fr; row-gap: 30px; }
  .why-car { width: 260px; opacity: 0.05; }
}

/* ---------- Keyboard focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: 4px;
}
