/* =============================================================================
   APARTAMENT — podstrona szczegółowa apartamentu (szablon)
   Dziedziczy tokens.css / base.css / components.css. Prefiks .ap-
   ============================================================================= */

/* --- powrót w headerze --- */
.nav__back { color: var(--gold-lite) !important; }
.nav__back svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.ap-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.ap-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ap-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: apZoom 16s ease-out forwards; }
@keyframes apZoom { to { transform: scale(1); } }
.ap-hero::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,12,10,0.62) 0%, rgba(13,12,10,0.34) 32%, rgba(13,12,10,0.6) 68%, rgba(13,12,10,0.95) 100%),
    linear-gradient(90deg, rgba(13,12,10,0.62) 0%, rgba(13,12,10,0.2) 44%, transparent 72%); }
.ap-hero h1, .ap-hero__lead, .ap-hero__crumb, .ap-hero__price b, .ap-hero__price span { text-shadow: 0 2px 24px rgba(8,6,4,0.55); }
.ap-hero__in { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 96px); }
.ap-hero__crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lite); margin-bottom: 20px; }
.ap-hero__crumb a { color: rgba(255,255,255,0.7); }
.ap-hero__crumb a:hover { color: #fff; }
.ap-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.ap-hero h1 em { color: var(--gold-lite); }
.ap-hero__lead { margin-top: 22px; max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7; color: rgba(255,255,255,0.82); }
.ap-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ap-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 0.76rem; letter-spacing: 0.03em;
  color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ap-chip svg { width: 16px; height: 16px; color: var(--gold-lite); }
.ap-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 36px; }
.ap-hero__price { display: flex; align-items: baseline; gap: 8px; }
.ap-hero__price b { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.ap-hero__price span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   FACTS — pasek nachodzący na hero
   -------------------------------------------------------------------------- */
.ap-facts { position: relative; z-index: 4; margin-top: clamp(-70px, -5vw, -48px); }
.ap-facts__card { background: var(--cream-3, #fff); box-shadow: var(--shadow-soft, 0 30px 70px rgba(20,17,14,0.12));
  display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.ap-facts__card::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.ap-fact { padding: clamp(22px, 2.6vw, 34px) 18px; text-align: center; position: relative; }
.ap-fact + .ap-fact::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.ap-fact svg { width: 26px; height: 26px; color: var(--gold-deep); margin: 0 auto 12px; display: block; }
.ap-fact b { display: block; font-family: var(--font-display); font-size: 1.18rem; color: var(--text-strong); font-weight: 500; }
.ap-fact span { display: block; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.ap-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.ap-about__media { position: relative; }
.ap-about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ap-about__media::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,0.35); pointer-events: none; }
.ap-about__badge { position: absolute; left: 0; bottom: 26px; background: var(--ink); color: #fff; padding: 16px 24px; }
.ap-about__badge b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-lite); font-weight: 500; }
.ap-about__badge span { display: block; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 3px; }
.ap-about__body p { color: var(--muted); line-height: 1.9; margin-top: 18px; font-size: 1.02rem; }
.ap-about__sign { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ap-about__sign div { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--text-strong); }
.ap-about__sign svg { width: 18px; height: 18px; color: var(--gold); }

/* --------------------------------------------------------------------------
   JACUZZI — pełny ciemny akcent
   -------------------------------------------------------------------------- */
.ap-jac { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.ap-jac::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 78% 30%, var(--gold-glow), transparent 62%); opacity: 0.5; }
.ap-jac__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(36px, 5vw, 80px); }
.ap-jac__media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.ap-jac__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ap-jac__media:hover img { transform: scale(1.05); }
.ap-jac__eyebrow { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lite); }
.ap-jac h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.14; margin-top: 16px; }
.ap-jac h2 em { color: var(--gold-lite); }
.ap-jac p { color: rgba(255,255,255,0.72); line-height: 1.85; margin-top: 20px; max-width: 46ch; }
.ap-jac__spec { display: flex; gap: 36px; margin-top: 32px; }
.ap-jac__spec b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; font-weight: 500; }
.ap-jac__spec span { display: block; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* --------------------------------------------------------------------------
   GALLERY — masonry + lightbox
   -------------------------------------------------------------------------- */
.apx-grid { column-count: 3; column-gap: 14px; }
.apx-item { break-inside: avoid; margin-bottom: 14px; position: relative; display: block; overflow: hidden; cursor: pointer; }
.apx-item img { width: 100%; display: block; transition: transform 0.8s var(--ease); }
.apx-item::after { content: ''; position: absolute; inset: 0; background: rgba(20,17,14,0); transition: background 0.45s var(--ease); }
.apx-item:hover img { transform: scale(1.06); }
.apx-item:hover::after { background: rgba(20,17,14,0.18); }
.apx-item__zoom { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-6px); transition: all 0.45s var(--ease); }
.apx-item:hover .apx-item__zoom { opacity: 1; transform: translateY(0); }
.apx-item__zoom svg { width: 17px; height: 17px; }

