/* =========================================================
   SZKOLENIE — course page (builds on style.css)
   ========================================================= */
.header__nav a.is-current { color: var(--white); }
.header__nav a.is-current::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.khero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(30px, 5vw, 80px); padding: 130px var(--gutter) 80px; overflow: hidden; }
.khero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.khero__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.03em; font-size: clamp(44px, 7.4vw, 128px); }
.khero__title .line { display: block; overflow: hidden; padding: 0.16em 0 0.06em; margin-top: -0.16em; }
.khero__title .line > span { display: inline-block; }
.khero__lead { max-width: 46ch; margin: 26px 0 34px; color: rgba(244, 244, 239, 0.84); font-size: clamp(16px, 1.3vw, 19px); }
.khero__fund { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 18px 10px 12px; border-radius: 99px; background: rgba(9, 183, 121, 0.12); border: 1px solid rgba(9, 183, 121, 0.4); color: var(--mint-hi); font-weight: 700; font-size: 14px; }
.khero__fund svg { width: 24px; height: 24px; flex: none; }
/* the pill leads down to the funding block */
.khero__fund { transition: background-color .3s, border-color .3s; }
.khero__fund:hover { background: rgba(9, 183, 121, 0.22); border-color: var(--mint); }
.khero__fund .khero__fund-go { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .4s var(--ease); }
.khero__fund:hover .khero__fund-go { transform: rotate(90deg) translateX(3px); }
.khero__photo { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.khero__frame { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black);   /* Safari keeps the arch while the photo moves */
  box-shadow: 0 0 0 2px var(--mint), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.khero__frame img { width: 100%; height: 112%; object-fit: cover; }
.khero__sticker { position: absolute; left: -26px; bottom: 40px; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--mint); color: var(--black); text-align: center; box-shadow: 0 0 0 6px var(--black); transform: rotate(-12deg); }
.khero__sticker b { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; }
.khero__sticker span { margin-top: -18px; font-weight: 800; font-size: 11px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 var(--gutter) clamp(90px, 12vw, 160px); }
.fact { padding: 26px 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent); }
.fact svg { width: 34px; height: 34px; color: var(--mint); }
.fact b { display: block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact > span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.fact--mint { background: var(--mint); border-color: var(--mint); color: var(--black); }
.fact--mint svg { color: var(--black); }
.fact--mint > span { color: rgba(11, 11, 11, 0.75); }

/* ---------- for whom ---------- */
.who { padding-bottom: clamp(90px, 12vw, 160px); }
.who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0 var(--gutter); }
.who__card { padding: 32px 28px; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.who__card:hover { border-color: var(--mint); transform: translateY(-6px); }
.who__card svg { width: 46px; height: 46px; color: var(--mint); }
.who__card h3 { margin: 22px 0 10px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.who__card p { color: var(--muted); }

/* ---------- program (accordion) ---------- */
.program { padding-bottom: clamp(90px, 12vw, 160px); }
.program__note { color: var(--mint); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.modules { margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module__head { width: 100%; display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 16px; padding: 26px 0; text-align: left; }
.module__num { font-family: var(--display); font-weight: 800; font-size: 22px; color: transparent; -webkit-text-stroke: 1.5px var(--mint); transition: color .4s; }
.module__title { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.2vw, 32px); text-transform: uppercase; transition: color .4s, transform .5s var(--ease); }
.module__head:hover .module__title { transform: translateX(8px); }
.module__plus { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.module__plus::before, .module__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--white); transition: transform .5s var(--ease), background-color .4s; }
.module__plus::after { transform: rotate(90deg); }
.module.is-open .module__num { color: var(--mint); }
.module.is-open .module__title { color: var(--mint); }
.module.is-open .module__plus { background: var(--mint); border-color: var(--mint); transform: rotate(180deg); }
.module.is-open .module__plus::before, .module.is-open .module__plus::after { background: var(--black); }
.module.is-open .module__plus::after { transform: rotate(0deg); }
.module__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.module.is-open .module__body { grid-template-rows: 1fr; }
.module__inner { overflow: hidden; padding-left: 86px; }
.module__inner p { max-width: 60ch; color: rgba(244, 244, 239, 0.84); font-size: 17px; }
.module__inner ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; margin: 18px 0 30px; }
.module__inner li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.module__inner li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--mint); }

/* ---------- plan (timeline) ---------- */
.plan { padding-bottom: clamp(90px, 12vw, 160px); }
.plan__note { max-width: 60ch; margin-top: 22px; color: var(--muted); }
.timeline { position: relative; margin: 0 var(--gutter); padding-left: 60px; display: grid; gap: 26px; }
.timeline__line { position: absolute; left: 17px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--black-3); }
.timeline__line i { position: absolute; inset: 0; border-radius: inherit; background: var(--mint); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 16px var(--mint); }
.week { position: relative; }
.week__dot { position: absolute; left: -54px; top: 26px; width: 25px; height: 25px; border-radius: 50%; background: var(--black); border: 3px solid var(--mint); }
.week__card { padding: 26px 28px; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line); }
.week__name { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.week__name small { font-family: var(--body); font-size: 14px; letter-spacing: 0.08em; color: var(--mint); }
.week__days { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.week__days li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.week__days b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(9, 183, 121, 0.14); color: var(--mint); font-size: 12px; }
.week:last-child .week__card { border-color: rgba(9, 183, 121, 0.5); }

/* ---------- included ---------- */
.included { padding: 0 var(--gutter) clamp(90px, 12vw, 160px); }
.included__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(32px, 5vw, 70px); border-radius: 40px; background: var(--mint); color: var(--black); }
.included__box .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.included__box .h2 span { color: var(--white); }
.label--dark { color: rgba(11, 11, 11, 0.7); }
.label--dark span { background: var(--black); color: var(--mint); }
.included__lead { margin-top: 22px; max-width: 44ch; font-weight: 600; }
.included__list { list-style: none; display: grid; gap: 12px; }
.included__list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--black); color: var(--white); font-weight: 700; }
.included__list svg { width: 28px; height: 28px; flex: none; color: var(--mint); }

