/* =========================================================
   MAC ATTACK AUTO SALES - ABOUT US
========================================================= */

.about-page {
  background: #080809;
  color: #fff;
}

.about-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--red, #ef2b2d);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* HERO */

.about-hero {
  overflow: hidden;
  border-bottom: 2px solid var(--red, #ef2b2d);
  background:
    radial-gradient(circle at 82% 45%, rgba(239,43,45,.17), transparent 27%),
    linear-gradient(115deg, #030304 0%, #0b0b0d 60%, #170708 100%);
}

.about-hero-inner {
  width: min(1380px, calc(100% - 70px));
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 50px;
}

.about-hero-copy {
  padding: 65px 0;
}

.about-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 6vw, 90px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .9;
}

.about-hero-copy h1 strong {
  display: block;
  color: var(--red, #ef2b2d);
}

.about-hero-copy h2 {
  max-width: 620px;
  margin: 22px 0 14px;
  color: #fff;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 900;
  line-height: 1.18;
}

.about-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: #c1c1c6;
  font-size: 16px;
  line-height: 1.7;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-button span {
  font-size: 20px;
}

.about-button-red {
  border: 1px solid var(--red, #ef2b2d);
  background: var(--red, #ef2b2d);
  color: #fff;
}

.about-button-outline {
  border: 1px solid #77777d;
  color: #fff;
}

.about-button-red:hover,
.about-button-outline:hover {
  border-color: var(--red, #ef2b2d);
  background: #c91a22;
}

.about-hero-photo {
  overflow: hidden;
  border: 1px solid #333338;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.about-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* STORY */

.about-story-section {
  width: min(1320px, calc(100% - 70px));
  margin: 0 auto;
  padding: 75px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 65px;
  align-items: center;
}

.about-story-copy h2,
.about-section-heading h2,
.about-repair-copy h2,
.about-local-section h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3.3vw, 48px);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.about-story-copy p,
.about-repair-copy p,
.about-local-section p {
  margin: 17px 0 0;
  color: #b6b6bc;
  font-size: 15px;
  line-height: 1.75;
}

/* VALUES */

.about-values-section {
  padding: 70px 35px;
  background: #f3f3f5;
  color: #18181b;
}

.about-section-heading,
.about-values-grid {
  width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.about-section-heading {
  margin-bottom: 34px;
}

.about-values-section .about-section-heading h2 {
  color: #18181b;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.about-value-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid #d9d9dd;
  border-radius: 8px;
  background: #fff;
}

.about-value-number {
  display: block;
  margin-bottom: 25px;
  color: var(--red, #ef2b2d);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .1em;
}

.about-value-card h3 {
  margin: 0 0 10px;
  color: #18181b;
  font-size: 21px;
  font-weight: 950;
}

.about-value-card p {
  margin: 0;
  color: #626268;
  font-size: 13px;
  line-height: 1.6;
}

/* REPAIR */

.about-repair-section {
  width: min(1320px, calc(100% - 70px));
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.about-repair-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 30px;
  box-sizing: border-box;
  border: 1px solid rgba(239,43,45,.4);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(239,43,45,.13), rgba(0,0,0,.25) 68%);
}

.about-repair-mark img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

/* CTA */

.about-local-section {
  width: min(1320px, calc(100% - 70px));
  margin: 0 auto 65px;
  padding: 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  border: 1px solid var(--red, #ef2b2d);
  border-radius: 8px;
  background: linear-gradient(120deg, #161618, #09090a);
}

.about-local-section > div {
  max-width: 830px;
}

/* TABLET */

@media (max-width: 1050px) {
  .about-hero-inner {
    min-height: 520px;
    grid-template-columns: 1fr 1fr;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .about-repair-section {
    gap: 40px;
  }
}

/* MOBILE */

@media (max-width: 700px) {

  .about-hero-inner,
  .about-story-section,
  .about-repair-section,
  .about-local-section {
    width: calc(100% - 36px);
  }

  .about-hero-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-hero-copy {
    width: 100%;
    padding: 48px 0 30px;
  }

  .about-hero-copy h1 {
    font-size: 54px;
  }

  .about-hero-copy h2 {
    font-size: 21px;
  }

  .about-hero-copy p {
    font-size: 14px;
  }

  .about-hero-actions {
    flex-direction: column;
  }

  .about-button {
    width: 100%;
    box-sizing: border-box;
  }

  /* Phone: the gallery below is the only photo section, no repeated hero image. */
  .about-hero-photo {
    display: none;
  }

  .about-story-section {
    padding: 45px 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-values-section {
    padding: 50px 18px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-value-card {
    min-height: 0;
  }

  .about-repair-section {
    padding: 50px 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-repair-mark {
    min-height: 0;
    padding: 20px;
  }

  .about-repair-mark img {
    max-width: 310px;
  }

  .about-local-section {
    margin-bottom: 40px;
    padding: 26px 21px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   ABOUT US PHOTO GALLERY - ISOLATED STYLES
   Desktop: hero portrait remains, gallery replaces story image.
   Mobile: hero image hidden; gallery becomes the only photo section.
========================================================= */

.about-photo-carousel {
  width: 100%;
  min-width: 0;
  align-self: start;
  overflow: hidden;
  border: 1px solid #38383d;
  border-radius: 12px;
  background: #0c0c0e;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.about-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}
.about-carousel-viewport::-webkit-scrollbar { display: none; }
.about-carousel-viewport:focus-visible { outline: 3px solid #ef2b2d; outline-offset: -4px; }
.about-carousel-track { display: flex; width: 100%; }

.about-carousel-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 100%;
  min-width: 0;
  height: clamp(325px, 32vw, 490px);
  margin: 0;
  overflow: hidden;
  background: #121214;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.about-slide-backdrop {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: cover;
  filter: blur(22px) brightness(.42);
  transform: scale(1.06);
  pointer-events: none;
}

.about-slide-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 55px;
  padding: 7px 14px;
  background: #161618;
}

.about-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 39px;
  flex: 0 0 auto;
  border: 1px solid #54545a;
  border-radius: 5px;
  background: #222225;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  transition: background .15s ease, border-color .15s ease;
}
.about-carousel-arrow:hover,
.about-carousel-arrow:focus-visible {
  background: #ef2b2d;
  border-color: #ef2b2d;
}
.about-carousel-count {
  color: #f1f1f2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  font-variant-numeric: tabular-nums;
}
.about-carousel-divider { margin: 0 7px; color: #ef2b2d; }
.about-carousel-progress { height: 3px; background: #343438; }
.about-carousel-progress span {
  display: block;
  width: 7.6923%;
  height: 100%;
  background: #ef2b2d;
  transition: width .25s ease;
}

@media (max-width: 700px) {
  .about-carousel-slide { height: clamp(320px, 105vw, 520px); }
  .about-carousel-controls { min-height: 57px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-carousel-viewport { scroll-behavior: auto; }
  .about-carousel-progress span { transition: none; }
  .about-carousel-arrow { transition: none; }
}