.apx-lb { position: fixed; inset: 0; z-index: 999; background: rgba(12,10,8,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.apx-lb.is-open { opacity: 1; visibility: visible; }
.apx-lb img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.apx-lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); cursor: pointer; transition: background 0.3s var(--ease); }
.apx-lb__btn:hover { background: rgba(255,255,255,0.18); }
.apx-lb__btn svg { width: 24px; height: 24px; }
.apx-prev { left: clamp(12px, 3vw, 40px); }
.apx-next { right: clamp(12px, 3vw, 40px); }
.apx-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; transform: none; }
.apx-lb__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 0.8rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   AMENITIES
   -------------------------------------------------------------------------- */
.ap-amen__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 5vw, 80px); }
.ap-amen__item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.ap-amen__ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold-deep); transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.ap-amen__item:hover .ap-amen__ico { background: var(--ink); border-color: var(--ink); color: #fff; }
.ap-amen__ico svg { width: 21px; height: 21px; }
.ap-amen__t { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--text-strong); }
.ap-amen__d { font-size: 0.86rem; color: var(--muted); line-height: 1.55; margin-top: 3px; }

/* --------------------------------------------------------------------------
   STAY — szczegóły pobytu + karta ceny
   -------------------------------------------------------------------------- */
.ap-stay__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 4vw, 68px); align-items: start; }
.ap-stay__list { }
.ap-stay__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.ap-stay__row:last-child { border-bottom: 1px solid var(--line); }
.ap-stay__row-l { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.92rem; }
.ap-stay__row-l svg { width: 19px; height: 19px; color: var(--gold-deep); }
.ap-stay__row-v { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-strong); text-align: right; }
.ap-pricecard { background: var(--ink); color: #fff; padding: clamp(30px, 3vw, 44px); position: relative; overflow: hidden; }
.ap-pricecard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, var(--gold-glow), transparent 66%); opacity: 0.5; }
.ap-pricecard__in { position: relative; z-index: 2; }
.ap-pricecard__label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lite); }
.ap-pricecard__rows { margin: 20px 0 8px; }
.ap-pricecard__r { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ap-pricecard__r span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.ap-pricecard__r b { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; }
.ap-pricecard__r b small { font-size: 0.7rem; font-weight: 500; color: var(--gold-lite); margin-left: 3px; }
.ap-pricecard .btn { width: 100%; margin-top: 22px; background: var(--gold); }
.ap-pricecard .btn::before { display: none; }
.ap-pricecard .btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.ap-pricecard__note { text-align: center; font-size: 0.76rem; color: rgba(255,255,255,0.55); margin-top: 14px; }

/* --------------------------------------------------------------------------
   BOOKING preselect note
   -------------------------------------------------------------------------- */
.ap-book__note { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 26px; padding: 14px 22px; background: var(--cream-3, #fff); border: 1px solid var(--line); font-size: 0.9rem; color: var(--text-strong); }
.ap-book__note svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.ap-book__note b { color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   CROSS-SELL
   -------------------------------------------------------------------------- */
.ap-cross__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.ap-cross__card { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; }
.ap-cross__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ap-cross__card:hover img { transform: scale(1.07); }
.ap-cross__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,14,12,0.85)); }
.ap-cross__cap { position: absolute; z-index: 2; left: 22px; bottom: 22px; right: 22px; color: #fff; }
.ap-cross__cap b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.ap-cross__cap span { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-lite); }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .apx-grid { column-count: 2; }
  .ap-jac__grid { grid-template-columns: 1fr; }
  .ap-jac__media { max-width: 620px; }
}
@media (max-width: 860px) {
  .ap-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .ap-about__media { max-width: 520px; }
  .ap-stay__grid { grid-template-columns: 1fr; gap: 40px; }
  .ap-facts__card { grid-template-columns: repeat(3, 1fr); }
  .ap-fact:nth-child(4)::before, .ap-fact:nth-child(1)::before { display: none; }
  .ap-fact:nth-child(3)::after, .ap-fact:nth-child(n+4) { }
  .ap-cross__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .ap-facts { margin-top: 0; }
  .ap-facts__card { grid-template-columns: repeat(2, 1fr); }
  .ap-fact + .ap-fact::before { display: none; }
  .ap-fact { border-top: 1px solid var(--line); }
  .apx-grid { column-count: 1; }
  .ap-amen__grid { grid-template-columns: 1fr; gap: 0; }
  .ap-cross__grid { grid-template-columns: 1fr; }
  .ap-hero__price { width: 100%; }
}


