/* ============================================
   RAMUS Zaslepka – Main Stylesheet
   1:1 z Figma designem
   Navy #232D4B, Green #81BD51, Mint #D2E5E1
   ============================================ */

:root {
  --navy: #232D4B;
  --navy-dark: #1a2238;
  --green: #81BD51;
  --green-dark: #6ea842;
  --green-light: #E8F5E3;
  --mint: #D2E5E1;
  --bg: #F5F6FA;
  --white: #FFFFFF;
  --gray-100: #f5f5f5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #ADB5BD;
  --text: #232D4B;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(35,45,75,0.08);
  --shadow-md: 0 4px 16px rgba(35,45,75,0.12);
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 130px; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }

.section-title { text-align: center; font-size: 36px; font-weight: 700; margin-bottom: 48px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
  font-family: inherit; text-align: center;
}
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129,189,81,0.3); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(35,45,75,0.3); }
.btn--outline { background: transparent; border: 2px solid var(--green); color: var(--navy); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--outline-navy { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 16px 40px; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--green { background: var(--green); color: #fff; border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129,189,81,0.3); }

/* ============================================================
   Utility Bar
   ============================================================ */
.utility-bar {
  background: var(--navy); height: 40px;
  display: flex; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.85);
  position: fixed; top: 0; left: 0; width: 100%; z-index: 101;
}
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 40px; }
.utility-bar__left a, .utility-bar__right a { color: #fff; }
.utility-bar__left a:hover, .utility-bar__right a:hover { color: var(--green); }
.utility-bar__right { display: flex; align-items: center; gap: 4px; }
.utility-bar__right svg { width: 12px; height: 12px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  background: #fff; height: 72px;
  position: fixed; top: 40px; left: 0; width: 100%; z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 32px; }
.nav__menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__item a { font-size: 14px; font-weight: 400; color: var(--navy); transition: color 0.2s; }
.nav__item a:hover { color: var(--green); }
.nav__item--active a { text-decoration: underline; text-underline-offset: 4px; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.nav__toggle svg { width: 20px; height: 20px; color: var(--navy); }
.nav__cta {
  background: var(--green); color: #fff; padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 600; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__cta:hover { background: var(--green-dark); box-shadow: 0 8px 24px rgba(129,189,81,0.3); }
/* Zespół dropdown */
.nav__item--dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s;
}
.nav__item--dropdown:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--navy);
  transition: background 0.2s;
}
.nav__dropdown a:hover { background: var(--gray-100); color: var(--green); }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav__hamburger span { display: block; width: 100%; height: 2px; background: var(--navy); position: absolute; left: 0; transition: all 0.3s; }
.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 9px; }
.nav__hamburger span:nth-child(3) { top: 18px; }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

body { padding-top: 112px; }

/* ============================================================
   Hero – overlapping layout per Figma (white bg, circles)
   ============================================================ */
