/* ===== SATJA JUGA — Design System v2 — LIGHTER & WARMER ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

:root {
  /* Dark cosmic — only for hero + footer */
  --bg-cosmic: #030d07;
  --bg-cosmic-alt: #061409;
  /* LIGHT sections — cream/beige/warm */
  --bg-light: #faf7f2;
  --bg-warm: #f5f0e8;
  --bg-cream: #fffdf8;
  --bg-card-light: #ffffff;
  --bg-card-warm: rgba(245,240,232,0.85);
  /* Greens — softer, more sage */
  --green-deep: #1a5c35;
  --green-main: #0d6b38;
  --green-sage: #3a7d5c;
  --green-soft: #5ca67a;
  --green-light: #22d47e;
  --green-star: #00c87e;
  /* Golds — warm, inviting */
  --gold-deep: #9a7415;
  --gold-main: #c4960a;
  --gold-warm: #d4a017;
  --gold-light: #f5d78e;
  --gold-shine: #ffeab5;
  /* Burgundy */
  --burgundy: #a32638;
  /* Text on light bg */
  --text-dark: #1a1a1a;
  --text-body: #3d3832;
  --text-muted: #7a7268;
  --text-subtle: #a09888;
  /* Text on dark bg */
  --white: rgba(255,255,255,0.92);
  --white-muted: rgba(255,255,255,0.6);
  /* Fonts */
  --font-heading: 'Cinzel', serif;
  --font-decorative: 'Cinzel Decorative', serif;
  --font-body: 'Lato', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 200ms cubic-bezier(0.23, 1, 0.32, 1);
  /* Emil Kowalski custom easings */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--green-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-warm); }
img { max-width: 100%; display: block; }

/* --- Gold gradient text (dark bg) --- */
.gold-text {
  background: linear-gradient(90deg, #c8960a, #ffd166, #f5d78e, #c8960a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* --- Gold text on light bg --- */
.gold-text-light {
  color: var(--gold-deep);
}

/* --- Separators --- */
.separator-dark { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-warm), var(--green-light), transparent); max-width: 80%; margin: 0 auto; }
.separator-light { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), var(--green-soft), transparent); max-width: 80%; margin: 0 auto; }

/* --- Section base --- */
.section { padding: 80px 5%; position: relative; }
.section--light { background: var(--bg-light); }
.section--cream { background: var(--bg-cream); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-cosmic); color: var(--white); }
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.section--dark .section__title { color: #fff; }
.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}
.section--dark .section__subtitle { color: var(--white-muted); }

/* --- Scroll reveal (Emil: stagger, ease-out, start from scale(0.98) not scale(0)) --- */
.reveal { opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* --- Buttons (Emil: scale(0.97) on :active, ease-out transitions, <300ms) --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border: none; transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out); position:relative; overflow:hidden; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: linear-gradient(135deg, var(--green-main), #c87a00); color: #fff; }
.btn--primary:hover { transform: scale(1.02) translateY(-2px); box-shadow: 0 8px 25px rgba(13,107,56,0.35), 0 0 20px rgba(212,160,23,0.2); }
.btn--outline-light { background: transparent; border: 2px solid var(--green-sage); color: var(--green-sage); }
.btn--outline-light:hover { border-color: var(--gold-warm); color: var(--gold-warm); background: rgba(212,160,23,0.05); }
.btn--outline-dark { background: transparent; border: 2px solid var(--green-light); color: var(--green-light); }
.btn--outline-dark:hover { border-color: var(--gold-warm); color: var(--gold-warm); background: rgba(34,212,126,0.08); }
.btn--gold { background: linear-gradient(135deg, #ffd890 0%, #f5b243 45%, #d2811d 100%); color: #1a1302; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(245,178,67,0.5), inset 0 1px 0 rgba(255,255,255,0.5); }
@media (hover: hover) and (pointer: fine) { .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(245,178,67,0.75), inset 0 1px 0 rgba(255,255,255,0.5); } }

/* --- Cards --- */
.card-light {
  background: var(--bg-card-light);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all var(--transition);
}
.card-light:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); border-color: rgba(212,160,23,0.2); }
.glass-card-dark {
  background: rgba(8, 28, 15, 0.75);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(0,200,126,0.15);
  transition: all var(--transition);
}
.glass-card-dark:hover { transform: translateY(-4px); border-color: rgba(0,200,126,0.4); box-shadow: 0 12px 40px rgba(0,200,126,0.12); }