/* --------------------------------------------------------------------------
   PROMO — obniżka cen
   -------------------------------------------------------------------------- */
.ap-promo { background: var(--cream-2, #efece5); }
.ap-promo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.ap-promo__card { background: var(--cream-3, #fff); padding: clamp(34px, 3.4vw, 48px) clamp(22px, 2.4vw, 34px); text-align: center; position: relative; box-shadow: var(--shadow-soft, 0 30px 70px rgba(20,17,14,0.1)); }
.ap-promo__card::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--line); pointer-events: none; }
.ap-promo__in { position: relative; z-index: 2; }
.ap-promo__period { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.ap-promo__old { margin-top: 20px; font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.ap-promo__new { font-family: var(--font-body); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.4rem); color: var(--text-strong); line-height: 1; margin-top: 4px; }
.ap-promo__new span { font-size: 0.32em; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.ap-promo__save { display: inline-block; margin-top: 18px; padding: 6px 15px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); background: var(--sand); }
.ap-promo__for { margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.ap-promo__card--feat { background: var(--ink); color: #fff; overflow: hidden; padding-top: clamp(44px, 4vw, 58px); }
.ap-promo__card--feat::before { border-color: rgba(255,255,255,0.16); }
.ap-promo__card--feat::after { content: ''; position: absolute; inset: 0; background: radial-gradient(82% 72% at 50% 0%, var(--gold-glow), transparent 66%); opacity: 0.5; }
.ap-promo__card--feat .ap-promo__period { color: var(--gold-lite); }
.ap-promo__card--feat .ap-promo__old { color: rgba(255,255,255,0.5); }
.ap-promo__card--feat .ap-promo__new { color: #fff; }
.ap-promo__card--feat .ap-promo__save { background: rgba(255,255,255,0.1); color: var(--gold-lite); }
.ap-promo__card--feat .ap-promo__for { color: rgba(255,255,255,0.55); }
.ap-promo__ribbon { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 4; background: var(--gold); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 18px; white-space: nowrap; }

.ap-promo__note { text-align: center; margin-top: clamp(28px, 3vw, 40px); font-size: 0.9rem; color: var(--muted); }

.ap-promo__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
@media (max-width: 860px) {
  .ap-promo__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .ap-promo__grid--2 { grid-template-columns: 1fr; max-width: 440px; }
}


/* ===================== AP-EXTRA-SECTIONS (tężnia, kroki, opinie, FAQ) ===================== */
.ap-teznia { background: var(--cream-2, #efece5); }
.ap-teznia__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.ap-teznia__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.ap-teznia__media img { width: 100%; height: 100%; object-fit: cover; }
.ap-teznia__media::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,0.4); pointer-events: none; }
.ap-teznia__badge { position: absolute; left: 0; bottom: 26px; background: var(--gold-deep); color: #fff; padding: 13px 22px; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; }
.ap-teznia__list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.ap-teznia__item { display: flex; gap: 14px; align-items: flex-start; }
.ap-teznia__ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--gold-deep); }
.ap-teznia__ico svg { width: 20px; height: 20px; }
.ap-teznia__it-t { font-family: var(--font-display); font-size: 1.08rem; color: var(--text-strong); }
.ap-teznia__it-d { font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }

.ap-steps { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ap-steps::before { content: ''; position: absolute; inset: 0; background: radial-gradient(72% 60% at 50% 0%, var(--gold-glow), transparent 66%); opacity: 0.42; }
.ap-steps .wrap { position: relative; z-index: 2; }
.ap-steps .eyebrow { color: var(--gold-lite); }
.ap-steps .h2 { color: #fff; }
.ap-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px); }
.ap-step { position: relative; padding-top: 22px; }
.ap-step::before { content: ''; position: absolute; top: 9px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(255,255,255,0.08)); }
.ap-step__n { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-lite); line-height: 1; }
.ap-step__t { font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-top: 14px; }
.ap-step__d { font-size: 0.88rem; color: rgba(255,255,255,0.62); line-height: 1.6; margin-top: 8px; }

.ap-rating__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); text-align: center; }
.ap-rating__score { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); color: var(--text-strong); line-height: 1; font-weight: 500; }
.ap-rating__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-top: 10px; }
.ap-rating__sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.ap-rating__div { width: 1px; height: 76px; background: var(--line); }
.ap-rating__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(30px, 4vw, 44px); }