.hero {
  background: #fff;
  padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
/* BIG mint-striped circle — left side, diagonal stripes, partially off-screen */
.hero__big-circle {
  position: absolute;
  left: -180px;
  top: -80px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    -15deg,
    var(--mint) 0px, var(--mint) 18px,
    transparent 18px, transparent 34px
  );
}
/* Small green-striped circle — overlaps big circle, diagonal thin stripes */
.hero__small-circle-green {
  position: absolute;
  left: 260px;
  bottom: 50px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    -45deg,
    var(--green) 0px, var(--green) 3px,
    transparent 3px, transparent 7px
  );
}
/* Small navy-striped circle — overlapping photo bottom-left, mirrored stripes */
.hero__small-circle-navy {
  position: absolute;
  left: -15px;
  bottom: -10px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    -45deg,
    var(--navy) 0px, var(--navy) 3px,
    transparent 3px, transparent 7px
  );
}
.hero__layout {
  position: relative;
  min-height: 420px;
}
.hero__content {
  text-align: center;
  position: relative; z-index: 2;
}
.hero__title {
  font-size: 80px; font-weight: 800; line-height: 1.05;
  margin-bottom: 20px; letter-spacing: -1px;
  color: var(--green);
}
.hero__tag {
  display: inline-block; background: var(--mint); color: var(--navy);
  padding: 10px 32px; border-radius: 24px; font-size: 16px; font-weight: 500;
  margin-bottom: 24px;
}
.hero__desc {
  font-size: 16px; line-height: 1.7; color: var(--text-light);
  margin-bottom: 12px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero__desc strong { color: var(--text); font-weight: 600; }
.hero__bottom {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-top: 8px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-light);
}
.hero__badge-icon { width: 36px; height: 36px; flex-shrink: 0; }
.hero__badge-icon img { width: 100%; height: 100%; object-fit: contain; }
.hero__actions { display: flex; align-items: center; gap: 16px; }
/* Photo wrapper – positioned right, aligned with desc/CTA (not title) */
.hero__photo-wrap {
  position: absolute; right: 0; top: 60%;
  transform: translateY(-50%);
  z-index: 1;
}
.hero__photo {
  width: 320px; height: 320px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 12px 40px rgba(35,45,75,0.15);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-placeholder {
  width: 100%; height: 100%;
  background: var(--gray-200); border-radius: 50%;
}

/* ============================================================
   Path Chooser (Wybierz ścieżkę kształcenia)
   ============================================================ */
.path-chooser { padding: 72px 0; }
.path-chooser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-chooser__card {
  background: var(--gray-100); border: none;
  border-radius: var(--radius-lg); padding: 36px 32px;
}
.path-chooser__card-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.path-chooser__card-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.path-chooser__label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.path-chooser__btns { display: flex; flex-direction: column; gap: 10px; }
.path-chooser__btns .btn { padding: 12px 20px; font-size: 14px; font-weight: 500; }

/* ============================================================
   Features (Dlaczego warto)
   ============================================================ */
.features { padding: 72px 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.features__card { text-align: center; padding: 20px; position: relative; }
.features__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.features__icon img { width: 48px; height: 48px; object-fit: contain; }
.features__icon svg { width: 48px; height: 48px; }
.features__card-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.features__card-desc { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ============================================================
   About (Kim jesteśmy) – Navy solid bg, 2-column
   ============================================================ */
.about {
  background: var(--navy); padding: 120px 0 80px;
  color: #fff; position: relative; overflow: hidden;
  border-radius: 50% 50% 0 0 / 100px 100px 0 0;
}
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about__image { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about__image img { width: 100%; height: 500px; object-fit: cover; }
.about__image-placeholder {
  width: 100%; height: 500px; background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
.about__image-buttons {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; gap: 12px;
}
.about__image-buttons .btn {
  background: rgba(255,255,255,0.95); color: var(--navy); border-color: rgba(255,255,255,0.95);
  font-weight: 600; backdrop-filter: blur(4px);
}
.about__image-buttons .btn:hover {
  background: #fff; border-color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.about__content {}
.about__title { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.about__text { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.about__text p { margin-bottom: 12px; }
/* Polish badge / credentials box – WHITE bg per Figma */
.about__credentials {
  background: #fff; border-radius: var(--radius);
  padding: 20px; margin-bottom: 28px; color: var(--navy);
}
.about__credentials-title {
  font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 10px;
}
.about__credentials-body {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 12px; color: var(--text-light); line-height: 1.5;
}
.about__credentials-icon { width: 32px; height: 32px; flex-shrink: 0; }
.about__credentials-icon img { width: 100%; height: 100%; object-fit: contain; }
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.about__actions .btn { padding: 12px 28px; font-size: 14px; }
.about__more { display: block; margin-top: 16px; }

/* ============================================================
   Education Forms (Formy kształcenia)
   ============================================================ */
.education-forms { padding: 72px 0; }
.education-forms__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.education-forms__card {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.education-forms__card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.education-forms__card-image {
  width: 100%; height: 180px; overflow: hidden;
}
.education-forms__card-image img { width: 100%; height: 100%; object-fit: cover; }
.education-forms__card-body { padding: 28px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.education-forms__card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.education-forms__card-tag {
  display: inline-block; background: var(--green); color: #fff;
  padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 500;
}
.education-forms__card-count { font-size: 12px; color: var(--text-light); }
.education-forms__card-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.education-forms__list { margin-bottom: 24px; flex: 1; }
.education-forms__list li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 14px; color: var(--text-light); }
.education-forms__list li::before { content: '•'; position: absolute; left: 2px; color: var(--navy); font-weight: 700; }
.education-forms__card .btn { padding: 12px 20px; font-size: 14px; }
.education-forms__contact {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px; margin-top: auto;
}
.education-forms__contact-photo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.education-forms__contact-photo--placeholder {
  background: var(--gray-200);
}
.education-forms__contact-name { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ============================================================
   Testimonials (Opinie uczniów)
   ============================================================ */
.testimonials { padding: 72px 0; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonials__card {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative;
}
.testimonials__quote-mark {
  font-size: 48px; line-height: 1; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
  font-family: Georgia, serif;
}
.testimonials__text {
  font-size: 14px; color: var(--text-light); line-height: 1.7;
  margin-bottom: 24px;
}
.testimonials__author { display: flex; align-items: center; gap: 12px; }
.testimonials__avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.testimonials__avatar--placeholder {
  background: var(--gray-300);
}
.testimonials__author-info { display: flex; flex-direction: column; }
.testimonials__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testimonials__role { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   Partners (Partnerzy)
   ============================================================ */
.partners { padding: 48px 0 72px; }
.partners__grid {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.partners__item { display: flex; align-items: center; justify-content: center; }
.partners__item img { max-height: 48px; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s; }
.partners__item img:hover { filter: grayscale(0%); opacity: 1; }
.partners__item--placeholder {
  width: 120px; height: 48px; background: var(--gray-200);
  border-radius: var(--radius-sm);
}
.partners__cta { text-align: right; }
.partners__cta a { font-size: 14px; color: var(--navy); font-weight: 500; text-decoration: underline; transition: color 0.2s; }
.partners__cta a:hover { color: var(--green); }

/* ============================================================
   Team (Zespół)
   ============================================================ */
.team { padding: 72px 0; background: var(--white); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.team__card { text-align: center; }
.team__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.team__photo--placeholder { background: var(--gray-200); }
.team__name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team__role { font-size: 14px; color: var(--text-light); }

/* ============================================================
   Signup Section – 2-col: info + form
   ============================================================ */
/* Signup section */
.signup { background: var(--bg); padding: 80px 0; }
.signup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.signup__logo img { height: 36px; margin-bottom: 20px; }
.signup__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
.signup__section-label { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }

/* Accordion school list */
.signup__accordion { border-top: 1px solid var(--border); }
.signup__accordion-item { border-bottom: 1px solid var(--border); }
.signup__accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; font-size: 16px; font-weight: 500;
  color: var(--navy); background: none; border: none; width: 100%;
  font-family: inherit; text-align: left;
}
.signup__accordion-header:hover { color: var(--green); }
.signup__accordion-icon {
  width: 20px; height: 20px; transition: transform 0.3s;
  flex-shrink: 0; color: var(--text-muted);
}
.signup__accordion-item.active .signup__accordion-icon { transform: rotate(180deg); }
.signup__accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.signup__accordion-item.active .signup__accordion-body { max-height: 300px; padding-bottom: 16px; }
.signup__accordion-content { padding: 0 0 8px; }
.signup__accordion-email { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.signup__accordion-email a { color: var(--green); }
.signup__contact-person { display: flex; align-items: center; gap: 12px; }
.signup__contact-info {}
.signup__contact-name { font-size: 15px; font-weight: 600; color: var(--navy); display: block; }
.signup__contact-role { font-size: 13px; color: var(--text-muted); display: block; }
.signup__contact-phone { font-size: 14px; color: var(--green); font-weight: 500; display: block; margin-top: 4px; }

/* Form card – Navy card with green accent */
.signup__form-wrap {
  background: var(--navy); border-radius: 20px;
  padding: 44px 40px; box-shadow: 0 12px 40px rgba(35,45,75,0.18);
  position: relative; overflow: hidden;
}
.signup__form-wrap::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(129,189,81,0.12);
}
.signup__form-title {
  font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 28px;
  position: relative;
}
.signup-form { display: flex; flex-direction: column; gap: 20px; position: relative; }
.signup-form__label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 6px; display: block; }
.signup-form__group { display: flex; flex-direction: column; }
.signup-form__select {
  width: 100%; padding: 16px 44px 16px 20px; border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px; background: rgba(255,255,255,0.08); color: #fff;
  font-size: 15px; font-family: inherit; transition: all 0.2s;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.signup-form__select option { color: var(--text); background: #fff; }
.signup-form__select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(129,189,81,0.2);
}
.signup-form__consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; cursor: pointer;
}
.signup-form__consent input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   Footer – DARK bg per Figma
   ============================================================ */
.footer { background: var(--navy); padding: 48px 0 0; border-top: none; color: rgba(255,255,255,0.8); }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand img { height: 28px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand-label { font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 8px; }
.footer__brand-contact { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer__brand-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__brand-contact a:hover { color: var(--green); }
.footer__heading { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer__nav-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); padding: 3px 0; transition: color 0.2s; }
.footer__nav-col a:hover { color: var(--green); }
.footer__bottom { padding: 16px 0; background: var(--navy-dark); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer__legal-links { display: flex; gap: 20px; }
.footer__legal-links a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer__legal-links a:hover { color: var(--green); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ============================================================
   Blog
   ============================================================ */
.blog-hero { padding: 40px 0; background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); }
.blog-hero__title { font-size: 48px; font-weight: 700; margin-bottom: 8px; }
.blog-hero__subtitle { font-size: 18px; color: var(--text-light); }

.blog-listing { padding: 48px 0 80px; }
.blog-listing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-listing__empty { text-align: center; font-size: 18px; color: var(--text-light); padding: 60px 0; }

.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #DBDBDB; border-radius: 21px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.blog-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__image img { transform: scale(1.06); }
.blog-card__placeholder { width: 100%; height: 100%; background: #f0f0f0; }
.blog-card__body { padding: 24px; flex: 1; }
.blog-card__body h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.blog-card__body h3 a { color: var(--navy); transition: color 0.2s; }
.blog-card__body h3 a:hover { color: var(--green); }

.blog-pagination { margin-top: 48px; text-align: center; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; font-size: 15px; font-weight: 600;
  color: var(--navy); border: 1px solid var(--border); transition: all 0.2s;
}
.blog-pagination .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.blog-pagination .page-numbers:hover:not(.current) { border-color: var(--green); color: var(--green); }

/* ============================================================
   Post Single
   ============================================================ */
.post-hero { padding: 40px 0 32px; background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); }
.post-hero__title { font-size: 38px; font-weight: 600; margin-top: 12px; max-width: 832px; }

.post-content { padding: 0 0 80px; }
.post-content__wrap { max-width: 832px; margin: 0 auto; }
.post-content__featured { margin-bottom: 32px; }
.post-content__featured img { width: 100%; border-radius: 25px; object-fit: cover; }
.post-content__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.post-content__body { font-size: 16px; line-height: 1.8; color: var(--text-light); }
.post-content__body h2 { font-size: 28px; margin: 32px 0 16px; }
.post-content__body h3 { font-size: 22px; margin: 24px 0 12px; }
.post-content__body p { margin-bottom: 16px; }
.post-content__body img { border-radius: 12px; margin: 24px 0; }
.post-content__body ul, .post-content__body ol { padding-left: 24px; margin-bottom: 16px; }
.post-content__body li { margin-bottom: 8px; list-style: disc; }
.post-content__body a { color: var(--green); text-decoration: underline; }
.post-content__cta { margin-top: 48px; text-align: center; }

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.breadcrumbs a { color: var(--green); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ============================================================
   KKZ
   ============================================================ */
.kkz-hero { padding: 40px 0 32px; background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); }
.kkz-hero__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--green); font-weight: 500; margin-bottom: 16px; }
.kkz-hero__back:hover { text-decoration: underline; }
.kkz-hero__title { font-size: 42px; font-weight: 700; margin-bottom: 8px; }
.kkz-hero__subtitle { font-size: 18px; color: var(--text-light); }

.kkz-section { padding: 48px 0; }
.kkz-section--planned { background: var(--bg); }
.kkz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kkz-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; display: flex; flex-direction: column; }
.kkz-card__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.kkz-card__domain { font-size: 14px; color: var(--green); margin-bottom: 24px; flex: 1; }
.kkz-card__desc { font-size: 14px; color: var(--text-light); margin-bottom: 20px; flex: 1; }
.kkz-card--planned { border-style: dashed; }

/* ============================================================
   Page Generic
   ============================================================ */
.page-generic { padding: 40px 0 80px; }
.page-generic__title { font-size: 38px; font-weight: 700; margin-bottom: 32px; }
.page-generic__content { font-size: 16px; line-height: 1.8; color: var(--text-light); }
.page-generic__content p { margin-bottom: 16px; }
.page-generic__content a { color: var(--green); }

/* ============================================================
   Law & Education (Prawo i edukacja domowa)
   ============================================================ */
.law-education { padding: 72px 0; background: var(--white); }
.law-education__subtitle {
  text-align: center; font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: -32px auto 48px; line-height: 1.6;
}
.law-education__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.law-education__card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; display: flex; flex-direction: column;
}
.law-education__card-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.law-education__card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.law-education__card-link {
  font-size: 14px; color: var(--green); font-weight: 500; display: inline-block; margin-bottom: 16px;
  transition: color 0.2s;
}
.law-education__card-link:hover { color: var(--green-dark); text-decoration: underline; }
.law-education__expert { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.law-education__expert-label { color: var(--text-muted); }
.law-education__expert-name { color: var(--navy); font-weight: 600; }

/* ============================================================
   FAQ Page
   ============================================================ */
.faq-hero { padding: 40px 0 32px; background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); }
.faq-hero__title { font-size: 42px; font-weight: 700; margin-bottom: 8px; }
.faq-hero__subtitle { font-size: 18px; color: var(--text-light); }

.faq-section { padding: 48px 0 80px; }
.faq-category { margin-bottom: 48px; }
.faq-category__title { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500;
  color: var(--navy); background: none; border: none; width: 100%;
  font-family: inherit; text-align: left; gap: 16px;
}
.faq-item__header:hover { color: var(--green); }
.faq-item__icon {
  width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.active .faq-item__icon { transform: rotate(180deg); }
.faq-item__body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-item.active .faq-item__body { max-height: 600px; }
.faq-item__content {
  padding: 0 0 20px; font-size: 15px; color: var(--text-light); line-height: 1.7;
}
.faq-item__content p { margin-bottom: 12px; }
.faq-item__content a { color: var(--green); }

/* ============================================================
   Dla Ucznia Page
   ============================================================ */
.dla-ucznia-hero { padding: 40px 0 32px; background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); }
.dla-ucznia-hero__title { font-size: 42px; font-weight: 700; margin-bottom: 8px; }
.dla-ucznia-hero__subtitle { font-size: 18px; color: var(--text-light); }

.dla-ucznia-section { padding: 48px 0 80px; }
.dla-ucznia-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dla-ucznia-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
}
.dla-ucznia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dla-ucznia-card__icon { width: 56px; height: 56px; margin-bottom: 20px; }
.dla-ucznia-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.dla-ucznia-card__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.dla-ucznia-card__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; flex: 1; }

/* ============================================================
   Aktualności Listing
   ============================================================ */
.aktualnosci-list { display: flex; flex-direction: column; gap: 0; }
.aktualnosci-item { border-bottom: 1px solid #e5e7eb; }
.aktualnosci-item:last-child { border-bottom: none; }
.aktualnosci-item__link { display: flex; gap: 24px; padding: 24px 0; text-decoration: none; color: inherit; transition: background 0.2s; }
.aktualnosci-item__link:hover { background: #f9fafb; }
.aktualnosci-item__thumb { flex: 0 0 200px; }
.aktualnosci-item__thumb img { width: 200px; height: 140px; object-fit: cover; border-radius: 8px; }
.aktualnosci-item__content { flex: 1; }
.aktualnosci-item__title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.aktualnosci-item__date { font-size: 13px; color: var(--text-light); display: block; margin-bottom: 8px; }
.aktualnosci-item__excerpt { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 8px; }
.aktualnosci-item__more { font-size: 14px; color: var(--green); font-weight: 600; }

@media (max-width: 640px) {
  .aktualnosci-item__link { flex-direction: column; gap: 12px; }
  .aktualnosci-item__thumb { flex: none; }
  .aktualnosci-item__thumb img { width: 100%; height: 200px; }
}

/* ============================================================
   Organ Prowadzący Page
   ============================================================ */
.organ-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.organ-layout__logo { display: flex; align-items: center; justify-content: center; }
.organ-layout__logo img { width: 200px; }
.organ-docs-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.organ-docs-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.organ-doc-card {
  background: var(--gray-100); border-radius: var(--radius); padding: 24px; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.organ-doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.organ-doc-card__icon { width: 64px; height: 80px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.organ-doc-card__icon svg { width: 48px; height: 48px; color: var(--navy); }
.organ-doc-card__img { max-height: 160px; margin: 0 auto 16px; display: block; border-radius: 8px; }
.organ-doc-card__title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.organ-doc-card__link { font-size: 14px; color: var(--green); font-weight: 500; }
.organ-doc-card__link:hover { color: var(--green-dark); text-decoration: underline; }

@media (max-width: 768px) {
  .organ-layout { grid-template-columns: 1fr; }
  .organ-layout__logo { display: none; }
  .organ-docs-3 { grid-template-columns: 1fr; }
  .organ-docs-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive – Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Nav: show hamburger, hide menu + CTA on tablet */
  .nav__menu {
    display: none; position: fixed; top: 112px; left: 0; width: 100%;
    height: calc(100vh - 112px); background: var(--white);
    flex-direction: column; padding: 32px 24px; gap: 0; overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav__menu.active { display: flex; }
  .nav__item { width: 100%; }
  .nav__item a { display: block; padding: 14px 0; font-size: 18px; color: var(--navy); border-bottom: 1px solid var(--border); }
  .nav__cta { display: none; }
  .nav__hamburger { display: block; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; }
  .nav__dropdown a { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--border); font-size: 16px; }

  .hero__layout { min-height: auto; }
  .hero__photo-wrap { position: static; transform: none; text-align: center; margin-top: 32px; margin-bottom: 0; }
  .hero__photo { width: 200px; height: 200px; margin: 0 auto; }
  .hero__title { font-size: 48px; }
  .hero__big-circle { width: 350px; height: 350px; left: -100px; }
  .hero__small-circle-green { display: none; }
  .hero__small-circle-navy { display: none; }
  .section-title { font-size: 28px; }
  .hero__bottom { flex-direction: column; gap: 16px; }

  .path-chooser__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .features__card::before, .features__card::after { display: none; }

  .about { border-radius: 40px 40px 0 0 / 60px 60px 0 0; padding: 80px 0 60px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__image img, .about__image-placeholder { height: 300px; }

  .education-forms__row { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .signup__card { padding: 40px 32px; }
  .law-education__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .blog-listing__grid { grid-template-columns: repeat(2, 1fr); }
  .kkz-grid { grid-template-columns: repeat(2, 1fr); }
  .dla-ucznia-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive – Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  body { padding-top: 72px; }
  .utility-bar { display: none; }
  .nav { top: 0; }
  .nav__menu { top: 72px; height: calc(100vh - 72px); }

  .hero__title { font-size: 32px; }
  .hero { padding: 32px 0 16px; }
  .hero__photo-wrap { margin-top: 24px; }
  .hero__photo { width: 160px; height: 160px; }
  .hero__tag { font-size: 14px; padding: 8px 20px; }
  .hero__desc { font-size: 14px; }
  .hero__big-circle { width: 200px; height: 200px; left: -60px; top: -20px; }
  .hero__small-circle-green { display: none; }
  .hero__small-circle-navy { display: none; }
  .hero__bottom { flex-direction: column; gap: 12px; }
  .hero__badge { font-size: 12px; }
  .section-title { font-size: 22px; margin-bottom: 28px; }

  .path-chooser { padding: 48px 0; }
  .path-chooser__card { padding: 24px 20px; }
  .path-chooser__card-title { font-size: 18px; }

  .features { padding: 48px 0; }
  .features__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .features__card { padding: 12px; }
  .features__card-title { font-size: 15px; }
  .features__card-desc { font-size: 12px; }
  .features__icon { width: 44px; height: 44px; margin-bottom: 10px; }

  .about { padding: 48px 0; border-radius: 24px 24px 0 0; }
  .about__grid { gap: 24px; }
  .about__image img, .about__image-placeholder { height: 200px; }
  .about__title { font-size: 22px; }
  .about__text { font-size: 14px; }
  .about__credentials { padding: 16px; }

  .education-forms { padding: 48px 0; }
  .education-forms__row { grid-template-columns: 1fr; }
  .education-forms__card-title { font-size: 18px; }

  .team { padding: 48px 0; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team__photo { width: 80px; height: 80px; }
  .team__name { font-size: 14px; }

  .law-education { padding: 48px 0; }
  .law-education__grid { grid-template-columns: 1fr; }
  .law-education__subtitle { font-size: 14px; margin: -20px auto 32px; }

  .signup { padding: 48px 0; }
  .signup__grid { grid-template-columns: 1fr; gap: 32px; }
  .signup__form-wrap { padding: 32px 24px; }
  .signup__form-title { font-size: 24px; }

  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer__legal-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  .blog-hero__title { font-size: 28px; }
  .blog-listing__grid { grid-template-columns: 1fr; }
  .post-hero__title { font-size: 24px; }
  .post-content__body { font-size: 15px; }
  .kkz-grid { grid-template-columns: 1fr; }
  .kkz-hero__title { font-size: 24px; }

  .faq-hero__title { font-size: 28px; }
  .faq-item__header { font-size: 15px; padding: 16px 0; }
  .faq-item__content { font-size: 14px; }

  .page-generic__title { font-size: 28px; margin-bottom: 24px; }
  .page-generic__content { font-size: 15px; }
}

/* ============================================================
   Responsive – Small phones (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 28px; }
  .hero { padding: 24px 0 8px; }
  .hero__photo { width: 120px; height: 120px; }
  .hero__photo-wrap { margin-top: 20px; }
  .hero__big-circle { display: none; }
  .section-title { font-size: 20px; }
  .features__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team__photo { width: 64px; height: 64px; }
  .team__name { font-size: 13px; }
  .path-chooser__card { padding: 20px 16px; }
  .signup__form-wrap { padding: 20px 16px; }
  .signup__accordion-header { font-size: 14px; }
}
