/* Google Ads service page (2026-11-27): new top sections in the real-estate page language.
   Each new section carries `.re-page` (tokens + type from realestate.css) plus its own `.ga-*` class.
   The older `.lst-*` sections below them are untouched. */

/* realestate.css sets a phone bottom padding on .re-page for its sticky CTA; not wanted per section here */
main.ga-page > section.re-page { background: #000; }

/* ---------- hero: copy left, portrait right ---------- */
body.v3 main.ga-page > section.ga-hero { padding: clamp(120px, 16vh, 180px) 0 72px; border-top: 0; }
.ga-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: end; }
main.ga-page .ga-hero h1.re-h1 { max-width: 17ch; font-size: clamp(44px, min(5.6vw, 8.6vh), 78px); line-height: .96; }
.ga-hero .re-h1 .ga-nw { white-space: nowrap; }
.ga-hero .re-h1 .ga-dash { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ga-hero-photo { margin: 0; }
.ga-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.ga-hero-photo figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .5px; color: var(--re-ink-3); }
.ga-note { margin-top: 18px; font-size: 14px; color: var(--re-ink-3); max-width: 60ch; }

/* ---------- tools row ---------- */
.ga-tools { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.re-page .ga-tools li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--re-ink-2); }
.ga-tools img { width: 20px; height: 20px; opacity: .9; }

/* ---------- AI checks ---------- */
.ga-ai-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.ga-ai-copy h2 { margin-bottom: 24px; }
.ga-ai-copy h2::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin-bottom: 26px; }
.ga-ai-copy p { color: var(--re-ink-2); max-width: 54ch; text-wrap: pretty; }
.ga-ai-copy p + p { margin-top: 16px; }
.ga-ai-copy p.ga-strong { color: var(--re-ink); font-size: 19px; }
.ga-panel { padding: 36px 36px 30px; background: var(--re-surface); border: 1px solid var(--re-line); border-top: 1px solid var(--gold); }
.ga-panel-head { display: flex; align-items: center; gap: 22px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--re-line); font-size: 14px; color: var(--re-ink-2); }
.ga-panel-head span { display: inline-flex; align-items: center; gap: 10px; color: var(--re-ink); font-weight: 500; font-size: 16px; }
.ga-panel-head img { width: 26px; height: 26px; }
.ga-panel-label { font-size: 14px; color: var(--re-ink-3); margin-bottom: 16px; }
.ga-panel-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--re-line); font-size: 14px; color: var(--re-ink-3); }

/* ---------- experience: three branches ---------- */
.ga-branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.re-page .ga-branches li { padding-top: 22px; border-top: 1px solid var(--re-line); }
.re-page .ga-branches li:first-child { border-top-color: var(--gold); }
.ga-branches h3 { margin-bottom: 12px; }
.ga-branches p { color: var(--re-ink-2); font-size: 16px; text-wrap: pretty; }
.ga-branches p.ga-proof { margin-top: 14px; font-size: 14px; color: var(--re-ink-3); }
.ga-branches a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ga-exp .re-facts { margin: 64px 0 0; }

/* result block sits directly on the page rhythm */
.ga-page .re-result { border-bottom: 0; }

@media (max-width: 991px) {
  .ga-hero-grid, .ga-ai-grid { grid-template-columns: 1fr; gap: 44px; }
  .ga-hero-photo { max-width: 420px; }
  .ga-branches { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  body.v3 main.ga-page > section.ga-hero { padding: 104px 0 48px; }
  body.v3 main.ga-page > section.re-page:not(.ga-hero) { padding-bottom: 72px; }
  main.ga-page .ga-hero h1.re-h1 { max-width: none; font-size: min(10.2vw, 44px); }
  .ga-hero-photo img { aspect-ratio: 4 / 3; object-position: center 22%; }
  .ga-panel { padding: 28px 22px 22px; }
  .ga-exp .re-facts { margin-top: 44px; }
  .ga-tools { gap: 12px 22px; margin-top: 28px; }
}

/* ---------- 2026-11-27b: pictures and charts ---------- */
/* wide photo band above "Der ganze Weg" */
.ga-band { margin: 0 0 64px; position: relative; }
.ga-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; filter: contrast(1.03) saturate(.92); }
.ga-band figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .5px; color: var(--re-ink-3); }

