:root{
  --bg: #f8f6f2;
  --bg-alt: #efe9df;
  --text: #1f1a17;
  --muted: #6d6258;
  --line: #ddd2c6;
  --primary: #7a4f2a;
  --primary-dark: #5f3d20;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(29, 21, 14, 0.10);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img{
  max-width: 100%;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:82px;
}

.header-menu-wrap{
  padding-bottom: 12px;
}

.header-cta{
  flex:0 0 auto;
}
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(248, 246, 242, 0.88);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.brand-text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong{
  font-size: 1rem;
}

.brand-text span{
  color: var(--muted);
  font-size: .9rem;
}

.menu{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex:1;
}

.menu a{
  color: var(--muted);
  font-size: .96rem;
}

.menu a:hover{
  color: var(--text);
}

.hero{
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,15,12,.78) 0%, rgba(20,15,12,.55) 45%, rgba(20,15,12,.25) 100%);
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  padding: 88px 0;
  max-width: 760px;
}

.hero-kicker{
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .95rem;
}

.hero h1{
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-text{
  font-size: 1.1rem;
  max-width: 680px;
  color: rgba(255,255,255,.92);
  margin: 0 0 28px;
}

.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: .2s ease;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover{
  background: var(--primary-dark);
}

.btn-light{
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.btn-light:hover{
  background: rgba(255,255,255,.24);
}

.btn-outline{
  border-color: var(--line);
  color: var(--text) !important;
  background: rgba(255,255,255,.7);
}

.btn-outline:hover{
  background: #fff;
}

.btn-large{
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}

.intro-cards{
  margin-top: -56px;
  position: relative;
  z-index: 3;
}

.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  background: rgba(255,255,255,.99);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p{
  margin: 0;
  color: var(--muted);
}

.section{
  padding: 90px 0;
}

.section-alt{
  background: var(--bg-alt);
}

.section-label{
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.center{
  text-align: center;
}

.section h2{
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.14;
}

.section-intro{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.two-col{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 38px;
  align-items: start;
}

.highlight-box{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.highlight-box h3{
  margin-top: 0;
}

.highlight-box ul{
  margin: 0;
  padding-left: 20px;
}

.instrument-grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.instrument-item{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

.steps{
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step{
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-number{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3{
  margin: 0 0 10px;
}

.step p{
  margin: 0;
  color: var(--muted);
}

.video-wrap{
  max-width: 980px;
  margin: 34px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap iframe{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cta-section{
  padding: 0 0 90px;
}

.cta-box{
  background: linear-gradient(135deg, #fff 0%, #f4ede2 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-box h2{
  margin: 0 0 12px;
}

.cta-box p{
  margin: 0;
  color: var(--muted);
}

.site-footer{
  background: #1f1a17;
  color: rgba(255,255,255,.9);
  padding: 58px 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 28px;
}

.site-footer h3,
.site-footer h4{
  margin-top: 0;
}

.site-footer p,
.site-footer a{
  color: rgba(255,255,255,.72);
}

.site-footer a:hover{
  color: #fff;
}

.mobile-cta{
  display:none;
}
.docs-box{
  margin-top:40px;
  padding:32px;
  background:#f6f2ed;
  border-radius:18px;
}

.docs-box h3{
  margin-bottom:10px;
}

.docs-intro{
  color:var(--muted);
  margin-bottom:18px;
}

.docs-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.info-grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.info-card h3{
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.info-card p{
  margin: 0 0 12px;
  color: var(--muted);
}

.info-card p:last-child{
  margin-bottom: 0;
}

.info-card-wide{
  grid-column: 1 / -1;
}

.info-list{
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-list li + li{
  margin-top: 8px;
}

.inline-doc-link{
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
}

.inline-doc-link:hover{
  opacity: .8;
}

.term-grid{
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.term-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  text-align:center;
  box-shadow:var(--shadow);
}

.term-date{
  font-weight:700;
  color:var(--primary);
  margin-bottom:8px;
  font-size:1.1rem;
}

.term-card h3{
  margin:6px 0 10px;
}

.term-card p{
  margin:0;
  color:var(--muted);
}

.rekrutacja-banner{
  background: var(--primary);
  color:#fff;
  font-size:.95rem;

  transform: translateY(-100%);
  opacity:0;
  transition: all .35s ease;

  position:relative;
  z-index:2000;
}

.rekrutacja-banner.visible{
  transform: translateY(0);
  opacity:1;
}

.banner-inner{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}

.banner-btn{
  background:#fff;
  color:var(--primary);
  padding:6px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem;
}

.banner-btn:hover{
  opacity:.9;
}
.banner-urgent{
  background:#b42318;
}
.info-list{
  margin:10px 0 14px;
  padding-left:20px;
}

.info-list li{
  margin-bottom:6px;
}



@media (max-width:900px){
  .term-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 1100px){
  .instrument-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px){
 .header-top{
    flex-wrap:wrap;
    gap:12px;
  }

  .brand{
    justify-content: center;
  }

  .header-menu-wrap{
    padding: 0 0 14px;
  }

.menu{
    order:3;
    width:100%;
    justify-content:center;
    margin-top:6px;

  .cards-grid,
  .two-col,
  .steps,
  .footer-grid,
  .cta-box{
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box{
    text-align: left;
  }

  .intro-cards{
    margin-top: -32px;
  }

  .info-grid{
    grid-template-columns: 1fr !important;
  }

  .info-card,
  .info-card-wide{
    grid-column: auto !important;
  }
}

@media (max-width: 680px){
  .site-header{
    position: relative;
  }

  .header-top{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 14px 0 8px;
    text-align: left;
  }

  .brand{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .brand-logo{
    width: 40px;
    height: 40px;
  }

  .brand-text span{
    display: none;
  }

  .header-cta{
    min-height: 40px;
    padding: 8px 14px;
  }

  .menu{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
  }

  .hero{
    min-height: 52vh;
  }

  .hero-content{
    padding: 48px 0;
  }

  .hero h1{
    font-size: 1.9rem;
  }

  .hero-text{
    font-size: 0.95rem;
  }

  .hero-overlay{
    background:
      linear-gradient(
        90deg,
        rgba(20,15,12,.85) 0%,
        rgba(20,15,12,.65) 60%,
        rgba(20,15,12,.35) 100%
      );
  }

  .instrument-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery{
    grid-template-columns: 1fr;
  }

  .section{
    padding: 72px 0;
  }

  .card,
  .step,
  .highlight-box{
    padding: 22px;
  }

  .cta-box{
    padding: 26px;
  }

  .mobile-cta{
    display: none;
    opacity: 0;
    transition: opacity .25s ease;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
  }

  .mobile-cta:hover{
    background: var(--primary-dark);
  }

  .banner-inner{
    flex-direction: column;
    gap: 6px;
    padding: 6px 0;
    text-align: center;
  }

  .info-card{
    padding: 20px;
  }

  .info-card h3{
    font-size: 1.08rem;
  }
}

@media (max-width: 480px){
  .container{
    width: min(var(--container), calc(100% - 24px));
  }

  .menu{
    gap: 10px;
  }

  .instrument-grid{
    grid-template-columns: 1fr;
  }

  .btn{
    width: 100%;
  }

  .hero-buttons{
    flex-direction: column;
  }

  .brand-logo{
    width: 38px;
    height: 38px;
  }

  .header-cta{
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: auto;
  }

  .mobile-cta{
    display: none;
    opacity: 0;
    transition: opacity .25s ease;
    width: calc(100% - 24px);
    justify-content: center;
    bottom: 12px;
    padding: 14px 18px;
  }

  .mobile-cta.visible{
    display: flex;
    opacity: 1;
  }
}