/* ===== FONT ===== */
@font-face {
  font-family: 'KG Miss Kindergarten';
  src: url('assets/KGMissKindergarten.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
.nowrap { white-space: nowrap; }
body {
  font-family: 'KG Miss Kindergarten', cursive;
  background: #FFFDF5;
  color: #000;
  overflow-x: hidden;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'KG Miss Kindergarten', cursive;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 32px;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transform: translateY(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-logo:hover {
  transform: translateY(12px) scale(1.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.nav-logo img {
  height: 70px;
  width: auto;
  border-radius: 50%;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 400;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 10px;
  transition: all 0.25s ease;
  color: #000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
}
.nav-link-item a .nav-link-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.nav-link-item a:hover {
  color: #4A90D9;
  background: rgba(74, 144, 217, 0.06);
  transform: translateY(-2px);
}
.nav-link-item a:hover .nav-link-icon {
  transform: scale(1.12);
}
/* Active nav link */
.nav-link-item a.active {
  color: #4A90D9;
  background: rgba(74, 144, 217, 0.10);
}
.nav-links .btn-contact {
  background: #4A90D9;
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
  font-weight: 400;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 20px;
}
.nav-links .btn-contact:hover {
  background: #3a7bc8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 217, 0.45);
}
.nav-links .btn-contact.active {
  background: #3a7bc8;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== NAV SOCIAL ===== */
.nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.25s ease;
}
.nav-social a[title="Facebook"] { color: #1877F2; }
.nav-social a[title="Instagram"] { color: #E4405F; }
.nav-social a[title="YouTube"] { color: #FF0000; }
.nav-social a:hover {
  background: rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.nav-social svg {
  width: 18px;
  height: 18px;
}

/* ===== HERO (index) ===== */
.hero {
  position: relative;
  min-height: 340px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 18px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  background-image: var(--hero-bg, url('assets/hero.png'));
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.02) 50%,
    rgba(0,0,0,0.12) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 80%;
  padding: 14px 20px 12px;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.6),
    0 6px 24px rgba(0,0,0,0.12);
  text-align: center;
  font-family: 'KG Miss Kindergarten', cursive;
  animation: heroFadeIn 0.9s ease-out 0.2s both;
}
.hero-content::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  border: 2px dashed rgba(74, 144, 217, 0.35);
  pointer-events: none;
  z-index: -1;
}
.hero-content::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px dotted rgba(245, 197, 66, 0.45);
  pointer-events: none;
  z-index: -1;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: #000;
  margin-bottom: 4px;
  line-height: 1.15;
}
.hero-content h1 .highlight {
  color: #000;
}
.hero-content p {
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  color: #000;
  margin-bottom: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: #E74C3C;
  color: #fff;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(231, 76, 60, 0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 28px rgba(231, 76, 60, 0.45);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-secondary {
  display: inline-block;
  background: rgba(74, 144, 217, 0.10);
  color: #4A90D9;
  font-family: 'KG Miss Kindergarten', cursive;
  font-weight: 400;
  font-size: 0.8rem;
  padding: 7px 18px;
  border-radius: 50px;
  border: 2px solid rgba(74, 144, 217, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.btn-secondary:hover {
  background: #4A90D9;
  color: #fff;
  border-color: #4A90D9;
  transform: translateY(-2px);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 400;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.5);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS COMMON ===== */
section { padding: 16px 24px; }
.section-title {
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 12px;
  color: #000;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #4A90D9, #F5C542, #E74C3C);
  border-radius: 3px;
  margin: 6px auto 0;
}

/* ===== KAFELKI ŻŁOBEK / PRZEDSZKOLE ===== */
.cards-section {
  background: linear-gradient(180deg, #FFFDF5 0%, #FFF8E7 100%);
}
.cards-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.info-card {
  border-radius: 18px;
  padding: 14px 16px;
  min-height: auto;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.08;
  transition: all 0.4s ease;
}
.info-card:hover { transform: translateY(-8px); }
.info-card:hover::before { transform: scale(2); }
.info-card-blue {
  background: linear-gradient(135deg, #5BA3E6, #4A90D9);
  color: #fff;
  box-shadow: 0 12px 35px rgba(74, 144, 217, 0.3);
}
.info-card-blue::before { background: #fff; }
.info-card-yellow {
  background: linear-gradient(135deg, #F7D35A, #F5C542);
  color: #000;
  box-shadow: 0 12px 35px rgba(245, 197, 66, 0.3);
}
.info-card-yellow::before { background: #fff; }
.info-card-illustration {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card-illustration img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.info-card:hover .info-card-illustration img {
  transform: scale(1.08) rotate(-3deg);
}
.info-card-content {
  flex: 1;
  min-width: 0;
}
.info-card h3 {
  font-size: 1rem;
  margin-bottom: 1px;
  font-weight: 1000;
  color: #000;
  text-shadow: none;
}
.info-card .subtitle {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 5px;
  font-weight: 1000;
  color: #000;
}
.info-card ul {
  list-style: disc;
  text-align: left;
  margin-bottom: 8px;
  padding-left: 16px;
}
.info-card ul li {
  padding: 1px 0;
  font-size: 0.8rem;
  font-weight: 1000;
  color: #000;
}
.btn-card {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== FUNDAMENTY ===== */
.fundamenty-section {
  background: #fff8e8;
}
.fundamenty-section .section-title::after {
  display: none;
}
.fundamenty-grid {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.fundament-item {
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}
.fundament-item:hover { transform: translateY(-6px); }
.fundament-circle {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  transition: all 0.4s ease;
  position: relative;
}
.fundament-item:hover .fundament-circle { transform: scale(1.06); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.fundament-circle span {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.9rem;
  font-weight: 1000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fundament-icon {
  width: 46px;
  height: 46px;
  position: absolute;
  bottom: -6px;
  left: 14%;
  z-index: 2;
}
.fundament-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.fundament-item.kreatywnosc .fundament-icon {
  left: auto;
  right: 14%;
}
.fundament-item.zabawa .fundament-icon {
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  bottom: -14px;
}
.fundament-blue { background: linear-gradient(135deg, #5BA3E6, #4A90D9); }
.fundament-red { background: linear-gradient(135deg, #F06050, #E74C3C); }
.fundament-navy { background: linear-gradient(135deg, #3A6BB5, #2A5AA0); }
.fundament-yellow { background: linear-gradient(135deg, #F7D35A, #F5C542); }
.fundament-yellow span { color: #fff; }

/* ===== O NAS (index teaser) ===== */
.o-nas-section {
  background: linear-gradient(180deg, #FFF8E7 0%, #FFFDF5 100%);
}
.o-nas-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.o-nas-text h2 {
  font-size: 2rem;
  color: #4A90D9;
  margin-bottom: 20px;
}
.o-nas-text p {
  font-size: 1.05rem;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.8;
}
.o-nas-image {
  display: flex;
  justify-content: center;
}
.o-nas-image img {
  max-width: 100%;
  border-radius: 24px;
}

/* ===== CENNIK ===== */
.cennik-section {
  background: #FFFDF5;
}
.cennik-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cennik-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
  border: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}
.cennik-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}
.cennik-card-zlobek { border-color: #4A90D9; }
.cennik-card-przedszkole { border-color: #F5C542; }
.cennik-card .cennik-badge {
  display: inline-block;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.85rem;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cennik-card-zlobek .cennik-badge { background: #4A90D9; color: #fff; }
.cennik-card-przedszkole .cennik-badge { background: #F5C542; color: #000; }
.cennik-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cennik-card .price {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 2.2rem;
  margin: 16px 0;
}
.cennik-card-zlobek .price { color: #4A90D9; }
.cennik-card-przedszkole .price { color: #e6a800; }
.cennik-card .price-note {
  font-size: 0.85rem;
  color: #333;
}
.cennik-card ul {
  list-style: none;
  text-align: left;
  margin-top: 16px;
}
.cennik-card ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #000;
}
.cennik-card ul li::before { content: '✓ '; color: #2ECC71; font-weight: bold; }
.cennik-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 1rem;
  color: #333;
}
.cennik-footer a {
  color: #4A90D9;
  font-weight: 400;
}

/* ===== GALERIA ===== */
.galeria-section {
  background: linear-gradient(180deg, #FFFDF5 0%, #F0F4FF 100%);
}
.galeria-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.galeria-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f0e8, #ede5d8);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px dashed #ddd;
  overflow: hidden;
  position: relative;
}
.galeria-item:hover {
  border-color: #4A90D9;
  color: #4A90D9;
  transform: scale(1.03);
}
.galeria-item .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  opacity: 0.5;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.galeria-item:has(img) {
  border-style: solid;
  border-color: #eee;
}

/* ===== FOOTER ===== */
.footer-section {
  background: #fff;
  padding: 14px 24px 10px;
  font-weight: bold;
}
.footer-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-header img {
  width: 38px;
  height: auto;
}
.footer-brand-header .footer-brand-name {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1rem;
  color: #000;
  line-height: 1.2;
}
.footer-brand-header .footer-brand-name span {
  display: block;
  font-size: 0.55rem;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #333;
}
.footer-contact-row .fc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4f95dd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.footer-contact-row .fc-icon.email-icon {
  background: #E74C3C;
}
.footer-contact-row a {
  transition: opacity 0.3s;
  color: #333;
}
.footer-contact-row a:hover { opacity: 0.7; }
.footer-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-map .footer-address {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.78rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-map .map-illustration {
  max-width: 130px;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-map a:hover .map-illustration {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(74, 144, 217, 0.25);
}
.footer-cta {
  text-align: center;
}
.footer-cta-title {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.9rem;
  color: #000;
}
.footer-cta-title-main {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.1rem;
  color: #E74C3C;
  line-height: 1.2;
  margin-bottom: 4px;
}
.footer-cta .footer-cta-link {
  display: inline-block;
  font-size: 0.78rem;
  color: #4A90D9;
  border-bottom: 2px solid #4A90D9;
  padding-bottom: 1px;
  transition: all 0.3s ease;
}
.footer-cta .footer-cta-link:hover {
  color: #3a7bc8;
  border-color: #3a7bc8;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  background: #fff;
  color: #888;
  text-align: center;
  padding: 6px 24px;
  font-size: 0.7rem;
}
.footer-bottom a { color: #666; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BOUNCE ICON ANIMATION ===== */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px 18px;
  overflow: hidden;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.15;
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}
/* Decorative borders */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  border: 2px dashed rgba(255,255,255,0.2);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 2px dotted rgba(255,255,255,0.12);
  pointer-events: none;
}
/* Color variants */
.page-hero-blue { background: linear-gradient(135deg, #5BA3E6, #4A90D9); }
.page-hero-yellow { background: linear-gradient(135deg, #F7D35A, #F5C542); }
.page-hero-yellow h1, .page-hero-yellow p { color: #000; text-shadow: none; }
.page-hero-yellow::before { border-color: rgba(0,0,0,0.1); }
.page-hero-yellow::after { border-color: rgba(0,0,0,0.06); }
.page-hero-red { background: linear-gradient(135deg, #F06050, #E74C3C); }
.page-hero-green { background: linear-gradient(135deg, #2ECC71, #27AE60); }
.page-hero-purple { background: linear-gradient(135deg, #9B59B6, #8E44AD); }
.page-hero-navy { background: linear-gradient(135deg, #3A6BB5, #2A5AA0); }

/* ===== PAGE CONTENT (subpages) ===== */
.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}
.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #4A90D9;
  margin-bottom: 20px;
  margin-top: 48px;
}
.page-content h2:first-child {
  margin-top: 0;
}
.page-content p {
  font-size: 1.05rem;
  color: #000;
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.page-content li {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  padding: 4px 0;
}

/* ===== SUBPAGE COMPONENTS ===== */

/* Teaser cards (index "Dlaczego my?") */
.teaser-section {
  background: linear-gradient(180deg, #FFF8E7 0%, #FFFDF5 100%);
}
.teaser-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.teaser-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}
.teaser-card-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}
.teaser-card h3 {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 4px;
}
.teaser-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 8px;
}
.teaser-card .teaser-link {
  color: #4A90D9;
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 2px solid #4A90D9;
  padding-bottom: 1px;
  transition: all 0.3s ease;
}
.teaser-card .teaser-link:hover {
  color: #3a7bc8;
  border-color: #3a7bc8;
}

/* Info blocks (subpages) */
.info-block {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}
.info-block h3 {
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 12px;
}
.info-block p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin: 20px 0;
}
.schedule-table th, .schedule-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
}
.schedule-table th {
  background: #4A90D9;
  color: #fff;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.schedule-table tr:nth-child(even) td {
  background: #f8f6f0;
}
.schedule-table tr:nth-child(odd) td {
  background: #fff;
}
.schedule-table td:first-child {
  font-weight: 1000;
  color: #4A90D9;
  white-space: nowrap;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.team-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f0e8, #ede5d8);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.team-card h4 {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 4px;
}
.team-card .team-role {
  font-size: 0.85rem;
  color: #4A90D9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* CTA section on subpages */
.page-cta {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFF8E7 100%);
}
.page-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #000;
  margin-bottom: 12px;
  margin-top: 0;
}
.page-cta p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 24px;
}

/* Gallery page */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.gallery-filter-btn {
  font-family: 'KG Miss Kindergarten', cursive;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  border-color: #4A90D9;
  color: #4A90D9;
  background: rgba(74,144,217,0.06);
}
.gallery-grid-full {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 24px auto;
}
.faq-list details {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.faq-list details[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.faq-list summary {
  font-size: 1.05rem;
  color: #000;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 1000;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #4A90D9;
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list .faq-answer {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 24px auto;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 6px;
  font-weight: 1000;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  background: #FFFDF5;
  color: #000;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #4A90D9;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  text-align: center;
  margin-top: 20px;
}

/* Contact info grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
  align-items: start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-detail-row .cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4A90D9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-row .cd-text {
  font-size: 1rem;
  color: #000;
}
.contact-detail-row .cd-text strong {
  display: block;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.contact-map img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Steps (jak zapisać) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.step-card {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4A90D9;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-card h4 {
  font-size: 1rem;
  color: #000;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* ===== SOCIAL MEDIA ===== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.social-link {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4A90D9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-link:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(74,144,217,0.3);
}
.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4A90D9;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(74,144,217,0.3);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ===== SECTION DIVIDER WAVES ===== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 500px; }
  .info-card { flex-direction: column; text-align: center; padding: 14px 14px; }
  .info-card-illustration { width: 70px; height: 70px; margin: 0 auto 6px; }
  .info-card ul { text-align: left; max-width: 260px; margin-left: auto; margin-right: auto; }
  .fundamenty-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 400px; }
  .fundament-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .fundament-icon { position: static; width: 40px; height: 40px; margin: 0; }
  .fundament-item.kreatywnosc .fundament-icon { margin: 0; }
  .fundament-item.zabawa .fundament-icon { width: 40px; height: 40px; margin: 0; }
  .o-nas-content { grid-template-columns: 1fr; text-align: center; }
  .o-nas-image { order: -1; }
  .cennik-grid { grid-template-columns: 1fr; max-width: 400px; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-brand { align-items: center; gap: 8px; }
  .footer-brand-header { justify-content: center; }
  .footer-contact-row { justify-content: center; }
  .footer-map { gap: 8px; }
  .footer-cta { padding: 10px 0; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hamburger menu */
  .hamburger { display: flex; }
  .nav-social { display: none; }
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 999;
    padding: 80px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-link-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-link-item:last-child {
    border-bottom: none;
    margin-top: 16px;
  }
  .nav-link-item a {
    font-size: 0.95rem;
    padding: 16px 20px;
    width: 100%;
    max-width: none;
    text-align: left;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 0;
  }
  .nav-link-item a .nav-link-icon { width: 32px; height: 32px; }
  .nav-links .btn-contact {
    margin-left: 0;
    margin-top: 0;
    padding: 16px 24px;
    font-size: 1rem;
    text-align: center;
    border-radius: 25px;
  }
  .nav-logo { width: 60px; height: 60px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transform: translateY(10px); }
  .nav-logo img { height: 58px; }
}
@media (max-width: 768px) {
  .hero { min-height: 300px; height: 300px; padding-bottom: 14px; }
  .hero-content { padding: 12px 14px 10px; border-radius: 16px; }
  .hero-content::before { inset: -3px; border-width: 2px; border-radius: 18px; }
  .hero-content::after { inset: -5px; border-width: 2px; border-radius: 20px; }
  .hero-content h1 { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  .hero-content p { font-size: 0.82rem; margin-bottom: 10px; }
  .hero-ctas { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 240px; text-align: center; }
  .fundament-circle { width: 72px; height: 72px; }
  .fundament-circle span { font-size: 0.7rem; }
  .fundament-icon { width: 38px; height: 38px; }
  section { padding: 14px 16px; }
  .page-hero { min-height: auto; padding: 14px 16px; }
  .page-content { padding: 60px 16px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .navbar { padding: 0 12px; }
  .nav-logo { width: 52px; height: 52px; transform: translateY(8px); }
  .nav-logo img { height: 50px; }
  .galeria-grid { grid-template-columns: 1fr; }
  .gallery-grid-full { grid-template-columns: 1fr; }
  .fundamenty-grid { gap: 16px; max-width: 320px; }
  .fundament-circle { width: 68px; height: 68px; }
  .fundament-circle span { font-size: 0.65rem; }
  .fundament-icon { width: 34px; height: 34px; }
  .teaser-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero { min-height: 260px; height: 260px; padding-bottom: 10px; }
  .hero-content { padding: 10px 10px 8px; border-radius: 14px; max-width: 90%; }
  .hero-content::before { border-radius: 16px; }
  .hero-content::after { border-radius: 18px; }
  .hero-content h1 { font-size: 1.15rem; }
  .hero-content p { font-size: 0.72rem; }
  .btn-primary, .btn-secondary { font-size: 0.75rem; padding: 6px 16px; max-width: 200px; }
  .section-title { font-size: 1.1rem; margin-bottom: 10px; }
  .info-card { padding: 10px 10px; border-radius: 14px; }
  .info-card h3 { font-size: 0.9rem; }
  .info-card .subtitle { font-size: 0.68rem; }
  .info-card ul li { font-size: 0.72rem; }
  .btn-card { font-size: 0.68rem; padding: 5px 12px; }
  section { padding: 12px 12px; }
  .footer-grid { gap: 14px; }
  .footer-section { padding: 12px 14px 8px; }
  .footer-bottom { padding: 4px 14px; }
  .footer-cta-title-main { font-size: 0.95rem; }
  .nav-links { width: 260px; padding: 72px 16px 20px; }
  .nav-link-item a { font-size: 0.9rem; padding: 14px 16px; }
  .nav-link-item a .nav-link-icon { width: 28px; height: 28px; }
  .nav-links .btn-contact { padding: 14px 20px; font-size: 0.9rem; }
}
