/* ============================================
   RAMUS Zaslepka – Main Stylesheet
   1:1 z mockupem PNG + paleta Ramus
   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-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--outline { background: transparent; border: 2px solid var(--green); color: var(--navy); }
.btn--outline:hover { background: var(--green); 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%; }

/* ============================================================
   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); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  background: var(--navy); height: 72px;
  position: fixed; top: 40px; left: 0; width: 100%; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.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: rgba(255,255,255,0.85); transition: color 0.2s; }
.nav__item a:hover { color: var(--green); }
.nav__cta {
  background: var(--green); color: #fff; padding: 10px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600; transition: all 0.2s;
  box-shadow: 0 8px 20px rgba(129,189,81,0.2);
}
.nav__cta:hover { background: var(--green-dark); }
.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: #fff; 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
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%);
  padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
.hero__bg-shapes {
  position: absolute; top: -30px; left: -10px;
  width: 160px; height: 300px;
  opacity: 0.55;
  transform: rotate(-25deg);
  transform-origin: top left;
  pointer-events: none;
}
.hero__stripe {
  width: 100%; height: 20px;
  background: var(--green);
  border-radius: 10px;
  margin-bottom: 14px;
}
.hero__grid {
  display: flex; align-items: center; gap: 48px;
  position: relative; z-index: 1;
}
.hero__content { flex: 1; }
.hero__title { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero__tag {
  display: inline-block; background: var(--mint); color: var(--navy);
  padding: 6px 20px; border-radius: 20px; font-size: 16px; font-weight: 500;
  margin-bottom: 20px;
}
.hero__desc { font-size: 16px; line-height: 1.7; color: var(--text-light); margin-bottom: 32px; max-width: 500px; }
.hero__actions { display: flex; align-items: center; gap: 16px; }
.hero__images { flex: 0 0 420px; position: relative; }
.hero__img-front { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.hero__img-placeholder {
  width: 100%; height: 320px; border-radius: var(--radius-lg);
  background: var(--gray-200); display: flex; align-items: center;
  justify-content: center; color: var(--gray-400); font-size: 14px;
}
/* Floating badges near hero image */
.hero__float {
  position: absolute; background: #fff; border-radius: 10px;
  padding: 8px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--navy);
}
.hero__float--1 { bottom: -16px; left: -24px; }
.hero__float--2 { top: 20px; right: -20px; }
.hero__float-icon {
  width: 28px; height: 28px; background: var(--green-light);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   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(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow);
}
.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--outline { 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: 48px; height: 48px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.features__icon img { width: 40px; height: 40px; object-fit: contain; }
.features__icon svg { width: 40px; height: 40px; }
.features__icon--navy { color: var(--navy); }
.features__icon--green { color: var(--green); }
.features__card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.features__card-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }
/* Decorative connectors between feature rows */
.features__card:nth-child(-n+3)::after {
  content: ''; position: absolute; bottom: -40px; left: calc(50% - 1px);
  width: 2px; height: 28px;
  background: repeating-linear-gradient(to bottom, var(--gray-300) 0, var(--gray-300) 4px, transparent 4px, transparent 8px);
}
.features__card:nth-child(n+4)::before {
  content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
}

/* ============================================================
   About (Kim jesteśmy) — floating card over dark bg
   ============================================================ */
.about { position: relative; padding: 100px 0; min-height: 500px; overflow: hidden; }
.about__bg { position: absolute; inset: 0; z-index: 0; background: var(--gray-200); }
.about__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35,45,75,0.75) 0%, rgba(35,45,75,0.35) 100%);
}
.about__bg-img { width: 100%; height: 100%; object-fit: cover; }
/* Decorative accents */
.about::before {
  content: ''; position: absolute; left: 7%; top: 36%; z-index: 1;
  width: 50px; height: 35px; background: #E53E3E; border-radius: 6px;
  transform: rotate(-12deg); opacity: 0.85;
}
.about::after {
  content: ''; position: absolute; left: 12%; top: 54%; z-index: 1;
  width: 0; height: 0;
  border-left: 20px solid transparent; border-right: 20px solid transparent;
  border-bottom: 35px solid var(--green); opacity: 0.85;
}
.about__container { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.about__card {
  background: var(--white); border-radius: 20px; padding: 44px 40px;
  max-width: 540px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about__title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.about__text { font-size: 15px; line-height: 1.7; color: var(--text-light); margin-bottom: 24px; }
.about__text p { margin-bottom: 16px; }
.about__text blockquote {
  border-left: 4px solid var(--green); background: var(--green-light);
  padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal; font-size: 14px; color: var(--text-light); line-height: 1.6;
}
.about__text blockquote p { margin-bottom: 0; }
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.about__actions .btn { padding: 12px 28px; font-size: 14px; }

/* ============================================================
   Education Forms (Formy kształcenia)
   ============================================================ */
.education-forms { padding: 72px 0; }
.education-forms__grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.education-forms__card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
  border-bottom: 3px solid var(--green); box-shadow: var(--shadow);
  width: calc(33.333% - 16px); max-width: 380px;
}
.education-forms__contact { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.education-forms__contact-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--gray-200); }
.education-forms__contact-name { font-size: 13px; color: var(--text-light); font-weight: 500; }
.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(--green); font-weight: 700; }
.education-forms__card .btn { padding: 12px 20px; font-size: 14px; }

