@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --green-dark: #2d6a4f;
  --green-main: #40916c;
  --green-mid: #52b788;
  --green-light: #b7e4c7;
  --green-pale: #d8f3dc;
  --gray-dark: #2d3436;
  --gray-mid: #636e72;
  --gray-light: #b2bec3;
  --gray-pale: #f0f2f5;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(45,106,79,0.12);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Ubuntu', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--green-main); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--green-pale);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(45,106,79,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
}

.logo svg { width: 36px; height: 36px; }

.logo span { color: var(--gray-dark); font-weight: 300; font-size: 14px; display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--green-main);
  border-bottom-color: var(--green-main);
}

.nav-cta {
  background: var(--green-main);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--green-dark); color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: all 0.3s;
}

/* ── SLIDER ── */
.slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--gray-dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.slide.active { opacity: 1; }

.slide-1 { background-image: linear-gradient(135deg, rgba(45,106,79,0.82) 0%, rgba(45,106,79,0.55) 100%), url('../img/slide1.jpg'); background-color: #2d6a4f; }
.slide-2 { background-image: linear-gradient(135deg, rgba(29,42,52,0.82) 0%, rgba(45,106,79,0.6) 100%), url('../img/slide1.jpg'); background-color: #1d2a34; }
.slide-3 { background-image: linear-gradient(135deg, rgba(64,145,108,0.78) 0%, rgba(29,42,52,0.75) 100%), url('../img/slide1.jpg'); background-color: #40916c; }

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.slide-content-inner { max-width: 780px; }

.slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.slide-content h1, .slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
}
.btn-white:hover { background: var(--green-pale); color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.btn-green {
  background: var(--green-main);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}

.dot.active { background: #fff; width: 28px; border-radius: 5px; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.slider-btn:hover { background: rgba(255,255,255,0.35); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green-dark);
  padding: 1rem 1.5rem;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
}

.trust-item svg { color: var(--green-light); width: 18px; height: 18px; }

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-gray { background: var(--gray-pale); }
.section-green { background: var(--green-pale); }

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  color: var(--green-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 620px;
  margin: 0 auto;
}

/* ── KURSY GRID ── */
.szkolenia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.szkolenie-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-pale);
  padding: 1.75rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.szkolenie-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--green-mid));
}

.szkolenie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}

.szkolenie-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--green-main);
}

.szkolenie-icon svg { width: 26px; height: 26px; }

.szkolenie-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.szkolenie-card p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.szkolenie-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-main);
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s;
}

.szkolenie-link:hover { gap: 10px; color: var(--green-dark); }

/* ── MIASTA ── */
.miasta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.miasto-card {
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.miasto-card:hover {
  background: var(--green-pale);
  border-color: var(--green-light);
  transform: translateY(-2px);
}

.miasto-card svg {
  width: 24px;
  height: 24px;
  color: var(--green-main);
  margin: 0 auto 8px;
}

.miasto-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 2px;
}

.miasto-card span {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

/* ── DLACZEGO MY ── */
.dlaczego-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.dlaczego-list { list-style: none; }

.dlaczego-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.dlaczego-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-main);
}

.dlaczego-icon svg { width: 22px; height: 22px; }

.dlaczego-list h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 2px;
}

.dlaczego-list p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.dlaczego-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: stretch;
  min-height: 300px;
}

.dlaczego-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}


/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── KONTAKT ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.kontakt-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.kontakt-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.kontakt-item svg {
  width: 20px;
  height: 20px;
  color: var(--green-main);
  margin-top: 3px;
  flex-shrink: 0;
}

.kontakt-item p { font-size: 0.9rem; color: var(--gray-mid); }
.kontakt-item strong { display: block; color: var(--gray-dark); font-size: 0.95rem; }

.kontakt-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-mid);
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.1);
}

.form-group textarea { height: 100px; resize: vertical; }

/* ── FOOTER ── */
footer {
  background: var(--gray-dark);
  padding: 3rem 1.5rem 1.5rem;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--gray-pale);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--green-pale);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray-mid);
}

.breadcrumb a { color: var(--green-main); }

/* ── SUBPAGE HERO ── */
.subpage-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  color: #fff;
}

.subpage-hero .hero-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.subpage-hero .hero-icon svg { width: 38px; height: 38px; color: #fff; }

.subpage-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.subpage-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

/* ── CONTENT ── */
.content-block { max-width: 860px; margin: 0 auto; }

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-pale);
}

.content-block p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.content-block ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.93rem;
  color: #444;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 14px;
  background: var(--green-pale);
  border: 2px solid var(--green-main);
  border-radius: 50%;
}

.info-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box p { margin: 0; font-size: 0.9rem; color: var(--green-dark); }

.miasta-seo {
  background: var(--gray-pale);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.miasta-seo h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}

.miasta-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.miasto-tag {
  background: var(--white);
  border: 1px solid var(--green-light);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .dlaczego-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .dlaczego-photo-wrap { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 1rem 1.5rem 2rem; border-bottom: 1px solid var(--green-pale); box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 0.75rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .slider { height: 380px; }
  .slider-btn { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
}