/* ===== PROGRESS BAR ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--green-main), var(--gold-warm)); z-index: 1001; transition: width 100ms; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%; transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,253,248,0.95); backdrop-filter: blur(16px);
  padding: 10px 5%; box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar.scrolled .navbar__menu a { color: var(--text-dark); }
.navbar.scrolled .navbar__menu a:hover { color: var(--gold-warm); }
.navbar.scrolled .navbar__icons svg { stroke: var(--green-main); }
.navbar__logo img { height: 48px; }
.navbar__menu { display: flex; gap: 32px; list-style: none; }
.navbar__menu a { color: var(--white); font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 0.05em; }
.navbar__menu a:hover { color: var(--gold-warm); }
.navbar__icons { display: flex; gap: 20px; align-items: center; }
.navbar__icons svg { width: 22px; height: 22px; stroke: var(--green-light); fill: none; cursor: pointer; transition: stroke var(--transition); }
.navbar__icons svg:hover { stroke: var(--gold-warm); }
.cart-badge { position: relative; }
.cart-badge::after { content:'2'; position:absolute; top:-6px; right:-8px; background:var(--gold-warm); color:#fff; font-size:0.65rem; font-weight:700; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }

/* Hamburger */
.navbar__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; width: 28px; height: 24px; position: relative; flex-direction: column; justify-content: space-between; }
.navbar__hamburger span { display: block; width: 100%; height: 2px; background: var(--green-light); border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
.navbar__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.navbar.scrolled .navbar__hamburger span { background: var(--text-dark); }

/* Mobile menu overlay */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,253,248,0.98); backdrop-filter: blur(20px); z-index: 999; padding: 100px 32px 40px; flex-direction: column; align-items: center; gap: 0; opacity: 0; transform: translateY(-20px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-dark); letter-spacing: 0.08em; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.06); width: 100%; max-width: 300px; text-align: center; text-decoration: none; transition: color 200ms var(--ease-out); }
.mobile-menu a:hover { color: var(--gold-warm); }

@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }
  .navbar__icons svg:first-of-type, .navbar__icons svg:nth-of-type(2) { display: none; }
}

/* ===== HERO (dark cosmic — stays dark) ===== */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url('assets/kosmos_zielony.png') center/cover no-repeat; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,13,7,0.65), rgba(6,26,13,0.4), rgba(13,107,56,0.1)); z-index: 1; }
.hero__canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__content { position: relative; z-index: 3; max-width: 800px; padding: 0 20px; }
.hero__eyebrow { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-light); margin-bottom: 20px; }
.hero__title { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.hero__desc { font-size: 1.15rem; color: var(--white); max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.marquee-wrap { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: rgba(3,13,7,0.5); backdrop-filter: blur(8px); padding: 12px 0; overflow: hidden; }
.marquee { display: flex; gap: 40px; animation: marquee-scroll 25s linear infinite; white-space: nowrap; color: var(--green-light); font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 0.1em; opacity: 0.7; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.aurora-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: aurora-float 18s ease-in-out infinite; }
@keyframes aurora-float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.1); } 66% { transform: translate(-20px,20px) scale(0.95); } }

/* ===== TRUST BAR (warm) ===== */
.trust-bar { display: flex; justify-content: center; align-items: center; padding: 18px 5%; background: var(--bg-warm); flex-wrap: wrap; gap: 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 8px 28px; font-size: 0.9rem; color: var(--text-body); border-right: 1px solid rgba(154,116,21,0.2); }
.trust-item:last-child { border-right: none; }
.trust-item span:first-child { font-size: 1.2rem; }
.trust-item strong { color: var(--gold-deep); }