/* measuring chain: five points on one line */
.ga-chain { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.ga-chain::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--re-gold-line); }
.re-page .ga-chain li { position: relative; padding: 26px 12px 0 0; font-family: var(--re-head); font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 1.9vw, 26px); line-height: 1.05; color: var(--re-ink); }
.re-page .ga-chain li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #000; border: 1px solid var(--gold); }
.re-page .ga-chain li:last-child::before { background: var(--gold); }
.ga-chain small { display: block; margin-top: 8px; font-family: var(--font-sans); font-weight: 400; text-transform: none; font-size: 13px; line-height: 1.4; color: var(--re-ink-3); }

/* branches with pictures */
.ga-branches figure { margin: 0 0 22px; overflow: hidden; }
.ga-branches figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: contrast(1.03) saturate(.92); transition: transform 1.6s var(--re-ease); }
.ga-branches li:hover figure img { transform: scale(1.03); }
.re-page .ga-branches.ga-pics li { padding-top: 0; border-top: 0; }

/* result chart: before / after bars, real figures from the case */
.ga-result-grid { display: grid; grid-template-columns: auto 1fr; gap: 56px 72px; align-items: center; }
.ga-chart { grid-column: 1 / -1; margin: 0; padding-top: 40px; border-top: 1px solid var(--re-line); }
.ga-chart-rows { display: grid; gap: 30px; }
.ga-chart-row { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 28px; align-items: center; }
.ga-chart-row > p { font-size: 15px; color: var(--re-ink-2); }
.ga-bars { display: grid; gap: 8px; }
.ga-bar { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; font-size: 13px; color: var(--re-ink-3); }
.ga-bar i { display: block; height: 14px; width: calc(var(--v) * 1%); max-width: 100%; background: rgba(255, 255, 255, .26); position: relative; }
.ga-bar.after { color: var(--re-ink); }
.ga-bar.after i { background: var(--gold); }
.ga-bar i { font-style: normal; }
.ga-bar i b { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--re-ink); }
.ga-chart figcaption { margin-top: 26px; font-size: 13px; color: var(--re-ink-3); max-width: 70ch; }

