/* ===========================================================
   Babayan — Motiva catalog page
   PDF cover page is intentionally not used.
   Technical catalog pages 2–7 are shown as full-resolution images.
   =========================================================== */

:root {
  --motiva-purple: #6b2d77;
  --motiva-purple-deep: #4d2058;
  --motiva-lilac: #d9c6dc;
}

.motiva-page {
  overflow: hidden;
}

/* ---------- HERO ---------- */

.motiva-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;

  background-image: url("../images/motiva-hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.motiva-hero::after {
  display: none;
}

.motiva-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: clamp(54px, 7vw, 108px);
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.motiva-hero .eyebrow {
  color: #ead9b8;
}

.motiva-hero__content h1 {
  margin: 16px 0 24px;
  color: #fff;
  font-size: clamp(4.3rem, 8vw, 7.8rem);
  line-height: .86;
}

.motiva-hero__content > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.82;
}

.motiva-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.motiva-btn--outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
}

.motiva-btn--outline:hover {
  color: var(--ink);
  background: #fff;
  transform: translateY(-2px);
}

.motiva-hero__visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.motiva-orb {
  position: absolute;
  left: 50%;
  border-radius: 52% 48% 46% 54% / 56% 54% 46% 44%;
  background:
    radial-gradient(circle at 38% 24%, rgba(255,255,255,.82), rgba(255,255,255,.24) 35%, rgba(227,218,218,.08) 68%),
    linear-gradient(150deg, rgba(255,255,255,.68), rgba(203,192,197,.22));
  box-shadow:
    inset 0 0 34px rgba(255,255,255,.28),
    0 28px 70px rgba(20,8,22,.28);
  backdrop-filter: blur(3px);
}

.motiva-orb--one {
  top: 24px;
  width: 250px;
  height: 152px;
  transform: translateX(-50%);
}

.motiva-orb--two {
  top: 150px;
  width: 330px;
  height: 190px;
  transform: translateX(-50%);
}

.motiva-orb--three {
  top: 305px;
  width: 420px;
  height: 215px;
  transform: translateX(-50%);
}

.motiva-hero__wordmark {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: rgba(255,255,255,.8);
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: .04em;
}

/* ---------- INTRO ---------- */

.motiva-intro__grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 7vw, 108px);
  align-items: start;
}

.motiva-section-number {
  display: block;
  margin-bottom: 22px;
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .1em;
}

.motiva-intro h2,
.motiva-legend h2,
.motiva-catalog-head h2,
.motiva-safety h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

.motiva-intro__copy {
  max-width: 820px;
  padding-left: 34px;
  border-left: 1px solid var(--bronze);
}

.motiva-intro__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.88;
}

.motiva-intro__copy p + p {
  margin-top: 22px;
}

/* ---------- LEGEND ---------- */

.motiva-legend__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.motiva-legend__head p {
  max-width: 680px;
  margin: 18px 0 0;
}

.motiva-legend__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.motiva-legend__grid > div {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.58);
}

.motiva-legend__grid strong {
  color: var(--motiva-purple);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.motiva-legend__grid span {
  color: var(--ink);
}

.motiva-legend__note {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
  font-style: italic;
}

/* ---------- CATALOG HEADING ---------- */

.motiva-catalog-head {
  padding: 112px 0 68px;
  background: var(--cream);
}

.motiva-catalog-head h2 {
  margin-top: 14px;
}

.motiva-catalog-head p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- SERIES / TECHNICAL TABLES ---------- */

.motiva-series {
  padding: 48px 0 112px;
  background: var(--cream);
}

.motiva-series--alt {
  padding-top: 100px;
  background: var(--cream-2);
}

.motiva-series__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 940px;
  margin-bottom: 36px;
}

.motiva-series__number {
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: .12em;
}

.motiva-series__label {
  display: block;
  margin-bottom: 10px;
  color: var(--motiva-purple);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.motiva-series__head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.9rem);
  font-weight: 500;
  line-height: 1;
}

.motiva-series__head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.motiva-chart {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(57,42,36,.08);
}

.motiva-chart__viewport {
  display: block;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--bronze) transparent;
}

.motiva-chart__viewport img {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.motiva-chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .9rem;
}

.motiva-chart figcaption a {
  flex: 0 0 auto;
  color: var(--bronze-dk);
  font-weight: 400;
  border-bottom: 1px solid currentColor;
}

/* ---------- SAFETY ---------- */

.motiva-safety {
  background: var(--cream);
}

.motiva-safety__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  padding: clamp(38px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(107,45,119,.08), transparent 48%),
    rgba(255,253,249,.92);
}

.motiva-safety__mark {
  color: rgba(107,45,119,.28);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: .72;
}

.motiva-safety h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
}

.motiva-safety p {
  max-width: 800px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.82;
}

/* ---------- TABLET / MOBILE ---------- */

@media (max-width: 1050px) {
  .motiva-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, .9fr);
  }

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

@media (max-width: 900px) {
  .motiva-hero {
    min-height: auto;
  }

  .motiva-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .motiva-hero__content h1 {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  .motiva-hero__visual {
    min-height: 390px;
  }

  .motiva-orb--one {
    width: 190px;
    height: 115px;
  }

  .motiva-orb--two {
    top: 118px;
    width: 250px;
    height: 145px;
  }

  .motiva-orb--three {
    top: 236px;
    width: 320px;
    height: 165px;
  }

  .motiva-intro__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .motiva-intro__copy {
    padding-left: 22px;
  }

  .motiva-intro h2,
  .motiva-legend h2,
  .motiva-catalog-head h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .motiva-legend__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .motiva-catalog-head {
    padding: 76px 0 48px;
  }

  .motiva-series,
  .motiva-series--alt {
    padding: 58px 0 74px;
  }

  .motiva-series__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .motiva-series__head h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .motiva-chart {
    border-radius: 18px;
  }

  .motiva-chart__viewport img {
    min-width: 880px;
  }

  .motiva-chart figcaption {
    flex-direction: column;
    padding: 17px 18px;
  }

  .motiva-chart figcaption a {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .motiva-hero__actions {
    flex-direction: column;
  }

  .motiva-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .motiva-hero__visual {
    min-height: 330px;
  }

  .motiva-orb--one {
    width: 155px;
    height: 96px;
  }

  .motiva-orb--two {
    top: 96px;
    width: 210px;
    height: 125px;
  }

  .motiva-orb--three {
    top: 198px;
    width: 270px;
    height: 142px;
  }

  .motiva-hero__wordmark {
    font-size: 1.35rem;
  }

  .motiva-legend__grid {
    grid-template-columns: 1fr;
  }

  .motiva-legend__grid > div {
    min-height: 0;
  }

  .motiva-chart__viewport img {
    min-width: 820px;
  }

  .motiva-safety__card {
    grid-template-columns: 1fr;
  }

  .motiva-safety__mark {
    font-size: 5rem;
  }
}
.motiva-orb,
.motiva-hero__wordmark {
  display: none;
}