:root{
  --primary:#22366c;
  --secondary:#659ad2;
  --bg:#f2f2f2;
  --surface:#ffffff;
  --text:#3d3d3d;;
  --on-dark:#f9fafb;
  --secondary-rgb: 101, 154, 210;
  --font-heading:"Libertinus Serif", Georgia, "Times New Roman", serif;
  --font-secondary: "Work Sans", sans-serif;
  --font-body:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container:1120px;
  --radius:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

.container{
  width:min(100% - 2rem, var(--container));
  margin-inline:auto;
}

.topbar{
  background:#fff;
  border-bottom:1px solid rgba(17,24,39,.08);
  font-size:.95rem;
}
.topbar__left {
    font-size: 13px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.6rem 0;
}
.topbar a{color:var(--primary); text-decoration:none}
.sep{opacity:.5; margin:0 .5rem}
.social{padding:.1rem .35rem}

.site-header{
  background:#fff;
  border-bottom:1px solid rgba(17,24,39,.06);
  position:sticky;
  top:0;
  z-index:100;

  box-shadow:
    0 4px 6px -4px rgba(0,0,0,0.06),
    0 10px 20px -10px rgba(0,0,0,0.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 0;
}
.brand{display:flex; gap:.75rem; align-items:center; text-decoration:none; color:var(--primary)}
.brand__logo{height:65px}
.brand__name{font-family:var(--font-heading); font-weight:700}

.menu{    
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  }
.menu__link{
  text-decoration:none;
  color:var(--primary);
  padding:.35rem .5rem;
  border-radius:10px;
  position: relative;
}
.menu__link::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:3px;
  background:var(--secondary);
  border-radius:4px;
  transition: width .3s cubic-bezier(.4,0,.2,1);
}

.menu__link:hover::after{
  width: 50px;
}

@media (min-width: 900px){ 
.menu__link.is-active::after{  width: 50px;}
}
@media (max-width: 899px){ 
  .menu__link.is-active{  color: var(--secondary)}
}

.header-phone{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: .35rem .6rem;
  border-radius: 10px;
  white-space: nowrap;
  padding: .5rem 1rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1rem;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  font-size: 14px;
  text-transform: uppercase;
}
.menu__link,
.btn{
  letter-spacing: 0.06em;
}
h2, h3{
  letter-spacing: 0.01em;
}
a.btn-primary{background:var(--primary); color:var(--on-dark)}
a.btn-primary:hover {
  background: var(--secondary); color: var(--on-dark);
}
.btn-primary{background:var(--primary); color:var(--on-dark)}
.btn-primary:hover {
  background: var(--secondary); color: var(--on-dark);
}
a.btn-secondary{background:transparent; border-color:var(--primary); color:var(--primary)}
a.btn-secondary:hover {border-color: var(--secondary); color: var(--secondary);}
.btn-secondary{background:transparent; border-color:var(--primary); color:var(--primary)}
.btn-secondary:hover {border-color: var(--secondary); color: var(--secondary);}
.btn-light{  
  background: #fff; 
  color: var(--primary);
}
.btn-light:hover {background: var(--secondary); }
.hero{padding:2.25rem 0}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:2rem;
  align-items:stretch;
}
.hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__copy h1{
  font-family:var(--font-heading);
  color:var(--primary);
  line-height:1.1;
  font-size:clamp(2rem, 3.6vw, 3.1rem);
  margin:.3rem 0 1rem;
}
.hero__copy h3{
  font-family:var(--font-heading);
  font-weight: 400;
  color:var(--primary);
  line-height:140%;
  margin:.3rem 0 2rem;
}
.eyebrow{margin:0; color:rgba(34,54,108,.75)}
.lead{margin:0 0 1.25rem; max-width:60ch}
.hero__cta{display:flex; gap:.75rem; flex-wrap:wrap}

.hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:var(--radius);
  display:block;
}

.strip{padding:3rem 0}
.strip--dark{background:var(--primary); color:var(--on-dark)}
.strip--dark h2{
  font-family:var(--font-heading);
  margin:0 0 1.5rem;
  color:var(--on-dark);
  text-align:center;
}
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1.25rem;
}
.feature{
  text-align:center;
  padding:1rem;
}
.feature__icon{font-size:1.6rem; margin-bottom:.5rem}
.feature h3{
  font-family:var(--font-heading);
  margin:.25rem 0 .35rem;
  color:var(--on-dark);
}
.feature p{margin:0; opacity:.9}