/* ===== PRODUCTS GRID (light bg) ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1280px; margin: 0 auto; }
.product-card { position: relative; overflow: hidden; cursor: pointer; border-radius: 20px; background: linear-gradient(180deg,#ffffff,#faf6ec); border: 1px solid rgba(26,43,35,0.08); box-shadow: 0 20px 50px -25px rgba(26,43,35,0.12); text-decoration: none; color: inherit; display: block; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px -25px rgba(26,43,35,0.2); border-color: rgba(199,154,58,0.4); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__badge { position: absolute; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; z-index: 3; font-family: var(--font-body); }
.product-card__badge--new { background: #e26a10; color: #fff; }
.product-card__badge--bestseller { background: var(--green-main); color: #fff; }
.product-card__img { aspect-ratio: 1; overflow: hidden; background: linear-gradient(180deg, var(--bg-warm) 0%, #f0ebe0 100%); display: flex; align-items: center; justify-content: center; position: relative; border-radius: 20px 20px 0 0; }
.product-card__img img { max-width: 70%; max-height: 80%; object-fit: contain; transition: transform 0.5s ease; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.18)); }
.product-card__info { padding: 18px 22px 22px; }
.product-card__tag { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #e26a10; margin-bottom: 8px; }
.product-card__author { font-family: var(--font-body); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-subtle); margin-top: 6px; }
.product-card__title { font-family: 'Cormorant Garamond', var(--font-heading), serif; font-weight: 500; font-size: 1.1rem; margin-bottom: 0; color: var(--text-dark); line-height: 1.2; letter-spacing: 0.01em; }
.product-card__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(26,43,35,0.06); }
.product-card__price { font-family: 'Cormorant Garamond', var(--font-heading), serif; font-size: 1.2rem; font-weight: 600; background: linear-gradient(180deg,#e6b34d 0%,#c79a3a 40%,#8a6219 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card__cart-link { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-sage); transition: color 0.2s; }
.product-card:hover .product-card__cart-link { color: var(--gold-warm); }

/* ===== AUTHORS (cream bg) ===== */
.authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
.author-card { display: flex; gap: 28px; align-items: flex-start; }
.author-card__photo { width: 160px; min-width: 160px; height: 200px; border-radius: var(--radius); background: var(--bg-warm); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(212,160,23,0.2); }
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.author-card__info h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 8px; }
.author-card__info p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 12px; }
.author-card__link { font-family: var(--font-heading); font-size: 0.8rem; color: var(--gold-deep); letter-spacing: 0.05em; }
.author-card__link:hover { color: var(--green-main); }

/* ===== TRANSERFING SECTION ===== */
.transerfing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.transerfing-text p { margin-bottom: 20px; font-size: 1.05rem; color: var(--text-body); }
.transerfing-text .highlight { color: var(--green-main); font-weight: 400; }
.transerfing-visual { display: flex; align-items: center; justify-content: center; min-height: 400px; position: relative; }
.sacred-geo { width: 320px; height: 320px; position: relative; }
.sacred-geo::before { content:''; position:absolute; inset:-20%; border-radius:50%; background:radial-gradient(circle,rgba(26,154,85,0.08),transparent 70%); animation:geo-pulse 4s ease-in-out infinite; }
@keyframes geo-pulse { 0%,100%{transform:scale(1);opacity:0.6;} 50%{transform:scale(1.1);opacity:1;} }