@media (max-width: 991px) {
  .ga-result-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .ga-band { margin-bottom: 40px; }
  .ga-band img { aspect-ratio: 16 / 10; }
  .ga-chain { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .ga-chain::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .re-page .ga-chain li { padding: 0 0 22px 32px; font-size: 22px; }
  .re-page .ga-chain li:last-child { padding-bottom: 0; }
  .ga-chain small { margin-top: 4px; }
  .ga-chart-row { grid-template-columns: 1fr; gap: 10px; }
  .ga-bar { grid-template-columns: 104px 1fr; }
  .ga-bars { padding-right: 92px; }
}

/* 2026-11-27c: six steps in two columns (no reference letter on this page) */
@media (min-width: 992px) {
  .ga-stages2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .re-page .ga-stages2 li:nth-last-child(2) { border-bottom: 1px solid var(--re-line); }
}

/* 2026-11-27d: AI block, model marks under the heading */
.ga-ai-logos { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.re-page .ga-ai-logos li { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 500; color: var(--re-ink); }
.ga-ai-logos img { width: 34px; height: 34px; }
.ga-panel > .ga-panel-label:first-child { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--re-line); }

/* 2026-11-27e: brand marks in the hero, certificates as pictures */
.ga-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0 0 26px; font-size: 19px; font-weight: 500; color: var(--re-ink); }
.ga-marks > span { display: inline-flex; align-items: center; gap: 11px; }
.ga-marks img { width: 30px; height: 27px; }
.ga-marks-partner { padding-left: 28px; border-left: 1px solid var(--re-line); color: var(--re-ink-2); }
.ga-marks-partner b { font-weight: 500; margin-right: -4px; }
.ga-marks-partner i { font-style: normal; }
.ga-cert-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.ga-cert-cards figure { margin: 0; }
.ga-cert-cards a { display: block; overflow: hidden; border: 1px solid var(--re-line); background: #fff; }
.ga-cert-cards img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--re-ease); }
.ga-cert-cards a:hover img { transform: scale(1.02); }
.ga-cert-cards figcaption { margin-top: 14px; }
.ga-cert-cards figcaption b { display: block; font-weight: 600; }
.ga-cert-cards figcaption span { font-size: 14px; color: var(--re-ink-3); }
@media (max-width: 600px) {
  .ga-marks { font-size: 16px; gap: 10px 18px; margin-bottom: 20px; }
  .ga-marks-partner { padding-left: 18px; }
  .ga-cert-cards { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
}
/* certificates stay in colour (the site-wide .certificates rule greys images until hover) */
body.v3 .ga-page .ga-cert-cards img { filter: none; opacity: 1; }

/* 2026-11-27g: studio portrait with a badge card laid over its lower left corner */
.ga-hero-photo { position: relative; }
.ga-hero-photo > img { aspect-ratio: 4 / 5; object-position: center 18%; filter: contrast(1.04); }
.ga-hero-photo .ga-badges { position: absolute; left: -44px; bottom: 36px; margin: 0; display: flex; align-items: center; gap: 18px; padding: 16px 26px 16px 16px; background: rgba(10, 10, 10, .94); border: 1px solid var(--re-line); border-top: 1px solid var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); letter-spacing: 0; }
.ga-hero-photo .ga-badges img { width: 84px; height: 84px; aspect-ratio: 1; border-radius: 50%; background: #fff; object-fit: cover; filter: none; }
.ga-badges-text { display: grid; gap: 4px; }
.ga-g { font-size: 24px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.ga-g i, .ga-g em { font-style: normal; }
.ga-g em { color: var(--re-ink-2); font-weight: 400; }
.ga-badges-text small { font-size: 12px; letter-spacing: .5px; color: var(--re-ink-3); }
@media (max-width: 991px) {
  .ga-hero-photo .ga-badges { left: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  .ga-hero-photo > img { aspect-ratio: 4 / 4.2; object-position: center 12%; }
  .ga-hero-photo .ga-badges { left: 12px; right: auto; bottom: 12px; padding: 12px 18px 12px 12px; gap: 14px; }
  .ga-hero-photo .ga-badges img { width: 64px; height: 64px; }
  .ga-g { font-size: 20px; }
}

/* ---------- 2026-11-27h: Codex review round 1 ---------- */
/* CTA row after proof and after the cost block */
.ga-cta-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 8px 0 0; }
.lst-price .ga-cta-row { margin-top: 28px; }

/* captions on pictures (generated ones are marked as such) */
.ga-branches figure { position: relative; }
.ga-branches figcaption, .ga-band figcaption { margin-top: 8px; font-size: 12px; letter-spacing: .5px; color: var(--re-ink-3); }
.ga-branches li:hover figure img { transform: none; }
.ga-branches figure { overflow: visible; }

/* certificate banner: the shared overrides expect .re-certs INSIDE .re-page; here it is the same element */
body.v3 main.ga-page .re-certs .cert-featured { margin: 0; }
body.v3 main.ga-page .re-certs .cert-featured-label { display: none; }
body.v3 main.ga-page .re-certs .partner-banner-title { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.05; }

/* chart: stronger baseline bars */
.ga-page .ga-bar i { background: #666; }
.ga-page .ga-bar.after i { background: var(--gold); }

/* small standalone links get a full touch target */
.ga-branches p.ga-proof a, .ga-page .ga-rowlink, .ga-page .evidence-download { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.ga-page .ga-rowlink { margin-left: 24px; }

/* lower (older) sections brought to the same scale as the new top */
body.v3 main.ga-page .lst-section h2, body.v3 main.ga-page .lst-cta h2 { font-size: clamp(36px, 4.45vw, 64px); line-height: 1.02; }
body.v3 main.ga-page .lst-section p, body.v3 main.ga-page .lst-section li, body.v3 main.ga-page .ga-faq p { font-weight: 400; }
body.v3 main.ga-page .lst-deliverables { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border: 0; }
body.v3 main.ga-page .lst-deliverables > li { padding: 24px 0 0; border: 0; border-top: 1px solid var(--v3-line, rgba(255,255,255,.14)); }
body.v3 main.ga-page .lst-deliverables > li:first-child { border-top-color: var(--gold); }
body.v3 main.ga-page .lst-steps > li { border-left: 0; border-right: 0; }

/* audit examples: first one open, the other two fold */
.ga-page .audit-example-grid { grid-template-columns: 1fr; }
.ga-page details.ga-audit-more { padding: 0; }
.ga-page details.ga-audit-more > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; min-height: 60px; padding: 16px 52px 16px 24px; position: relative; }
.ga-page details.ga-audit-more > summary::-webkit-details-marker { display: none; }
.ga-page details.ga-audit-more > summary b { font-size: 18px; font-weight: 600; color: #fff; }
.ga-page details.ga-audit-more > summary::after, .ga-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; line-height: 1; }
.ga-page details.ga-audit-more[open] > summary::after, .ga-faq details[open] summary::after { content: "–"; }
.ga-page details.ga-audit-more > dl { padding: 0 24px 24px; }

/* FAQ as folding rows */
.ga-faq { max-width: 860px; border-top: 1px solid var(--v3-line, rgba(255,255,255,.14)); }
.ga-faq details { border-bottom: 1px solid var(--v3-line, rgba(255,255,255,.14)); }
.ga-faq summary { list-style: none; cursor: pointer; position: relative; min-height: 52px; padding: 16px 48px 16px 0; font-size: 18px; font-weight: 500; color: #fff; display: flex; align-items: center; }
.ga-faq summary::-webkit-details-marker { display: none; }
.ga-faq summary::after { right: 4px; }
.ga-faq summary:focus-visible, .ga-page details.ga-audit-more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ga-faq p { margin: 0; padding: 0 48px 22px 0; color: rgba(255,255,255,.78); line-height: 1.65; max-width: 70ch; }
.ga-faq p a { color: var(--gold); }

@media (max-width: 991px) {
  body.v3 main.ga-page .lst-deliverables { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.v3 main.ga-page .lst-section h2, body.v3 main.ga-page .lst-cta h2 { font-size: 34px; }
  .ga-page .ga-bar { grid-template-columns: 1fr; gap: 4px; }
  .ga-page .ga-rowlink { margin-left: 0; display: flex; }
  .ga-cta-row .btn { width: 100%; justify-content: center; }
  .ga-faq summary { font-size: 17px; }
}

/* 2026-11-27j: general numbers above the example, certificates as plain rows without links */
.ga-nums { grid-template-columns: repeat(4, 1fr); margin: 0 0 14px; }
.ga-nums div:first-child dt { color: var(--gold); }
.ga-nums-note { font-size: 13px; color: var(--re-ink-3); margin-bottom: 72px; }
.re-page .ga-cert-plain li { grid-template-columns: 28px 1fr; }
.ga-cert-plain img { width: 28px; height: 25px; }
@media (max-width: 600px) {
  .ga-nums { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ga-nums-note { margin-bottom: 48px; }
  main.ga-page .ga-hero h1.re-h1:lang(ru), main.ga-page .ga-hero h1.re-h1:lang(uk) { font-size: min(8.6vw, 38px); }
}

/* ---------- 2026-11-27k: "all services" hub ---------- */
main.ga-page .hub-hero h1.re-h1 { max-width: none; font-size: clamp(64px, min(9vw, 14vh), 132px); line-height: .9; }
.hub-list-h { margin-bottom: 36px; }
.hub-list-h::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin-bottom: 26px; }
.hub-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--re-line); }
.re-page .hub-rows li { border-bottom: 1px solid var(--re-line); }
.hub-rows a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: center; padding: 30px 0; color: var(--re-ink); text-decoration: none; }
.hub-rows b { font-family: var(--re-head); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; transition: color .3s var(--re-ease); }
.hub-rows span { font-size: 16px; line-height: 1.55; color: var(--re-ink-2); max-width: 46ch; }
.hub-rows i { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 15px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.hub-rows i .re-arrow { transition: transform .4s var(--re-ease); }
.hub-rows a:hover b { color: var(--gold); }
.hub-rows a:hover i .re-arrow { transform: translateX(4px); }
.hub-rows a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 991px) {
  .hub-rows a { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
}
@media (max-width: 600px) {
  main.ga-page .hub-hero h1.re-h1 { font-size: min(19vw, 84px); }
  .hub-rows b { font-size: 32px; }
}
@media (max-width: 600px) {
  main.ga-page .hub-hero h1.re-h1:lang(ru), main.ga-page .hub-hero h1.re-h1:lang(uk), main.ga-page .hub-hero h1.re-h1:lang(de), main.ga-page .hub-hero h1.re-h1:lang(en) { font-size: min(17vw, 76px); }
}
.hub-list-h { margin-bottom: 44px; }

/* ---------- 2026-11-27m: Meta Ads page ---------- */
.mt-marks-2 { color: var(--re-ink-2); font-size: 16px; font-weight: 400; }
.mt-marks-2 img { width: 22px !important; height: 22px !important; opacity: .85; }
main.ga-page .mt-hero h1.re-h1 { max-width: 16ch; }
/* two ad examples in phone frames */
.mt-phones { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.mt-phone { position: relative; border-radius: 30px; padding: 8px; background: #151515; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px rgba(0, 0, 0, .6); aspect-ratio: 9 / 17; overflow: hidden; }
.mt-phone:first-child { transform: translateY(-34px); }
.mt-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 23px; }
.mt-ad-top { position: absolute; left: 22px; top: 22px; font-size: 11px; letter-spacing: .5px; color: #fff; padding: 4px 9px; background: rgba(0, 0, 0, .55); }
.mt-ad-cta { position: absolute; left: 18px; right: 18px; bottom: 22px; padding: 11px 14px; font-size: 13px; font-weight: 600; color: #000; background: #fff; text-align: center; }
.mt-phones figcaption { grid-column: 1 / -1; font-size: 12px; letter-spacing: .5px; color: var(--re-ink-3); }

/* grey client logos in a hairline grid */
.mt-logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--re-line); border-left: 1px solid var(--re-line); }
.re-page .mt-logo-grid li { border-right: 1px solid var(--re-line); border-bottom: 1px solid var(--re-line); aspect-ratio: 5 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mt-logo-grid img { width: 72%; max-width: 190px; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: lighten; opacity: .55; filter: grayscale(1); transition: opacity .4s var(--re-ease); }
.mt-logo-grid li:hover img { opacity: .95; }
.mt-cta { margin-top: 56px; }

@media (max-width: 991px) {
  .mt-phones { max-width: 460px; }
  .mt-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .mt-phone:first-child { transform: translateY(-18px); }
  .mt-phone { border-radius: 22px; padding: 6px; }
  .mt-phone img { border-radius: 17px; }
  .mt-ad-cta { left: 12px; right: 12px; bottom: 14px; padding: 9px 8px; font-size: 12px; }
  .mt-ad-top { left: 14px; top: 14px; }
  .mt-logo-grid img { width: 84%; }
  main.ga-page .mt-hero h1.re-h1:lang(ru), main.ga-page .mt-hero h1.re-h1:lang(uk) { font-size: min(8vw, 34px); }
}
/* logos are now white on transparent (assets/logos), sized by box, greyed by opacity */
.mt-logo-grid img { width: auto; max-width: 62%; height: auto; max-height: 52%; aspect-ratio: auto; mix-blend-mode: normal; filter: none; opacity: .5; }
@media (max-width: 600px) { .mt-logo-grid img { width: auto; max-width: 74%; max-height: 58%; } }
/* Meta hero: more room for the two phones */
@media (min-width: 992px) { .mt-hero .ga-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; } }

/* 2026-11-27o: real ads in three phones; branch photos are tall so nothing gets cut */
.mt-phones { grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: center; }
.mt-phone { aspect-ratio: 9 / 16; border-radius: 26px; padding: 6px; }
.mt-phone img { border-radius: 20px; }
.mt-phone:first-child { transform: translateY(22px); }
.mt-phone:nth-child(2) { transform: translateY(-22px); }
.mt-phone:nth-child(3) { transform: translateY(22px); }
.mt-phones figcaption { margin-top: 30px; }
.mt-branches figure img { aspect-ratio: 4 / 5; object-position: center 22%; }
@media (max-width: 991px) { .mt-phones { max-width: 560px; } }
@media (max-width: 600px) {
  .mt-phones { gap: 8px; }
  .mt-phone { border-radius: 16px; padding: 4px; }
  .mt-phone img { border-radius: 12px; }
  .mt-phone:first-child, .mt-phone:nth-child(3) { transform: translateY(12px); }
  .mt-phone:nth-child(2) { transform: translateY(-12px); }
  .mt-branches figure img { aspect-ratio: 4 / 4.4; }
}

/* 2026-11-27p: six areas (3 x 2), Codex round for the Meta page */
.mt-branches { grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.mt-branches figure img { aspect-ratio: 4 / 5; object-position: center; }
.mt-logo-grid img { opacity: .72; }
.mt-logo-grid li:hover img { opacity: .72; }
.mt-phones figcaption { font-size: 14px; line-height: 1.45; letter-spacing: 0; color: #b3b3b3; }
.mt-phone { box-shadow: none; }
body.v3 main.mt-page .ga-ai-copy h2::before { content: none; }
@media (max-width: 991px) { .mt-branches { grid-template-columns: 1fr 1fr; gap: 40px 20px; } }
@media (max-width: 600px) {
  main.ga-page .mt-hero h1.re-h1 { max-width: none; }
  main.ga-page .mt-hero h1.re-h1:lang(ru), main.ga-page .mt-hero h1.re-h1:lang(uk) { font-size: clamp(32px, 8.7vw, 38px); line-height: 1.02; }
  body.v3 main.mt-page .re-page h2, body.v3 main.mt-page .lst-section h2, body.v3 main.mt-page .lst-cta h2 { font-size: 30px; line-height: 1.08; }
  .mt-branches { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .mt-branches h3 { font-size: 22px; }
  .mt-branches p { font-size: 14px; }
  .mt-page .re-facts { grid-template-columns: 1fr; gap: 16px; }
  .mt-logo-grid li { aspect-ratio: auto; min-height: 96px; }
}
/* grid tracks must not grow with the logo's natural width */
.mt-logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.re-page .mt-logo-grid li { min-width: 0; }
.mt-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-branches li { min-width: 0; }
@media (max-width: 991px) { .mt-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mt-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .re-page .mt-logo-grid li { aspect-ratio: auto; min-height: 96px; } }

/* ===== Marketing automation page (2026-11-27): example timeline in the hero, text-only area grid ===== */
.au-flow { margin: 0; padding: 30px 32px 26px; background: var(--re-surface); border: 1px solid var(--re-line); border-top: 1px solid var(--gold); }
.au-flow-label { padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--re-line); font-size: 14px; color: var(--re-ink-3); }
.au-flow ol { list-style: none; margin: 0; padding: 0; }
.re-page .au-flow li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--re-line); }
.re-page .au-flow li:last-child { border-bottom: 0; }
.au-flow time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.au-flow li span { font-size: 16px; line-height: 1.4; color: var(--re-ink); text-wrap: pretty; }
.au-flow-foot { margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--re-line); font-size: 13px; line-height: 1.5; color: var(--re-ink-3); }
.au-hero .ga-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: start; margin-top: 36px; }
.au-hero .ga-hero-grid > * { min-width: 0; }
.re-page.au-hero .re-h1 { max-width: none !important; width: 100%; }
.au-hero .re-h1 em { display: block; }
.au-hero .re-hero-lead { margin-top: 0; }
.au-branches { row-gap: 48px; }
@media (max-width: 991px) {
  .au-hero .ga-hero-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .re-page.au-hero .re-h1 .ga-nw { white-space: normal !important; }
  .re-page.au-hero .re-h1 { font-size: clamp(30px, 9.4vw, 44px); }
  .au-hero .ga-dash { display: none; }
  .au-hero .re-h1 { max-width: none; overflow-wrap: anywhere; }
  .au-flow { padding: 24px 20px 20px; }
  .re-page .au-flow li { grid-template-columns: 72px 1fr; gap: 12px; }
  .au-branches { row-gap: 28px; }
}
/* area icons + "works with" row (Mak 2026-11-27: icons so it is clear at a glance what I do) */
.au-branches svg { display: block; width: 30px; height: 30px; margin-bottom: 18px; color: var(--gold); }
.au-tools-label { margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--re-line); font-size: 14px; color: var(--re-ink-3); }
.re-page .au-tools { margin-top: 18px; }
.au-tools svg { width: 20px; height: 20px; opacity: .9; }
@media (max-width: 991px) { .au-tools-label { margin-top: 40px; } .au-branches svg { margin-bottom: 14px; } }
