/* =====================================================================
   tomekplata.com – Mentor (/mentor/)
   Breakpoints copied from the original Elementor setup:
     desktop >= 1401px, tablet 801–1400px, mobile <= 800px
     header: full menu >= 992px (zoomed to 84% between 992 and 1260px)
   Deliberate mobile-only improvements live in the "<= 767px" blocks.
   ===================================================================== */

/* === SHARED: base, header, buttons, pills, footer – keep identical in every page CSS === */

:root {
  --navy: #0E293E;
  --navy-text: #0c293e;
  --orange: #F87034;
  --orange-dark: #f4570e;
  --beige: #F3DFB4;
  --cream: #FFEECD;
  --hover-navy: #00002b;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--navy-text);
  font-family: 'Sarabun', 'Sarabun Fallback', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
source { display: none; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; }

/* Background layers. ".bg--fixed" imitates background-attachment: fixed on desktop:
   the image is position:fixed and clipped to its section (works in Chromium and WebKit). */
.bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1401px) {
  .bg--fixed { clip-path: inset(0); }
  .bg--fixed img { position: fixed; inset: 0; width: 100%; height: 100%; }
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 1000; height: 91px; }
.header-bar {
  position: absolute; top: 0; left: 0; right: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-top: 1px;
}
.site-header--transparent .header-bar {
  background: transparent;
  color: #fff;
  box-shadow: none;
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}
.site-logo { display: flex; align-items: center; height: 90px; flex: none; }
.site-logo img { width: auto; max-height: 50px; margin-top: -2px; }
.site-logo__dark { display: none; }
.site-header--transparent .site-logo__light img { display: block; }
.site-header--transparent .site-logo__dark img { display: none; }
.site-header:not(.site-header--transparent) .site-logo__light img { display: none; }
.site-header:not(.site-header--transparent) .site-logo__dark img { display: block; }
.site-logo__light, .site-logo__dark { display: contents; } /* logo: vector SVG from the original brand files (owner decision 03.10.2026) */

.header-social { display: flex; align-items: center; margin-left: 24px; }
.header-social__link,
.site-nav__social a {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 30px;
  opacity: 0.8;
  transition: opacity 0.15s ease-out;
}
.header-social__link:hover, .site-nav__social a:hover { opacity: 1; }
.header-social__link svg, .site-nav__social svg { width: 16px; height: 16px; fill: currentColor; }
.header-social__link svg[viewBox^="0 -850 857"], .site-nav__social svg[viewBox^="0 -850 857"] { width: 13.7px; }
.header-social__link svg[viewBox^="0 -850 500"], .site-nav__social svg[viewBox^="0 -850 500"] { width: 8px; }

.menu-toggle { display: none; }

