/* ===== 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: 90px; }
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: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  width: 105px;
  height: 105px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transform: translateY(18px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-logo:hover {
  transform: translateY(18px) scale(1.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.nav-logo img {
  height: 103px;
  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: 3px;
  font-weight: 400;
  font-size: 0.7rem;
  padding: 4px 12px;
  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: 34px;
  height: 34px;
  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: 10px 26px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 24px;
}
.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); }

/* ===== HERO (index) ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 14vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.png') center/cover no-repeat;
}
.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: 780px;
  width: 90%;
  padding: 38px 48px 34px;
  background: #fff;
  border-radius: 30px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.6),
    0 8px 32px rgba(0,0,0,0.15);
  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: -6px;
  border-radius: 34px;
  border: 3px dashed rgba(74, 144, 217, 0.35);
  pointer-events: none;
  z-index: -1;
}
.hero-content::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 38px;
  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(2rem, 5vw, 3.2rem);
  color: #000;
  margin-bottom: 14px;
  line-height: 1.15;
}
.hero-content h1 .highlight {
  color: #000;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #000;
  margin-bottom: 30px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: #E74C3C;
  color: #fff;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.15rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(231, 76, 60, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 35px rgba(231, 76, 60, 0.5);
}
.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: 1.05rem;
  padding: 15px 32px;
  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: 80px 24px; }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 48px;
  color: #000;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #4A90D9, #F5C542, #E74C3C);
  border-radius: 3px;
  margin: 12px auto 0;
}

/* ===== KAFELKI ŻŁOBEK / PRZEDSZKOLE ===== */
.cards-section {
  background: linear-gradient(180deg, #FFFDF5 0%, #FFF8E7 100%);
}
.cards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.info-card {
  border-radius: 28px;
  padding: 44px 40px;
  min-height: 260px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  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: 200px;
  height: 200px;
  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: 1.35rem;
  margin-bottom: 4px;
  font-weight: 1000;
  color: #000;
  text-shadow: none;
}
.info-card .subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 14px;
  font-weight: 1000;
  color: #000;
}
.info-card ul {
  list-style: disc;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
}
.info-card ul li {
  padding: 5px 0;
  font-size: 0.95rem;
  font-weight: 1000;
  color: #000;
}
.btn-card {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 25px;
  box-shadow: 0 4px 15px 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: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.fundament-item {
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}
.fundament-item:hover { transform: translateY(-6px); }
.fundament-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  position: relative;
}
.fundament-item:hover .fundament-circle { transform: scale(1.06); box-shadow: 0 12px 35px rgba(0,0,0,0.18); }
.fundament-circle span {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.15rem;
  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: 96px;
  height: 96px;
  position: absolute;
  bottom: -12px;
  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: 140px;
  height: 140px;
  bottom: -35px;
}
.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;
}
.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;
}

/* ===== FOOTER ===== */
.footer-section {
  background: #fff;
  padding: 48px 24px 32px;
  font-weight: bold;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand-header img {
  width: 64px;
  height: auto;
}
.footer-brand-header .footer-brand-name {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.5rem;
  color: #000;
  line-height: 1.2;
}
.footer-brand-header .footer-brand-name span {
  display: block;
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #333;
}
.footer-contact-row .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4f95dd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  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: 10px;
}
.footer-map .footer-address {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-map .map-illustration {
  max-width: 220px;
  width: 100%;
  border-radius: 16px;
}
.footer-cta {
  text-align: center;
}
.footer-cta-title {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.2rem;
  color: #000;
}
.footer-cta-title-main {
  font-family: 'KG Miss Kindergarten', cursive;
  font-size: 1.8rem;
  color: #E74C3C;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-cta .footer-cta-link {
  display: inline-block;
  font-size: 1rem;
  color: #4A90D9;
  border-bottom: 2px solid #4A90D9;
  padding-bottom: 2px;
  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: 16px 24px;
  font-size: 0.8rem;
}
.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: 35vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 50px;
  overflow: hidden;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 550px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
/* Decorative borders */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 3px dashed rgba(255,255,255,0.2);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 16px;
  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;
}

/* ===== 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: 28px 24px; }
  .info-card-illustration { width: 150px; height: 150px; margin: 0 auto 8px; }
  .info-card ul { text-align: left; max-width: 260px; margin-left: auto; margin-right: auto; }
  .fundamenty-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .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; }
  .footer-brand { align-items: center; }
  .footer-brand-header { justify-content: center; }
  .footer-contact-row { justify-content: center; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-logo { width: 75px; height: 75px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transform: translateY(12px); }
  .nav-logo img { height: 73px; }
  .nav-links {
    display: none;
    position: fixed;
    left: auto;
    transform: none;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1000;
    padding: 24px;
  }
  .nav-links.open { display: flex; }
  .nav-link-item a {
    font-size: 1rem;
    padding: 12px 24px;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .nav-link-item a .nav-link-icon {
    width: 44px;
    height: 44px;
  }
  .nav-links .btn-contact {
    margin-left: 0;
    margin-top: 12px;
    padding: 14px 36px;
    font-size: 1.1rem;
  }
  .hamburger { display: flex; }
  .hero { min-height: 75vh; padding-bottom: 6vh; }
  .hero-content { padding: 28px 22px 24px; }
  .hero-content::before { inset: -4px; border-width: 2px; }
  .hero-content::after { inset: -8px; border-width: 2px; }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-content p { font-size: 1rem; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  .fundament-circle { width: 130px; height: 130px; }
  .fundament-circle span { font-size: 0.9rem; }
  .fundament-icon { width: 70px; height: 70px; }
  .fundament-item.zabawa .fundament-icon { width: 105px; height: 105px; bottom: -20px; }
  section { padding: 60px 16px; }
  .page-hero { min-height: 25vh; padding: 40px 16px; }
  .page-content { padding: 60px 16px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .gallery-grid-full { grid-template-columns: 1fr; }
  .fundamenty-grid { gap: 20px; }
  .fundament-circle { width: 100px; height: 100px; }
  .fundament-circle span { font-size: 0.72rem; }
  .fundament-icon { width: 54px; height: 54px; bottom: -8px; }
  .fundament-item.zabawa .fundament-icon { width: 80px; height: 80px; bottom: -14px; }
  .teaser-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
