:root {
  --dusty-pink: #0C7F8B;
  --burgundy-brown: #4b2c2e;
  --bg: #fffbfb;
  --text: #1d1d1d;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Nawigacja ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4vw;
  background: #fff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 4%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--burgundy-brown);
  letter-spacing: 0.05em;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  padding: 0.2rem 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy-brown);
  transition: width .25s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 1rem;
  padding: 4rem 4vw 5rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--burgundy-brown);
}

.highlight {
  color: var(--dusty-pink);
  font-weight: 300;
}

.lead {
  margin: 1.5rem 0 2rem;
  max-width: 40ch;
}

.btn-primary {
  display: inline-block;
  background: var(--dusty-pink);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.4,0,.2,1);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.hero-illustration {
  border: 4px solid var(--burgundy-brown);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgb(0 0 0 / 6%);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}


.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Sekcje ===== */
.section {
  padding: 4rem 4vw;
}

.section.wide {
  padding-top: 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--burgundy-brown);
  text-align: center;
}

.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border: 2px solid var(--dusty-pink);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 8px rgb(0 0 0 / 4%);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 6px rgb(0 0 0 / 6%);
}

.card p {
  margin-bottom: 1rem; /* odstęp pod tekstem */
}

.card .btn-secondary {
  margin-top: auto;       /* trzyma guzik na dole karty */
  margin-bottom: 0.5rem;  /* odstęp od krawędzi karty */
  align-self: flex-start; /* wyrównanie do lewej */
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgb(0 0 0 / 6%);
}

.card h3 {
  color: var(--burgundy-brown);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.btn-secondary {
  display: inline-block;
  background: var(--dusty-pink);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background: var(--burgundy-brown);
}
/* ===== O pomysłodawczyni ===== */
.founder-section {
  padding: 4rem 4vw;
  background-color: #fff;
}

.founder-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.founder-photo {
  flex: 1 1 280px;
  max-width: 340px;
  border: 4px solid var(--burgundy-brown);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 12px rgb(0 0 0 / 6%);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founder-text {
  flex: 1 1 320px;
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.8;
}

.founder-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--burgundy-brown);
}

.founder-text .intro {
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.founder-text blockquote {
  border-left: 4px solid var(--dusty-pink);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--burgundy-brown);
  background-color: #FDFBFB;
  border-radius: 0.5rem;
}

/* ===== Stopka ===== */
.footer {
  background: var(--burgundy-brown);
  color: #fff;
  padding: 2rem 4vw;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-bottom 0.2s ease;
}

.footer a:hover {
  border-bottom-color: transparent;
}

.footer-content p {
  margin: 0.5rem 0;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0.8rem 0;
  flex-wrap: wrap;
}

.social-links span {
  color: #fff;
  font-size: 1.2rem;
}

/* ===== PMDD ===== */

.pmdd-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pmdd-btn {
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s;
}

.pmdd-btn:hover { transform: translateY(-3px); }

.pmdd-btn.dusty { background: #0C7F8B; color: #fff; }
.pmdd-btn.dark  { background: #99CACF; color: #fff;    }
.pmdd-btn.light { background: #e9b9b9; color: #fff; }
.pmdd-btn.soft  { background-color: #4b2c2e;color: #fff; }

/* boxy z treścią */
.pmdd-box {
  background: #fff;
  border: 2px solid var(--dusty-pink);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  box-shadow: 0 4px 8px rgb(0 0 0 / 4%);
}

.pmdd-box.hidden { display: none; }

.pmdd-warning {
  font-size: 0.85rem;
  background: #fff4f6;
  border-left: 4px solid var(--dusty-pink);
  padding: 1rem 1.5rem;
  max-width: 1000px;
  border-radius: 0.5rem;
  margin: 2rem auto 2.5rem;
  color: #4b2c2e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pmdd-box h3 {
  margin-bottom: 0.6rem;
}
.pmdd-box ol {
  list-style-type: circle;
  padding-left: 1.2rem;
  margin-left: 1rem;
  color: var(--text);
}

.pmdd-box li {
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
  line-height: 1.6;
}


.stories-section {
  padding: 4rem 4vw;
  background-color: #fff; /* pastelowy niebieski */
}

.stories-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--burgundy-brown);
  margin-bottom: 2rem;
}

.stories-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.stories-list {
  flex: 1 1 300px;
  max-width: 350px;
}

.story-button {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  background-color: var(--dusty-pink);
  color: var(--text);
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.story-form {
  flex: 1 1 400px;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-form label {
  font-size: 1.1rem;
  color: var(--text);
}

.story-form textarea {
  width: 100%;
  min-height: 160px;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.submit-button {
  align-self: flex-start;
  background-color: var(--dusty-pink);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background-color: #3a1e20;
}

.nav-toggle,
.hamburger { display: none; }

/* ===== MOBILE (< 768 px) ===== */
@media (max-width: 767px) {

  /* 1. chowamy poziome menu */
  .nav-list {
    position: fixed;
    top: 0; left: 0;
    width: 80%;
    max-width: 280px;
    height: 100vh;
    background: #fff;
    border-right: 2px solid var(--dusty-pink);
    box-shadow: 4px 0 10px rgb(0 0 0 / 6%);
    padding: 6rem 2rem 2rem;  /* odsunięcie od góry */
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 150;
  }

  .nav-list a { font-size: 1.05rem; }

  /* 2. hamburger widoczny */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 1rem;
    cursor: pointer;
    z-index: 200;            /* nad panelem */
  }
  .hamburger span {
    width: 26px; height: 3px;
    background: var(--burgundy-brown);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }

  /* ukryty checkbox */
  .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

  /* 3. po kliknięciu: wysuń menu */
  .nav-toggle:checked ~ nav .nav-list { transform: translateX(0); }

  /* animacja: burger → X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}