/* ============== SERVICE PAGE HERO (similar to main hero but often simpler) ============== */
.spage-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1061;
  max-height: 100vh;
  overflow: hidden;
  color: var(--c-white);
  background: #000;
}

.spage-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* przesunięcie kadrowania w górę — twarz widoczna */
  z-index: 1;
}

.spage-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 45.625%;
  height: 98.11%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

.spage-hero__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.spage-hero__brand,
.spage-hero__title,
.spage-hero__cta,
.spage-hero__sig,
.spage-hero__copy,
.spage-hero__menu {
  position: absolute;
}

.spage-hero__brand {
  left: 8.333%;
  top: 6.6%;
  font-size: clamp(16px, 1.354vw, 26px);
  line-height: 0.92;
  color: var(--c-white);
  text-decoration: none;
}

.spage-hero__title {
  left: 8.333%;
  top: 15.65%;
  width: 48.28%;
  font-size: clamp(22px, 2.292vw, 44px);
  line-height: 1.07;
  font-weight: 400;
  white-space: pre-line;
  margin: 0;
}

.spage-hero__cta {
  left: 8.333%;
  top: 31.85%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  height: clamp(38px, 2.5vw, 48px);
  min-width: clamp(168px, 10.89vw, 209px);
  background: var(--c-white);
  color: var(--c-dark);
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 400;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.spage-hero__cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.spage-hero__cta svg {
  width: 12px;
  height: 9px;
  flex-shrink: 0;
}

.spage-hero__sig {
  left: 8.333%;
  top: 88.03%;
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
}

.spage-hero__copy {
  right: 8.333%;
  top: 85.39%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.spage-hero__copy::before {
  content: "";
  display: block;
  width: clamp(22px, 1.667vw, 32px);
  height: 1px;
  background: var(--c-white);
}

.spage-hero__copy span {
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
}

.spage-hero__menu {
  right: 8.333%;
  top: 5.28%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(38px, 2.5vw, 48px);
}

.spage-hero__bottom-desc {
  position: absolute;
  left: 8.333%;
  top: 74.08%;
  width: 27.24%;
  font-size: clamp(13px, 1.198vw, 23px);
  line-height: 1.17;
  font-weight: 400;
  margin: 0;
  color: var(--c-white);
}

/* ============== TRENING PROCESS (numbered blocks, 4 steps, large list layout) ============== */
.trening-process {
  background: #12335b;
  color: var(--c-white);
  padding: 0 8.333% clamp(60px, 4.17vw, 80px);
}

.trening-process__inner {
  max-width: var(--frame-w);
  margin: 0 auto;
  position: relative;
  padding-top: clamp(30px, 3.33vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trening-process__heading {
  font-size: clamp(18px, 1.354vw, 26px);
  line-height: 1.17;
  font-weight: 400;
  margin: 0 0 clamp(30px, 3vw, 58px);
  color: var(--c-white);
}

.trening-process__list {
  list-style: none;
  margin: 0 0 clamp(30px, 2.5vw, 48px);
  padding: 0;
}

.trening-process__step {
  display: grid;
  grid-template-columns: clamp(60px, 4.17vw, 80px) 1fr;
  gap: clamp(20px, 1.67vw, 32px);
  padding: clamp(20px, 2vw, 40px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.trening-process__step:last-child {
  border-bottom: none;
}

.trening-process__num {
  width: clamp(40px, 2.5vw, 48px);
  height: clamp(40px, 2.5vw, 48px);
  border-radius: 12px;
  background: rgba(167, 183, 202, 0.15);
  border: 1px solid rgba(167, 183, 202, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1;
  color: var(--c-accent);
  flex-shrink: 0;
}

.trening-process__content {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.83vw, 16px);
  max-width: 900px;
}

.trening-process__title {
  font-size: clamp(18px, 1.667vw, 32px);
  line-height: 1.188;
  font-weight: 400;
  margin: 0;
  color: var(--c-white);
}

.trening-process__desc {
  font-size: clamp(13px, 0.938vw, 18px);
  line-height: 1.44;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.trening-process__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-white);
  color: #12335b;
  padding: 0 24px;
  height: clamp(40px, 2.5vw, 48px);
  min-width: 200px;
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.trening-process__cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.trening-process__cta svg {
  width: 12px;
  height: 9px;
}

/* ============== TAGLINE BLOCK ============== */
.trening-tagline {
  background: #12335b;
  color: var(--c-white);
  padding: clamp(40px, 4.17vw, 80px) 8.333% clamp(50px, 5.21vw, 100px);
}

.trening-tagline p {
  font-size: clamp(20px, 2.083vw, 40px);
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  max-width: 1600px;
  white-space: pre-line;
  color: var(--c-white);
}

/* ============== INTRO ON DARK BLUE ============== */
.spage-intro {
  background: #12335b;
  color: var(--c-white);
  padding: clamp(50px, 5.21vw, 100px) 8.333% clamp(60px, 6.1vw, 117px);
  text-align: center;
}

.spage-intro__label {
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
  margin: 0 0 clamp(16px, 1.67vw, 32px);
  opacity: 0.9;
}

.spage-intro__text {
  font-size: clamp(20px, 2.292vw, 44px);
  line-height: 1.07;
  font-weight: 400;
  margin: 0 auto;
  max-width: 1062px;
  white-space: pre-line;
}

/* ============== LEFT IMAGE + RIGHT LIST ============== */
.spage-split {
  background: #12335b;
  padding: 0 8.333% clamp(60px, 5.21vw, 100px);
}

.spage-split__inner {
  display: grid;
  grid-template-columns: 41.1% 1fr;
  gap: clamp(30px, 2.6vw, 50px);
  align-items: start;
}

.spage-split__image,
.spage-split__image--right {
  width: 100%;
  aspect-ratio: 789 / 785;
  object-fit: cover;
  border-radius: clamp(12px, 0.833vw, 16px);
  display: block;
}

.spage-split__right {
  padding-top: clamp(24px, 3.4vw, 66px);
}

.spage-split__line {
  width: 56px;
  height: 2px;
  background: var(--c-white);
  border: none;
  margin: 0 0 clamp(30px, 2.4vw, 46px);
}

.spage-split__heading {
  font-size: clamp(20px, 1.667vw, 32px);
  line-height: 1.19;
  font-weight: 400;
  margin: 0 0 clamp(20px, 2vw, 38px);
  max-width: 657px;
  white-space: pre-line;
  color: var(--c-white);
}

.spage-split__desc {
  font-size: clamp(14px, 0.938vw, 18px);
  line-height: 1.44;
  margin: 0 0 clamp(24px, 2.08vw, 40px);
  max-width: 511px;
  white-space: pre-line;
  color: var(--c-white);
}

.spage-split__list {
  list-style: none;
  margin: 0 0 clamp(24px, 2.5vw, 48px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 20px);
  max-width: 657px;
}

.spage-split__list-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1vw, 20px);
  font-size: clamp(13px, 1.198vw, 23px);
  line-height: 1.17;
  color: var(--c-white);
}

.spage-split__list-item::before {
  content: "";
  display: inline-block;
  width: clamp(16px, 1.25vw, 24px);
  height: clamp(16px, 1.25vw, 24px);
  border: 1px solid var(--c-white);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 40%, var(--c-white) 40%, var(--c-white) 50%, transparent 50%),
    linear-gradient(-45deg, transparent 40%, var(--c-white) 40%, var(--c-white) 50%, transparent 50%);
  background-size: 50% 50%;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
}

.spage-split__list-item--check::before {
  background: var(--c-accent);
  border-color: var(--c-accent);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat;
}

.spage-split__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-white);
  color: #12335b;
  padding: 0 24px;
  height: clamp(40px, 2.5vw, 48px);
  min-width: 231px;
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.spage-split__cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.spage-split__cta svg {
  width: 12px;
  height: 9px;
}

/* Right image variant (image on right, text on left) */
.spage-split--reverse .spage-split__inner {
  grid-template-columns: 1fr 41.1%;
}

.spage-split--reverse .spage-split__right {
  order: -1;
  padding-right: clamp(20px, 4vw, 80px);
  padding-left: 0;
}

/* ============== PRICING SECTION (3 cards in a row, visual header + details) ============== */
.spage-pricing {
  background: #12335b;
  color: var(--c-white);
  padding: clamp(60px, 5.8vw, 112px) 8.333% clamp(40px, 4vw, 76px);
}

.spage-pricing__label {
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
  margin: 0 0 clamp(16px, 1.67vw, 32px);
  color: var(--c-white);
  opacity: 0.85;
}

.spage-pricing__heading {
  font-size: clamp(22px, 2.292vw, 44px);
  line-height: 1.07;
  font-weight: 400;
  margin: 0 0 clamp(30px, 3.33vw, 64px);
  max-width: 927px;
  color: var(--c-white);
}

.spage-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 28px);
  align-items: stretch;
}