.section{padding:3rem 0}
.section--soft{background:#fff}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:2rem;
  align-items:center;
}
h1,h2,h3{
  font-family:var(--font-heading);
  color:var(--primary);
  line-height:1.15;
}
h1{margin:0 0 1rem}
h2{margin:0 0 1rem}
h3{margin:0 0 .6rem}

.card{
  background:var(--surface);
  border-radius:var(--radius);
  padding:1.5rem;
  box-shadow:0 10px 30px rgba(17,24,39,.06);
}
.media-card img{
  width:100%;
  border-radius:var(--radius);
  display:block;
}

.quick-contact .label{margin:0; font-weight:700; color:rgba(34,54,108,.9)}
.quick-contact__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
  margin:1rem 0 1.5rem;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:1.25rem;
}
.form{display:grid; gap:.9rem}
.form input, .form textarea{
  width:100%;
  padding:.7rem .8rem;
  border-radius:12px;
  border:1px solid rgba(17,24,39,.15);
  font:inherit;
}
.checkbox{display:flex; gap:.6rem; align-items:flex-start}
.checkbox input{margin-top:.2rem}

.muted{opacity:.75; font-size:.95rem}
.footer--dark{
  background: var(--primary);
  color: var(--on-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer--dark a{
  color: var(--on-dark);
  text-decoration: none;
  opacity: .95;
}
.footer--dark a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.footer__grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.footer__title{
  font-family: var(--font-heading);
  margin: 0 0 .75rem;
  color: var(--on-dark);
  font-size: 1.2rem; 
}

.footer__text{ margin: 0 0 1rem; opacity: .95; font-weight: 200; font-size: 0.95rem;}
.footer__small{ margin: .75rem 0 0; font-size: .95rem; opacity: .85; }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all .2s ease;
}

.social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1); /* robi ikonę białą */
  transition: transform .2s ease;
}

.social:hover {
  background: rgba(var(--secondary-rgb), 0.25);
  border-color: rgba(var(--secondary-rgb), 0.6);
  transform: translateY(-2px);
}

.social:hover img {
  transform: scale(1.1);
}


.social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(249,250,251,.35);
}

.footer-form{
  display: grid;
  gap: .75rem;
  font-size: 0.86rem;
    FONT-WEIGHT: 300;
}

.footer-form input,
.footer-form textarea{
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 12px;
  /* border: 1px solid rgba(249,250,251,.25); */
  color: var(--on-dark);
  font: inherit;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  transition: border .2s ease, box-shadow .2s ease;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder{
  color: rgba(249,250,251,.75);
}
/* Focus */
.footer-form input:focus,
.footer-form textarea:focus {
  outline: none;
  border: 1px solid rgba(var(--secondary-rgb), 1);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.25);
}
.footer-form input:-webkit-autofill,
.footer-form input:-webkit-autofill:hover,
.footer-form input:-webkit-autofill:focus,
.footer-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--on-dark);
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px rgba(255,255,255,.06) inset;
  border: 1px solid rgba(249,250,251,.25);
}
.footer-form__consent{
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .7rem;
  font-weight: 200;
  opacity: .9;
}
.footer-form__consent input{ margin-top: .2rem; flex: 1; }

.footer__bottom{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(249,250,251,.2);
  opacity: .75;
      font-size: 0.875rem;
}

@media (max-width: 900px){
  .footer__grid{ grid-template-columns: 1fr; }
}
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@media (min-width: 900px){
  .hide-on-desktop {
    display: none !important;
  }
}
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
  .features{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .quick-contact__grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}

/* =========================
   MOBILE (CSS-only)
   ========================= */

/* lekka optymalizacja pod touch */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; } /* Apple recommended tap target */
  .menu__link { padding: .65rem .7rem; }
}

/* Tablet i w dół */
@media (max-width: 900px) {
  .container { width: min(100% - 1.25rem, var(--container)); }

  /* HEADER */
  .nav{
    position: relative;
    margin: 0;
    width: 100%;
    padding: 0.7rem;
  }

  .brand__logo{ height: 52px; }

  .nav > .btn{ order: 2; margin-left: auto; }
  .hide-on-mobile {
    display: none !important;
  }
  .menu{
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .4rem;
    padding: .25rem 0 .4rem;
    justify-content: flex-start;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
  }
  .menu::-webkit-scrollbar{ display: none; } /* Chrome/Safari */

}

