/* ==========================================================================
   Mindful Sip — style.css
   Paleta: blue #B1C8EA, yellow #FFEDAC, brown #3E2723, cream #FDEBDE
   ========================================================================== */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fredoka-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fredoka-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+2113;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0304, U+0308, U+0329, U+1E00-1EFF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0304, U+0308, U+0329, U+1E00-1EFF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0304, U+0308, U+0329, U+1E00-1EFF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0304, U+0308, U+0329, U+1E00-1EFF;
}

/* ---------- Custom properties ---------- */
:root {
  --blue: #B1C8EA;
  --yellow: #FFEDAC;
  --brown: #3E2723;
  --cream: #FDEBDE;

  --bg: #FFFCF8;
  --surface: #ffffff;
  --text: var(--brown);
  --text-soft: #6b5650;
  --border: #EFE1D8;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(62, 39, 35, 0.06);
  --shadow-md: 0 12px 30px rgba(62, 39, 35, 0.10);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: clamp(56px, 8vw, 110px) 0; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6b52;
  background: var(--yellow);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brown); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-secondary:hover { background: var(--brown); color: var(--cream); }
.btn-block { width: 100%; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 40px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
}
.main-nav a:hover { color: #8a5c45; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--brown); border-radius: 3px; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--bg);
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav a { font-size: 1.3rem; }
  .header-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(60px, 8vw, 100px);
}
.hero .blob-blue { width: 420px; height: 420px; background: var(--blue); top: -140px; right: -120px; opacity: .55; }
.hero .blob-yellow { width: 300px; height: 300px; background: var(--yellow); bottom: -80px; left: -100px; opacity: .6; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.hero h1 .highlight { color: #a5673f; position: relative; }
.hero p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.hero-stats div span { color: var(--text-soft); font-size: .92rem; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--cream), var(--blue));
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .placeholder-note {
  font-family: var(--font-display);
  color: var(--brown);
  text-align: center;
  padding: 24px;
  font-size: 0.95rem;
}
.hero-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #5da85b; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
}

/* ---------- Logo strip / trust ---------- */
.trust-strip { padding: 40px 0; }
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: .95rem;
}

/* ---------- O mnie ---------- */
.about { background: var(--cream); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-signature { font-family: var(--font-display); font-size: 1.1rem; margin-top: 18px; }
.about ul.about-points { display: grid; gap: 14px; margin-top: 24px; }
.about ul.about-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.about ul.about-points li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E2723' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* ---------- Oferta / kursy ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-media {
  aspect-ratio: 16/11;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-media .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.course-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-body h3 { font-size: 1.25rem; }
.course-body p { color: var(--text-soft); font-size: .95rem; margin-bottom: 6px; }
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-display);
  font-weight: 600;
}
.course-meta .price { color: #a5673f; }
.course-meta .price small { font-family: var(--font-body); font-weight: 400; color: var(--text-soft); }

/* ---------- Dlaczego / proces ---------- */
.process { background: var(--surface); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.process-step { position: relative; padding-left: 4px; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue);
  -webkit-text-stroke: 1.5px var(--brown);
  margin-bottom: 10px;
  display: block;
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Opinie ---------- */
.testimonials { background: var(--brown); color: var(--cream); }
.testimonials .section-head p { color: #d9beb1; }
.testimonials .eyebrow { background: var(--yellow); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testi-card {
  background: rgba(255, 251, 245, 0.06);
  border: 1px solid rgba(255, 251, 245, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.testi-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 1.02rem; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow);
  color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  flex: none;
}
.testi-author strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.testi-author span { font-size: .85rem; color: #d9beb1; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 520px; margin: 0; }

/* ---------- Kontakt ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}
.contact-info { display: grid; gap: 20px; }
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.contact-info-card .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 1.2rem;
}
.contact-info-card h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-info-card p { margin: 0; color: var(--text-soft); font-size: .92rem; }

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: .92rem; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(177, 200, 234, .35);
}
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.form-consent input { margin-top: 4px; }
.form-consent a { text-decoration: underline; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: 14px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; font-weight: 500; }
.form-status.success { display: block; background: #e4f3e2; color: #2f5b2a; }
.form-status.error { display: block; background: #fbe4e0; color: #8c2f22; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #a5673f;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; color: var(--text-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--cream); padding: 70px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 251, 245, .15);
}
.footer-logo img { height: 34px; margin-bottom: 16px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-col p { color: #d9beb1; font-size: .92rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #d9beb1; font-size: .92rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,251,245,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.footer-social a:hover { background: var(--yellow); color: var(--brown); border-color: var(--yellow); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #b89c8f;
}
.footer-bottom a { color: #b89c8f; text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 26px;
  display: none;
  gap: 16px;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid var(--border);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--text-soft); }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: .9rem; }

/* ---------- Misc pages (polityka prywatności) ---------- */
.legal-page { padding: 60px 0 100px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--text-soft); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 40px; }
.legal-page p, .legal-page li { color: var(--text-soft); }
.legal-page ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
