:root {
  --bg: #fffaf5;
  --paper: #fffdf9;
  --cream: #fbf4ec;
  --rose: #c98378;
  --rose-soft: #f7e2dc;
  --sage: #6b7d5a;
  --sage-light: #eef3ea;
  --text: #1f2420;
  --muted: #555a54;
  --line: #eadcd0;
  --shadow: 0 14px 40px rgba(58,45,34,.09);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 133px }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdf9 0%, #fff7f0 100%);
  line-height: 1.62;
}

/* ===== Header & Nav ===== */
.site-header {
  min-height: 85px;
  padding: 12px 5vw 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  background: rgba(255,253,249,.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234,220,208,.45);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
}

.brand > div {
  padding-top: 9px;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: .2px;
  text-align: center;
}

.brand-name {
  margin-top: 5px;
  color: var(--rose);
  font-family: 'Great Vibes', cursive !important;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  text-align: center;
}

.nav {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.nav a {
  color: #121512;
  text-decoration: none;
  padding-bottom: 9px;
  border-bottom: 2px solid transparent;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-top: 20px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* ===== Typography ===== */
h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.14;
  margin: 0;
}

h1 { font-size: clamp(34px, 4vw, 58px); max-width: 580px }
h2 { font-size: clamp(28px, 2.5vw, 40px) }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.btn.primary {
  color: white;
  background: var(--sage);
  box-shadow: 0 8px 20px rgba(93,115,84,.15);
}

.btn.secondary {
  color: var(--rose);
  background: transparent;
  border: 1px solid var(--rose);
}

/* ===== Decorators ===== */
.decor, .section-decor, .small-decor {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  position: relative;
}

.decor { width: 180px; margin: 26px 0 }
.section-decor { width: 160px; margin: 28px 0 }
.small-decor { width: 110px; margin: 18px auto 24px }

.decor:after, .section-decor:after, .small-decor:after {
  content: "";
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--rose);
  border-radius: 60% 40% 60% 40%;
  background: var(--paper);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) rotate(-35deg);
}

/* ===== Parallax & Animations ===== */
.hero-image, .offer-image, .about-image, .parent-image {
  overflow: hidden;
  background: var(--cream);
}

.hero-image img, .offer-image img, .about-image img, .parent-image img,
.contact-photo img {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-image img.loaded, .offer-image img.loaded, .about-image img.loaded, .parent-image img.loaded,
.contact-photo img.loaded {
  opacity: 1;
}


/* ===== Material Icons ===== */
.material-icons-outlined {
  font-size: 17px;
  vertical-align: -2px;
  margin-right: 5px;
  color: var(--text);
  line-height: 1;
}

/* ===== Home: Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 560px;
  overflow: hidden;
}

.hero-copy {
  padding: 68px 0 46px 5vw;
  max-width: 600px;
}

.hero-copy p {
  font-size: 15px;
  max-width: 520px;
  margin: 16px 0 0;
}

.hero-image {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: stretch;
}

.hero-image:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255,253,249,.72) 50%, transparent 100%);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.areas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 32px 0 28px;
  max-width: 660px;
}

.areas div {
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.areas div:last-child { border-right: none }

.areas span {
  display: block;
  color: var(--rose);
  font-size: 24px;
  margin-bottom: 8px;
}

.area-icon {
  font-size: 28px !important;
  vertical-align: baseline !important;
  margin-right: 0 !important;
  color: var(--rose) !important;
}

.card-icon-mi {
  font-size: 26px;
  color: inherit;
}

.buttons { display: flex; gap: 18px; flex-wrap: wrap }

/* ===== Home: How I Work ===== */
.how {
  padding: 56px 5vw 64px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff5ef 100%);
  text-align: center;
}

.how .section-decor { margin: 18px auto 38px; width: 100px }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}

.card {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.card:last-child { border-right: none }

.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--rose);
  font-size: 26px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 12px; font-size: 16px }
.card p { margin: 0; font-size: 13px }

