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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img  { max-width:100%; height:auto; display:block; }
a    { color:inherit; text-decoration:none; }
ul   { list-style:none; }
button { cursor:pointer; font-family:var(--font-sans); border:none; background:none; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

/* ── Section ── */
.section { padding: var(--section-pad-y) var(--section-pad-x); }

/* ── Section header ── */
.section-header { text-align:center; margin-bottom:56px; }

.section-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--medium);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px auto;
  max-width: 160px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .45;
}
.divider-icon { color:var(--gold); font-size:1.1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114,47,55,.32);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122,158,126,.32);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* ── Mobile padding tweak ── */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .section-header { margin-bottom: 40px; }
}

/* ══════════════════════════════════════════════════════
   KWIATOWE SEPARATORY MIĘDZY SEKCJAMI
   Cienka linia z samych kwiatków — BEZ tła ani obwódek
   ══════════════════════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* kwiaty rozpięte na całej szerokości */
  width: 75%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 0;
  pointer-events: none;
  overflow: hidden;                 /* przytnij nadmiar na bardzo wąskich ekranach */
}

/* Brak linii bocznych — same kwiaty */
.section-divider::before,
.section-divider::after { display: none; }

/* Każdy span (kwiatek lub ·) */
.section-divider > span {
  display: inline-block;
  font-size: .85rem;
  line-height: 1;
  color: #C4A35A;
  flex-shrink: 0;
  animation: flowerShimmer 3.6s ease-in-out infinite,
             flowerBounce  3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s), var(--d, 0s);
}

/* Separatory "·" — mniejsze, subtelniejsze, bez bounce */
.section-divider > span:nth-child(even) {
  font-size: .55rem;
  color: rgba(196,163,90,.45);
  animation: flowerShimmer 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transform: none;
}

/* Wariant ciemny — nad dark sekcją hero */
.section-divider--dark > span:nth-child(odd)  { color: #D9BC7E; }
.section-divider--dark > span:nth-child(even) { color: rgba(217,188,126,.4); }

/* Telefon: 90% szerokości */
@media (max-width: 768px) {
  .section-divider { width: 88%; }
  .section-divider > span { font-size: .78rem; }
  .section-divider > span:nth-child(even) { font-size: .5rem; }
}
@media (max-width: 480px) {
  .section-divider { width: 92%; }
  /* Na bardzo małych: ukryj co drugie · żeby nie było tłoku */
  .section-divider > span:nth-child(4n)  { display: none; }
}

/* ── Animacja mieniącego się kwiatka (TYLKO kolor + blask) ──
   Celowo BEZ transform — nie nadpisuje translateX(-50%) na ::before  */
@keyframes flowerShimmer {
  0%, 100% {
    color: #C4A35A;
    text-shadow: 0 0 6px rgba(196,163,90,.7), 0 0 2px rgba(196,163,90,.3);
  }
  25% {
    color: #7A9E7E;
    text-shadow: 0 0 9px rgba(122,158,126,.8), 0 0 2px rgba(122,158,126,.4);
  }
  50% {
    color: #722F37;
    text-shadow: 0 0 7px rgba(114,47,55,.75);
  }
  75% {
    color: #D9BC7E;
    text-shadow: 0 0 12px rgba(217,188,126,.9), 0 0 20px rgba(196,163,90,.45);
  }
}

/* ── Ruch (obrót + pulsowanie) — tylko dla wolnostojących kwiatków ── */
@keyframes flowerBounce {
  0%, 100% { transform: scale(1)    rotate(0deg);   }
  22%       { transform: scale(1.22) rotate(13deg);  }
  48%       { transform: scale(0.86) rotate(-9deg);  }
  72%       { transform: scale(1.14) rotate(7deg);   }
}

