/* ============================================================
   RG Mobile Tyre Services — About Page
   Corrected / Premium / Brand Consistent
   ============================================================ */

.about-page {
  background: #ffffff;
  color: #111111;
}

/* ─────────────────────────────────────────
   Shared Typography
   ───────────────────────────────────────── */
.about-page .label,
.about-page .breadcrumb .sep,
.about-page .intro-panel__eyebrow {
  color: #f0b400;
}

.about-page .breadcrumb,
.about-page .hero-copy,
.about-page p,
.about-page .highlight-card p,
.about-page .intro-panel__card p {
  color: #5f5f5f;
}

.about-page .breadcrumb .current,
.about-page h1,
.about-page h2,
.about-page h3,
.about-page strong {
  color: #111111;
}

/* ─────────────────────────────────────────
   Buttons
   ───────────────────────────────────────── */
.about-page .btn-primary {
  background: #f0b400;
  border-color: #f0b400;
  color: #111111;
  box-shadow: none;
}

.about-page .btn-primary:hover {
  background: #ffca2b;
  border-color: #ffca2b;
  color: #111111;
  box-shadow: 0 14px 28px rgba(240, 180, 0, 0.22);
}

.about-page .btn-outline {
  border-color: rgba(17, 17, 17, 0.16);
  color: #111111;
  background: transparent;
}

.about-page .btn-outline:hover {
  border-color: #f0b400;
  color: #111111;
  background: rgba(240, 180, 0, 0.06);
}

/* ─────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────── */
.about-page .page-hero {
  position: relative;
  min-height: 500px;
  padding: 126px 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url("../images/about-hero-bg.png") center center / cover no-repeat,
    #111111;
}

.about-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-page .page-hero .container {
  position: relative;
  z-index: 2;
}

.about-page .page-hero .breadcrumb,
.about-page .page-hero .breadcrumb a,
.about-page .page-hero .hero-copy {
  color: rgba(255, 255, 255, 0.84);
}

.about-page .page-hero .breadcrumb .current,
.about-page .page-hero h1 {
  color: #ffffff;
}

.about-page .page-hero .label {
  color: #f0b400;
}

.about-page h1 {
  max-width: 860px;
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.hero-copy {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
.about-hero .container {
  width: 100%;
}

/* ─────────────────────────────────────────
   Main Section Spacing
   ───────────────────────────────────────── */
.about-intro,
.highlights-section,
.brands-slider {
  background: #ffffff;
}

.about-intro {
  padding: 88px 0 34px;
}

.highlights-section {
  padding: 22px 0 34px;
}

.brands-slider {
  padding: 10px 0 82px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header.center {
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-header.center h2 {
  font-size: clamp(1.85rem, 2.1vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin: 0;
}

/* ─────────────────────────────────────────
   Intro Section
   ───────────────────────────────────────── */
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: stretch;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}

.intro-copy h2 {
  margin: 10px 0 14px;
}

.intro-copy p + p {
  margin-top: 12px;
}

.intro-panel {
  display: flex;
  align-items: stretch;
}

.intro-panel__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 360px;
  padding: 54px 56px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.36) 100%),
    url("../images/dublin-city.png") center center / cover no-repeat;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.10);
}

.intro-panel__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 180, 0, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.intro-panel__card > * {
  position: relative;
  z-index: 1;
}

.intro-panel__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-panel__card strong {
  display: block;
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.intro-panel__card p {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.intro-panel__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.intro-panel__card .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.intro-panel__card .btn-outline:hover {
  border-color: #f0b400;
  background: rgba(240, 180, 0, 0.08);
  color: #ffffff;
}

.intro-panel__card .btn-primary {
  background: #f0b400;
  border-color: #f0b400;
  color: #111111;
}

.intro-panel__card .btn-primary:hover {
  background: #ffca2b;
  border-color: #ffca2b;
  color: #111111;
  box-shadow: 0 14px 28px rgba(240, 180, 0, 0.22);
}

/* ─────────────────────────────────────────
   Highlights Section
   ───────────────────────────────────────── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.highlight-card {
  position: relative;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.06);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #f0b400 0%, rgba(240, 180, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 0, 0.22);
  box-shadow: 0 26px 56px rgba(17, 17, 17, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card h3 {
  margin: 0 0 10px;
}

.highlight-card p {
  margin: 0;
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   Brands Slider
   ───────────────────────────────────────── */
.brands-slider .section-header {
  margin-bottom: 38px;
}
  .brands-slider {
  padding: 10px 0 28px;
}


.brands-tape {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: brands-scroll 34s linear infinite;
}

.brand-logo-card {
  width: 200px;
  min-width: 200px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.brand-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 180, 0, 0.18);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.brand-logo-image {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes brands-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─────────────────────────────────────────
   CTA Section
   ───────────────────────────────────────── */
.about-cta {
  position: relative;
  background: #111111;
  border: 0;
  padding: 86px 0;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111111;
  pointer-events: none;
}

.about-cta .container {
  position: relative;
  z-index: 1;
}

.about-cta h2,
.about-cta .label {
  color: #ffffff;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
}

.about-cta .btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.about-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header.center h2 {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
  }

  .intro-panel__card {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .about-page .page-hero {
    min-height: auto;
    padding: 118px 0 56px;
  }

  .about-page h1 {
    font-size: clamp(2.5rem, 9vw, 4rem);
    line-height: 0.98;
    max-width: 700px;
  }

  .about-intro {
    padding-top: 72px;
  }

  .intro-panel__card {
    min-height: 320px;
    padding: 36px 28px;
    background:
      linear-gradient(180deg, 
      rgba(0, 0, 0, 0.74) 0%, 
      rgba(0, 0, 0, 0.56) 100%),
      url("../images/dublin-city.png") center center / cover no-repeat;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-card {
    width: 170px;
    min-width: 170px;
    height: 88px;
  }

  .brand-logo-image {
    max-height: 38px;
  }

  .about-cta {
    padding: 74px 0;
  }

  .section-header.center h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
}

@media (max-width: 480px) {
  .about-page .container {
    padding: 0 22px;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .intro-panel__card,
  .highlight-card,
  .brand-logo-card {
    border-radius: 18px;
  }

  .intro-panel__actions,
  .about-cta .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-panel__actions .btn,
  .about-cta .btn-group .btn {
    justify-content: center;
  }

  .intro-panel__card {
    padding: 30px 22px;
  }

  .brand-logo-card {
    width: 154px;
    min-width: 154px;
    padding: 16px 18px;
  }
}