/* =====================================================================
   Content pages: brand, offers, owners, news, legal and friends.
   Loaded after styles.css.
   ===================================================================== */

.c-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}
.c-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .6));
}
.c-hero-plain { min-height: 250px; background: var(--ink); }
.c-hero-plain::after {
  display: block;
  background: none;
  /* Signal wedge instead of a photo. */
  border-left: 46vw solid transparent;
  border-bottom: 300px solid var(--signal);
  inset: auto -10vw -1px auto;
  width: 0; height: 0;
  opacity: .9;
}

.c-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  /* Clears the fixed 75px global header, which floats over the hero. */
  padding: 105px 75px 60px;
}
.c-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}
/* Article headlines are real sentences — leave their casing alone. */
.c-hero-article h1 {
  text-transform: none;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.c-hero-intro {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.3vw, 19px);
  margin-top: 18px;
  max-width: 68ch;
  line-height: 1.55;
}
.c-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
  transition: color .2s;
}
.c-back:hover { color: #fff; }

/* ---------- Chery Q hero ----------
   Layered composite: a Q backplate, the car, then a Q mask on top, over the
   model's purple gradient. Rebuilt from the live page's layer stack. */

.q-hero {
  position: relative;
  width: 100%;
  height: clamp(520px, 46vw, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: linear-gradient(115deg,
    rgba(90, 35, 163, .95),
    rgba(107, 48, 181, .95) 25%,
    rgba(163, 110, 213, .92) 50%,
    rgba(122, 61, 197, .95) 75%,
    rgba(90, 35, 163, .95));
}
.q-hero-logo {
  position: absolute;
  top: 9%;
  left: 6%;
  z-index: 3;
}
.q-hero-logo img { width: min(360px, 30vw); height: auto; display: block; }

.q-hero-copy {
  padding: 0 0 56px 6%;
  max-width: 560px;
  position: relative;
  z-index: 3;
}
.q-hero-copy h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.q-hero-copy p { color: rgba(255, 255, 255, .88); font-size: 17px; line-height: 1.6; margin-top: 16px; }
.q-hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 17px 44px;
  background: #fff;
  color: #793ec0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  transition: transform .2s, box-shadow .2s;
}
.q-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }

/* Mirrors the live page: the layer stack is pinned to the bottom-right and
   allowed to bleed off the edge. */
.q-hero-art {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 46%;
  height: 88%;
  z-index: 1;
}
.q-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.q-back { z-index: 0; }
.q-car { z-index: 1; }
.q-mask { z-index: 2; }

@media (max-width: 1005px) {
  .q-hero { height: auto; padding-top: 190px; }
  .q-hero-logo { top: 40px; left: 25px; }
  .q-hero-logo img { width: min(260px, 52vw); }
  .q-hero-copy { padding: 0 25px 34px; max-width: none; }
  /* Stack the art below the copy rather than bleeding off a narrow screen. */
  .q-hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    margin: 10px auto 0;
    aspect-ratio: 1312 / 1576;
    height: auto;
  }
}

/* ---------- Body ---------- */

.c-body { background: var(--paper); padding: 84px 0 100px; }
.c-body .container { max-width: 1180px; }

.c-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 54px 0 18px;
  padding-left: 18px;
  border-left: 4px solid var(--signal);
  text-transform: uppercase;
}
.c-heading:first-child { margin-top: 0; }
h3.c-heading { font-size: clamp(18px, 1.7vw, 23px); margin-top: 38px; }

.c-text { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; max-width: 74ch; }

/* Bullet lists (Ts & Cs, article highlights, policy clauses): body-text
   styling with a small signal-red square for the bullet. */
.c-list { list-style: none; margin: 0 0 22px; padding: 0; max-width: 74ch; }
.c-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.c-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--signal);
}
.c-list a, .c-placeholder a { color: var(--signal); text-decoration: underline; }
.c-list li.c-list-joiner { font-style: italic; }
.c-list li.c-list-joiner::before { display: none; }
.c-text + .c-heading { margin-top: 48px; }

.c-figure { margin: 40px 0; }
.c-figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

