/* ==========================================================================
   MG Electronic — About Us page sections (Hero, Why Choose Us, Timeline,
   For Operators). Matches the site's black-section / Poppins+Roboto /
   red-yellow-blue accent language (see home-sections.css, footer.css).
   Nav + CTA band + footer are shared markup, left untouched.
   ========================================================================== */

.mg-section {
  position: relative;
  background: #000000;
  padding: 90px 6% 70px;
}

/* ---------- Hero ---------- */

.mg-about-hero {
  padding-top: calc(90px + 20px);
}

.mg-about-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.mg-about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fef204;
}

.mg-about-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fef204;
  display: block;
  flex-shrink: 0;
}

.mg-about-hero__title {
  margin: 26px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.mg-about-hero__title-highlight {
  background: linear-gradient(90deg, #ff0106 0%, #fef204 50%, #09b3f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mg-about-hero__lead {
  margin: 26px 0 0;
  max-width: 560px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.mg-about-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mg-about-hero__cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mg-about-hero__cta--solid {
  background: var(--mg-accent, #ff0106);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 1, 6, 0.35);
}

.mg-about-hero__cta--solid:hover {
  background: var(--mg-accent-dark, #ff0106);
  transform: translateY(-2px);
}

.mg-about-hero__cta--ghost {
  border: 1px solid rgba(9, 179, 241, 0.55);
  color: #09b3f1;
}

.mg-about-hero__cta--ghost:hover {
  background: #09b3f1;
  color: #041018;
}

.mg-about-hero__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 5;
  background: #101010;
}

.mg-about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Why choose us ---------- */

.mg-about-why__eyebrow {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #09b3f1;
}

.mg-about-why__heading {
  margin: 16px 0 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  color: #ffffff;
}

.mg-about-why__intro {
  margin: 0 0 44px;
  max-width: 620px;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.mg-about-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mg-about-why__card {
  padding: 30px 28px 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--card-accent, #ff0106);
}

.mg-about-why__num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--card-accent, #ff0106);
}

.mg-about-why__card-title {
  margin: 14px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #ffffff;
}

.mg-about-why__card-text {
  margin: 12px 0 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Timeline ---------- */

.mg-about-timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mg-about-timeline__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mg-about-timeline__eyebrow {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fef204;
}

.mg-about-timeline__heading {
  margin: 16px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  color: #ffffff;
}

.mg-about-timeline__note {
  margin: 0;
  max-width: 340px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.mg-about-timeline__list {
  position: relative;
  margin-top: 60px;
}

.mg-about-timeline__list::before {
  content: '';
  position: absolute;
  left: 150px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(#ff0106, #fef204 45%, #09b3f1);
}

.mg-about-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 36px 1fr;
  align-items: start;
  padding-bottom: 40px;
}

.mg-about-timeline__year {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-align: right;
  padding-top: 2px;
  padding-right: 4px;
  white-space: nowrap;
  color: #fef204;
}

.mg-about-timeline__dot-wrap {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mg-about-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000000;
  border: 3px solid #ff0106;
  display: block;
  position: relative;
  z-index: 1;
}

.mg-about-timeline__content {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mg-about-timeline__title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

.mg-about-timeline__body {
  margin: 10px 0 22px;
  max-width: 660px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- For operators ---------- */

.mg-about-operators {
  background: #09b3f1;
  padding: 64px 6%;
}

.mg-about-operators__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.mg-about-operators__eyebrow {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #041018;
}

.mg-about-operators__heading {
  margin: 12px 0 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  color: #041018;
}

.mg-about-operators__text {
  margin: 0;
  max-width: 640px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #17181a;
}

.mg-about-operators__cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  background: #041018;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.mg-about-operators__cta:hover {
  background: #ff0106;
}

@media (max-width: 860px) {
  .mg-about-hero__grid {
    grid-template-columns: 1fr;
  }

  .mg-about-hero__title,
  .mg-about-hero__lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mg-about-hero__eyebrow {
    margin: 0 auto;
    display: inline-flex;
  }

  .mg-about-hero,
  .mg-about-hero__grid > div:first-child {
    text-align: center;
  }

  .mg-about-hero__ctas {
    justify-content: center;
  }

  .mg-about-hero__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

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

  .mg-about-timeline__list::before {
    left: 8px;
  }

  .mg-about-timeline__item {
    grid-template-columns: 20px 1fr;
    gap: 0 16px;
  }

  .mg-about-timeline__year {
    grid-column: 1 / -1;
    text-align: left;
    margin-bottom: 10px;
  }

  .mg-about-timeline__dot-wrap {
    padding-top: 6px;
  }

  .mg-about-operators__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mg-about-operators__cta {
    margin: 0 auto;
  }
}
