/* APK Strefa Spokoju — 7 dni bliżej ciała, v1.5 */
.ssp7-course-page #main-header,
.ssp7-course-page #top-header,
.ssp7-course-page #main-footer,
.ssp7-course-page .et-l--header,
.ssp7-course-page .et-l--footer{display:none!important}
.ssp7-course-page #page-container{padding-top:0!important;margin-top:0!important}
.ssp7-course-page #main-content{background:#fff!important}
.ssp7-page,.ssp7-page *{box-sizing:border-box}
.ssp7-page{font-family:Lato,Arial,sans-serif;color:#4D5752}
.ssp7-page h1,.ssp7-page h2,.ssp7-page h3,.ssp7-page p{font-family:Lato,Arial,sans-serif}
.ssp7-page h1,.ssp7-page h2,.ssp7-page h3{color:#33473A}

/* PŁASKIE KOLORY SEKCJI — bez gradientów */
.ssp7-hero{background-color:#ffffff!important;overflow:hidden}
.ssp7-problem{
  background-color:#FCF8F3!important;
  background-image:url('bridge-background-top.png')!important;
  background-repeat:no-repeat!important;
  background-position:right bottom!important;
  background-size:760px 260px!important;
}
.ssp7-bieszczady{
  background-color:#ffffff!important;
  background-image:url('bridge-background-bottom.png')!important;
  background-repeat:no-repeat!important;
  background-position:right top!important;
  background-size:760px 260px!important;
  padding-top:145px!important;
}
.ssp7-course{background-color:#F2F6F2!important}
.ssp7-days{background-color:#ffffff!important}
.ssp7-bonus{background-color:#FFF6F7!important}
.ssp7-about{background-color:#ffffff!important}
.ssp7-form{background-color:#FCF8F3!important}
.ssp7-footer{background-color:#ffffff!important;border-top:1px solid #ECE8E3}

.ssp7-hero-title h1{margin:0!important;color:#33473A!important;font-size:clamp(46px,6vw,82px)!important;font-weight:900!important;line-height:1.02!important;letter-spacing:-.045em!important}
.ssp7-hero-title h1 span{display:block;color:#D96B79;font-weight:700}
.ssp7-eyebrow p{margin:0!important;color:#73957D!important;font-size:12px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase}
.ssp7-hook p{color:#58665E!important;font-size:17px!important;font-weight:700!important;line-height:1.6!important}
.ssp7-promise p{color:#526E58!important;font-size:21px!important;font-weight:900!important;line-height:1.45!important}
.ssp7-lead p,.ssp7-copy p{color:#4D5752!important;font-size:18px!important;line-height:1.72!important}
.ssp7-note{border-left:4px solid #E9A6B0;padding-left:16px}
.ssp7-note p{margin:0!important;color:#33473A!important;font-weight:700!important}
.ssp7-hero-mockup img{width:100%;height:auto}
.ssp7-main-cta{background:#526E58!important;border-color:#526E58!important;border-radius:8px!important;font-weight:900!important}
.ssp7-section-title h2{margin:0!important;color:#33473A!important;font-size:clamp(38px,4.7vw,66px)!important;font-weight:900!important;line-height:1.08!important;letter-spacing:-.035em!important}
.ssp7-problem-item{padding-top:18px;border-top:3px solid #73957D}
.ssp7-problem-item.pink{border-color:#E9A6B0}
.ssp7-problem-item.blue{border-color:#839AAA}
.ssp7-problem-item h3{margin:0 0 8px!important;color:#33473A!important;font-size:22px!important;font-weight:900!important}
.ssp7-problem-item p{color:#4D5752!important;font-size:17px!important;line-height:1.65!important}
.ssp7-pullquote p{margin:0!important;color:#33473A!important;font-size:clamp(28px,3vw,42px)!important;font-weight:900!important;line-height:1.28!important}
.ssp7-method{padding-left:24px;border-left:3px solid #E9A6B0}
.ssp7-method h3{font-size:25px!important;font-weight:900!important}
.ssp7-method-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}
.ssp7-method-line span{display:inline-block;padding:9px 12px;background:#fff;border:1px solid #DCE7DF;border-radius:7px;color:#526E58;font-weight:900}
.ssp7-method-line b{color:#D96B79;font-size:20px}
.ssp7-day{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:20px 0;border-bottom:1px solid #E3E6E2}
.ssp7-day .n{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#73957D;color:#fff;font-weight:900}
.ssp7-day strong{display:block;margin-bottom:3px;color:#33473A;font-size:18px}
.ssp7-day div:last-child{color:#4D5752;font-size:16px;line-height:1.55}
.ssp7-bonus-mockup img{display:block;width:min(100%,520px);height:auto;margin:0 auto}
.ssp7-about-photo img{display:block;width:100%;max-width:340px;height:auto;margin:0 auto;border-radius:18px}
.ssp7-form-shortcode{max-width:820px;margin:0 auto;text-align:center}
.ssp7-form-placeholder{padding:24px;border:2px dashed #AFC0B3;border-radius:12px;background:#fff;color:#617067}
.ssp7-form-privacy{margin-top:12px!important;color:#727B76!important;font-size:13px!important}
.ssp7-form-privacy a{text-decoration:underline}
.ssp7-footer p{margin:0!important;text-align:center;color:#6F7873!important;font-size:14px!important}

@media(max-width:980px){
  .ssp7-problem,.ssp7-bieszczady{background-size:620px auto!important}
  .ssp7-bieszczady{padding-top:115px!important}
}
@media(max-width:767px){
  .ssp7-hero-title h1{font-size:48px!important}
  .ssp7-section-title h2{font-size:38px!important}

  /* v1.5 — osobne pozycjonowanie akwareli na telefonach.
     Górna część dekoracji zostaje przy dole sekcji problemowej,
     dolna przy górze sekcji „Bieszczady”, dzięki czemu tło nie wchodzi w tekst. */
  .ssp7-problem{
    background-size:320px auto!important;
    background-position:right bottom!important;
  }
  .ssp7-bieszczady{
    background-size:320px auto!important;
    background-position:right top!important;
    padding-top:85px!important;
  }

  .ssp7-bonus-mockup img{width:min(92%,430px)}
}


/* FIX v1.2 — sekcja „Jak wyglądają te 7 dni?”
   Divi Visual Builder potrafi ścisnąć wewnętrzny blok tekstu do kilku pikseli.
   Wymuszamy pełną szerokość modułu i prosty układ flex. */
.ssp7-days .et_pb_text,
.ssp7-days .et_pb_text_inner{
  width:100%!important;
  max-width:none!important;
}
.ssp7-days .et_pb_column{
  min-width:0!important;
}
.ssp7-day{
  display:flex!important;
  align-items:flex-start!important;
  width:100%!important;
  max-width:none!important;
  gap:14px!important;
  padding:20px 0!important;
  border-bottom:1px solid #E3E6E2!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.ssp7-day .n{
  flex:0 0 48px!important;
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
}
.ssp7-day > div{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.ssp7-day strong{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
@media(max-width:767px){
  .ssp7-day{gap:12px!important}
  .ssp7-day .n{flex-basis:44px!important;width:44px!important;min-width:44px!important;height:44px!important}
}

/* FIX v1.3 — czytelność na telefonach */
@media(max-width:767px){
  /* Tekst główny na landing page */
  .ssp7-page .et_pb_text p,
  .ssp7-page .et_pb_text li{
    font-size:18px!important;
    line-height:1.65!important;
  }

  /* Najważniejsze wyjątki i elementy specjalne */
  .ssp7-eyebrow p{
    font-size:13px!important;
    line-height:1.45!important;
  }
  .ssp7-form-privacy{
    font-size:14px!important;
    line-height:1.5!important;
  }
  .ssp7-footer p{
    font-size:14px!important;
    line-height:1.5!important;
  }

  .ssp7-hook p{font-size:18px!important;line-height:1.65!important}
  .ssp7-promise p{font-size:20px!important;line-height:1.5!important}
  .ssp7-lead p,.ssp7-copy p{font-size:18px!important;line-height:1.7!important}
  .ssp7-problem-item p{font-size:18px!important;line-height:1.65!important}
  .ssp7-problem-item h3{font-size:23px!important;line-height:1.25!important}
  .ssp7-method h3{font-size:24px!important;line-height:1.25!important}
  .ssp7-method-line span{font-size:16px!important;line-height:1.35!important}
  .ssp7-day strong{font-size:19px!important;line-height:1.35!important}
  .ssp7-day > div{font-size:17px!important;line-height:1.6!important}

  /* CTA i pozostałe przyciski Divi na stronie */
  .ssp7-page .et_pb_button,
  .ssp7-main-cta{
    font-size:18px!important;
    line-height:1.3!important;
  }

  /* Pola formularza — min. 16 px zapobiega automatycznemu zoomowi na iPhone */
  .ssp7-page input,
  .ssp7-page textarea,
  .ssp7-page select,
  .ssp7-page button{
    font-size:16px!important;
  }

  .ssp7-sender-embed,
  .ssp7-sender-embed *{
    max-width:100%!important;
  }
}

@media(max-width:479px){
  .ssp7-hero-title h1{font-size:42px!important;line-height:1.05!important}
  .ssp7-section-title h2{font-size:34px!important;line-height:1.12!important}

  /* v1.5 — jeszcze mniejsza dekoracja na wąskich ekranach */
  .ssp7-problem,
  .ssp7-bieszczady{background-size:270px auto!important}
  .ssp7-bieszczady{padding-top:70px!important}
}


/* v1.4 — sekcja zapisu: tekst po lewej, Sender po prawej */
@media(min-width:768px){
  .ssp7-form .et_pb_row{
    width:90%!important;
    max-width:1120px!important;
  }
  .ssp7-form .et_pb_column{
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;
    grid-template-rows:auto auto 1fr!important;
    column-gap:64px!important;
    row-gap:12px!important;
    align-items:start!important;
  }
  .ssp7-form .et_pb_column > .et_pb_text{
    margin-bottom:0!important;
  }
  .ssp7-form .et_pb_column > .ssp7-eyebrow,
  .ssp7-form .et_pb_column > .ssp7-section-title,
  .ssp7-form .et_pb_column > .ssp7-lead{
    grid-column:1!important;
    text-align:left!important;
  }
  .ssp7-form .et_pb_column > .ssp7-eyebrow{grid-row:1!important}
  .ssp7-form .et_pb_column > .ssp7-section-title{grid-row:2!important}
  .ssp7-form .et_pb_column > .ssp7-lead{grid-row:3!important}
  .ssp7-form .et_pb_column > .et_pb_text:last-child{
    grid-column:2!important;
    grid-row:1 / span 3!important;
    align-self:center!important;
    margin:0!important;
    width:100%!important;
  }
  .ssp7-form .ssp7-section-title h2{
    font-size:clamp(38px,4.1vw,58px)!important;
  }
  .ssp7-form-shortcode{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    text-align:center!important;
    padding:28px!important;
    background:#fff!important;
    border:1px solid #E8E1D9!important;
    border-radius:18px!important;
    box-shadow:0 12px 34px rgba(51,71,58,.08)!important;
  }
  .ssp7-sender-embed{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
  }
}

@media(max-width:767px){
  .ssp7-form .et_pb_row{
    width:90%!important;
    max-width:620px!important;
  }
  .ssp7-form .et_pb_column{
    display:block!important;
  }
  .ssp7-form .ssp7-eyebrow,
  .ssp7-form .ssp7-section-title,
  .ssp7-form .ssp7-lead{
    text-align:center!important;
  }
  .ssp7-form .et_pb_column > .et_pb_text:last-child{
    margin-top:28px!important;
  }
  .ssp7-form-shortcode{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:20px 14px!important;
    background:#fff!important;
    border:1px solid #E8E1D9!important;
    border-radius:16px!important;
  }
}