.ap-faq__wrap { max-width: 820px; margin: 0 auto; }
.ap-faq__item { border-top: 1px solid var(--line); }
.ap-faq__item:last-child { border-bottom: 1px solid var(--line); }
.ap-faq__q { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-strong); }
.ap-faq__q::-webkit-details-marker { display: none; }
.ap-faq__q::after { content: '+'; font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform 0.35s var(--ease); flex-shrink: 0; line-height: 1; }
details[open] .ap-faq__q::after { transform: rotate(45deg); }
.ap-faq__a { padding: 0 0 26px; color: var(--muted); line-height: 1.8; max-width: 66ch; }

@media (max-width: 860px) {
  .ap-teznia__grid { grid-template-columns: 1fr; gap: 36px; }
  .ap-teznia__media { max-width: 520px; }
  .ap-steps__grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}
@media (max-width: 560px) {
  .ap-teznia__list { grid-template-columns: 1fr; }
  .ap-steps__grid { grid-template-columns: 1fr; }
  .ap-rating__div { display: none; }
}


/* ===================== AP-GALAXY-SECTIONS (gwiezdne niebo, pas, okazje) ===================== */
.ap-star { background: #0c1120; color: #fff; position: relative; overflow: hidden; }
.ap-star::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 55% at 82% 18%, rgba(96,116,196,0.28), transparent 60%), radial-gradient(50% 50% at 12% 82%, var(--gold-glow), transparent 62%); opacity: 0.9; }
.ap-star .wrap { position: relative; z-index: 2; }
.ap-star__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.ap-star__media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.ap-star__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ap-star__media:hover img { transform: scale(1.05); }
.ap-star__eyebrow { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lite); }
.ap-star h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.14; margin-top: 16px; }
.ap-star h2 em { color: var(--gold-lite); }
.ap-star p { color: rgba(255,255,255,0.74); line-height: 1.85; margin-top: 20px; max-width: 48ch; }
.ap-star__list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ap-star__tag { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 0.8rem; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); }
.ap-star__tag svg { width: 17px; height: 17px; color: var(--gold-lite); }

.ap-band { position: relative; min-height: clamp(380px, 54vh, 580px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.ap-band__bg { position: absolute; inset: 0; }
.ap-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.ap-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,16,0.85) 0%, rgba(8,9,16,0.45) 55%, rgba(8,9,16,0.15) 100%); }
.ap-band__in { position: relative; z-index: 2; padding-block: clamp(50px, 7vw, 90px); }
.ap-band__eyebrow { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lite); }
.ap-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; margin-top: 16px; max-width: 18ch; }
.ap-band h2 em { color: var(--gold-lite); }
.ap-band p { margin-top: 18px; max-width: 46ch; color: rgba(255,255,255,0.82); line-height: 1.75; }
.ap-band .btn { margin-top: 28px; }

.ap-occ__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.ap-occ__card { background: var(--cream-3, #fff); border: 1px solid var(--line); padding: clamp(28px, 2.8vw, 40px) clamp(20px, 2vw, 28px); text-align: center; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ap-occ__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.ap-occ__ico { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--gold-deep); }
.ap-occ__ico svg { width: 24px; height: 24px; }
.ap-occ__t { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-strong); }
.ap-occ__d { font-size: 0.84rem; color: var(--muted); line-height: 1.55; margin-top: 7px; }

@media (max-width: 860px) {
  .ap-star__grid { grid-template-columns: 1fr; gap: 34px; }
  .ap-star__media { max-width: 600px; }
  .ap-occ__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ap-occ__grid { grid-template-columns: 1fr; }
}