.spage-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #a7b7ca;
  border-radius: clamp(16px, 1.25vw, 24px);
  overflow: hidden;
  color: #12335b;
  position: relative;
  padding: 0;
  gap: 0;
}

.spage-card--featured {
  border-color: var(--c-accent);
  border-width: 2px;
}

.spage-card__badge {
  display: none;
}

/* TOP: Accent-blue visual header */
.spage-card__visual {
  position: relative;
  background: var(--c-accent);
  padding: clamp(22px, 1.8vw, 36px);
  padding-right: clamp(62px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.8vw, 16px);
  min-height: clamp(220px, 18vw, 340px);
  color: #0c2a4e;
  overflow: hidden;
}

.spage-card__yellow {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(90px, 8vw, 150px);
  height: clamp(52px, 4.6vw, 86px);
  background: #ffd700;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%, 28% 48%, 0 48%);
  pointer-events: none;
}

.spage-card__avatar {
  width: clamp(60px, 5vw, 96px);
  height: clamp(60px, 5vw, 96px);
  border-radius: 50%;
  object-fit: cover;
  background: #5d7ea7;
  display: block;
  flex-shrink: 0;
  z-index: 1;
}

.spage-card__badge-visual {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #12335b;
  font-size: clamp(11px, 0.85vw, 16px);
  line-height: 1;
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  z-index: 1;
}

