:root {
  --blue:  #1B4FD8;
  --blue2: #2563EB;
  --blue3: #3B82F6;
  --dark:  #0A0E1A;
  --dark2: #111827;
  --dark3: #1F2937;
  --white: #FFFFFF;
  --gray:  #9CA3AF;
  --light: #F3F6FF;
  --accent:#60A5FA;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.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;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 70px;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37,99,235,0.25);
  transition: background .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(10,14,26,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.5rem; letter-spacing: .06em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--blue3); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray);
  text-decoration: none; transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--blue3);
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--blue); color: var(--white);
  padding: .55rem 1.4rem; border-radius: 4px;
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue2); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 101;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6% 60px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(.22) saturate(1.4);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,26,0.96) 45%, transparent 90%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.4);
  color: var(--blue3); border-radius: 99px;
  padding: .35rem 1rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.6rem;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue3); border-radius: 50%;
}
h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900; line-height: .95; letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
h1 em { color: var(--blue3); font-style: normal; display: block; }
.hero-sub {
  font-size: 1.05rem; font-weight: 400; color: var(--gray);
  max-width: 420px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: var(--white);
  padding: .9rem 2.2rem; border-radius: 5px;
  font-weight: 700; font-size: .95rem; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.2); color: var(--white);
  padding: .9rem 2.2rem; border-radius: 5px;
  font-weight: 600; font-size: .95rem; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
  transition: border-color .2s, transform .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--blue3); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08);
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 900; color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--blue3); }
.stat-label {
  font-size: .78rem; color: var(--gray); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem;
}
.hero-image-side {
  position: relative; z-index: 2;
  display: flex; justify-content: flex-end; align-items: center;
}
.hero-card {
  width: 90%; max-width: 520px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.hero-card img { width: 100%; height: 340px; object-fit: cover; display: block; }
.hero-card-footer {
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hcf-icon {
  width: 42px; height: 42px; background: var(--blue);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.hcf-text p:first-child { font-size: .75rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.hcf-text p:last-child { font-weight: 600; font-size: .95rem; }

/* ── SECTION COMMONS ── */
section { padding: 100px 6%; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue3);
  margin-bottom: .8rem;
}
h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; text-transform: uppercase; line-height: 1.05;
  margin-bottom: 1rem;
}
.section-desc { color: var(--gray); max-width: 500px; line-height: 1.75; font-size: 1rem; }

/* ── DIVIDER ── */
.stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue3), transparent);
}

/* ── OFERTA ── */
#oferta { background: var(--dark2); }
.oferta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.oferta-card {
  background: var(--dark3); border-radius: 12px;
  padding: 2rem 1.8rem; border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.oferta-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.oferta-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  opacity: 0; transition: opacity .25s;
}
.oferta-card:hover::before { opacity: 1; }
.card-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem; font-weight: 900; color: var(--blue3);
  line-height: 1; letter-spacing: -.02em; margin-bottom: .6rem;
}
.card-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .7rem; }
.card-desc { font-size: .88rem; color: var(--gray); line-height: 1.65; margin-bottom: 1.4rem; }
.card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 900;
}
.card-price small { font-size: .85rem; font-weight: 400; color: var(--gray); }

/* ── DLACZEGO MY ── */
#dlaczego { background: var(--dark); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.why-image { position: relative; }
.why-image img {
  width: 100%; border-radius: 16px; display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  aspect-ratio: 4/3; object-fit: cover;
}
.why-image-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue); border-radius: 12px;
  padding: 1.4rem 1.8rem; text-align: center;
}
.why-image-badge strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem; font-weight: 900; display: block; line-height: 1;
}
.why-image-badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.why-list { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.3);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.why-item-title { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.why-item-desc { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* ── INSTRUKTORZY ── */
#instruktorzy { background: var(--dark2); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 300px));
  gap: 1.5rem; margin-top: 3.5rem; justify-content: center;
}
.team-card {
  border-radius: 14px; overflow: hidden;
  background: var(--dark3); border: 1px solid rgba(255,255,255,.07);
  transition: transform .25s;
}
.team-card:hover { transform: translateY(-5px); }
.team-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.team-info { padding: 1.3rem 1.5rem; }
.team-info h3 { font-weight: 700; font-size: 1.05rem; }
.team-info p { font-size: .82rem; color: var(--blue3); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-top: .2rem; }
.team-cats { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
.team-cats span {
  background: rgba(37,99,235,.18); color: var(--blue3);
  font-size: .72rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: 4px; letter-spacing: .06em;
}

/* ── OPINIE ── */
#opinie { background: var(--dark); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.review-card {
  background: var(--dark3); border-radius: 12px;
  padding: 1.8rem; border: 1px solid rgba(255,255,255,.07);
}
.review-stars { color: #FBBF24; font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.review-text { font-size: .92rem; color: #D1D5DB; line-height: 1.7; margin-bottom: 1.3rem; }
.review-author { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--gray); margin-top: .15rem; }

/* ── KONTAKT ── */
#kontakt { background: var(--dark2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--blue); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.c-label { font-size: .75rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.c-val { font-weight: 600; font-size: 1rem; margin-top: .15rem; }
.c-val a { color: var(--white); text-decoration: none; transition: color .2s; }
.c-val a:hover { color: var(--blue3); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--dark3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px; padding: .9rem 1.1rem;
  color: var(--white); font-family: inherit; font-size: .9rem;
  outline: none; transition: border-color .2s; width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--blue3); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form select option { background: var(--dark3); color: var(--white); }
.form-consent {
  font-size: .8rem; color: var(--gray); line-height: 1.5;
}
.form-consent label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.form-consent input[type="checkbox"] { margin-top: .2rem; accent-color: var(--blue3); }
.form-consent a { color: var(--blue3); }
.contact-form button {
  background: var(--blue); color: var(--white);
  border: none; border-radius: 7px; padding: 1rem;
  font-size: .95rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s, transform .15s;
}
.contact-form button:hover { background: var(--blue2); transform: translateY(-1px); }
.contact-form button:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-message {
  padding: .8rem 1rem; border-radius: 7px;
  font-size: .9rem; display: none;
}
.form-message.success { display: block; background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.3); }
.form-message.error { display: block; background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }

/* ── MAP ── */
.map-wrap {
  width: 100%; height: 340px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); margin-top: 4rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: invert(.9) hue-rotate(190deg) saturate(1.2); }

/* ── FOOTER ── */
footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.07);
  padding: 3rem 6%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.foot-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.3rem; }
.foot-logo span { color: var(--blue3); }
.foot-sub { font-weight: 300; font-size: .9rem; color: var(--gray); }
footer p { font-size: .82rem; color: var(--gray); }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { font-size: .82rem; color: var(--gray); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--white); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; padding-bottom: 60px; }
  .hero-image-side { display: none; }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: center; justify-content: center;
    background: rgba(10,14,26,.98); gap: 2rem;
    transform: translateX(100%); transition: transform .3s ease;
    padding: 2rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  section { padding: 60px 5%; }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .why-image-badge { bottom: -10px; right: -10px; padding: 1rem 1.2rem; }
  .why-image-badge strong { font-size: 2rem; }
  footer { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
}

@media (max-width: 480px) {
  nav { padding: 0 4%; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .oferta-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ── PRINT ── */
@media print {
  nav, .stripe, .map-wrap, .contact-form, .hero-btns { display: none; }
  body { color: #000; background: #fff; }
  section { padding: 20px 0; }
}
