/* =========================================================
   Automation agency template — red theme
   Layout: light page, generous whitespace, one deep-ink band
   for the closing call-to-action and footer.
   Change the brand colour in ONE place: --red below.
   ========================================================= */
:root {
  --red: #d7262e;          /* brand colour (buttons, links, highlights) */
  --red-dark: #b01d24;     /* hover state */
  --red-tint: #fdeced;     /* soft backgrounds, tags */
  --red-line: #f6c9cb;     /* subtle borders on red tint */
  --ink: #1a1214;          /* headings and dark bands */
  --text: #3d3436;         /* body text */
  --muted: #7a6f71;        /* secondary text */
  --line: #ece5e5;         /* borders */
  --paper: #ffffff;        /* page background */
  --soft: #faf6f6;         /* alternating section background */
  --on-dark: #f6efef;      /* text on dark bands */
  --on-dark-muted: #b9aaab;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(26, 18, 20, .05), 0 8px 24px rgba(26, 18, 20, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.hl { color: var(--red); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--soft); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
}
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--red-tint); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header & mega menu ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem var(--font-display); color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 52px; height: 52px; border-radius: 50%; }
.header .logo img { width: 60px; height: 60px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--red);
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 8px; color: var(--ink);
  font: 500 .97rem var(--font-body); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__item.open > .nav__link { color: var(--red); background: var(--red-tint); }
.nav__link .chev { width: 10px; transition: transform .2s; }
.nav__item.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(26, 18, 20, .14);
  padding: 20px; min-width: 300px; display: none;
}
.mega--wide { min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.nav__item.open > .mega { display: grid; gap: 4px; }
.nav__item.open > .mega--wide { display: grid; }
.mega a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.mega a span { font-weight: 400; color: var(--muted); font-size: .88rem; }
.mega a:hover { background: var(--soft); color: var(--red); }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.mega__foot a { color: var(--red); }
.header__cta { margin-inline-start: 8px; white-space: nowrap; }
.burger { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: "";
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px));
    overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega, .mega--wide { position: static; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 12px; grid-template-columns: 1fr; }
  .header__cta { margin: 20px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(215, 38, 46, .12), transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 28px; justify-items: start; }
.hero__inner > h1, .hero__inner > .hero__lead { max-width: 860px; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: .85rem; font-weight: 600; color: var(--ink);
}
.badge__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: .8rem; }
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .hero__inner > h1 { max-width: 780px; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Logo strip ---------- */
.trusted { padding-block: 32px 64px; }
.trusted__label { text-align: center; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.logo-ph {
  height: 56px; border-radius: var(--radius-sm); border: 1px dashed var(--line);
  display: grid; place-items: center; color: var(--muted); font: 600 .9rem var(--font-display); letter-spacing: .02em;
}

/* ---------- Pain points ---------- */
.pain { display: grid; gap: 14px; max-width: 860px; }
.pain__item {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.pain__x { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; }
.pain__item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pain__item p { color: var(--muted); }
.pain__close { margin-top: 28px; font-size: 1.2rem; color: var(--ink); max-width: 720px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; position: relative; }
.step__num { font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.step__time { display: inline-block; justify-self: start; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--red-tint); color: var(--red-dark); }
.step p { color: var(--muted); font-size: .97rem; }
.offer {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: var(--radius); background: var(--red-tint); border: 1px solid var(--red-line);
}
.offer p { font-size: 1.1rem; color: var(--ink); }
.offer strong { color: var(--red-dark); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); margin-bottom: 56px; }
.stat { padding: 32px 24px; display: grid; gap: 6px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat__num { font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); color: var(--red); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(215, 38, 46, .9), rgba(122, 16, 22, .95)),
    var(--red);
  display: grid; place-items: center; overflow: hidden; color: rgba(255, 255, 255, .85);
  font: 600 .85rem var(--font-body); letter-spacing: .04em;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 18px 18px;
}
.ph span { position: relative; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; }
.ph--soft { background: linear-gradient(135deg, #f3dfe0, #e9cfd1); color: var(--red-dark); }
.ph--soft::before { background-image: radial-gradient(rgba(176, 29, 36, .14) 1px, transparent 1px); }
.ph--soft span { border-color: var(--red-line); }
.ph--square { aspect-ratio: 1 / 1; }
.ph--video { aspect-ratio: 16 / 9; border-radius: var(--radius); }

/* ---------- Case cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.case {
  display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper); color: inherit; transition: box-shadow .2s, transform .2s;
}
.case:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.case .ph { border-radius: 0; }
.case__body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.tag { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark); background: var(--red-tint); padding: 4px 10px; border-radius: 999px; }
.case__body h3 { font-size: 1.15rem; }
.case__quote { color: var(--muted); font-size: .95rem; }
.center-link { margin-top: 40px; text-align: center; }

/* ---------- Team ---------- */
.person { display: grid; gap: 14px; }
.person .ph { border-radius: var(--radius); }
.person h3 { font-size: 1.1rem; }
.person p { color: var(--muted); font-size: .93rem; margin-top: -8px; }

/* ---------- Testimonials ---------- */
.quote-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 16px; align-content: start; }
.quote-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; }
.verified { font-size: .78rem; font-weight: 600; color: var(--muted); }
.quote-card blockquote { margin: 0; color: var(--text); }
.who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; flex: none; }
.who strong { display: block; color: var(--ink); font-size: .95rem; }
.who span { color: var(--muted); font-size: .85rem; }