/* ===== Home: About snippet ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 68px 7vw;
  background: #fffdf9;
}

.eyebrow {
  color: var(--rose);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 10px;
}

.about h2 { max-width: 640px; margin-bottom: 24px }
.about-text p { max-width: 700px; font-size: 15px }

.quote-box {
  align-self: center;
  background: linear-gradient(180deg, var(--sage-light), #f8efe9);
  border-radius: 24px;
  padding: 38px 32px;
  min-height: 270px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}

.quote-box p {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  line-height: 1.35;
  text-align: center;
  margin: 0;
  color: #465142;
}

/* ===== Home: Contact strip ===== */
.contact {
  margin: 0 4vw 46px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(90deg, #f9e7df 0%, #fff9f3 100%);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px;
}

.contact-copy p { max-width: 660px; margin-bottom: 0; font-size: 15px }

.contact-box {
  background: white;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
  font-size: 18px;
}

.contact-box a, .contact-box > span { color: var(--text); text-decoration: none; white-space: nowrap }
.contact-box .btn { min-width: 100%; color: white; white-space: normal }

/* ===== Oferta page ===== */
.offer-hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 420px;
  overflow: hidden;
}

.offer-copy {
  padding: 88px 0 64px 7vw;
  max-width: 520px;
}

.offer-copy h1 { font-size: clamp(50px, 6vw, 86px) }
.offer-copy p { font-size: 16px; max-width: 430px }

.offer-image {
  position: relative;
  min-height: 420px;
}

.offer-image:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255,253,249,.72) 50%, transparent 100%);
  z-index: 1;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.offer-grid {
  width: min(1060px, 92vw);
  margin: 28px auto 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.offer-card {
  background: rgba(255,253,249,.78);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 7px 22px rgba(58,45,34,.04);
}

.offer-card:nth-child(n+5) { transform: translateX(50%) }

.card-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f5eee6;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--sage);
  font-size: 32px;
}

.number {
  color: var(--rose);
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  margin: 0 0 8px;
}

.offer-card h2 { font-size: 26px; margin-bottom: 16px }
.offer-card p { font-size: 13px; margin: 0 0 14px }

/* ===== CTA section (shared oferta, dla-rodzica) ===== */
.cta {
  width: min(1060px, 92vw);
  margin: 0 auto 50px;
  padding: 36px 46px;
  border-radius: 22px;
  background: linear-gradient(90deg, #f9e7df 0%, #fff9f3 100%);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta h2 { font-size: 30px }
.cta p { font-size: 17px; margin: 8px 0 22px }

.contact-data {
  display: grid;
  gap: 6px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
  font-size: 17px;
}

.contact-data a, .contact-data > span { color: var(--text); text-decoration: none; white-space: nowrap }

/* ===== O mnie page ===== */
.about-hero {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 520px;
  overflow: hidden;
}

.about-copy {
  padding: 76px 0 56px 7vw;
  max-width: 510px;
}

.about-copy h1 { font-size: clamp(56px, 6vw, 92px) }
.about-copy p { font-size: 15px; max-width: 460px }
.about-copy strong { color: var(--rose) }

.script {
  font-family: 'Caveat', cursive;
  font-size: clamp(28px, 2.8vw, 44px) !important;
  line-height: 1.25;
  color: var(--rose);
  margin: 24px 0 32px !important;
}

.about-image {
  min-height: 520px;
  position: relative;
}

.about-image:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255,253,249,.72) 50%, transparent 100%);
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-sections {
  width: min(1060px, 92vw);
  margin: 0 auto;
  padding: 56px 0 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.info-card {
  padding: 0 38px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.info-card:last-child { border-right: none }

.info-card .icon {
  width: 68px;
  height: 68px;
  font-size: 32px;
  background: #f5eee6;
  color: var(--sage);
}

.info-card h2 { font-size: 30px }
.info-card p { font-size: 14px; margin: 0 0 16px }

/* ===== O mnie: Quote CTA ===== */
.quote {
  width: min(1060px, 92vw);
  margin: 0 auto 44px;
  padding: 36px 50px;
  border-radius: 22px;
  background: linear-gradient(90deg, #f9e7df 0%, #fff9f3 100%);
  display: grid;
  grid-template-columns: 1fr auto .65fr;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow);
}

.quote p {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

/* ===== Dla rodzica page ===== */
.parent-hero {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 420px;
  overflow: hidden;
}

.parent-copy {
  padding: 84px 0 56px 7vw;
  max-width: 560px;
}

.parent-copy h1 {
  font-size: clamp(56px, 6vw, 92px);
  color: var(--sage);
}

.parent-copy h2 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.28;
  font-weight: 400;
  color: var(--rose);
  margin-top: 16px;
}

.parent-copy p { font-size: 16px; max-width: 500px }

.parent-image {
  position: relative;
  min-height: 420px;
}

.parent-image:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255,253,249,.72) 50%, transparent 100%);
  z-index: 1;
}