/* Telefony */
@media (max-width: 600px) {
  /* HERO */
  .hero{ padding: 1.4rem 0; }

  .hero__grid{
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .hero__copy h1{
    font-size: clamp(1.65rem, 6.2vw, 2.2rem);
    margin: .2rem 0 .75rem;
  }

  .hero__copy h3{
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
  }

  .hero__cta{
    flex-direction: column;
    gap: .6rem;
  }
  .hero__cta .btn{
    width: 100%;
  }

  .hero__media img{
    max-height: 280px;
    object-position: center;
  }

  /* STRIP + FEATURES */
  .strip{ padding: 2.25rem 0; }
  .strip--dark h2{
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .feature{
    padding: .75rem 0;
  }
  .feature__icon{ font-size: 1.8rem; }

  /* SEKCJE */
  .section{ padding: 2.25rem 0; }

  .two-col{ gap: 1.25rem; }

  /* FOOTER */
  .footer--dark{ padding: 2.5rem 0 1.25rem; }
  .footer__title{ font-size: 1.15rem; }
  .footer__grid{ gap: 1.5rem; text-align: center; }

  .footer-form{
    gap: .6rem;
  }

  .footer-form input,
  .footer-form textarea{
    padding: .8rem .9rem;
    border-radius: 12px;
  }
  .footer__social {
    justify-content: center;
  }

  .footer-form__consent input{
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: .25rem;
  }
  .footer-form__consent{
    text-align: left;
    font-size: .78rem;
    line-height: 1.35;
  }

  .footer__bottom{
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
    font-size: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
  }

  /* social ikony: trochę większe na palec */
  .social{
    width: 42px;
    height: 40px;
  }
  .social img{
    width: 19px;
    height: 19px;
  }
}

/* ======================
   HAMBURGER MENU
   ====================== */

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: .3s ease;
}

/* MOBILE */
@media (max-width: 900px) {

  .nav {
    position: relative;
  }

 /* panel */
  .menu{
    position: fixed;
    top: 75px; /* wysokość headera */
    right: 0;
    width: min(86vw, 250px);
    height: calc(100vh - 75px);
    background: #fff;
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* pełna szerokość linków */
    gap: 0;

    padding: 1.25rem 1rem 1.5rem;
    box-shadow:
      0 4px 6px -4px rgba(0,0,0,0.06),
      0 10px 20px -10px rgba(0,0,0,0.08);

    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
    z-index: 1000;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* otwarcie (dopasuj do Twojego mechanizmu: .menu.active albo checkbox) */
  .menu.active{
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* linki menu */
  .menu__link{
    display: block;
    width: 100%;
    text-align: center;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
      border-bottom: 1px solid rgba(34,54,108,.08);
    color: var(--primary);
    text-decoration: none;
  }

  .menu__link:hover,
  .menu__link:focus-visible{
    background: rgba(var(--secondary-rgb), 0.12);
    color: var(--primary);
    outline: none;
  }

  /* CTA w menu (ZADZWOŃ) */
  .menu .btn,
  .menu .call-btn{
    align-self: center;
    margin-top: .25rem;
    width: 80%;
    max-width: 220px;
  }

  .hamburger {
    display: flex;
            margin-right: 1rem;
    margin-left: auto;
  }

  .call-btn {
    display: none;
  }

  /* AKTYWNE MENU */
  .menu-toggle:checked ~ .menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* ANIMACJA IKONY */
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
  }

  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px,-6px);
  }
}

/* ======================
   OFERTA – KAFELKI
   ====================== */

.offer__title{
  text-align: center;
  margin-bottom: 2.5rem !important;
  color: var(--on-dark);
  position: relative;
}
.offer__title::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 4px;
}
.offer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Kafelek */
.offer-card{
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  text-decoration: none;
  color: var(--on-dark);

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .25s ease;
}

.offer-card h3{
  font-family: var(--font-heading);
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  color: var(--on-dark);
}

.offer-card p{
  margin: 0;
  font-weight: 300;
  font-size: .875rem;
  opacity: .9;
}

