/* ============================================
   Redline Motors — Home page
   ============================================ */

/*-- ----------------------------- -->
<---            Hero               -->
<--- ----------------------------- -*/

#hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  background: var(--asphalt);
  overflow: hidden;
  isolation: isolate;
}
#hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
#hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 13, 16, 0.35) 0%, rgba(12, 13, 16, 0.7) 55%, rgba(12, 13, 16, 0.95) 100%),
    linear-gradient(90deg, rgba(12, 13, 16, 0.85) 0%, rgba(12, 13, 16, 0.25) 65%, transparent 100%);
}
#hero .hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(225, 6, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
}
#hero .hero-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  min-height: clamp(560px, 86vh, 820px);
  align-content: center;
}
#hero .hero-text {
  max-width: 38rem;
}
#hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.08);
  margin-bottom: 1.5rem;
}
#hero .hero-tag-bar {
  width: 6px;
  height: 6px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
#hero .hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--fs-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
#hero .hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
  display: inline-block;
}
#hero .hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.05em;
  height: 0.08em;
  background: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
}
#hero .hero-lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
#hero .hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* hero readout strip — gauge-style */
#hero .hero-readout {
  position: relative;
  z-index: 1;
  background: rgba(12, 13, 16, 0.85);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.readout-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.readout-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  padding-left: 1rem;
}
.readout-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 2px;
  background: var(--red);
}
.readout-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1;
  color: var(--ink);
}
.readout-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .readout-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }
}

/*-- ----------------------------- -->
<---           Services            -->
<--- ----------------------------- -*/

#services {
  background: var(--carbon);
  padding: var(--section-pad);
  position: relative;
}
#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 80px, rgba(255, 255, 255, 0.012) 80px, rgba(255, 255, 255, 0.012) 81px);
  pointer-events: none;
}
.section-header {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}
.section-header.section-header-center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.header-right {
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  max-width: 32rem;
  justify-self: end;
}
@media (max-width: 820px) {
  .section-header {
    grid-template-columns: 1fr;
  }
  .header-right {
    justify-self: start;
  }
}

.services-grid {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.svc-card {
  background: var(--steel);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.svc-card:hover {
  background: var(--steel-2);
}
.svc-card:hover::after {
  transform: scaleY(1);
}
.svc-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
}
.svc-icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin-bottom: 0.25rem;
}
.svc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.svc-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.svc-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.svc-price {
  color: var(--ink);
}

/*-- ----------------------------- -->
<---     Why Choose / Features     -->
<--- ----------------------------- -*/

#why {
  background: var(--asphalt);
  padding: var(--section-pad);
}
.why-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-photo {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border: 1px solid var(--line);
}
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.why-photo .photo-frame {
  position: absolute;
  left: 1rem;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(225, 6, 0, 0.35);
  pointer-events: none;
}
.why-badge {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: var(--red);
  color: #fff;
  padding: 1.1rem 1.4rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.why-badge-num {
  font-size: 2.2rem;
  font-weight: 900;
}
.why-badge-text {
  font-size: 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  margin-top: 0.35rem;
}

.why-text .section-title {
  margin-bottom: 1.25rem;
  max-width: 16ch;
}
.why-lede {
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 34rem;
}
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.75rem;
  margin-bottom: 2rem;
}
@media (max-width: 540px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}
.why-item {
  display: flex;
  gap: 0.85rem;
}
.why-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--red);
}
.why-item-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.why-item-desc {
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

/*-- ----------------------------- -->
<---           Process             -->
<--- ----------------------------- -*/

#process {
  background: var(--carbon);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
#process::before {
  content: 'PROCESS';
  position: absolute;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(10rem, 22vw, 22rem);
  color: var(--steel);
  opacity: 0.4;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 0;
}
.process-steps {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  z-index: 1;
}
.step {
  padding: 2rem 1.5rem 2rem 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.step + .step {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
@media (min-width: 721px) and (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .step:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  .step + .step {
    border-left: none;
    padding-left: 0;
  }
}
.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--red-bright);
  margin-bottom: 0.85rem;
  display: block;
}
.step-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.step-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/*-- ----------------------------- -->
<---       Showcase / Marquee      -->
<--- ----------------------------- -*/

#showcase {
  background: var(--asphalt);
  padding: var(--section-pad);
}
.showcase-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.375rem;
}
.show-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel);
}
.show-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.show-item:hover img {
  transform: scale(1.05);
}
.show-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 13, 16, 0.85) 100%);
  pointer-events: none;
}
.show-cap {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.show-cap span {
  color: var(--red-bright);
  margin-right: 0.5rem;
}
.show-tall { grid-row: span 2; }
.show-wide { grid-column: span 2; }

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    grid-auto-flow: row;
    gap: 0.375rem;
  }
  .show-tall { grid-row: auto; }
  .show-wide { grid-column: auto; }
}

/*-- ----------------------------- -->
<---           Reviews             -->
<--- ----------------------------- -*/

#reviews {
  background: var(--carbon);
  padding: var(--section-pad);
}
.reviews-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--steel);
  border: 1px solid var(--line);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.review-stars {
  color: var(--red);
  letter-spacing: 0.15em;
  font-size: 1.05rem;
}
.review-text {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.review-attr {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
.review-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-size: 0.95rem;
}
.review-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/*-- ----------------------------- -->
<---         Service Area          -->
<--- ----------------------------- -*/

#area {
  background: var(--asphalt);
  padding: var(--section-pad);
}
.area-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
}
.area-text .section-title {
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.area-blurb {
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.area-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.area-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

/*-- ----------------------------- -->
<---            CTA                -->
<--- ----------------------------- -*/

#cta-strip {
  position: relative;
  background: linear-gradient(135deg, #1a0000 0%, #4a0200 50%, var(--red-deep) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}
#cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 30px,
    rgba(0, 0, 0, 0.12) 30px,
    rgba(0, 0, 0, 0.12) 31px
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.005em;
  line-height: 1;
  max-width: 22ch;
}
.cta-sub {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
  display: block;
}
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fff;
  color: var(--red-deep);
  padding: 1.1rem 2rem;
  border-radius: 2px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-primary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

/*-- ----------------------------- -->
<---           Footer              -->
<--- ----------------------------- -*/

#site-footer {
  background: #07080a;
  color: var(--ink-soft);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
.footer-brand .brand-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}
.footer-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.footer-name .brand-red {
  color: var(--red);
}
.footer-blurb {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 22rem;
}
.footer-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-line {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.footer-spacer {
  margin-top: 1rem;
}
.footer-link {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--red-bright);
}
.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--steel);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.credit-link {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--gunmetal);
  transition: color 0.2s, border-color 0.2s;
}
.credit-link:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