/* ---------- Why us ---------- */
.why { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.why__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; }
.why p { color: var(--muted); font-size: .95rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split__text { display: grid; gap: 18px; }
.split__text p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.checklist li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video { position: relative; display: block; max-width: 960px; margin-inline: auto; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: #fff; color: var(--red); display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s;
}
.video:hover .video__play { transform: scale(1.06); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px;
  font: 600 1.1rem var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Pricing ---------- */
.plan { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 18px; align-content: start; }
.plan--featured { border: 2px solid var(--red); box-shadow: var(--shadow); position: relative; }
.plan__flag { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan__price { font: 700 2.4rem/1 var(--font-display); color: var(--ink); }
.plan__price small { font: 500 .95rem var(--font-body); color: var(--muted); }
.plan > p { color: var(--muted); }
.plan .btn { justify-content: center; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row > * { min-width: 0; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--text); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.form__note { font-size: .85rem; color: var(--muted); }
.form__ok { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--red-tint); color: var(--red-dark); font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list strong { display: block; color: var(--ink); }

/* ---------- Article (case study / service detail) ---------- */
.prose { max-width: 720px; display: grid; gap: 18px; }
.prose h2 { font-size: 1.8rem; margin-top: 24px; }
.prose ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 8px; }
.fact { padding: 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.fact b { display: block; font: 700 1.8rem var(--font-display); color: var(--red); }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 38, 46, .45), transparent 65%); pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; padding-block: clamp(64px, 9vw, 112px); }
.cta-band h2 { color: #fff; max-width: 760px; }
.cta-band p { color: var(--on-dark-muted); max-width: 620px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: #120c0d; color: var(--on-dark-muted); font-size: .93rem; }
.footer .wrap { padding-block: 72px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__grid > * { min-width: 0; }
.footer .logo { color: #fff; }
.footer__about { display: grid; gap: 16px; align-content: start; }
.footer h4 { color: #fff; font: 600 .82rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--on-dark-muted); }
.footer a:hover { color: #fff; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badges span { font-size: .75rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 4px 10px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__about { grid-column: 1 / -1; } }

/* ---------- Chat widget ---------- */
.chat-btn {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; font-size: 1.4rem; box-shadow: 0 10px 30px rgba(215, 38, 46, .4);
}
.chat {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: min(360px, calc(100vw - 40px)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(26, 18, 20, .2); overflow: hidden;
}
.chat__head { background: var(--red); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.chat__head strong { font-family: var(--font-display); }
.chat__head button { background: none; border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; }
.chat__body { padding: 18px; display: grid; gap: 10px; }
.chat__msg { background: var(--soft); padding: 12px 14px; border-radius: 12px 12px 12px 4px; font-size: .93rem; }
.chat__q { text-align: start; font: inherit; font-size: .9rem; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--red-line); background: var(--paper); color: var(--red-dark); cursor: pointer; }
.chat__q:hover { background: var(--red-tint); }
.chat__fine { font-size: .75rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.video .ph span { align-self: end; margin-bottom: 20px; }

/* ---------- Additions: language switch, pillars, solutions, tools ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.lang:hover { border-color: var(--red); color: var(--red); }
.lang[lang="ar"] { font-family: var(--font-ar-body); }
.lang[lang="en"] { font-family: var(--font-body); }
.pillar { display: grid; gap: 14px; padding: 32px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); align-content: start; }
.pillar__verb { font: 700 1.5rem/1.1 var(--font-display); color: var(--ink); }
.pillar__verb b { color: var(--red); font-weight: 700; }
.pillar__sub { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark); }
.pillar p { color: var(--muted); }
.sol { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.sol:last-child { border-bottom: 1px solid var(--line); }
.sol__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.sol__icon svg { width: 30px; height: 30px; }
.sol h3 { font-size: 1.45rem; margin-bottom: 8px; }
.sol p { color: var(--muted); max-width: 68ch; }
.sol > * { min-width: 0; }
@media (max-width: 560px) { .sol { grid-template-columns: 1fr; gap: 14px; } }
.tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tool { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 600 1rem var(--font-display); color: var(--ink); }
.tool--more { border-style: dashed; color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 8px 16px; border-radius: 999px; background: var(--red-tint); color: var(--red-dark); font-weight: 600; }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro > * { min-width: 0; }
.intro__logo { width: min(360px, 100%); justify-self: center; filter: drop-shadow(0 20px 40px rgba(215, 38, 46, .18)); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__logo { width: 220px; } }
.lead-xl { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); line-height: 1.5; }

/* ---------- Arabic / right-to-left ---------- */
:root { --font-ar-display: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; --font-ar-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] body { font-family: var(--font-ar-body); line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .logo, [dir="rtl"] .pillar__verb, [dir="rtl"] .faq summary, [dir="rtl"] .stat__num { font-family: var(--font-ar-display); letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .eyebrow, [dir="rtl"] .pillar__sub, [dir="rtl"] .tag, [dir="rtl"] .step__num, [dir="rtl"] .trusted__label, [dir="rtl"] .footer h4 { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .btn, [dir="rtl"] .nav__link { font-family: var(--font-ar-body); }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-3px); }
[dir="rtl"] .hero::before { inset: -40% auto auto -10%; }
[dir="rtl"] .cta-band::after { right: auto; left: -200px; }
[dir="rtl"] .tool { font-family: var(--font-body); }
a.pillar, a.why { color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.pillar:hover, a.why:hover { color: inherit; border-color: var(--red-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar[id], .sol[id], section[id] { scroll-margin-top: 96px; }
.video .ph span { align-self: end; margin-bottom: 20px; }

/* =========================================================
   Dynamic site additions: slider, WhatsApp, social, blog, landing
   ========================================================= */
.section--tight { padding-block: 64px; }
.split--top { align-items: start; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__err { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--red-tint); color: var(--red-dark); font-weight: 600; border: 1px solid var(--red-line); }
.follow { display: block; color: var(--ink); margin-bottom: 10px; }
.nav__link[aria-current="page"] { color: var(--red); }

/* Hero slider */
.slider { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.slider__track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; min-height: clamp(480px, 62vh, 640px); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,10,11,.92) 0%, rgba(18,10,11,.75) 45%, rgba(18,10,11,.25) 100%); }
[dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(18,10,11,.92) 0%, rgba(18,10,11,.75) 45%, rgba(18,10,11,.25) 100%); }
.slide__inner { position: relative; z-index: 1; width: 100%; padding-block: 72px 110px; }
.slide__text { max-width: 720px; display: grid; gap: 22px; justify-items: start; }
.slide h1, .slide .slide__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 700; }
.slide .hl { color: #ff5a61; }
.slide p { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 600px; }
.slide .slide__text > * { transform: translateY(14px); opacity: 0; transition: transform .7s ease .15s, opacity .7s ease .15s; }
.slide.is-active .slide__text > * { transform: none; opacity: 1; }
.slider__controls { position: absolute; inset: auto 0 28px 0; z-index: 2; display: flex; align-items: center; gap: 14px; }
.slider__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; }
.slider__arrow:hover { background: var(--red); border-color: var(--red); }
.slider__dots { display: flex; gap: 8px; }
.slider__dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.slider__dot.is-active { width: 32px; background: var(--red); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--glass:hover { background: #25d366; border-color: #25d366; color: #fff; }
.btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .slide { min-height: 560px; } .slide::after { background: linear-gradient(0deg, rgba(18,10,11,.95) 20%, rgba(18,10,11,.6) 100%); } }

/* WhatsApp */
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; transform: translateY(-1px); }
.wa-float {
  position: fixed; z-index: 70; inset-inline-end: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Social buttons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red-tint); color: var(--red); transition: background .15s, color .15s, transform .15s; }
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.socials--dark .social { background: rgba(255,255,255,.08); color: #fff; }
.socials--dark .social:hover { background: var(--red); }
.social--whatsapp:hover { background: #25d366; }

/* Blog */
.case__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case .link-arrow { margin-top: 4px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.pager a[aria-current] { background: var(--red); color: #fff; border-color: var(--red); }
.article { font-size: 1.08rem; }
.article h2 { font-size: 1.6rem; margin-top: 16px; }
.article__img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article a { text-decoration: underline; }
.article .link-arrow { text-decoration: none; }

/* Landing popup */
.lp { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lp[hidden] { display: none; }
.lp__backdrop { position: absolute; inset: 0; background: rgba(18, 10, 11, .62); backdrop-filter: blur(3px); animation: lp-fade .25s ease; }
.lp__box { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); border-radius: 20px; display: grid; grid-template-columns: .95fr 1.05fr; box-shadow: 0 40px 80px rgba(0,0,0,.35); animation: lp-in .35s cubic-bezier(.2,.8,.2,1); }
.lp__box > * { min-width: 0; }
.lp__intro { background: radial-gradient(circle at 90% 0%, rgba(255,90,97,.35), transparent 55%), var(--ink); color: var(--on-dark); padding: 40px 36px; display: grid; gap: 16px; align-content: center; }
.lp__intro h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lp__intro .hl { color: #ff5a61; }
.lp__intro p { color: var(--on-dark-muted); }
.lp__intro .checklist li { color: #f3e9e9; font-size: .95rem; }
.lp__intro .checklist li::before { background: rgba(255,255,255,.12); color: #ff8a8f; }
.lp__logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.lp__form { padding: 40px 36px 28px; display: grid; gap: 14px; align-content: start; }
.lp__form h3 { font-size: 1.4rem; }
.lp__fields { display: grid; gap: 14px; }
.lp__fields[hidden] { display: none; }
.lp__fields .btn { justify-content: center; }
.lp__skip { justify-self: center; background: none; border: 0; padding: 6px; font: 600 .95rem var(--font-body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
[dir="rtl"] .lp__skip { font-family: var(--font-ar-body); }
.lp__skip--top { display: none; }
.lp__skip:hover { color: var(--red); }
.lp__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lp__close:hover { background: var(--red); color: #fff; border-color: var(--red); }
body.lp-open { overflow: hidden; }
@keyframes lp-fade { from { opacity: 0; } }
@keyframes lp-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@media (max-width: 760px) {
  .lp { align-items: end; padding: 0; }
  .lp__box { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 92dvh; }
  .lp__intro { padding: 28px 22px 22px; gap: 10px; }
  .lp__intro .checklist, .lp__logo, .lp__company { display: none; }
  .lp__intro h2 { font-size: 1.45rem; padding-inline-end: 44px; }
  .lp__intro p { font-size: .95rem; }
  .lp__skip--top { display: block; justify-self: start; color: #f3e9e9; padding: 0; }
  .lp__form { padding: 22px 22px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .lp__close { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
}

/* ---------- Cases ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); font-weight: 600; font-size: .92rem; }
.chip svg { width: 18px; height: 18px; color: var(--red); }
.chip:hover { border-color: var(--red-line); color: var(--red-dark); }
.chip[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip[aria-current="page"] svg { color: #fff; }
.why__icon svg { width: 26px; height: 26px; }
.case-cta { margin: 40px 0 24px; padding: 28px; border-radius: var(--radius); background: var(--red-tint); border: 1px solid var(--red-line); display: grid; gap: 10px; justify-items: start; }
.case-cta h3 { margin: 0; }
.case-cta p { margin: 0; }

/* ---------- Lists of 20 (blog, cases), page navigation, Academy ---------- */
@media (min-width: 1100px) { .grid-list { grid-template-columns: repeat(4, 1fr); gap: 20px; } .grid-list .case__body { padding: 18px 18px 20px; } .grid-list .case__body h3 { font-size: 1.02rem; } }
.pager { flex-wrap: wrap; align-items: center; }
.pager a { padding: 0 12px; }
.pager a:hover { border-color: var(--red-line); color: var(--red-dark); }
.pager__step { font-weight: 600; }
.pager__gap { color: var(--muted); padding: 0 4px; }
.pager__info { color: var(--muted); font-size: .9rem; margin: -12px 0 20px; }
.nav__link--academy { display: inline-flex; align-items: center; gap: 6px; }
.nav__link--academy svg, .btn svg.academy { width: 18px; height: 18px; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 1100px) { .grid-fields { grid-template-columns: repeat(5, 1fr); gap: 18px; } .grid-fields .why { padding: 22px; } .grid-fields h3 { font-size: 1.05rem; } }
@media (min-width: 1241px) { .nav { gap: 2px; } .nav__link { padding: 10px 10px; } .header__cta { margin-inline-start: 6px; } .logo { flex: none; } }
.grid-fields .why { align-content: start; }

/* ---------- Dropdown hover bridge ----------
   An invisible strip under each menu item fills the gap down to its dropdown,
   so the menu stays open while the mouse moves into it. */
@media (min-width: 1241px) {
  .nav__item[data-menu]::after { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 14px; }
  .mega { z-index: 60; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .mega--cols2 { min-width: 460px; grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .nav__item.open > .mega--cols2 { display: grid; }
}

/* ---------- Mobile and tablet menu ----------
   The header's blur effect traps the fixed menu inside the header bar on phones,
   so on small screens the header gets a solid background instead. */
@media (max-width: 1240px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .header__bar { min-height: 64px; gap: 12px; }
  .header .logo img { width: 48px; height: 48px; }
  .nav {
    top: var(--header-h, 65px); right: 0; bottom: 0; left: 0; inset-inline: 0;
    height: calc(100dvh - var(--header-h, 65px)); z-index: 49;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
  }
  .nav__item { width: 100%; }
  .nav > .nav__link { width: 100%; }
  .nav__link { min-height: 52px; color: var(--ink); }
  .nav__link:hover, .nav__item.open > .nav__link { background: none; }
  .nav__item.open > .nav__link { color: var(--red); }
  .mega, .mega--wide, .mega--cols2 { display: none; padding: 6px 0 14px; max-height: none; overflow: visible; }
  .nav__item.open > .mega, .nav__item.open > .mega--wide, .nav__item.open > .mega--cols2 { display: grid; grid-template-columns: 1fr; gap: 2px; }
  .mega a { padding: 12px 14px; font-size: 1rem; border-radius: 10px; }
  .mega a span { display: none; }
  .mega__col { gap: 0; }
  .mega__foot { border-top: 0; margin-top: 0; padding-top: 0; }
  .nav .lang { align-self: flex-start; margin-top: 18px; padding: 10px 18px; }
  .header__cta { width: 100%; min-height: 50px; }
  .burger { display: grid; place-items: center; flex: none; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .burger span::before, .burger span::after { transition: transform .2s, top .2s; }
}
body.nav-open .wa-float { display: none; }
@media (max-width: 380px) { .wrap.header__bar { padding-inline: 14px; } }

/* ---------- Menu columns ---------- */
.mega--wide { min-width: 600px; }
.mega__col { display: grid; gap: 2px; align-content: start; }
.mega__head { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 6px; }
.mega__foot { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 1240px) { .mega__head { padding-top: 10px; } }

/* ---------- Academy button ---------- */
.academy-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: transform .15s, background .15s; }
[dir="rtl"] .academy-btn { padding: 8px 8px 8px 20px; }
.academy-btn:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.academy-btn img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; }
.academy-btn span { display: grid; line-height: 1.25; }
.academy-btn small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* ---------- Team, customers, partners, testimonials ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.member { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); display: grid; grid-template-rows: auto 1fr; transition: box-shadow .15s, transform .15s; }
.member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.member__body { padding: 20px 22px 24px; display: grid; gap: 6px; align-content: start; }
.member__body h3 { font-size: 1.25rem; margin: 0; }
.member__role { color: var(--red); font-weight: 600; font-size: .92rem; }
.member__body p { color: var(--muted); font-size: .94rem; margin: 6px 0 0; }
.member__link svg { width: 22px; height: 22px; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.logo-card { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
a.logo-card:hover { border-color: var(--red-line); box-shadow: var(--shadow); color: var(--ink); }
.logo-card img { width: 100%; height: 90px; object-fit: contain; }
.logo-card__name { display: grid; font-weight: 600; font-size: .95rem; }
.logo-card__name small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.partner { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); align-items: center; }
.partner__logo { display: grid; place-items: center; min-height: 110px; background: var(--soft); border-radius: 12px; padding: 12px; }
.partner__logo img { width: 100%; max-height: 90px; object-fit: contain; }
.partner__body { display: grid; gap: 8px; align-content: start; }
.partner__body h3 { margin: 0; }
.partner__body p { color: var(--muted); margin: 0; }
@media (max-width: 620px) { .partner { grid-template-columns: 1fr; } }
.testi blockquote { font-size: 1.02rem; line-height: 1.7; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.testi__who img, .testi__initials { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.testi__initials { display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; }
.testi__who span { display: grid; }
.testi__who small { color: var(--muted); }
.empty-note { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--soft); }

/* ---------- Events ---------- */
.list-title { font-size: 1.5rem; margin: 0 0 20px; }
.list-title--past { margin-top: 56px; }
.event-card__media { position: relative; }
.datebox { position: absolute; top: 14px; inset-inline-start: 14px; background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 12px; display: grid; justify-items: center; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); }
.datebox b { font-size: 1.4rem; line-height: 1.1; color: var(--red); }
.event-card__meta { color: var(--ink); font-weight: 600; font-size: .9rem; margin: 0; }
.event-card.is-past { opacity: .8; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.event-layout .article { max-width: none; }
.event-box { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); display: grid; gap: 14px; }
.event-box h3 { margin: 0; }
.event-box p { margin: 0; display: grid; font-weight: 600; }
.event-box small { color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.event-box .btn { justify-content: center; }
@media (max-width: 900px) { .event-layout { grid-template-columns: 1fr; } .event-box { position: static; } }
.client-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; align-items: center; }
.client-strip img { height: 56px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.client-strip img:hover { filter: none; opacity: 1; }

/* ---------- Event details, agenda and request form ---------- */
.event-ctas { margin-top: 22px; }
.event-ctas .btn svg, .event-box .btn svg { width: 18px; height: 18px; }
.event-box .btn { width: 100%; justify-content: center; }
.event-box .link-arrow { display: inline-block; margin-top: 14px; }
.agenda { list-style: none; padding: 0; margin: 0 0 1.5em; counter-reset: ag; display: grid; gap: 10px; }
.agenda li { counter-increment: ag; position: relative; padding: 12px 16px; padding-inline-start: 56px; background: var(--soft); border-radius: 12px; }
.agenda li::before { content: counter(ag); position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
#request { scroll-margin-top: 90px; }
#request .form { background: var(--paper); }
.event-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.chip-sm { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--red-tint); color: var(--red-dark); }

/* ----- Podcasts ----- */
.grid-3 + .list-title, .center-link + .list-title { margin-top: 56px; }
.list-title--podcast { display: flex; align-items: center; gap: 10px; }
.list-title--podcast svg { width: 26px; height: 26px; color: var(--red); }
.event-card--podcast .datebox { min-width: 52px; }
.tag svg { width: 14px; height: 14px; vertical-align: -2px; }
.event-ctas .btn svg { vertical-align: -3px; }
.podcast-player { display: grid; gap: 16px; margin-bottom: 28px; }
.podcast-player .article__img { margin-bottom: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-audio { width: 100%; }
.listen-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.listen-links > span { font-weight: 600; color: var(--ink); }
.listen-links .chip { margin: 0; }
.podcast-note { margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--red-tint); color: var(--red-dark); font-weight: 600; }