/* Hover – subtelny */
.offer-card:hover{
  transform: translateY(-4px);
  background: rgba(var(--secondary-rgb), 0.18);
  border-color: rgba(var(--secondary-rgb), 0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px){
  .offer-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px){
  .offer-grid{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.offer-card:nth-child(4n+1){
  background: rgba(255,255,255,0.05);
}

.offer-card:nth-child(4n+2){
  background: rgba(255,255,255,0.08);
}

.offer-card:nth-child(4n+3){
  background: rgba(255,255,255,0.11);
}

.offer-card:nth-child(4n+4){
  background: rgba(255,255,255,0.14);
}

.offer-card:hover{
  background: rgba(var(--secondary-rgb), 0.18);
}

.strip--dark{
  background: linear-gradient(
    135deg,
    #1f2f5a,
    #22366c,
    #2a4280
  );
}
.section--pricing {
  padding: 2.25rem 0 !important;
}
/* ======================
   ZESPÓŁ
   ====================== */

.section--team{
  background: #f7f9fc;
  padding: 4rem 0;
  text-align: center;
}

/* ważne: treść nad blobami */
.section--team > .container{
  position: relative;
  z-index: 1;
}

.team__title{
  margin-bottom: .75rem;
  text-align: center;
  position: relative;
}

.team__title::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0; 
  border-radius: 4px;
}

.team__lead{
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
  color: rgba(34,54,108,.8);
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card{
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem;
  text-align: center;
  text-decoration: none;
  color: var(--primary);

  border: 1px solid rgba(34,54,108,.08);
  box-shadow: 0 18px 45px rgba(34,54,108,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


.team-card:hover{
  transform: translateY(-4px);
  border-color: rgba(var(--secondary-rgb), .35);
  box-shadow: 0 22px 55px rgba(34,54,108,.12);
}
.team-card h3{
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}

.team-card p{
  margin: 0;
  font-weight: 400;
  color: rgba(34,54,108,.75);
}

.team-card:hover{
  transform: translateY(-4px);
  border-color: rgba(var(--secondary-rgb), 0.4);
  box-shadow: 0 18px 40px rgba(34,54,108,.12);
}

.team__cta{
  text-align: center;
  margin-top: 3rem;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px){
  .team-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .team-grid{
    grid-template-columns: 1fr;
  }
}
/* ======================
   CENNIK SEKCJA
   ====================== */

.section--pricing{
  background: #ffffff;
  padding: 6rem 0;
}

.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pricing-copy .btn{
  margin-top: 0.5rem;
}
.pricing-copy h2{
  margin-bottom: 1.25rem;
}
.pricing-copy h2::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin-top: 12px;
  border-radius: 4px;

}
@media (max-width: 900px){ 
.pricing-copy h2::after{ 
  margin: 12px auto 0;
}
}
.pricing-copy p{
  margin-bottom: 1rem;
  color: rgba(34,54,108,.85);
  max-width: 55ch;
}

.pricing-image img{
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(34,54,108,.15);
    transform: translateY(10px);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px){
  .pricing-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-copy{
    text-align: center;
  }

  .pricing-copy p{
    margin-left: auto;
    margin-right: auto;
  }
}



a.menu__link.btn.btn-primary.header-phone.hide-on-desktop {
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    padding-right: 1.5rem;
}

.menu_contact {
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: initial;
    text-align: center;
    gap: 1rem;
    margin-top: 1rem;
}

.menu_contact a{ 
  text-decoration: none;
  color: var(--text);
}

.menu_contact p{ 
  padding: 0;
    margin: 0;
}


.menu_contact .social {
  background-color: var(--primary);
}

.book {
  font-weight: 500;
}


/* ======================
   CENNIK – PODSTRONA
   ====================== */

.hero--inner { padding: 2.25rem 0 1.25rem; }
.hero__grid--inner { align-items: anchor-center; }
.hero__media--card { display: flex; align-items: stretch; }
.price-note h3 { margin-bottom: .75rem; }
.price-note p { margin: 0 0 1rem; }
.price-note__row{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.65rem 0;
  border-top:1px solid rgba(34,54,108,.08);
  font-size:.95rem;
}
.price-note__label{ color: rgba(34,54,108,.75); font-weight: 600; }
.price-note__value{ color: var(--primary); font-weight: 700; text-decoration: none; }

.section--pricing-page{
  background: #ffffff;
  padding: 3.5rem 0;
}

.section-title{
  text-align: center;
  position: relative;
  margin-bottom: .75rem;
}
.section-title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:var(--secondary);
  border-radius:4px;
  margin:12px auto 0;
}
.section-lead{
  text-align:center;
  max-width: 70ch;
  margin: 0 auto 2rem;
  color: rgba(34,54,108,.85);
}

/* Accordion */
.pricing-accordion{
  display:grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pricing-details{
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(34,54,108,.10);
  box-shadow: 0 18px 45px rgba(34,54,108,.08);
  overflow: hidden;
}

.pricing-summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding: 1.25rem 1.25rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .02em;
}

.pricing-summary::-webkit-details-marker { display:none; }

.pricing-summary__title{
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.pricing-summary__meta{
  font-size: .85rem;
  font-weight: 700;
  color: rgba(34,54,108,.65);
  background: rgba(34,54,108,.06);
  padding: .25rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-panel{
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(34,54,108,.08);
}

.price-list{
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: .65rem;
}

.price-list li{
  display:flex;
  justify-content:space-between;
  gap: 1rem;
  padding: .55rem .75rem;
  border-radius: 12px;
  background: rgba(34,54,108,.03);
}

.price-list li strong{
  white-space: nowrap;
  color: var(--primary);
}

.price-list__group{
  background: rgba(var(--secondary-rgb), .10) !important;
  font-weight: 800;
}

.price-list__sub{
  background: rgba(34,54,108,.02) !important;
}
.price-list__sub span{
  padding-left: .35rem;
}

/* CTA */
.pricing-cta{
  margin-top: 2rem;
}
.pricing-cta__card{
  text-align: center;
  padding: 2rem;
}
.pricing-cta__card h3{
  margin-bottom: .75rem;
}
.pricing-cta__buttons{
  margin-top: 1.25rem;
  display:flex;
  gap:.75rem;
  justify-content:center;
  flex-wrap: wrap;
}

/* Animacja “open” */
.pricing-details[open] .pricing-summary{
  background: linear-gradient(135deg, rgba(34,54,108,.04), rgba(var(--secondary-rgb), .08));
}

/* Mobile */
@media (max-width: 900px){
  .hero__grid--inner{ grid-template-columns: 1fr; }
  .hero__media--card{ margin-top: .75rem; }
  .pricing-summary{ padding: 1.05rem 1rem; }
  .pricing-panel{ padding: 0 1rem 1rem; }
}

@media (max-width: 600px){
  .price-list li{
    flex-direction: column;
    align-items: flex-start;
  }
  .price-list li strong{
    align-self: flex-end;
  }
  .pricing-cta__card{ padding: 1.5rem; }
  .pricing-cta__buttons .btn{ width: 100%; }
}

.hero__media--image img{
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(34,54,108,.15);
  display: block;
}

/* Mobile: trochę niższe */
@media (max-width: 600px){
  .hero__media--image img{
    max-height: 280px;
  }
}

/* ======================
   ZESPÓŁ – PODSTRONA
   ====================== */

.hero--team{
  padding: 2.25rem 0 1.25rem;
}

.hero__grid--team{
  align-items: stretch;
}

/* prawa karta w hero (zamiast zdjęć zespołu) */
.team-hero-card{
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(34,54,108,.08);
  box-shadow: 0 30px 60px rgba(34,54,108,.12);
  padding: 1.75rem;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.team-hero-card__title{
  margin: 0 0 .5rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.35rem;
}

.team-hero-card__text{
  margin: 0 0 1.25rem;
  color: rgba(34,54,108,.85);
  line-height: 1.6;
}

.team-hero-badges{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.team-badge{
  display:inline-flex;
  align-items:center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(var(--secondary-rgb), 0.14);
  border: 1px solid rgba(var(--secondary-rgb), 0.30);
}

/* sekcja listy */
.section--team-page{
  background: #f7f9fc;;
  padding: 3.5rem 0;
}

.team-page-grid{
  display: grid;
  gap: 1.6rem;
}

/* karty profili */
.team-profile{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.75rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(34,54,108,.08);
  box-shadow: 0 18px 45px rgba(34,54,108,.08);
  padding: 1.75rem;
}

.team-profile__content h2{
  margin: 0 0 .45rem;
}

.team-profile__role{
  margin: 0 0 1rem;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.team-profile__content p{
  margin: 0 0 .9rem;
  color: rgba(34,54,108,.85);
  line-height: 1.65;
}

/* placeholder “avatar” bez zdjęć */
.team-avatar{
  width: 160px;
  height: 200px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(34,54,108,.10), rgba(var(--secondary-rgb), .14));
  border: 1px solid rgba(34,54,108,.10);
  position: relative;
  overflow: hidden;
}

.team-avatar::before{
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  color: rgba(34,54,108,.55);
  letter-spacing: .08em;
}

.team-avatar::after{
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -160px;
  background: rgba(255,255,255,.35);
  border-radius: 999px;
}

/* responsywność */
@media (max-width: 900px){
  .hero__grid--team{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-hero-badges{
    justify-content: center;
  }

  .team-profile{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-avatar{
    margin: 0 auto;
    width: 200px;
    height: 220px;
  }
}

/* ======================
   HERO ZDJĘCIE – ZESPÓŁ
   ====================== */

.hero__media--team-image{
  display:flex;
  align-items:stretch;
}

.hero__media--team-image img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 30px 60px rgba(34,54,108,.15);
  display:block;
}

/* mobile */
@media (max-width:900px){
  .hero__media--team-image img{
    max-height:320px;
  }
}

/* ======================
   OFERTA – PODSTRONA
   ====================== */

.hero__media--offer-image img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 30px 60px rgba(34,54,108,.15);
  display:block;
}

/* TOC (spis treści) */
.section--offer-toc{
  background:#ffffff;
  padding: 2.75rem 0 2rem;
}

.offer-page__title{
  text-align:center;
  margin-bottom: 1.5rem !important;
  position: relative;
}

.offer-page__title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 4px;
}

.offer-toc-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* ======================
   OFERTA – TOC (ciemny gradient, bez zmiany HTML)
   ====================== */

.section--offer-toc{
  background: linear-gradient(
    135deg,
    rgb(31, 47, 90),
    rgb(34, 54, 108),
    rgb(42, 66, 128)
  );
}

/* tytuł na ciemnym tle */
.section--offer-toc .offer-page__title{
  color: var(--on-dark);
}

.section--offer-toc .offer-page__title::after{
  background: var(--secondary);
}

.section--offer-toc .offer-toc-card{
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 64px;
  padding: 1.05rem 1.1rem;

  border-radius: 18px;
  text-decoration: none;
  text-align: center;

  color: var(--on-dark);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);

  box-shadow: none;
  transition-property: transform, background, border-color, box-shadow;
  transition-duration: .25s;
  transition-timing-function: ease;
}

.section--offer-toc .offer-toc-card:nth-child(4n+1){ background: rgba(255,255,255,0.06); }
.section--offer-toc .offer-toc-card:nth-child(4n+2){ background: rgba(255,255,255,0.08); }
.section--offer-toc .offer-toc-card:nth-child(4n+3){ background: rgba(255,255,255,0.10); }
.section--offer-toc .offer-toc-card:nth-child(4n+4){ background: rgba(255,255,255,0.12); }

.section--offer-toc .offer-toc-card:hover{
  transform: translateY(-4px);
  background: rgba(var(--secondary-rgb), 0.18);
  border-color: rgba(var(--secondary-rgb), 0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.section--offer-toc .offer-toc-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.35);
}

@media (max-width: 600px){
  .section--offer-toc .offer-toc-card{
    min-height: 56px;
    padding: 1rem 1rem;
    font-size: 1rem;
  }
}
/* content */
.section--offer-content{
  background:#f7f9fc;
  padding: 3.25rem 0;
}

.offer-content{
  display:grid;
  gap: 1.25rem;
}

.offer-section{
  background:#fff;
  border-radius: 20px;
  padding: 1.75rem 1.75rem;
  border: 1px solid rgba(34,54,108,.08);
  box-shadow: 0 18px 45px rgba(34,54,108,.08);
  scroll-margin-top: 110px; /* sticky header */
}

.offer-section h2{
  margin-bottom: 1rem;
}

.offer-section h2::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background: var(--secondary);
  margin-top: 12px;
  border-radius: 4px;
}

.offer-section p{
  color: rgba(34,54,108,.85);
  line-height: 1.7;
}

.offer-list{
  margin: .75rem 0 0;
  padding-left: 1.1rem;
  color: rgba(34,54,108,.85);
  line-height: 1.7;
}

.offer-sublist{
  margin: .5rem 0 .75rem;
  padding-left: 1.1rem;
  color: rgba(34,54,108,.85);
  line-height: 1.7;
}

.offer-steps{
  margin: .75rem 0 0;
  padding-left: 1.2rem;
  color: rgba(34,54,108,.85);
  line-height: 1.7;
}

.offer-note{
  background: rgba(var(--secondary-rgb), .12);
  border: 1px solid rgba(var(--secondary-rgb), .25);
  padding: 1rem 1rem;
  border-radius: 16px;
}

.offer-bottom-cta{
  display:flex;
  justify-content:center;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 900px){
  .offer-toc-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-section{
    padding: 1.35rem;
  }
}

@media (max-width: 600px){
  .offer-toc-grid{
    grid-template-columns: 1fr;
  }
  .hero__media--offer-image img{
    max-height: 280px;
  }
}