/* ---------- trainers ---------- */
.trainers { padding-bottom: clamp(90px, 12vw, 160px); }
.trainers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0 var(--gutter); }
.trainer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--black-2); border: 1px solid var(--line); transition: border-color .4s; }
.trainer:hover { border-color: var(--mint); }
.trainer__photo { position: relative; min-height: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.trainer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.trainer:hover .trainer__photo img { transform: scale(1.06); }
.trainer__info { padding: 28px 26px; display: flex; flex-direction: column; }
.trainer__role { color: var(--mint); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.trainer__info h3 { margin: 10px 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; line-height: 1.1; }
.trainer__info p:not(.trainer__role) { color: var(--muted); font-size: 15px; }
.trainer__tag { align-self: flex-start; margin-top: auto; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--mint); color: var(--mint); font-weight: 800; font-size: 13px; }

/* ---------- funding ---------- */
.fund { padding: 0 var(--gutter); }
.fund__box { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(28px, 4vw, 50px); border-radius: 32px; border: 1.5px dashed rgba(9, 183, 121, 0.6); background: radial-gradient(circle at 0% 0%, rgba(9, 183, 121, 0.16), transparent 60%); }
.fund__ico { width: 72px; height: 72px; color: var(--mint); }
.fund__title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; text-transform: uppercase; margin-bottom: 12px; }
.fund__box p { color: rgba(244, 244, 239, 0.8); max-width: 70ch; }
.fund__num { margin-top: 12px; font-size: 14px; }
.fund__num b { color: var(--mint); }
.fund__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.fund__actions .btn { justify-content: center; }

/* ---------- sign up ---------- */
.signup .book__lead b { color: var(--white); }
.signup__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- ISO certificate (HTML/CSS replica, tilts under the cursor) ---------- */
.iso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 110px); align-items: center; padding: 0 var(--gutter) clamp(90px, 12vw, 160px); }
.iso__lead { max-width: 52ch; margin: 24px 0 26px; color: rgba(244, 244, 239, 0.84); font-size: clamp(16px, 1.3vw, 18px); }
.iso__lead b { color: var(--white); }
.iso__facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.iso__facts li { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); }
.iso__facts span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.iso__facts b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.4vw, 19px); color: var(--mint); word-break: break-word; }
.iso__visual { perspective: 1400px; }
.cert { position: relative; max-width: 470px; margin-inline: auto; aspect-ratio: 210 / 297; border-radius: 6px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(9, 183, 121, 0.4); transition: box-shadow .4s; }
.cert:hover { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--mint); }
.cert__paper { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #f6f7f4; }
.cert__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cert__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.7), transparent 45%); }
.cert:hover .cert__shine { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .khero { grid-template-columns: minmax(0, 1fr); padding-top: 110px; }
  .khero__photo { max-width: 380px; order: -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who__grid { grid-template-columns: minmax(0, 1fr); }
  .week__days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included__box { grid-template-columns: minmax(0, 1fr); }
  .trainers__grid { grid-template-columns: minmax(0, 1fr); }
  .fund__box { grid-template-columns: minmax(0, 1fr); }
  .fund__actions { flex-flow: row wrap; align-items: center; }
  .iso { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .khero__photo { max-width: 300px; }
  .khero__sticker { width: 100px; height: 100px; left: -14px; bottom: 24px; }
  .khero__sticker b { font-size: 28px; }
  .khero__sticker span { margin-top: -12px; font-size: 9px; }
  .khero__fund { font-size: 13px; }
  .fact { padding: 20px 18px; }
  .fact b { font-size: 26px; }
  .fact > span { font-size: 13px; }
  .module__head { grid-template-columns: 44px 1fr 38px; gap: 10px; padding: 20px 0; }
  .module__num { font-size: 17px; }
  .module__plus { width: 38px; height: 38px; }
  .module__inner { padding-left: 0; }
  .module__inner ul { grid-template-columns: minmax(0, 1fr); }
  .timeline { padding-left: 34px; }
  .timeline__line { left: 6px; }
  .week__dot { left: -38px; width: 21px; height: 21px; }
  .week__card { padding: 20px 16px; }
  .week__days { grid-template-columns: minmax(0, 1fr); }
  .trainer { grid-template-columns: minmax(0, 1fr); }
  .included__box { border-radius: 28px; }
  .fund__ico { width: 54px; height: 54px; }
  .iso__facts { grid-template-columns: minmax(0, 1fr); }
}