.parent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.articles-grid {
  width: min(1060px, 92vw);
  margin: 28px auto 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.article-card {
  min-height: 320px;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,253,249,.84);
  text-align: center;
  box-shadow: 0 7px 22px rgba(58,45,34,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-card .card-icon {
  width: 68px;
  height: 68px;
  font-size: 30px;
  font-family: 'Playfair Display', serif;
}

.article-card h2 { font-size: 23px; margin-bottom: 16px }
.article-card p { font-size: 14px; margin: 0 0 22px }

.article-card a {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--rose);
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

/* ===== Shared content section (dla-rodzica, blog) ===== */
.content {
  width: min(880px, 92vw);
  margin: 36px auto 56px;
  display: grid;
  gap: 20px;
}

.content article {
  background: rgba(255,253,249,.78);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 32px 38px;
  box-shadow: 0 7px 22px rgba(58,45,34,.035);
}

.content h2 { font-size: 30px; color: var(--sage); margin-bottom: 16px }
.content p, .content li { font-size: 15px }
.content ul { margin: 12px 0 18px }

/* ===== Blog / Materialy / Kontakt hero ===== */
.shop-hero, .blog-hero, .contact-page {
  width: min(1060px, 92vw);
  margin: 46px auto 30px;
  padding: 56px 54px;
  border-radius: 24px;
  background: linear-gradient(90deg, #fffdf9 0%, #f7eee6 100%);
  box-shadow: 0 14px 40px rgba(58,45,34,.08);
}

.shop-hero h1, .blog-hero h1, .contact-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 6vw, 86px);
  color: var(--sage);
  line-height: 1;
  margin: 0 0 16px;
}

.shop-hero h2, .blog-hero h2, .contact-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 2.5vw, 40px);
  color: var(--rose);
  margin: 0 0 20px;
}

.shop-hero p, .blog-hero p, .contact-page p {
  max-width: 700px;
  font-size: 16px;
}

