/* ============================================================================
   VALYON — За нас (template-about.php)
   HARD-SCOPED to `.about-page` so its tokens + components never reach the rest of
   the site. Display face = Playfair Display (loaded as valyon-fonts-v2 on this
   template); body = Manrope (already global). Palette: cream #FAF1E8/#FBFBFB,
   ink #1C1A16, gold #B8923E.

   The hero banner (`valyon_page_hero()` → `.page-hero`) is NOT here — it was
   promoted to main.css (GLOBAL) once Contact also started using the helper, so the
   reusable banner is shared. This file only styles the `.about-page` body below.

   Section G ("Продуктите VALYON") reuses the shop card 1:1 — its markup is
   template-parts/shop/card.php wrapped in `.shop-v2` and styled by shop-v2.css
   (also enqueued on this template). We only neutralise the shop background here.
   ========================================================================== */

/* ---- page shell + tokens (scoped) ---- */
.about-page {
  --ab-cream: #FAF1E8;
  --ab-cream-2: #FBFBFB;
  --ab-ink: #1C1A16;
  --ab-ink-soft: #56463a;
  --ab-muted: #6E665B;
  --ab-gold: #B8923E;
  --ab-line: #E7DDCC;
  --ab-shadow: 0 24px 56px -24px rgba(28, 26, 22, .28);

  color: var(--ab-ink);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--ab-cream-2);
}
.about-page .wrap { max-width: 1316px; margin: 0 auto; padding: 0 24px; }
.about-page .serif { font-family: 'Playfair Display', serif; }
.about-page img { display: block; max-width: 100%; }
.about-page .eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ab-gold);
  margin-bottom: 14px;
}
.about-page .ab-center-title {
  text-align: center;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ab-ink);
  margin: 0;
}
.about-page .ab-center-sub {
  text-align: center;
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--ab-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ---- SECTION B / C — split (image + text) ---- */
.about-page .ab-split { padding: clamp(56px, 7vw, 96px) 0; }
.about-page .ab-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-page .ab-split-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--ab-shadow);
  object-fit: cover;
}
.about-page .ab-split-text h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 22px;
  color: var(--ab-ink);
}
.about-page .ab-split-text p {
  color: var(--ab-ink-soft);
  font-size: 16.5px;
  line-height: 1.72;
  margin: 0 0 18px;
}
.about-page .ab-split-text p:last-child { margin-bottom: 0; }
/* Alt variant (C): text first visually on desktop, image right. */
.about-page .ab-split-alt { background: var(--ab-cream); }

/* ---- SECTION D — pillars band (2×2 over a soft cream-gold surface) ---- */
.about-page .ab-pillars { padding: clamp(24px, 4vw, 56px) 0; }
.about-page .ab-pillars-band {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: clamp(40px, 5vw, 76px) clamp(24px, 4vw, 68px);
  background:
    linear-gradient(rgba(251, 251, 251, .88), rgba(250, 241, 232, .92)),
    var(--ab-band-bg) center / cover no-repeat,
    var(--ab-cream-2);
  border: 1px solid var(--ab-line);
}
.about-page .ab-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 52px);
}
.about-page .ab-pillar-ic {
  display: inline-flex;
  color: var(--ab-gold);
  margin-bottom: 16px;
}
.about-page .ab-pillar-ic svg { width: 44px; height: 44px; }
.about-page .ab-pillar h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ab-ink);
  margin: 0 0 12px;
}
.about-page .ab-pillar p {
  color: var(--ab-ink-soft);
  font-size: 15.5px;
  line-height: 1.66;
  margin: 0;
}

