/* tokeny designu, reset, kontener globalny */

:root {
  --c-yellow:        #FFC800;
  --c-yellow-bright: #FFD400;
  --c-yellow-deep:   #FFD500;
  --c-yellow-light:  #FFE161;

  --c-teal:          #008C7D;
  --c-teal-dark:     #07616C;
  --c-teal-darker:   #064E56;
  --c-teal-deep:     #00404A;
  --c-teal-light:    #009B97;
  --c-teal-mid:      #00605D;
  --c-teal-grad-a:   #016461;
  --c-teal-grad-b:   #009894;

  --c-bg:            #FFFFFF;
  --c-text:          #07616C;
  --c-text-on-dark:  #FFFFFF;
  --c-text-muted:    #064E56;
  --c-deep-shadow:   #0F3630;
  --c-green-bi:      #00E47C;

  --c-text-on-yellow: #07616C;
  --c-cover-overlay-end: #0F3630;
}

:root {
  --grad-nav:    linear-gradient(270deg, #009B97 0%, #00605D 100%);
  --grad-hero-left: linear-gradient(0deg, #008C7D 0%, #064E56 100%);
  --grad-tile: linear-gradient(270deg, #064E56 0%, #008C7D 100%);
  --grad-yellow-tile: linear-gradient(180deg, #FFE161 0%, #FFC800 100%);
  --grad-cover-overlay: linear-gradient(180deg, rgba(0,155,151,0) 0%, #0F3630 100%);
  --grad-duration: linear-gradient(180deg, #008C7D 0%, #064E56 100%);
  --grad-dialog: linear-gradient(90deg, #016461 0%, #009894 100%);
  --grad-refund: linear-gradient(270deg, #008C7D 0%, #064E56 100%);
  --grad-expert-card: linear-gradient(270deg, #008C7D 0%, #064E56 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.page-main { min-width: 1440px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
[hidden] { display: none !important; }

.container {
  width: 1440px;
  margin: 0 auto;
  position: relative;
}

.container_body {
  position: relative;
  padding: 0px 60px 0px 60px;
}

.band-yellow {
  width: 100%;
  height: 28px;
  background: var(--c-yellow);
}

/* Sekcja z 100% tłem i wewnętrzną treścią ograniczoną do 1440 */
.section {
  position: relative;
  width: 100%;
}

/* Helpers fontowe */
.font-livvic { font-family: 'Livvic', 'Lato', sans-serif; }
.font-lato   { font-family: 'Lato', sans-serif; }

.prefooter {
  width: 100%;
  background: var(--c-teal-dark);
  line-height: 0;
}
.prefooter img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* footer */
.footer {
  height: 480px;
  background: var(--c-teal-dark);
  position: relative;
  color: #FFFFFF;
}
.footer__inner {
  height: 100%;
  position: relative;
}

.footer__leaflet {
  position: absolute;

  top: 37px;
  left: 60px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0.78px;
  color: #FFFFFF;
  text-decoration: none;
}
.footer__leaflet:hover { text-decoration: underline; }

.footer__refs {
  position: absolute;

  top: 106px;
  left: 60px;
  width: 1316px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14.4px;
  color: #FFFFFF;
}
.footer__refs p {
  margin: 0 0 12px 0;
}
.footer__refs p:last-child { margin: 0; }

.footer__rule {
  position: absolute;

  top: 80px;
  left: 60px;
  width: 1323px;
  height: 0;
  border: 0;
  border-top: 1px solid #FFFFFF;
  margin: 0;
}

.footer__bottom {
  position: absolute;
  top: 80px;
  left: 60px;
  right: 60px;
}

.footer__logos {
  position: absolute;
  top: 272px;
  left: 1px;
}
.footer__logo--bi { width: 235px; height: 71px; }
.footer__logo--lf {
  position: absolute;

  /* offset relative to .footer__logos which is at top:169 */
  left: 1097px;
  top: 35px;
  width: 218px; height: 30px;
}

.footer__meta {
  position: absolute;
  top: 20px;
  right: 0;
  text-align: right;
  width: 387px;
}
.footer__links {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  margin: 0;
  text-decoration: underline;
}
.footer__links a {
  color: #FFFFFF;
  text-decoration: none;
}
.footer__links a:hover { text-decoration: underline; }

.footer__copy_2 {
  position: absolute;
  top: 20px;
  left: 0;
  text-align: left;
  width: 587px;
}
.footer__links_copy {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  margin: 0;
}
.footer__code {
  position: absolute;
  top: 79px;
  right: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #FFFFFF;
  margin: 0;
}
/* nav */
.nav {
  height: 85px;
  background: var(--grad-nav);
}
.nav__inner {
  height: 100%;
  position: relative;
}
.nav__list {
  position: absolute;
  left: 60px;
  top: 21px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__tab {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 44px;
  letter-spacing: -0.15px;
  color: #FFFFFF;
  display: inline-block;
  padding: 0;
  text-decoration: none;
}
.nav__tab--active {
  color: var(--c-yellow);
  
  border-bottom: 2px solid var(--c-yellow);
  padding-bottom: 4px;
  line-height: 38px;
}
.nav__tab[aria-disabled='true'] {
  cursor: default;
}
.nav__tab:not(.nav__tab--active):hover {
  color: var(--c-yellow);
}

/* responsive */

/* wspólne — każdy <1440 */
@media (max-width: 1439px) {
  html, body { overflow-x: hidden; }
  body, body.page-main { min-width: 0; }
  .container { width: 100%; max-width: 100%; }
  .container_body { width: 100%; max-width: 100%; }
  .footer__logo--lf { top: auto; }
  .footer__logo--lf { left: 980px;}

  /* karuzela: równe wysokości kart, slidesPerView z JS */
  .video-slider { width: 100%; overflow: hidden; }
  .video-slider .swiper-wrapper { align-items: stretch; }
  .video-slider .swiper-slide   {
    width: auto;
    height: auto;
    margin-right: 0;
    display: flex;
    flex: 0 0 auto;
  }
  .vcard {
    width: 100%; height: auto;
    display: flex; flex-direction: column;
    flex: 1 1 auto;
  }
  .vcard__cover { position: relative; width: 100%; height: auto; aspect-ratio: 5 / 3; flex-shrink: 0; }
  .vcard__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top;}
  .vcard__body {
    position: static;
    padding: 14px 18px 20px;
    background: var(--c-teal-darker);
    flex: 1 1 auto;
    display: flex; flex-direction: column;
  }
  .vcard__title {
    font-size: clamp(15px, 1.6vw, 22px);
    line-height: 1.3;
    min-height: 0;
    color: #FFFFFF;
    flex: 1 1 auto;
  }
}


/* ≤ 1280px — tablet / mały laptop */
@media (max-width: 1280px) {

	.container { width: 100%; max-width: 100%; }
  /* normalny flow w wewnętrznych kontenerach sekcji */
  .questions__inner,
  .dialog__inner,
  .refund__inner,
  .footer__inner,
  .hero__inner,
  .nav__inner {
    display: block;
    height: auto;
  }

  /* nav */
  .nav { height: auto; background: var(--grad-nav); }
  .nav__inner { height: auto; }
  .nav__list {
    position: static;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  /* hero */
  .hero { height: auto; min-height: 0; padding: 48px 0 0; }
  .hero__mobile-bg {
    display: block;
    width: 100%;
    height: auto;
    margin: 32px 0 0;
  }
  .hero__inner { height: auto; padding-left: 24px; padding-right: 24px; }
  .hero__icons { display: none; }
  .hero__left { position: static; width: auto; max-width: 100%; }
  .hero__title,
  .hero__subtitle,
  .hero__desc { position: static; width: auto; max-width: 100%; }
  .hero__title    { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; margin-top: 0; }
  .hero__subtitle { font-size: clamp(20px, 3vw, 32px);   line-height: 1.2;  margin-top: 18px; }
  .hero__desc     { font-size: clamp(16px, 2.4vw, 24px); line-height: 1.4;  margin-top: 18px; }

  /* questions */
  .questions { height: auto; padding: 48px 24px 64px; }
  .questions__inner { height: auto; }
  .questions__title,
  .questions__desc { position: static; width: auto; max-width: 100%; }
  .questions__title { font-size: clamp(30px, 4.5vw, 56px); line-height: 1.1; }
  .questions__desc  { font-size: clamp(16px, 2.2vw, 24px); line-height: 1.4; margin-top: 16px; }

  .expert-group,
  .expert-group--bou-matar,
  .expert-group--franek {
    position: static;
    top: auto; left: auto;
    width: 100%; height: auto;
    margin-top: 36px;
  }
  .expert-group__head {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }
  .expert-group__label {
    position: static;
    left: auto; top: auto;
    width: auto; max-width: 100%;
    flex: 1 1 auto;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.35;
  }
  .paginator {
    position: static;
    right: auto; top: auto;
    flex: 0 0 auto;
  }

  /* dialog ekspercki */
  .dialog { height: auto; padding: 56px 24px 64px; overflow: hidden; }
  .dialog__inner { height: auto; display: flex; flex-direction: column; }
  .dialog__title,
  .dialog__desc { position: static; width: auto; max-width: 100%; display: block; left: auto; top: auto; }
  .dialog__title { font-size: clamp(30px, 4.5vw, 56px); line-height: 1.1; }
  .dialog__desc  { font-size: clamp(16px, 2.2vw, 24px); line-height: 1.4; margin-top: 16px; margin-bottom: 24px; }

  /* karty ekspertów — z absolute do flex column */
  .experts {
    position: static !important;
    top: auto !important; left: auto !important;
    width: 100%; height: auto;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
  }
  .expert-card {
    width: 100%; height: auto;
    min-height: 0;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    display: flex !important;
    position: relative !important;
  }
  .expert-card__photo,
  .expert-card--franek .expert-card__photo {
    position: relative !important;
    width: 100% !important;
    height: 280px !important;
    left: auto !important; top: auto !important;
    flex-shrink: 0;
    overflow: hidden;
  }
  .expert-card__photo img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
  .expert-card__info { width: auto !important; padding: 18px 22px 8px; }
  .expert-card__name { font-size: clamp(22px, 3vw, 32px); line-height: 1.2; }
  .expert-card__cta {
    position: static;
    margin: 8px 22px 18px auto;
    padding-right: 0;
  }

  /* debaty */
  .debate,
  .debate:nth-of-type(1),
  .debate:nth-of-type(2) {
    position: static;
    width: 100%; height: auto;
    margin-top: 24px;
    flex-direction: column;
  }
  .debate__cover {
    position: relative;
    right: auto; top: auto;
    width: 100%; height: auto;
    aspect-ratio: 16 / 9;
  }
  .debate__cover img { width: 100%; height: 100%; object-fit: cover; }
  .debate__body { padding: 20px 24px 24px; width: 100%; }
  .debate__title { width: auto; max-width: 100%; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; margin-top: 16px; }
  .debate__cta { position: static; width: 100%; margin-top: 18px; gap: 18px; }
  .debate .vduration { position: static; margin-left: auto; display: none;}

  /* refund — desktop ma telefon jako bg, tu wyłączamy i pokazujemy <img> */
  .refund {
    height: auto;
    padding: 56px 24px 64px;
    background: var(--grad-refund);
    overflow: visible;
  }
  .refund__inner { height: auto; }
  .refund__copy,
  .refund__title,
  .refund__subtitle,
  .refund__cta,
  .refund__legal,
  .refund__phone {
    position: static;
    top: auto; left: auto;
  }
  .refund__copy { width: auto; max-width: 720px; }
  .refund__title    { font-size: clamp(30px, 4.5vw, 56px); line-height: 1.1; }
  .refund__subtitle { font-size: clamp(18px, 2.5vw, 28px); line-height: 1.35; margin-top: 14px; }
  .refund__cta {
    /* CTA jest <a> = inline; potrzebny block z paddingiem */
    display: block;
    width: 272px;
    height: auto;
    line-height: 1.2;
    padding: 22px 28px 22px 50px;
    margin-top: 28px;
    box-sizing: border-box;
  }
  .refund__legal { width: auto; max-width: 720px; margin-top: 22px; }
  .refund__phone {
    display: block;
    width: 100%; max-width: 200px; height: auto;
    margin: 32px auto 0;
  }
  .refund__phone img { width: 100%; height: auto; }

  /* prefooter */
  .prefooter img { width: 100%; height: auto; }

  /* footer */
  .footer { height: auto; padding: 36px 24px; }
  .footer__inner { height: auto; }
  .footer__leaflet,
  .footer__refs,
  .footer__rule,
  .footer__bottom,
  .footer__logos,
  .footer__meta,
  .footer__copy_2,
  .footer__links,
  .footer__code {
    position: static;
    width: auto; max-width: 100%;
    margin: 0;
  }
  .footer__leaflet { font-size: clamp(14px, 1.6vw, 18px); margin-bottom: 18px; }
  .footer__refs    { font-size: 13px; line-height: 1.45; margin-bottom: 18px; }
  .footer__rule    { margin: 18px 0; }
  .footer__bottom  { display: flex; flex-direction: column; gap: 18px; }
  .footer__logos   { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  .footer__links   { display: flex; gap: 4px; flex-wrap: wrap; }
  .footer__links_copy   { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }

  /* cookie bar */
  .cookies__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
}


/* ≤ 768px — duży telefon / mały tablet */
@media (max-width: 768px) {
  .nav__list { gap: 10px 18px; }
  .footer__logo--lf { position: unset; width: 150px; height: 21px; }
  .footer__logo--bi { width: 150px; height: 45px; }
  .footer__links_copy { font-size: 14px; }
  .container_body {
  position: relative;
  padding: 0px 24px 0px 24px;
}
}


/* ≤ 480px — telefon */
@media (max-width: 480px) {

  .nav__list { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
  .nav__tab  { font-size: 15px; line-height: 1.4; }

  .hero      { padding: 32px 16px 56px; }
  .hero__title    { font-size: 30px; }
  .hero__subtitle { font-size: 18px; }
  .hero__desc     { font-size: 15px; }

  .questions { padding: 36px 16px 48px; }
  .questions__title { font-size: 26px; }
  .questions__desc  { font-size: 15px; }

  .dialog { padding: 36px 16px 48px; }
  .dialog__title { font-size: 26px; }
  .dialog__desc  { font-size: 15px; }

  .debate__body  { padding: 18px 16px 20px; }
  .debate__badge { font-size: 18px; line-height: 40px; height: 40px; width: 115px;}
  .debate__title { font-size: 20px; line-height: 1.3; }

  .refund { padding: 36px 16px 0px; }
  .refund__title    { font-size: 26px; }
  .refund__subtitle { font-size: 16px; }
  .refund__cta      { width: 100%; max-width: 320px; }

  .footer { padding: 28px 16px; }

  .video-modal__panel { width: 95vw; max-width: 95vw; }

  .cookies__inner { flex-direction: column; align-items: stretch; }
  .cookies__accept { width: 100%; }
}