/* ===== Shop grid ===== */
.shop-grid, .blog-list {
  width: min(1060px, 92vw);
  margin: 30px auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card, .blog-card {
  background: rgba(255,253,249,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 7px 22px rgba(58,45,34,.04);
  display: flex;
  flex-direction: column;
}

.product-card .btn, .blog-card .btn {
  margin-top: auto;
}

.product-badge, .blog-category {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-card h2, .blog-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text);
  margin: 0 0 16px;
}

.product-card ul { padding-left: 18px; margin: 16px 0 22px; font-size: 14px }

.shop-note {
  width: min(880px, 92vw);
  margin: 0 auto 50px;
  background: linear-gradient(90deg, #eff1e8 0%, #fff8f1 100%);
  border-radius: 20px;
  padding: 36px;
}

.shop-note h2 {
  font-family: 'Playfair Display', serif;
  color: var(--sage);
  font-size: 32px;
  margin: 0 0 14px;
}

/* ===== Kontakt page ===== */
.contact-page {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 46px;
  align-items: center;
}

.contact-details {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-size: 18px;
}

.contact-details a, .contact-details > span {
  color: var(--sage);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}

.contact-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== Footer ===== */
.footer {
  width: min(1060px, 92vw);
  margin: 0 auto 30px;
  padding: 24px 36px;
  border-radius: 16px;
  background: #fffdf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  line-height: 1.15;
  text-align: center;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  color: var(--rose);
  font-family: 'Great Vibes', cursive !important;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: none;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--sage);
  font-weight: 500;
  font-size: 14px;
}

.footer-contact {
  display: flex;
  gap: 36px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1050px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: center;
  }

  .hamburger { display: block }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
  }

  .nav.open { display: flex }

  .hero { grid-template-columns: 1fr }
  .hero-copy { padding: 46px 5vw 26px }
  .hero-image { min-height: 360px }
  .hero-image:before, .offer-image:before, .about-image:before, .parent-image:before { display: none }
  .areas { grid-template-columns: repeat(2, 1fr); row-gap: 20px }
  .cards { grid-template-columns: 1fr 1fr; gap: 28px }
  .card { border-right: none }
  .about, .contact { grid-template-columns: 1fr }

  .offer-hero { grid-template-columns: 1fr }
  .offer-copy { padding: 56px 5vw 28px }
  .offer-image { min-height: 340px }
  .offer-grid { grid-template-columns: repeat(2, 1fr) }
  .offer-card:nth-child(n+5) { transform: none }
  .cta { grid-template-columns: 1fr }
  .contact-data { border-left: none; padding-left: 0 }

  .about-hero { grid-template-columns: 1fr }
  .about-copy { padding: 56px 5vw 28px }
  .about-image { min-height: 340px }
  .about-sections { grid-template-columns: 1fr; gap: 36px }
  .info-card { border-right: none; padding: 0 18px }
  .quote { grid-template-columns: 1fr; text-align: center }

  .parent-hero { grid-template-columns: 1fr }
  .parent-copy { padding: 56px 5vw 32px }
  .parent-image { min-height: 340px }
  .articles-grid { grid-template-columns: repeat(2, 1fr) }

  .footer { flex-direction: column; text-align: center }
  .footer-contact { flex-direction: column }

  .shop-grid, .blog-list, .contact-page { grid-template-columns: 1fr }
  .shop-hero, .blog-hero, .contact-page { padding: 36px 24px }
}

@media (max-width: 620px) {
  .brand-title { font-size: 24px }
  .brand-name { font-size: 18px }

  .hero-copy, .offer-copy, .about-copy, .parent-copy {
    text-align: center;
    margin: 0 auto;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-copy p, .offer-copy p, .about-copy p, .parent-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .decor { margin: 22px auto }
  .buttons { justify-content: center }

  .cards, .areas { grid-template-columns: 1fr }
  .areas div { border-right: none; border-bottom: 1px solid var(--line); padding: 10px }
  .areas div:last-child { border-bottom: none }
  .buttons .btn { width: 100% }
  .contact { padding: 24px; margin: 0 16px 32px; text-align: center }
  .contact-box { text-align: center; font-size: 15px }
  .contact-box a, .contact-box > span { white-space: normal }
  .contact-copy { text-align: center }

  .offer-grid { grid-template-columns: 1fr }
  .cta { padding: 26px 22px; text-align: center }
  .contact-data { border-left: none; padding-left: 0; justify-items: center; font-size: 14px }
  .contact-data a, .contact-data > span { white-space: normal }
  .contact-details a, .contact-details > span { white-space: normal }

  .about-copy h1 { font-size: 50px }
  .quote { padding: 26px 22px }
  .quote p { font-size: 20px }

  .articles-grid { grid-template-columns: 1fr }
  .content article { padding: 24px 22px; text-align: center }
  .content ul { text-align: left; display: inline-block }

  .shop-hero, .blog-hero, .contact-page { text-align: center }
  .contact-details { justify-items: center }
}