.spage-card__visual-title {
  font-size: clamp(22px, 1.72vw, 32px);
  line-height: 1.12;
  font-weight: 400;
  color: #0c2a4e;
  margin: auto 0 0;
  z-index: 1;
}

.spage-card__visual-sub {
  font-size: clamp(15px, 1.1vw, 22px);
  line-height: 1.15;
  font-weight: 400;
  color: #0c2a4e;
  margin: 0;
  z-index: 1;
}

.spage-card__visual-arrow {
  position: absolute;
  right: clamp(14px, 1.2vw, 22px);
  bottom: clamp(14px, 1.2vw, 22px);
  width: clamp(38px, 2.9vw, 52px);
  height: clamp(38px, 2.9vw, 52px);
  border-radius: 50%;
  background: #12335b;
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  z-index: 2;
}

.spage-card__visual-arrow:hover {
  transform: translate(2px, -1px);
  opacity: 0.92;
}

.spage-card__visual-arrow svg {
  width: 42%;
  height: 42%;
}

/* BOTTOM: details panel */
.spage-card__details {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1vw, 20px);
  padding: clamp(24px, 2vw, 40px) clamp(22px, 1.8vw, 36px);
  flex-grow: 1;
}

.spage-card__title {
  font-size: clamp(18px, 1.667vw, 32px);
  line-height: 1.19;
  font-weight: 400;
  margin: 0;
  color: #12335b;
}