/* ============================================================
   Testimonials (Opinie uczniów)
   ============================================================ */
.testimonials { padding: 72px 0; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonials__card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative;
}
.testimonials__quote-mark {
  font-size: 80px; line-height: 0.8; font-weight: 700;
  color: var(--navy); opacity: 0.25; 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;
}
.testimonials__avatar--placeholder {
  background: var(--gray-200);
}
.testimonials__name { font-size: 14px; font-weight: 600; color: var(--navy); }

/* ============================================================
   Partners (Partnerzy)
   ============================================================ */
.partners { padding: 72px 0; }
.partners__grid {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.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(--green); font-weight: 500; transition: color 0.2s; }
.partners__cta a:hover { color: var(--green-dark); }

/* ============================================================
   Team (Zespół)
   ============================================================ */
.team { padding: 72px 0; background: var(--bg); }
.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 (Formularz + Info)
   ============================================================ */
.signup { background: var(--navy); padding: 64px 0; color: #fff; }
.signup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.signup__logo img { height: 32px; margin-bottom: 20px; }
.signup__desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }
.signup__section-label { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.signup__school-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px; color: rgba(255,255,255,0.8); transition: color 0.2s;
}
.signup__school-link:hover { color: var(--green); }
.signup__school-link svg { stroke: rgba(255,255,255,0.4); }
.signup__contact-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; margin-bottom: 16px; }
.signup__contact-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,0.15); }
.signup__contact-name { font-size: 15px; font-weight: 600; }
.signup__contact-details { font-size: 14px; color: rgba(255,255,255,0.65); }
.signup__contact-details a { color: var(--green); }
.signup__contact-details p { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

.signup__form-wrap { background: var(--mint); border-radius: 20px; padding: 36px 32px; }
.signup__form-title { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }

.signup-form { display: flex; flex-direction: column; gap: 12px; }
.signup-form__input,
.signup-form__select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; color: var(--text);
  font-size: 14px; font-family: inherit; transition: border-color 0.2s;
}
.signup-form__input::placeholder { color: var(--text-muted); }
.signup-form__input:focus, .signup-form__select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(129,189,81,0.15);
}
.signup-form__select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.signup-form__consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--text-light); line-height: 1.4; cursor: pointer;
}
.signup-form__consent input { margin-top: 3px; accent-color: var(--green); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-dark); padding: 40px 0 0; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 24px; margin-bottom: 12px; }
.footer__brand-contact { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer__brand-contact a { color: rgba(255,255,255,0.6); }
.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.5); padding: 3px 0; transition: color 0.2s; }
.footer__nav-col a:hover { color: var(--green); }
.footer__bottom { padding: 16px 0; }
.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.4); transition: color 0.2s; }
.footer__legal-links a:hover { color: var(--green); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ============================================================
   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); }

/* ============================================================
   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) {
  .hero__grid { flex-direction: column; text-align: center; }
  .hero__title { font-size: 42px; }
  .hero__desc { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__images { flex: none; width: 100%; max-width: 400px; order: -1; }
  .section-title { font-size: 28px; }

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

  .about { padding: 80px 0; }
  .about__container { justify-content: center; }
  .about__card { max-width: 100%; }
  .about::before, .about::after { display: none; }

  .education-forms__card { width: calc(50% - 12px); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .signup__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .blog-listing__grid { grid-template-columns: repeat(2, 1fr); }
  .kkz-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav__menu {
    display: none; position: fixed; top: 72px; left: 0; width: 100%;
    height: calc(100vh - 72px); background: var(--navy);
    flex-direction: column; padding: 32px 24px; gap: 0; overflow-y: auto;
  }
  .nav__menu.active { display: flex; }
  .nav__item { width: 100%; }
  .nav__item a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav__cta { display: none; }
  .nav__hamburger { display: block; }

  .hero__title { font-size: 32px; }
  .hero { padding: 40px 0 60px; }
  .hero__grid { text-align: left; }
  .hero__desc { margin: 0 0 32px; }
  .hero__actions { justify-content: flex-start; }
  .hero__images { display: none; }
  .hero__bg-shapes { width: 100px; height: 180px; }
  .section-title { font-size: 24px; margin-bottom: 32px; }

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

  .about { padding: 60px 0; min-height: auto; }
  .about__card { padding: 28px 24px; }
  .about__card h2 { font-size: 24px; }

  .education-forms__card { width: 100%; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .partners__grid { gap: 20px; }
  .team__grid { grid-template-columns: 1fr; gap: 24px; }

  .signup__form-wrap { padding: 24px 16px; }
  .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: 32px; }
  .blog-listing__grid { grid-template-columns: 1fr; }
  .post-hero__title { font-size: 28px; }
  .kkz-grid { grid-template-columns: 1fr; }
  .kkz-hero__title { font-size: 28px; }
}
