:root{
  --max-width: 1366px;
  --max-content-width: 1100px;
  --accent: #00aeef;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #f8fafc;
  --text: #000;
  --radius: 10px;
  --gap: 32px;
  --margin-section: 60px;
  --font-sans: "Open Sans";
  --blue-1: #F1FBFF;
  --blue-2: #DBF5FF;
  --blue-3: #EAF9FF;
  --blue-4: #BDECFF;
  --grey: #F4F4F4;
  --marker-size: 83px;
}

h1, h2, h3 {
  margin: 0;
}
.full-cdn-partner h1,
.full-cdn-partner h2,
.full-cdn-partner h3,
.full-cdn-partner h4,
.full-cdn-partner h5,
.full-cdn-partner h6 {
  letter-spacing: 0;
}
.full-cdn-partner {
  background: #fcfcfc;
}
body{
  margin:0;
  font-family:var(--font-sans);
  font-size:16px;

  background:var(--bg);
  -webkit-font-smoothing:antialiased
}
.page-container-cdn {
  max-width:var(--max-width);
  margin:0 auto;
  color: var(--text);

}
.page-container-cdn header h1 {
  font-weight:400;
  font-size:2rem;
  margin:0 0 var(--gap) 0;
  line-height:1.2
}
.page-container-cdn header p{
  font-weight:400;
  font-size:1rem;
  line-height:1.6;
  color:var(--text);
  margin:0
}
.blue-slogan {
  max-width: var(--max-content-width);
  margin: var(--margin-section) auto;
  display: block;
}
.blue-slogan h3 {
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.1;
  text-align: left;
  color: var(--accent);
  padding-left: 20px;
  margin-bottom: 30px;
  border-left: 3px solid var(--accent);
}
.blue-slogan .blue-text {
  color: var(--accent);
}
.boxs-with-shadow {
  display: flex;
  gap: var(--gap);
  margin-bottom: var(--gap);
  flex-direction: row;
}
.why-box {
  flex: 0 0 calc(33.3333% - (32px * 2 / 3)); /* 4/12 minus gap */
  padding: 39px 38px;
  text-align: center;
  background: #FFF;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.18);
}
.why-box h3 {
  color: black;
  margin: 0 0 12px 0;
  font-size: 20px;
  font-family: Open Sans;
  font-weight: 700;
  line-height: 32px;
  word-wrap: break-word;
  letter-spacing: 0;
}
.why-box p {
  
color: black;
 font-size: 14px;
 font-family: Open Sans;
 font-weight: 400;
 line-height: 22.40px;
 word-wrap: break-word;
 margin-bottom: 0;
}