/* ===== AKADEMIA BANNER (dark CTA section) ===== */
.akademia-banner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.akademia-banner__text h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 20px; }
.akademia-banner__text p { color: var(--white-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
.akademia-banner__features { list-style: none; margin-bottom: 32px; }
.akademia-banner__features li { padding: 8px 0; font-size: 0.95rem; color: var(--text-body); display: flex; align-items: center; gap: 12px; }
.akademia-banner__features li::before { content: '✦'; color: var(--green-sage); font-size: 0.8rem; }
.akademia-banner__visual { text-align: center; position: relative; }
.akademia-banner__visual-icon { font-size: 6rem; margin-bottom: 20px; opacity: 0.9; }
.akademia-banner__visual-quote { font-family: var(--font-heading); font-size: 1.1rem; color: var(--gold-light); font-style: italic; line-height: 1.6; max-width: 360px; margin: 0 auto; }

/* ===== COUNTERS (on light bg) ===== */
.counters { display: flex; justify-content: center; gap: 60px; padding: 60px 5%; flex-wrap: wrap; background: var(--bg-warm); }
.counter-item { text-align: center; }
.counter-item__number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--gold-deep); }
.counter-item__label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TESTIMONIALS (cream) ===== */
/* ===== PLANET ANIMATIONS ===== */
@keyframes planet-float { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-52%) scale(1.02); } }
@keyframes ring-rotate-1 { from { transform: translate(-50%,-50%) rotate3d(1,0,0,74deg) rotateZ(0deg); } to { transform: translate(-50%,-50%) rotate3d(1,0,0,74deg) rotateZ(360deg); } }
@keyframes ring-rotate-2 { from { transform: translate(-50%,-50%) rotate3d(1,0.1,0,72deg) rotateZ(0deg); } to { transform: translate(-50%,-50%) rotate3d(1,0.1,0,72deg) rotateZ(-360deg); } }
@keyframes ring-rotate-3 { from { transform: translate(-50%,-50%) rotate3d(1,0,0,76deg) rotateZ(0deg); } to { transform: translate(-50%,-50%) rotate3d(1,0,0,76deg) rotateZ(360deg); } }
@keyframes orbit-symbol { 0%,100% { transform: translateY(0) scale(1); opacity: 0.85; } 50% { transform: translateY(-8px) scale(1.08); opacity: 1; } }
.planet-sphere { animation: planet-float 6s ease-in-out infinite; }
.planet-ring-1 { animation: ring-rotate-1 40s linear infinite; }
.planet-ring-2 { animation: ring-rotate-2 55s linear infinite; }
.planet-ring-3 { animation: ring-rotate-3 70s linear infinite; }
.orbit-symbol { animation: orbit-symbol 4s ease-in-out infinite; }
.orbit-symbol:nth-child(5) { animation-delay: -1s; }
.orbit-symbol:nth-child(6) { animation-delay: -2s; }
.orbit-symbol:nth-child(7) { animation-delay: -3s; }
@keyframes planet-glow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.planet-glow { animation: planet-glow 5s ease-in-out infinite; }

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-wrapper { overflow: hidden; max-width: 1200px; margin: 0 auto; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.testimonials-track { display: flex; gap: 28px; animation: testimonial-scroll 30s linear infinite; width: max-content; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonial-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { flex: 0 0 360px; padding: 32px; text-align: center; }
.testimonial-card__quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; color: var(--text-body); position: relative; }
.testimonial-card__quote::before { content:'"'; font-family:var(--font-decorative); font-size:3rem; color:var(--green-soft); opacity:0.3; position:absolute; top:-16px; left:-4px; }
.testimonial-card__stars { color: var(--gold-warm); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card__author { font-size: 0.85rem; color: var(--text-muted); }

/* ===== NEWSLETTER (warm) ===== */
.newsletter { text-align: center; position: relative; overflow: hidden; }
.newsletter__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 16px; flex-wrap: wrap; justify-content: center; }
.newsletter__input { flex:1; min-width:240px; padding:14px 20px; background:#fff; border:1px solid rgba(0,0,0,0.12); border-radius:var(--radius-sm); color:var(--text-dark); font-family:var(--font-body); font-size:0.95rem; transition:all var(--transition); }
.newsletter__input:focus { outline:none; border-color:var(--green-sage); box-shadow:0 0 0 3px rgba(90,166,122,0.15); }
.newsletter__note { font-size: 0.8rem; color: var(--text-subtle); }

/* ===== FOOTER (dark) ===== */
.footer-separator { width: 100%; height: 120px; background: url('assets/banner.jpg') center/cover no-repeat; opacity: 0.7; }
.footer { background: var(--bg-cosmic); padding: 60px 5% 20px; color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer__col-title { font-family: var(--font-heading); font-size: 1rem; color: var(--gold-warm); margin-bottom: 16px; }
.footer__col p { font-size: 0.9rem; color: var(--white-muted); line-height: 1.7; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--white-muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--green-light); }
.footer__contact-phone { color: var(--gold-warm); font-weight: 700; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 0.8rem; color: var(--white-muted); flex-wrap: wrap; gap: 12px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--white-muted); font-size: 0.8rem; }

/* ===== TOAST ===== */
.toast { position:fixed; bottom:24px; left:24px; padding:16px 24px; background:#fff; border-radius:var(--radius); border:1px solid rgba(0,0,0,0.08); box-shadow:0 8px 30px rgba(0,0,0,0.1); z-index:999; transform:translateX(-120%); transition:transform 0.5s ease; font-size:0.9rem; max-width:340px; color:var(--text-body); }
.toast.show { transform: translateX(0); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== "ALL PRODUCTS" LINK ===== */
.section__more { text-align: center; margin-top: 40px; }
.section__more a { font-family: var(--font-heading); font-size: 0.9rem; color: var(--gold-deep); letter-spacing: 0.06em; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }
.section__more a:hover { color: var(--green-main); border-color: var(--green-main); }

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape (≤1200px) --- */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hero__content { max-width: 680px; }
  .section { padding: 80px 4%; }
}

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .akademia-banner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .akademia-banner__text { order: 1; }
  .akademia-banner__visual { order: 2; }
  .akademia-banner__features { display: inline-block; text-align: left; }
  .akademia-dark [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; text-align: center; }
  .articles-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .transerfing-grid { grid-template-columns: 1fr; gap: 40px; }
  .transerfing-visual { display: none; }
  .authors-grid { grid-template-columns: 1fr; gap: 40px; }
  .author-card { max-width: 600px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .counters { flex-wrap: wrap; gap: 24px; }
  .counter-item { flex: 0 0 calc(50% - 12px); }
  .hero { min-height: 600px; }
  .navbar { padding: 14px 4%; }
  .navbar__menu { gap: 24px; }
  .navbar__menu a { font-size: 0.78rem; }
}

/* --- Tablet portrait / large mobile (≤768px) --- */
@media (max-width: 768px) {
  /* Navbar */
  .navbar__menu { display: none; }
  .navbar__logo img { height: 40px; }
  .navbar { padding: 12px 4%; }
  .navbar.scrolled { padding: 8px 4%; }

  /* Hero */
  .hero { min-height: 500px; height: auto; padding: 120px 0 80px; }
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero__desc { font-size: 1rem; margin-bottom: 30px; }
  .hero__cta { flex-direction: column; align-items: center; gap: 12px; }
  .hero__cta .btn { width: 100%; max-width: 300px; text-align: center; }
  .hero__eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; }
  .marquee-wrap { display: none; }

  /* Sections */
  .section { padding: 60px 5%; }
  .section__title { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 12px; }
  .section__subtitle { font-size: 0.95rem; margin-bottom: 36px; }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card__img { aspect-ratio: 4/5; }
  .product-card__title { font-size: 0.95rem; }
  .product-card__tag { font-size: 0.55rem; }
  .product-card__info { padding: 14px 16px 18px; }
  .product-card__bottom { margin-top: 10px; padding-top: 10px; }
  .product-card__price { font-size: 1rem; }
  .product-card__cart-link { font-size: 0.5rem; }

  /* Section header (bestsellery) */
  [style*="max-width:1280px"][style*="display:flex"] { flex-direction: column; gap: 8px; padding: 0 !important; }

  /* Trust bar */
  .trust-bar { flex-direction: column; gap: 4px; padding: 14px 4%; }
  .trust-item { border-right: none; padding: 6px 0; font-size: 0.75rem; }

  /* Authors */
  .authors-grid { grid-template-columns: 1fr; gap: 32px; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .author-card__photo { width: 120px; height: 150px; min-width: 120px; }
  .author-card__info h3 { font-size: 1.1rem; }
  .author-card__info p { font-size: 0.85rem; }

  /* Transerfing */
  .transerfing-text h2 { font-size: 1.4rem; }

  /* Akademia planet */
  .akademia-banner__visual > div:first-child { width: 260px !important; height: 260px !important; }

  /* Counters */
  .counters { gap: 16px; padding: 30px 4%; }
  .counter-item { flex: 0 0 calc(50% - 8px); }
  .counter-item__number { font-size: 2rem; }
  .counter-item__label { font-size: 0.8rem; }

  /* Testimonials carousel */
  .testimonials-wrapper { margin: 0 -5%; }
  .testimonial-card { flex: 0 0 300px; padding: 24px 20px; }
  .testimonial-card__quote { font-size: 0.95rem; }

  /* Newsletter */
  .newsletter__form { flex-direction: column; max-width: 360px; }
  .newsletter__input { min-width: auto; width: 100%; }

  /* Footer */
  .footer { padding: 40px 5% 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__col-title { font-size: 0.9rem; margin-bottom: 10px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__legal { justify-content: center; }
}

/* --- Mobile (≤480px) --- */
@media (max-width: 480px) {
  /* Products single column */
  .products-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .product-card__img { aspect-ratio: 1; }

  /* Hero */
  .hero { padding: 100px 0 60px; }
  .hero__title { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .hero__content { padding: 0 16px; }

  /* Sections padding */
  .section { padding: 48px 4%; }
  .section__title { font-size: 1.3rem; }

  /* Navbar */
  .navbar__logo img { height: 36px; }
  .navbar__icons { gap: 14px; }
  .navbar__icons svg { width: 20px; height: 20px; }

  /* Akademia dark */
  .akademia-dark [style*="width:380px"] { width: 220px !important; height: 220px !important; }

  /* Articles */
  .articles-grid { grid-template-columns: 1fr !important; max-width: 360px !important; margin: 0 auto 48px !important; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.75rem; }
  .btn--gold { padding: 12px 28px; }
  .hero__cta .btn { max-width: 280px; }

  /* Authors */
  .author-card__photo { width: 100px; height: 130px; min-width: 100px; }

  /* Counters */
  .counters { flex-wrap: wrap; }
  .counter-item { flex: 0 0 calc(50% - 8px); }
  .counter-item__number { font-size: 1.6rem; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 280px; padding: 20px 16px; }
  .testimonial-card__quote { font-size: 0.88rem; }
  .testimonial-card__author { font-size: 0.78rem; }

  /* Newsletter */
  .newsletter h2 { font-size: 1.4rem !important; }

  /* Footer */
  .footer__grid { gap: 24px; }
  .footer__bottom { font-size: 0.75rem; }
}

/* ===== EMIL KOWALSKI: Accessibility & Polish ===== */

/* prefers-reduced-motion: keep opacity, remove movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { transform: none; transition: opacity 0.3s ease; }
  .testimonials-track { animation: none; }
  .planet-sphere, .planet-ring-1, .planet-ring-2, .planet-ring-3, .orbit-symbol, .planet-glow { animation: none; }
}

/* Hover effects only for fine pointers (no touch false-positives) */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px -25px rgba(26,43,35,0.2); border-color: rgba(199,154,58,0.4); }
  .product-card:hover .product-card__img img { transform: scale(1.05); }
  .product-card:hover .product-card__cart-link { color: var(--gold-warm); }
  .author-card__link:hover { color: var(--green-main); }
  .navbar__link:hover { color: var(--gold-warm); }
}

/* Stagger delays (Emil: 30-80ms between items, keep short) */
.reveal[style*="transition-delay"] { transition-delay: var(--stagger, 0ms); }

/* Gold text shimmer for dark bg */
@keyframes gold-shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.gold-text { background-size: 200% auto; }

/* Smooth ::selection */
::selection { background: rgba(199,154,58,0.25); color: var(--text-dark); }
.section--dark ::selection { background: rgba(245,210,122,0.3); color: #fff; }