.site-nav { margin-left: auto; display: flex; }
.site-nav__social { display: none; }
.site-nav__list { display: flex; padding-right: 32px; font-size: 18px; font-weight: 500; }
.site-nav__list li { position: relative; margin: 0 -2px; height: 90px; }
.site-nav__list li::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1px; right: -1px;
  border-right: 1px solid currentColor;
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.2s;
}
.site-nav__list li:first-child::after { border-left: 1px solid currentColor; }
.site-header--transparent .site-nav__list li::after { opacity: 0.2; }
.site-nav__list a { display: block; height: 100%; line-height: 90px; }
.site-nav__list span {
  position: relative; z-index: 10;
  display: inline-block;
  padding: 0 16px;
  transition: color 0.4s;
}
/* "ribbon" hover / current item */
.site-nav__list span::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 0;
  z-index: -1;
  background: var(--hover-navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 15px), 0 100%);
  transition: height 0.3s;
}
.site-nav__list a:hover span, .site-nav__list a:focus-visible span, .site-nav__list .is-current span { color: #fff; }
.site-nav__list a:hover span::before, .site-nav__list a:focus-visible span::before { height: 115px; }
.site-nav__list .is-current span::before { height: 115px; background: var(--orange-dark); }

/* sticky header (class set by main.js after scrolling) */
.site-header.is-stuck .header-bar {
  position: fixed;
  margin-top: 0;
  background: #fff;
  color: #222;
  border-bottom: 0;
  box-shadow: 0 6px 15px rgba(17, 17, 17, 0.12);
  transition: background 0.4s;
}
.site-header.is-stuck .site-logo__light img { display: none; }
.site-header.is-stuck .site-logo__dark img { display: block; }
.site-header.is-stuck .site-nav__list li::after { opacity: 0.12; }
.site-header.is-compact .site-logo,
.site-header.is-compact .site-nav__list li { height: 65px; }
.site-header.is-compact .site-nav__list a { line-height: 65px; }
.site-header.is-compact .site-nav__list a:hover span::before,
.site-header.is-compact .site-nav__list .is-current span::before { height: 90px; }
.site-header.is-compact .site-logo img { margin-top: 0; }
.site-header .site-logo, .site-header .site-nav__list li, .site-header .site-nav__list a { transition: height 0.3s, line-height 0.3s; }

@media (min-width: 992px) and (max-width: 1260px) {
  .site-logo, .header-social, .site-nav { zoom: 0.84; }
  /* zoomed bar is 75.6px + 1px margin (original: sub-page content starts at 76.6px) */
  .site-header:not(.site-header--transparent) { height: 76.6px; }
}

@media (max-width: 991px) {
  .site-header { height: 51px; }
  .site-header--transparent { height: 51px; }
  .header-inner { width: 90%; align-items: center; flex-wrap: wrap; }
  .menu-toggle {
    display: block;
    position: relative;
    width: 52px; height: 50px;
    margin-left: -16px;
    color: var(--beige);
  }
  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    position: absolute;
    left: 16px; top: 47%;
    width: 16px; height: 2px;
    background: currentColor;
    transition: background 0.6s, transform 0.6s;
  }
  .menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; left: 0; transform-origin: 4px center; }
  .menu-toggle__lines::before { top: 6px; }
  .menu-toggle__lines::after { top: -6px; }
  .site-logo { order: 1; height: 50px; margin-left: -4px; }
  .site-logo img { max-height: 26px; margin-top: -1px; }
  .header-social { display: none; }
  .menu-toggle { order: 0; }
  .site-nav { display: none; order: 2; flex-basis: 100%; flex-direction: column; margin: 0; padding-bottom: 60px; }
  .site-nav__list { display: block; padding: 36px 0; font-size: 18px; font-weight: 400; letter-spacing: 1px; line-height: 27px; }
  .site-nav__list li { margin: 0; height: auto; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .site-nav__list li::after { display: none; }
  .site-nav__list a { padding: 18px 0; line-height: 27px; }
  .site-nav__list span { padding: 0; }
  .site-nav__list span::before { display: none; }
  .site-nav__list a:hover span, .site-nav__list .is-current span { color: inherit; }
  .site-nav__social { display: flex; justify-content: center; padding: 20px 0 32px; }

  .site-header.is-stuck .header-bar { box-shadow: 0 6px 15px rgba(17, 17, 17, 0.12); }
  .site-header.is-compact .site-logo { height: 50px; }

  /* open mobile menu */
  .site-header.menu-open .header-bar { position: absolute; background: #fff; color: #222; }
  .site-header.menu-open.is-stuck .header-bar { position: fixed; }
  .site-header.menu-open .site-nav { display: flex; }
  .site-header.menu-open .site-logo__light img { display: none; }
  .site-header.menu-open .site-logo__dark img { display: block; }
  .site-header.menu-open .menu-toggle { color: rgba(243, 223, 180, 0.5); }
  .site-header.menu-open .menu-toggle__lines { background: transparent; }
  .site-header.menu-open .menu-toggle__lines::before { transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle__lines::after { transform: rotate(-45deg); }
}
html.menu-locked, html.menu-locked body { overflow: hidden; }

/* ---------- pills, section heads, buttons ---------- */
.pill {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 4px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.pill--navy { background: var(--navy); color: #fff; }
.pill--beige { background: var(--beige); color: var(--navy); }
.pill--cream { background: var(--cream); color: var(--navy); }
.pill--link a { color: inherit; }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-title {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}
.section-title--light { color: #fff; }
.section-title--black { color: #000; }
.section-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 19.6px;
}
.section-lead--light { color: #fff; }
.section-lead--grey { color: #6B6B6B; } /* owner decision 03.10.2026: was #919191 (contrast 3.2:1) */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  color: #fff;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.btn--orange { background: var(--orange); }
.btn--orange:hover, .btn--orange:focus-visible { background: var(--orange); color: #fff; }
.btn--shadow { text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }

@media (max-width: 1400px) {
  .pill { font-size: 11px; letter-spacing: 3px; }
  .section-lead { line-height: 1; }
}
@media (max-width: 800px) {
  .section-title { font-size: 30px; }
  .section-lead { font-size: 14px; }
}

/* ---------- footer (Elementor section repeated on every page) ---------- */
.site-footer { position: relative; padding: 6% 0; overflow: hidden; }
.site-footer__bg img { object-position: 50% 0; }
.site-footer__inner { position: relative; z-index: 1; max-width: 500px; margin: 0 auto; padding-top: 36px; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 52px; }
.footer-social__link {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.3s;
}
.footer-social__link:hover, .footer-social__link:focus-visible { background: var(--orange); }
.footer-social__link svg { width: 16px; height: 16px; fill: #2a344f; }
.site-footer__copy { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.5; }
@media (max-width: 1400px) { .site-footer { padding: 8% 5%; } }
@media (max-width: 800px) { .site-footer { padding: 12% 5%; } }

/* ---------- entrance animations (Elementor fadeInUp / fadeInDown / slideInUp) ----------
   Content is always visible without JS and with prefers-reduced-motion.
   main.js adds .anim-ready to <html> and .is-in to elements entering the viewport. */
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .anim-ready .reveal:not(.is-in):not(.is-done) { opacity: 0; }
  .anim-ready .reveal[data-anim="slideInUp"]:not(.is-in):not(.is-done) { opacity: 1; visibility: hidden; }
  .reveal.is-in { animation: 1.25s both; animation-delay: var(--delay, 0ms); }
  .reveal.is-in[data-anim="fadeInUp"] { animation-name: fadeInUp; }
  .reveal.is-in[data-anim="fadeInDown"] { animation-name: fadeInDown; }
  .reveal.is-in[data-anim="slideInUp"] { animation-name: slideInUp; }
}

/* ---------- QA fixes (see FIXES-qa.md) ---------- */
/* logo: width and height were both "auto", so its box had no size until the file arrived (layout
   shift of the header icons); explicit height = the size it always rendered at (aspect from attributes) */
.site-logo img { height: 50px; }
@media (max-width: 1024px) { .site-logo img { height: 41.72px; } }
/* keyboard focus / anchor jumps never end under the fixed (sticky) header */
html { scroll-padding-top: 100px; }
@media (max-width: 991px) { html { scroll-padding-top: 70px; } }
/* pill that is a link: the whole pill is clickable, not only the 15px-high text */
.pill--link { position: relative; }
.pill--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 991px) {
  /* open mobile menu taller than a landscape phone: let it scroll instead of cutting off links */
  .site-header.menu-open .header-bar { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 767px) {
  /* social icons in the mobile menu: 24x30px tap targets -> 44x44px */
  .site-nav__social a { width: 44px; height: 44px; }
  /* section leads: bold 14px text with line-height 1 – lines touched each other */
  .section-lead { line-height: 1.35; }
}


/* ---------- footer legal links + cookie consent banner (owner decision 03.10.2026) ---------- */
.site-footer__legal { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.5; }
.site-footer__legal a, .site-footer__cookies { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.site-footer__legal a:hover, .site-footer__cookies:hover { color: #fff; }
.site-footer__sep { margin: 0 8px; }
.site-footer__cookies[hidden] { display: none; }
.site-footer__legal:has(.site-footer__cookies[hidden]) .site-footer__sep { display: none; }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  font-size: 14px; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__text { flex: 1; margin: 0; }
.consent__text a { color: var(--beige); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent__btn {
  min-height: 44px; padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  background: var(--beige); color: var(--navy);
  transition: background-color 0.2s;
}
.consent__btn:hover, .consent__btn:focus-visible { background: #fff; }
.consent :focus-visible { outline-color: var(--beige); }
@media (max-width: 767px) {
  .consent { flex-direction: column; align-items: stretch; gap: 12px; left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent__actions .consent__btn { flex: 1; }
}

/* === END SHARED === */


/* ================= MENTOR ================= */


/* ---------- hero (section 1ab1ba4) ---------- */
.hero { position: relative; padding: 180px 0; background: #000; }
.hero__bg img { object-position: 100% 0; }
.m-hero__inner { position: relative; z-index: 1; width: 90%; max-width: var(--container); margin: 0 auto; }
.m-hero__inner > * { max-width: 570px; }
.m-hero__pill { padding: 14px 26px; margin-bottom: 10px; border-radius: 10px; }
.m-hero__title {
  margin-bottom: 24px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
}
.m-hero__lead {
  margin-bottom: 44px; /* 24px widget gap + 20px spacer */
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.28);
}
/* above the fold: entrance animation runs in pure CSS (main.js skips .hero) */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { animation: 1.25s both; animation-delay: var(--delay, 0ms); }
  .hero .reveal[data-anim="fadeInUp"] { animation-name: fadeInUp; }
  .hero .reveal[data-anim="fadeInDown"] { animation-name: fadeInDown; }
}
.m-hero__pill { --delay: 300ms; }
.m-hero__title { --delay: 1000ms; }
.m-hero__lead { --delay: 1600ms; }

.shape-bottom {
  position: absolute; left: 0; bottom: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}
.shape-bottom svg {
  position: relative; left: 50%;
  width: calc(170% + 1.3px);
  height: 150px;
  max-width: none;
  transform: translateX(-50%);
  fill: #fff;
}
@media (max-width: 1400px) {
  .hero { padding: 16% 5%; }
  .hero__bg img { object-position: 50% 50%; }
  .m-hero__inner { width: auto; max-width: none; }
  .m-hero__inner > * { max-width: 50%; }
  .m-hero__lead { font-size: 17px; }
}
@media (max-width: 800px) {
  .hero { padding: 24% 5% 10%; }
  .m-hero__inner > * { max-width: none; }
  .m-hero__pill { padding: 10px 16px; }
  .m-hero__title { padding-right: 10%; font-size: 26px; }
  .m-hero__lead { margin: 0 37% 24px 0; font-size: 13px; }
  .shape-bottom svg { width: calc(200% + 1.3px); height: 60px; }
}

/* ---------- section heads on this page ---------- */
.m-lead { margin: -10px 0 30px; }

/* ---------- values: photo + 6 icon boxes (section c6814cb) ---------- */
.values { padding: 50px 0 100px; }
.values__pill { width: 21.327%; text-align: center; }
.values__row { display: flex; align-items: flex-start; margin-top: 20px; }
.values__col--photo { align-self: center; }
.values__col { flex: 0 0 25%; min-width: 0; padding: 10px; }
.values__photo { width: 100%; border-radius: 4%; box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); }
.ibox { text-align: center; }
.ibox + .ibox { margin-top: 20px; }
.ibox--pb30 { padding-bottom: 30px; }
.ibox__icon { margin-bottom: 15px; line-height: 19.6px; }
.ibox__glyph { display: inline-block; width: 30px; height: 30px; }
.ibox__glyph svg { width: 30px; height: 30px; fill: #000; }
.ibox__title { margin-bottom: 5px; color: #000; font-size: 20px; font-weight: 600; line-height: 19.6px; text-transform: uppercase; }
.ibox__title--small { font-size: 18px; }
.ibox__text { color: #6B6B6B; font-size: 14px; line-height: 1.4; }
@media (max-width: 1400px) {
  .values { padding: 100px 25px; }
  .values__pill { width: 243.32px; }
  .ibox__title { font-size: 17px; }
  .ibox__title--small { font-size: 18px; line-height: 1; }
}
@media (max-width: 800px) {
  .values { padding: 50px 20px; }
  .values__pill { width: 230.688px; }
  .values__row { flex-direction: column; align-items: stretch; }
  .values__col { flex-basis: auto; }
  .ibox__icon { font-size: 40px; line-height: 56px; }
  .ibox__title { line-height: 56px; }
  .ibox__title--small { font-size: 17px; line-height: 1; }
  .ibox--mpt15 { padding: 15px 0 0; }
}

/* ---------- benefits (section ad363d9, navy + shapes) ---------- */
.benefits { position: relative; padding: 100px 20px; background: var(--navy); }
.benefits__bg img { position: absolute; left: 50%; bottom: 0; width: 2560px; height: auto; max-width: none; object-fit: fill; transform: translateX(-50%); }
@media (min-width: 1401px) {
  .benefits__bg img { position: fixed; top: auto; bottom: 0; left: 50%; right: auto; width: 2560px; height: auto; }
}
.benefits__inner { position: relative; z-index: 1; }
.benefits__lead { color: rgba(255, 255, 255, 0.72); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; max-width: var(--container); margin: 20px auto 0; }
.benefit { display: flex; flex-direction: column; align-items: center; padding: 40px; text-align: center; }
.benefit .benefit__icon { width: 30%; }
.benefit__title { align-self: stretch; margin-bottom: 20px; color: #fff; font-size: 25px; font-weight: 600; line-height: 19.6px; }
.benefit__text { align-self: stretch; margin-bottom: 16px; color: rgba(255, 255, 255, 0.76); font-size: 16px; line-height: 1.4; }
.benefit__text--wide { width: 103%; margin-left: -1.5%; }
@media (max-width: 1400px) {
  .benefits { padding: 100px 25px; }
  .benefit { padding: 25px; }
  .benefit__title { font-size: 20px; }
}
@media (max-width: 800px) {
  .benefits { padding: 50px 20px; }
  .benefits__grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { padding: 40px; }
  .benefit__title { line-height: 56px; }
}

/* ---------- story: video (section 5d46603) ---------- */
.story { padding: 100px 0; }
.story__inner { max-width: 684px; margin: 0 auto; }
.story__pill { width: 34.927%; text-align: center; }
.video { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.video__thumb { width: 100%; height: 100%; object-fit: cover; }
.video__icon { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.video__icon-bg { fill: #212121; fill-opacity: 0.8; transition: fill 0.2s, fill-opacity 0.2s; }
.video__play:hover .video__icon-bg, .video__play:focus-visible .video__icon-bg { fill: #f00; fill-opacity: 1; }
.video__play:focus-visible { outline-offset: -4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1400px) {
  .story { padding: 100px 25px; }
  .story__inner { max-width: none; }
  .story__pill { width: 251.125px; }
}
@media (max-width: 800px) {
  .story { padding: 50px 20px; }
  .story__pill { width: 222.125px; }
  .story .m-lead { margin-top: 0; }
}

/* ---------- stages: timeline (section 731e92e) ----------
   main.js [data-timeline] marks items .is-active once their point passes the middle
   of the screen and fills .timeline__progress. */
.stages { padding: 60px 0; background: #F2EBDE; }
.stages__inner { max-width: var(--container); margin: 0 auto; padding: 10px; }
.stages__pill { width: 29.57%; text-align: center; }
.stl { position: relative; margin-top: 20px; }
.stl__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; overflow: hidden; background: rgba(0, 0, 0, 0.09); }
.stl__line .timeline__progress { display: block; width: 100%; height: 0; background: var(--navy); }
.stl__item { position: relative; display: flex; align-items: center; }
.stl__item + .stl__item { margin-top: 36px; }
/* the original line runs from the first to the last point: mask the ends */
.stl__item:nth-child(2)::before,
.stl__item:last-child::after {
  content: "";
  position: absolute; left: 50%; z-index: 1;
  width: 4px; margin-left: -2px;
  background: #F2EBDE;
}
.stl__item:nth-child(2)::before { top: 0; bottom: 50%; }
.stl__item:last-child::after { top: 50%; bottom: 0; }
.stl__card {
  position: relative;
  flex: 0 0 calc(50% - 50px);
  padding: 30px 44px 30px 40px;
  border-radius: 10px;
  background: #fff;
  transition: background-color 0.3s;
}
.stl__card::after {
  content: "";
  position: absolute; top: 50%;
  width: 20px; height: 20px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}
.stl__item:nth-child(even) .stl__card::after { right: -10px; }
.stl__item:nth-child(odd) { flex-direction: row-reverse; justify-content: flex-start; }
.stl__item:nth-child(odd) .stl__card::after { left: -10px; }
.stl__point {
  position: relative; z-index: 2;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  margin: 0 18px;
  border-radius: 50%;
  background: #DCD7CD;
  transition: background-color 0.3s;
}
.stl__point svg { width: 16px; height: 16px; fill: #000; transition: fill 0.3s; }
.stl__title { margin: 21.6px 0 9px; color: var(--navy); font-size: 18px; font-weight: 600; line-height: 19.6px; transition: color 0.3s; }
.stl__text { color: rgba(0, 0, 0, 0.67); font-size: 18px; line-height: 1.4; transition: color 0.3s; }
.stl__item.is-active .stl__card { background: var(--navy); }
.stl__item.is-active .stl__point { background: var(--navy); }
.stl__item.is-active .stl__point svg { fill: #fff; }
.stl__item.is-active .stl__title { color: #fff; }
.stl__item.is-active .stl__text { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 1400px) {
  .stages__pill { width: 251.125px; }
  .stl__item + .stl__item { margin-top: 21px; }
  .stl__title { line-height: 1; }
  .stl__text { line-height: 1; }
}
/* Jet Timeline collapses to a left-aligned list at <= 1024px */
@media (max-width: 1024px) {
  .stl__line, .stl__item:nth-child(2)::before, .stl__item:last-child::after { left: 32px; }
  .stl__item:nth-child(n) { flex-direction: row-reverse; justify-content: flex-end; }
  .stl__item:nth-child(n) .stl__card { flex: 1 1 auto; margin-left: 10px; }
  .stl__item:nth-child(n) .stl__card::after { left: -10px; right: auto; }
  .stl__point { margin: 0 18px 0 0; }
  .stl__item:nth-child(n) .stl__card { padding-top: 49.6px; }
}
@media (max-width: 800px) {
  .stages__inner { padding: 0; }
  .stages__pill { width: 222.125px; }
  .stages .m-lead { margin: 0; }
  .stl__line, .stl__item:nth-child(2)::before, .stl__item:last-child::after { left: 28px; }
  .stl__item:nth-child(n) .stl__card { padding: 56px 24px 24px; border-radius: 15px; margin-left: 8.5px; }
  .stl__card::after { width: 17px; height: 17px; }
  .stl__item:nth-child(n) .stl__card::after { left: -8.5px; }
  .stl__point { width: 56px; height: 56px; margin: 0 12px 0 0; }
  .stl__title { margin: 0; font-size: 19px; }
  .stl__text { margin-top: 15px; font-size: 15px; line-height: 1.2; }
}

/* ---------- twain card + claim (section cc5bd40) ---------- */
.twain { position: relative; z-index: 2; padding: 3% 0 10%; background: #F2EBDE; }
.twain__inner { display: flex; align-items: flex-start; max-width: var(--container); margin: 0 auto; }
.twain__card-col { position: relative; z-index: 12; flex: 0 0 50%; }
.twain__card {
  margin-bottom: -60px;
  padding: 10%;
  background: #fff;
  border: 8px solid var(--beige);
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.twain__card > * { max-width: 440px; margin-left: auto; margin-right: auto; }
.twain__quote { margin-bottom: 60px; color: var(--navy); font-size: 18px; font-weight: 600; line-height: 1.4; }
.twain__cta { margin-bottom: 0; }
.m-btn {
  display: inline-block;
  padding: 25px 62px 25px 50px; /* +12px: the original button reserves a gap for an (empty) icon */
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.6px;
}
.m-btn:hover, .m-btn:focus-visible { background: var(--orange); color: #fff; }
.twain__aside { flex: 0 0 calc(50% - 10px); margin: 20px 5px; padding: 0 114px; }
.twain__claim { padding: 15px; color: var(--navy); font-size: 30px; font-weight: 900; line-height: 1.4; text-align: left; }
@media (max-width: 1400px) {
  .twain { padding: 10% 5% 0; }
  .twain__card-col { flex-basis: 44%; }
  .twain__aside { padding: 0; }
  .twain__quote { margin-bottom: 40px; line-height: 1; }
  .twain__claim { font-size: 17px; }
}
@media (max-width: 800px) {
  .twain { padding: 0 5% 12%; }
  .twain__inner { flex-direction: column-reverse; align-items: stretch; }
  .twain__card-col, .twain__aside { flex-basis: auto; }
  .twain__card { margin: 20px 0 0; }
  .twain__quote { margin-bottom: 52px; font-size: 16px; line-height: 1.2; }
  .m-btn { line-height: 56px; }
  .twain__claim { font-size: 16px; }
}

/* ---------- faq toggles (section 40a7d06) – native <details>, keyboard accessible ---------- */
.faq { position: relative; z-index: 1; padding: 100px 0; }
.faq__pill { width: 34.927%; text-align: center; }
.toggles { margin-top: 20px; padding: 0 20px; }
.toggle { background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, 0.12); }
.toggle + .toggle { margin-top: 32px; }
.toggle__title {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 34px 30px 26px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
  list-style: none;
}
.toggle__title::-webkit-details-marker { display: none; }
.toggle__title::marker { content: ""; }
.toggle__title:focus-visible { outline-offset: -3px; }
.toggle__label { margin-top: 3px; }
.toggle__icon { flex: none; display: flex; width: 30px; height: 30px; }
.toggle__icon svg { width: 30px; height: 30px; fill: #000; }
.toggle__icon .toggle__opened { display: none; }
.toggle[open] .toggle__title { color: var(--orange); }
.toggle[open] .toggle__closed { display: none; }
.toggle[open] .toggle__icon .toggle__opened { display: block; fill: #0EDC8D; }
.toggle__content { padding: 15px 35px; color: #939393; font-size: 15px; line-height: 1.8; }
.toggle__content ol, .toggle__content ul { margin: 15px 0 20px; padding-left: 24px; }
.toggle__content ol { list-style: decimal; }
.toggle__content ul { list-style: disc; }
.toggle__content p { margin-bottom: 15px; }
@media (max-width: 1400px) {
  .faq { padding: 100px 25px; }
  .faq__pill { width: 251.125px; }
}
@media (max-width: 800px) {
  .faq { padding: 50px 20px; }
  .faq__pill { width: 222.125px; }
  .toggles { padding: 15px 0 0; }
  .toggle__title { font-size: 16px; line-height: 16px; }
  .toggle__icon, .toggle__icon svg { width: 24px; height: 24px; }
}

/* ---------- mentees slider (section b09a514) ---------- */
.mentees { padding: 6% 0 7%; background: var(--cream); }
.mentees__title { color: var(--navy); }
.mentees__lead { width: 100%; margin-bottom: 20px; color: #6B6B6B; }
.mslider { position: relative; margin-top: 76px; }
.mslider__track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.mslider__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .mslider__track { scroll-behavior: auto; } }
.mt { flex: 0 0 33.3333%; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 0 24px; scroll-snap-align: start; }
.mt__quote {
  position: relative;
  align-self: center;
  width: 350px;
  max-width: 100%;
  margin-bottom: 38px;
  padding: 44px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 13px 22px rgba(25, 25, 25, 0.08);
  color: #54595F;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.mt__quote::after {
  content: "";
  position: absolute; left: 74%; bottom: -20px;
  margin-left: -20px;
  border-top: 20px solid #fff;
  border-right: 40px solid transparent;
}
.mt__author { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt__photo { width: 94px; height: 94px; margin-bottom: 15px; border-radius: 50%; object-fit: cover; }
.mt__who { display: flex; flex-direction: column; }
.mt__name { color: #3a3a3a; font-size: 14px; font-weight: 700; line-height: 1.5; }
.mt__role { color: #6B6B6B; font-size: 24px; font-weight: 300; line-height: 1.6; }
.mslider__dots { display: flex; justify-content: center; margin-top: 32px; }
.mslider__dots .slider__dot { width: 14px; height: 18px; display: flex; align-items: center; justify-content: center; }
.mslider__dots .slider__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.19); }
.mslider__dots .slider__dot:hover::before { background: rgba(0, 0, 0, 0.69); }
.mslider__dots .slider__dot[aria-current="true"]::before { background: #000; }
.mslider__arrow {
  position: absolute; top: calc(50% + 7px);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  color: #0c0c0c;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}
.mslider__arrow:hover, .mslider__arrow:focus-visible { background: #fff; }
.mslider__arrow svg { width: 14px; height: 14px; fill: #0c0c0c; }
.mslider__arrow--prev { left: -54px; }
.mslider__arrow--next { right: -54px; }
@media (max-width: 1400px) {
  .mentees { padding: 8% 5%; }
  .mslider { margin-top: 54px; }
  .mt { flex-basis: 50%; }
  .mt__quote { font-size: 13px; }
  .mt__role { font-size: 17px; }
  .mslider__arrow--prev { left: -48px; }
  .mslider__arrow--next { right: -48px; }
}
@media (max-width: 800px) {
  .mentees { padding: 12% 5%; }
  .mentees__lead { width: 310px; max-width: 100%; }
  .mslider { margin-top: 32px; }
  .mt { flex-basis: 100%; }
  .mt__quote { padding: 32px; }
  .mt__name { font-size: 16px; }
  .mt__role { font-size: 13px; }
  .mslider__arrow--prev { left: -26px; }
  .mslider__arrow--next { right: -26px; }
}

/* ---------- footer: on mobile the original copyright sits in a 56px-high line (kit body 40px/56px), text ~30px below the icons gap.
   Candidate for the SHARED block. ---------- */
@media (max-width: 800px) {
  .site-footer__copy { padding: 30px 0 5px; }
}

/* =====================================================================
   Deliberate mobile improvements (<= 767px) – see FIXES-mentor.md
   ===================================================================== */
@media (max-width: 767px) {
  /* hero: the lead ran over the light shapes of the photo; a soft navy veil keeps it readable */
  .hero::before {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(14, 41, 62, 0.9) 0%, rgba(14, 41, 62, 0.7) 55%, rgba(14, 41, 62, 0) 85%);
    pointer-events: none;
  }
  .m-hero__lead { margin-right: 22%; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

  /* icon boxes: the kit's 56px mobile line-height left big holes between icon, title and text */
  .values__row { margin-top: 12px; }
  .values__col { padding: 0; }
  .values__col--photo { margin-bottom: 36px; }
  .values__col + .values__col { margin-top: 32px; }
  .ibox + .ibox, .ibox--mpt15 + .ibox { margin-top: 32px; }
  .ibox--pb30, .ibox--mpt15 { padding: 0; }
  .ibox__icon { margin-bottom: 10px; font-size: 14px; line-height: 0; }
  .ibox__title, .ibox__title--small { margin-bottom: 6px; line-height: 1.3; }

  /* benefits: same 56px line-height + 40px padding made each item ~390px tall */
  .benefits__grid { margin-top: 8px; }
  .benefit { padding: 24px 8px; }
  .benefit .benefit__icon { width: 72px; margin-bottom: 12px; }
  .benefit__title { margin-bottom: 10px; line-height: 1.3; }
  .benefit__text { margin-bottom: 0; }
  .benefit__text--wide { width: auto; margin-left: 0; }

  /* timeline cards: drop the empty 56px band above each title */
  .stl__item:nth-child(n) .stl__card { padding-top: 24px; }
  .stl__text { margin-top: 10px; }

  /* testimonials: a one-card carousel with arrows over the card edges and the height of the
     longest quote; on phones the six opinions become one readable column of cards,
     author = small photo left, name and role right */
  .mslider__track { display: block; overflow: visible; }
  .mt { display: block; padding: 0; }
  .mt + .mt { margin-top: 36px; }
  .mt__quote { width: auto; margin-bottom: 30px; padding: 26px 24px; font-size: 15px; line-height: 1.5; }
  .mt__quote::after { left: 22%; }
  .mt__author { flex-direction: row; align-items: center; gap: 14px; padding-left: 8px; text-align: left; }
  .mt__photo { width: 64px; height: 64px; margin: 0; flex: none; }
  .mt__role { line-height: 1.4; }
  .mslider__dots, .mslider__arrow { display: none; }
}

/* ---------- QA mobile fixes (<= 767px), see FIXES-qa.md ---------- */
@media (max-width: 767px) {
  /* "Umów spotkanie": 56px line-height inherited from the kit's 40px mobile body text made a 106px-tall button
     (same fix as on /coach/) */
  .m-btn { padding: 18px 52px 18px 40px; line-height: 19.6px; }
}

/* QA: in the stacked layout the centred photo column was shrink-to-fit, i.e. 0 px wide until the photo
   arrived (layout shift); stretched it has the same final width from the start */
@media (max-width: 800px) {
  .values__col--photo { align-self: stretch; }
}
@media (max-width: 767px) {
  .values__col.values__col--photo { padding: 0 10px; } /* keep the 330 px photo width of the shrink-to-fit version */
}