.main-cdn {
  display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
}
.main-cdn > div {
  flex: 1;
}
.main-cdn .main-text {
  flex: 1;
}
.blue-header {
  color: var(--accent);
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  line-height: 1.1;
}
.main-text {
  font-size: 18px;
  line-height: 1.6;
}
.marketing-box {
  display: flex;
  padding-top: 60px;
  padding-bottom: 60px;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.marketing-box h3 {
  text-align: right;
  font-size: 2rem;
  font-weight: bold;
  color:var(--accent);

}
.marketing-box div + div {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
}
.marketing-box > div:first-child {
  flex: 0 0 41.6667%; /* 5/12 */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.marketing-box > div:last-child {
  flex: 0 0 58.3333%; /* 7/12 */
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s;
}
.marketing-box--visible > div:first-child,
.marketing-box--visible > div:last-child {
  opacity: 1;
  transform: translateX(0);
}
.boxes-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 60px auto;
}
.success-puzzles {
  max-width: var(--max-width);
  margin: 60px auto;
  
}
.success-puzzles h2{
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 32px 0;
  letter-spacing: 0;
}
.puzzl-set {
  display: flex;
  margin: 60px auto;
  max-width: var(--max-content-width);
  gap: 0;
  flex-direction: row;
}
.puzzle ul {
  padding-left: 2rem;
}
.puzzle ul li {
  list-style-type: square;
}
.puzzle-column-1 {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* do osi */
}
.puzzle-column-2 {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* do osi */
  margin-top: 67px;
}
.puzzle {
  padding: 47px 42px;
  max-width: 520px; /* TY decydujesz */
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}
.puzzle--visible {
  opacity: 1;
  transform: translateY(0);
}
.puzzle--visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 174, 239, 0.14);
}
.puzzle h3 {
  font-size: 48px;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 0;
  text-align: center;
  letter-spacing: 0;
  font-weight: 700;
}
.puzzle p {
  font-weight: bold;
}
.puzzle-1 {
  max-width: 406px;
  background: var(--blue-1);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.puzzle-2 {
  background: var(--blue-2);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
.puzzle-3 {
  max-width: 406px;
  background: var(--blue-1);

}
.puzzle-4 {
  background: var(--blue-2);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
.puzzle-5 {
  max-width: 406px;
  background: var(--blue-3);
  border-top-right-radius: 30px;

}
.puzzle-6 {
  background: var(--blue-4);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}
.puzzle-7 {
  max-width: 406px;
  background: var(--blue-3);
  border-bottom-right-radius: 30px;
}
.company-help {
  max-width: var(--max-content-width);
  margin: 0 auto 60px auto;
}
.company-help h2 {
  text-align: center;
  font-size: 32px;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 0;
  font-weight: bold;
}

.help-box {
  display: flex;
  padding-top: 60px;
  padding-bottom: 60px;
  flex-direction: row;
  gap: 32px;
}
.help-box h3 {
  text-align: right;
  font-size: 24px;
  font-weight: bold;
  color:var(--accent);

}
.help-box p {
  padding-bottom: 40px;
  font-size: 24px;
}
.help-item {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.help-item--visible {
  opacity: 1;
  transform: translateX(0);
}
.help-box p:last-child {
  padding-bottom: 0;
}
.help-box div + div {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
}
.help-box > div:first-child {
  flex: 0 0 41.6667%; /* 5/12 */
}

.help-box > div:last-child {
  flex: 0 0 58.3333%; /* 7/12 */
}
.steps-krok{
  --marker-size: 83px;        /* ← ZMIENIASZ TYLKO TO */
  --line-width: 3px;

  background: var(--grey);
  max-width: 100%;
  padding: 90px 0;
}

/* wrapper */
.steps-krok__inner{
  max-width: var(--max-content-width);
  margin: 0 auto;
}

/* layout */
.steps-krok__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

/* prawa kolumna */
.steps-krok__right{
  justify-self: end;
}

.steps-krok__headline{
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 64px);
  line-height: 1.05;
  text-align: left;
}

/* lista */
.steps-krok__list{
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

/* 🔵 LINIA – IDEALNIE W ŚRODKU KÓŁEK */
.steps-krok__list::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(var(--marker-size) / 2);
  width: var(--line-width);
  background: var(--accent);
  opacity: 0.9;
}

/* pojedynczy krok */
.steps-krok__item{
  display: grid;
  grid-template-columns: 1fr var(--marker-size);
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

/* treść */
.steps-krok__content{
  text-align: right;
}

.steps-krok__title{
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.steps-krok__desc{
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
}

/* kółko */
.steps-krok__marker{
  width: var(--marker-size);
  height: var(--marker-size);
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  justify-self: end;
  z-index: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.steps-krok__marker span{
  color: #fff;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}

/* ========================= */
/* 📱 MOBILE */
/* ========================= */
@media (max-width: 980px){

  .steps-krok__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps-krok__right{
    order: -1;
    justify-self: start;
  }

  .steps-krok__headline{
    text-align: left;
  }

  .steps-krok__list::before{
    left: calc(var(--marker-size) / 2);
    right: auto;
  }

  .steps-krok__item{
    grid-template-columns: var(--marker-size) 1fr;
  }

  .steps-krok__content{
            text-align: left;
        order: 1;
  }

  .steps-krok__marker{
    justify-self: start;
    order: 0;
  }
}
.contact-down-cdn {
  margin: 120px 0;
  max-width: var(--max-width);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.contact-down-cdn .form-cdn {
  flex: 0 0 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-sizing: border-box;
}

/* ===== CF7 – CDN Partner ===== */
.form-cdn .wpcf7 p {
  margin: 0 0 12px 0;
}
.form-cdn .wpcf7 label {
  display: block;
  font-size: 0;
  margin-bottom: 16px;
}
.form-cdn .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.form-cdn .wpcf7 input[type="text"],
.form-cdn .wpcf7 input[type="email"],
.form-cdn .wpcf7 textarea {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}
.form-cdn .wpcf7 input[type="text"]:focus,
.form-cdn .wpcf7 input[type="email"]:focus,
.form-cdn .wpcf7 textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}
.form-cdn .wpcf7 input[type="text"]::placeholder,
.form-cdn .wpcf7 input[type="email"]::placeholder,
.form-cdn .wpcf7 textarea::placeholder {
  color: #aaa;
  font-size: 15px;
}
.form-cdn .wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}
.form-cdn .wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.form-cdn .wpcf7 input[type="submit"]:hover {
  background: #0099d4;
}
.contact-down-cdn .contact-data {
  flex: 0 0 50%;
}
.logo-set {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding-left: 0;
    justify-content: flex-start;
    align-content: center;
     margin: 45px 0;
}
.logo-set li {
  padding: 0;
  list-style-type: none;
}
.logo-set a {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-set a:hover {
  opacity: 0.75;
  transform: scale(1.05);
}
.blue-line-bot {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  line-height: 1.3;
  font-size: 16px;
}
.blue-line-bot h3 {
  font-size: 36px;
  font-weight: bold;
  color: var(--accent);
  padding-bottom: 40px;
}
.intle-address {
  padding-left: 23px;
  padding-top: 20px;
  line-height: 1.8;
}
.numbers-cdn {
  margin: 0 auto 0 auto;
  max-width: var(--max-content-width);
  text-align: center;
}
.numbers-box {
  display: flex;
  align-content: center;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 120px;
}
.numbers-box > div {
  transition: transform 0.25s ease;
}
.numbers-box > div:hover {
  transform: translateY(-5px);
}
.numbers-box picture {
  display: block;
  margin-bottom: 1rem;
}
.title-cdn {
  font-size: 64px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: block;
  line-height: 1;
  padding-bottom: 1rem;
}
.subtitle-cdn {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;

}

/* ===== CSS-only reveal (page-load) ===== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  animation: revealUp .8s ease-out forwards;
}
.reveal--fast{ animation-duration: .6s; }
.reveal--slow{ animation-duration: 1s; }
.reveal--delay-1{ animation-delay: .08s; }
.reveal--delay-2{ animation-delay: .16s; }
.reveal--delay-3{ animation-delay: .24s; }
.reveal--delay-4{ animation-delay: .32s; }
.reveal--delay-5{ animation-delay: .40s; }

@keyframes revealUp{
  to{ opacity:1; transform: translateY(0); filter: blur(0); }
}

/* Stagger for steps – triggered by .steps-krok--visible (IntersectionObserver) */
.steps-krok__item{
  opacity: 0;
  transform: translateY(14px);
}
.steps-krok--visible .steps-krok__item{
  animation: stepIn .7s ease-out forwards;
}
.steps-krok--visible .steps-krok__item:nth-child(1){ animation-delay: .10s; }
.steps-krok--visible .steps-krok__item:nth-child(2){ animation-delay: .22s; }
.steps-krok--visible .steps-krok__item:nth-child(3){ animation-delay: .34s; }
.steps-krok--visible .steps-krok__item:nth-child(4){ animation-delay: .46s; }
.steps-krok--visible .steps-krok__item:nth-child(5){ animation-delay: .58s; }

@keyframes stepIn{
  to{ opacity:1; transform: translateY(0); }
}

/* Line draw */
.steps-krok__list::before{
  transform-origin: top;
  transform: scaleY(0);
}
.steps-krok--visible .steps-krok__list::before{
  animation: lineGrow .9s ease-out forwards;
  animation-delay: .05s;
}
@keyframes lineGrow{
  to{ transform: scaleY(1); }
}

/* Marker pop */
.steps-krok__marker{
  transform: scale(.92);
}
.steps-krok--visible .steps-krok__marker{
  animation: markerPop .55s ease-out forwards;
}
.steps-krok--visible .steps-krok__item:nth-child(1) .steps-krok__marker{ animation-delay: .14s; }
.steps-krok--visible .steps-krok__item:nth-child(2) .steps-krok__marker{ animation-delay: .26s; }
.steps-krok--visible .steps-krok__item:nth-child(3) .steps-krok__marker{ animation-delay: .38s; }
.steps-krok--visible .steps-krok__item:nth-child(4) .steps-krok__marker{ animation-delay: .50s; }
.steps-krok--visible .steps-krok__item:nth-child(5) .steps-krok__marker{ animation-delay: .62s; }

@keyframes markerPop{
  60%{ transform: scale(1.03); }
  to{ transform: scale(1); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal,
  .steps-krok__item,
  .steps-krok__list::before,
  .steps-krok__marker,
  .puzzle,
  .marketing-box > div:first-child,
  .marketing-box > div:last-child,
  .help-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px){
  .page-container-cdn{ padding: 0 20px; }
  .boxes-why{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px){
  .steps-krok__list::before {
    display: none;
  }
  .logo-set {
    flex-direction: column;
  }
  .logo-set li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
  .steps-krok__inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}
  .main-cdn{
    flex-direction: column;
    align-items: flex-start;
  }
  .main-cdn picture img{
    max-width: 100%;
    height: auto;
  }

  .marketing-box{
    flex-direction: column;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .marketing-box h3{
    text-align: left;
  }
  .marketing-box div + div{
    border-left: 0;
    padding-left: 0;
    border-top: 3px solid var(--accent);
    padding-top: 24px;
  }
  .marketing-box > div:first-child,
  .marketing-box > div:last-child{
    flex: 0 0 auto;
  }

  .success-puzzles h2{ font-size: 1.6rem; }
  .puzzl-set{
    flex-direction: column;
    gap: 24px;
    margin: 40px auto;
  }
  .puzzle-column-1,
  .puzzle-column-2{
    flex: 0 0 auto;
    width: 100%;
    align-items: stretch;
    margin-top: 0;
  }
  .puzzle{
            max-width: 80%;
        margin: 0 auto;
        border-radius: 30px !important;
        margin-bottom: 32px;
  }
  .puzzle h3{
    font-size: 38px;
  }

  .help-box{
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .help-box h3{
    text-align: left;
  }
  .help-box div + div{
    border-left: 0;
    padding-left: 0;
    border-top: 3px solid var(--accent);
    padding-top: 24px;
  }
  .help-box > div:first-child,
  .help-box > div:last-child{
    flex: 0 0 auto;
  }
  .help-box p{ font-size: 18px; padding-bottom: 18px; }

  .contact-down-cdn{
    flex-direction: column;
    margin: 70px 0;
    align-items: stretch;
  }
  .contact-down-cdn .form-cdn,
  .contact-down-cdn .contact-data{
    flex: 0 0 auto;
    width: 100%;
  }

  .numbers-box{
    flex-direction: column;
    gap: 40px;
    padding-bottom: 70px;
  }
}

@media (max-width: 768px){
  .blue-header{ font-size: 2.2rem; }
  .why-box{ padding: 28px 24px; }
  .boxes-why{ grid-template-columns: 1fr; }
  .puzzle{ padding: 34px 24px; }
  .puzzle h3{ font-size: 32px; }
  .steps-krok{ padding: 70px 0; }
  .steps-krok__headline{ font-size: clamp(28px, 7vw, 44px); }
  .steps-krok__title{ font-size: 20px; }
  .steps-krok__desc{ font-size: 15px; }
  .steps-krok{ --marker-size: 68px; }
}

@media (max-width: 480px){
  .contact-down-cdn .form-cdn{ padding: 24px 16px; }
  .blue-header{ font-size: 1.75rem; }
  .help-box p{ font-size: 16px; padding-bottom: 14px; }
  .title-cdn{ font-size: 48px; }
  .blue-line-bot h3{ font-size: 28px; }
  .puzzle{ max-width: 100%; }
}