/* ---- SECTION E — approach (editorial zigzag: image ⇄ text per row) ---- */
.about-page .ab-approach { padding: clamp(56px, 7vw, 96px) 0; }
.about-page .ab-approach-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 88px);
  margin-top: clamp(36px, 4vw, 56px);
}
.about-page .ab-approach-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
/* Row 2: text left, image right (DOM is always media-first → swap via order). */
.about-page .ab-row-alt .ab-approach-media { order: 2; }
.about-page .ab-row-alt .ab-approach-list { order: 1; }
.about-page .ab-approach-list { display: flex; flex-direction: column; gap: 26px; }
.about-page .ab-step { display: flex; gap: 18px; align-items: flex-start; }
.about-page .ab-step-ic {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--ab-gold);
  margin-top: 2px;
}
.about-page .ab-step-ic svg { width: 28px; height: 28px; }
.about-page .ab-step-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ab-ink);
  margin: 0 0 8px;
}
.about-page .ab-step-body p {
  color: var(--ab-ink-soft);
  font-size: 15.5px;
  line-height: 1.66;
  margin: 0;
}
.about-page .ab-approach-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--ab-shadow);
  object-fit: cover;
}

/* ---- SECTION F — audience (3 columns) ---- */
.about-page .ab-audience {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--ab-cream);
}
.about-page .ab-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
  margin-top: clamp(36px, 4vw, 56px);
}
.about-page .ab-aud-card {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 14px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  text-align: center;
  box-shadow: 0 2px 10px rgba(28, 26, 22, .05);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.about-page .ab-aud-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ab-shadow);
  border-color: rgba(184, 146, 62, .32);
}
.about-page .ab-aud-ic {
  display: inline-flex;
  color: var(--ab-gold);
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 146, 62, .10);
  margin-bottom: 20px;
}
.about-page .ab-aud-ic svg { width: 28px; height: 28px; }
.about-page .ab-aud-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ab-ink);
  margin: 0 0 12px;
}
.about-page .ab-aud-card p {
  color: var(--ab-ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}

/* ---- SECTION G — products (reused shop .pcard) ---- */
.about-page .ab-products { padding: clamp(56px, 7vw, 96px) 0 clamp(20px, 3vw, 40px); }
.about-page .ab-products .ab-center-title { margin-bottom: 8px; }
/* Neutralise the shop-v2 cream/gradient background so the reused cards sit on the
   About page surface; the .pcard styling itself is left fully intact. */
.about-page .ab-products-scope { background: none; }
.about-page .ab-products-scope .product-grid { padding-top: clamp(28px, 4vw, 44px); }
.about-page .ab-products-cta { display: flex; justify-content: center; margin-top: 14px; }

/* ---- shared ghost link ---- */
.about-page .ab-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ab-ink);
  border: 1px solid var(--ab-ink);
  border-radius: 7px;
  padding: 15px 26px;
  background: none;
  transition: background .2s, color .2s, transform .2s;
}
.about-page .ab-btn-ghost:hover {
  background: var(--ab-ink);
  color: #fff;
  transform: translateY(-2px);
}
.about-page .ab-btn-ghost svg { transition: transform .2s; }
.about-page .ab-btn-ghost:hover svg { transform: translateX(3px); }

/* ---- SECTION H — instagram (static placeholder) ---- */
.about-page .ab-instagram { padding: clamp(56px, 7vw, 96px) 0; }
.about-page .ab-ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: clamp(36px, 4vw, 52px) 0 0;
}
.about-page .ab-ig-tile {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(184, 146, 62, .12), rgba(184, 146, 62, .04)),
    var(--ab-cream);
  border: 1px solid var(--ab-line);
}
.about-page .ab-instagram .ab-products-cta { margin-top: clamp(28px, 3vw, 40px); }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .about-page .ab-audience-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-page .ab-ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .about-page .ab-split-grid { grid-template-columns: 1fr; gap: 32px; }
  /* image always on top on mobile, even for the text-first (C) variant */
  .about-page .ab-split-alt .ab-split-media { order: -1; }
  .about-page .ab-pillars-grid { grid-template-columns: 1fr; }
  /* approach rows → single column, image above its own steps (both rows) */
  .about-page .ab-approach-row { grid-template-columns: 1fr; gap: 28px; }
  .about-page .ab-row-alt .ab-approach-media,
  .about-page .ab-row-alt .ab-approach-list { order: 0; }
  .about-page .ab-pillars-band { padding: 32px 22px; }
}

@media (max-width: 480px) {
  .about-page .ab-ig-grid { grid-template-columns: repeat(2, 1fr); }
}