.c-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 70px;
  margin: 46px 0;
}
.c-stats > * { padding-top: 16px; border-top: 3px solid var(--signal); min-width: 190px; }
.c-stat-value {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1;
}
.c-stat-title { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- Client-rendered notice ---------- */

.c-placeholder {
  border: 1px dashed #cfcac4;
  border-radius: 6px;
  padding: 46px 40px;
  text-align: center;
  background: #fbfaf9;
  color: #6b6259;
}
.c-placeholder p { font-size: 18px; margin: 0; }
.c-placeholder-sub { font-size: 15px; color: #948d85; margin-top: 10px !important; }

/* ---------- News index ---------- */

.c-body .news-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
}
.c-body .latest-news-item { margin-bottom: 50px; }
.c-body .latest-news-title { white-space: normal; }

/* ---------- Article body ---------- */

.c-article .container { max-width: 900px; }
.c-article .c-text { font-size: 17px; margin-bottom: 24px; }

/* ---------- Chery SA App ----------
   Screenshots at phone scale beside the section they illustrate, alternating
   sides; QR codes in one row. */

.app-intro { max-width: 520px; margin: 0 auto 80px; }
.app-intro img { display: block; width: 100%; height: auto; }

/* Media beside the copy it belongs to, alternating sides. Shared with the
   Chery Q page's illustrations (.c-feature), which are transparent cut-outs
   and so get no shadow. */
.app-feature, .c-feature {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px 90px;
  align-items: center;
  margin-bottom: 90px;
}
.app-feature.is-flipped, .c-feature.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
.app-feature.is-flipped .app-shot, .c-feature.is-flipped .c-feature-media { order: 2; }
.app-shot, .c-feature-media { margin: 0; }
.app-shot img, .c-feature-media img { display: block; width: 100%; height: auto; }
.app-shot img { filter: drop-shadow(0 18px 28px rgb(0 0 0 / .16)); }

.app-qrs { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.app-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 190px;
  padding: 20px 20px 16px;
  background: #fff;
  border-top: 3px solid var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.app-qr img { display: block; width: 100%; height: auto; }
a.app-qr span::after { content: " \203A"; color: var(--signal); }
a.app-qr:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgb(0 0 0 / .25); }

/* ---------- Chery Q launch material ---------- */

/* The two Chery Q versions, side by side. */
.q-trims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0 22px; }
.q-trim { background: #fff; border-top: 4px solid var(--signal); padding: 26px 26px 12px; }
.q-trim .c-heading { margin: 0 0 12px; padding: 0; border: 0; }
.q-trim-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; font-family: var(--font-mono); }
.q-trim-price span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.q-trim-price b { font-size: 26px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .q-trims { grid-template-columns: minmax(0, 1fr); } }

/* Price strip between the purple hero and the purple launch banner — the
   site's price-board treatment (ink, red top edge, mono figure) stretched
   into a band, so the two artworks are parted by something with a job. */
.q-strip { background: var(--ink); border-top: 4px solid var(--signal); color: #fff; }
.q-strip .container { max-width: 1180px; }
.q-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 36px;
  min-height: 88px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.q-strip .tag { color: #fff; }
.q-strip-price { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-mono); }
.q-strip-price span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a9a3b0;
}
.q-strip-price b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.q-strip-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #a9a3b0; }
.q-strip-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 36px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s;
}
.q-strip-cta:hover { background: var(--signal-deep); }

/* The launch artwork runs full-bleed straight under the strip. */
.q-launch { display: block; background: var(--ink); }
.q-launch a { display: block; }
.q-launch img { display: block; width: 100%; height: auto; }
#q-in-action { scroll-margin-top: calc(var(--header-h) + 24px); }

.q-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0 64px;
}
.q-video { margin: 0; }
.q-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.q-video figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1005px) {
  .c-hero-inner { padding: 100px 25px 40px; }
  .c-body { padding: 56px 0 70px; }
  .c-body .news-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-feature, .c-feature { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px 50px; }
  .q-videos { grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 30px; }
  .app-feature.is-flipped, .c-feature.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
}

@media (max-width: 767px) {
  .c-hero { min-height: 240px; }
  .c-text, .c-list li { font-size: 16px; }
  .q-strip-inner { gap: 10px 20px; }
  .q-strip-price b { font-size: 24px; }
  .q-strip-cta { margin-left: 0; width: 100%; justify-content: center; }
  .c-stats { gap: 26px 40px; }
  .c-stat-value { font-size: 30px; }
  .c-body .news-row { grid-template-columns: minmax(0, 1fr); }
  .c-figure { margin: 26px 0; }

  .app-intro { max-width: 320px; margin-bottom: 56px; }
  .app-feature, .app-feature.is-flipped,
  .c-feature, .c-feature.is-flipped { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 60px; }
  .app-feature.is-flipped .app-shot, .c-feature.is-flipped .c-feature-media { order: 0; }
  .app-shot, .c-feature-media { width: 100%; max-width: 230px; justify-self: center; }
  .app-qrs { gap: 10px; }
  .app-qr { width: calc((100% - 20px) / 3); padding: 10px 10px 12px; gap: 10px; font-size: 11px; }
}