.spage-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.spage-card__price-value {
  font-size: clamp(26px, 2.292vw, 44px);
  line-height: 1.07;
  font-weight: 400;
  color: #12335b;
}

.spage-card__price-net {
  font-size: clamp(13px, 1.198vw, 23px);
  line-height: 1.17;
  color: rgba(18, 51, 91, 0.65);
}

.spage-card__subtext {
  font-size: clamp(13px, 1.198vw, 23px);
  line-height: 1.17;
  color: rgba(18, 51, 91, 0.65);
  margin: 0;
}

.spage-card hr {
  border: none;
  border-top: 1px dashed rgba(18, 51, 91, 0.35);
  height: 0;
  background: transparent;
  margin: 0;
}

.spage-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.83vw, 16px);
  flex-grow: 1;
}

.spage-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(13px, 1.198vw, 23px);
  line-height: 1.17;
  color: #12335b;
}

.spage-card__feature::before {
  content: "";
  display: inline-block;
  width: clamp(16px, 1.1vw, 20px);
  height: clamp(16px, 1.1vw, 20px);
  flex-shrink: 0;
  margin-top: 3px;
  background-color: var(--c-accent);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
}

.spage-card__qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(4px, 0.5vw, 8px);
}

.spage-card__qty-btn {
  width: clamp(22px, 1.5vw, 28px);
  height: clamp(22px, 1.5vw, 28px);
  border: 1px solid rgba(18, 51, 91, 0.45);
  border-radius: 50%;
  background: transparent;
  color: #12335b;
  font-size: clamp(12px, 0.83vw, 16px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: background 0.15s;
}

.spage-card__qty-btn:hover {
  background: rgba(18, 51, 91, 0.08);
}

.spage-card__qty-value {
  min-width: 16px;
  text-align: center;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1;
  color: #12335b;
}

.spage-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--c-accent);
  color: #12335b;
  padding: 0 28px;
  height: clamp(40px, 2.5vw, 48px);
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  margin-top: clamp(4px, 0.5vw, 8px);
  align-self: flex-start;
}

.spage-card--featured .spage-card__cta {
  background: var(--c-accent);
  color: #12335b;
}

.spage-card__cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.spage-card__cta svg {
  width: 12px;
  height: 9px;
}

.spage-pricing__disclaimer {
  font-size: clamp(12px, 1.198vw, 23px);
  line-height: 1.17;
  color: rgba(255, 255, 255, 0.72);
  margin: clamp(30px, 2.5vw, 48px) 0 0;
  text-align: left;
}

/* ============== QUOTE BLOCK (reusable) ============== */
.spage-quote {
  padding: clamp(30px, 3.44vw, 66px) 8.333%;
  background: #12335b;
}

.spage-quote__block {
  background: #a7b7ca;
  border-radius: clamp(20px, 2.08vw, 40px);
  color: #12335b;
  padding: clamp(40px, 4.17vw, 80px) clamp(30px, 3.125vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.08vw, 40px);
  max-width: 1872px;
  margin: 0 auto;
}

.spage-quote__avatar {
  width: clamp(80px, 6.2vw, 119px);
  height: clamp(80px, 6.2vw, 119px);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #5c7da7;
  flex-shrink: 0;
}

.spage-quote__text {
  font-size: clamp(18px, 2.292vw, 44px);
  line-height: 1.068;
  text-align: center;
  margin: 0;
  max-width: 900px;
}

.spage-quote__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #12335b;
  color: var(--c-white);
  padding: 0 24px;
  height: clamp(40px, 2.5vw, 48px);
  min-width: 231px;
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.spage-quote__cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.spage-quote__cta svg {
  width: 12px;
  height: 9px;
}

@media (max-width: 900px) {
  .spage-split__inner,
  .spage-split--reverse .spage-split__inner {
    grid-template-columns: 1fr;
  }
  .spage-split--reverse .spage-split__right {
    order: 0;
  }
  .spage-pricing__grid {
    grid-template-columns: 1fr;
  }
}
