@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Source+Sans+3:wght@400;600&display=swap');

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

:root {
  --steel: #1c1f24;
  --steel-mid: #23272e;
  --steel-light: #2e3440;
  --rust: #c0392b;
  --rust-bright: #e74c3c;
  --chrome: #8a9bb0;
  --chrome-light: #b8c6d6;
  --grease: #0d0f12;
  --white: #f0f2f5;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* ── PAPERMOD OVERRIDE ── */
.main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.post-single {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── BASE ── */
.mech-page {
  background: var(--grease);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--grease);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,57,43,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,57,43,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-scratch {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    104deg,
    transparent,
    transparent 120px,
    rgba(255,255,255,0.012) 120px,
    rgba(255,255,255,0.012) 121px
  );
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(192,57,43,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--rust-bright);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--rust-bright);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.hero h1 span {
  color: var(--rust-bright);
  display: block;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--chrome);
  max-width: 520px;
  line-height: 1.6;
  margin: 24px 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--rust);
  color: white;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: var(--chrome-light);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(138,155,176,0.35);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--chrome-light); color: white; }

.btn-white {
  background: white;
  color: var(--rust);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.1s;
}

.btn-white:hover { transform: translateY(-2px); }

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(138,155,176,0.12);
}

.stat-item { text-align: left; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-num span { color: var(--rust-bright); }

.stat-label {
  font-size: 0.78rem;
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── TICKER ── */
.ticker {
  background: var(--rust);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 40px;
}

.ticker-dot {
  color: rgba(255,255,255,0.4);
  padding: 0 8px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION SHARED ── */
.section-header {
  max-width: 1100px;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--rust-bright);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

/* ── SERVICES ── */
.services {
  background: var(--steel);
  padding: 80px 2rem;
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.service-card {
  background: var(--steel-mid);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--rust);
  transition: height 0.3s ease;
}

.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--steel-light); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(0.3);
}

.service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(138,155,176,0.07);
  line-height: 1;
}

.service-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--chrome);
  line-height: 1.6;
}

.service-arrow {
  margin-top: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-bright);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover .service-arrow { opacity: 1; }

/* ── WHY US ── */
.why {
  background: var(--grease);
  padding: 80px 2rem;
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual { position: relative; }

.why-plate {
  background: var(--steel);
  border: 1px solid rgba(138,155,176,0.1);
  border-radius: 2px;
  padding: 48px;
  position: relative;
}

.why-plate::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 2px;
  z-index: -1;
}

.why-phone {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.why-phone:hover { color: var(--rust-bright); }

.why-plate-label {
  font-size: 0.8rem;
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.why-hours {
  border-top: 1px solid rgba(138,155,176,0.12);
  padding-top: 24px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(138,155,176,0.06);
}

.hours-day { color: var(--chrome); }
.hours-time { color: var(--white); font-weight: 600; }

.why-features { display: flex; flex-direction: column; gap: 32px; }

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--chrome);
  line-height: 1.6;
}

/* ── POSTS ── */
.posts {
  background: var(--steel);
  padding: 80px 2rem;
}

.posts-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}

.post-card {
  background: var(--steel-mid);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
  position: relative;
}

.post-card:hover { background: var(--steel-light); }

.post-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 0.88rem;
  color: var(--chrome);
  line-height: 1.6;
}

.post-meta {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(138,155,176,0.5);
  display: flex;
  gap: 12px;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--rust);
  padding: 64px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.04) 10px,
    rgba(0,0,0,0.04) 11px
  );
}

.cta-strip-inner { position: relative; z-index: 1; }

.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ── FOOTER ── */
.mech-footer {
  background: var(--grease);
  border-top: 1px solid rgba(138,155,176,0.08);
  padding: 48px 2rem 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand span { color: var(--rust-bright); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(138,155,176,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}
.built-on-trust { margin-bottom: 40px; }
/* ── STICKY CTA BAR ── */
.cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--rust-bright);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cta-bar p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
}

.cta-bar a {
    background-color: white;
    color: var(--rust-bright);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.cta-bar a:hover {
    background-color: #f1f1f1;
}
