/*
Theme Name: Stowarzyszenie Róża
Theme URI: https://roza.org.pl
Author: MKLink Michał Kaczor
Author URI: https://mklink.pl
Description: Motyw dla Stowarzyszenia Róża – elegancki, minimalistyczny, w pełni zoptymalizowany pod SEO. Idealne odwzorowanie designu Lovable z fontami Playfair Display i Inter, paletą barw różowo-kremową oraz botaniką SVG.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roza
Tags: blog, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, responsive-layout, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties – Brand Design Tokens
   Matches exactly the Lovable/Tailwind design
   ========================================================================== */

:root {
  /* Brand colors */
  --rose-deep:   #8B4A5A;
  --rose-blush:  #F0DDD8;
  --cream:       #FAF6F2;
  --charcoal:    #2C2C2C;
  --sage:        #7A8C6E;

  /* Semantic tokens */
  --color-background: var(--cream);
  --color-foreground: var(--charcoal);
  --color-border:     #E8D5CC;
  --color-card:       #FFFFFF;
  --color-muted-fg:   rgba(44,44,44,.55);

  /* Typography */
  --font-serif: 'Playfair Display', ui-serif, Georgia, serif;
  --font-sans:  'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Layout */
  --container-max: 80rem;
  --radius:     0.625rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin-top: 0;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-balance { text-wrap: balance; }

/* ==========================================================================
   Hero Gradient
   ========================================================================== */

.hero-gradient {
  background: linear-gradient(160deg, var(--cream) 0%, var(--rose-blush) 100%);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(250,246,242,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity .2s;
}

.site-logo:hover {
  opacity: .85;
}

.logo-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--rose-deep);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.site-logo:hover .logo-icon {
  transform: rotate(6deg);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.logo-text em {
  color: var(--rose-deep);
  font-style: italic;
}

/* Desktop nav */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav a {
  font-size: .875rem;
  color: rgba(44,44,44,.8);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.current-menu-item,
.main-nav a[aria-current="page"] {
  color: var(--rose-deep);
}

/* Mobile toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--charcoal);
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.menu-toggle svg { width: 1.375rem; height: 1.375rem; }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--color-border);
}

.mobile-nav.is-open { display: block; }

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

.mobile-nav nav {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav a {
  padding: .75rem 0;
  font-size: 1rem;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(232,213,204,.4);
  transition: color .2s;
  text-decoration: none;
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--rose-deep);
}

/* ==========================================================================
   MAIN CONTENT OFFSET (for fixed header)
   ========================================================================== */

.site-main {
  padding-top: 5rem; /* header height */
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding-top: 5rem;
  padding-bottom: 7rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero-eyebrow {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: rgba(139,74,90,.8);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.hero-heading {
  font-size: 3rem;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 0;
}

@media (min-width: 640px) { .hero-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-heading { font-size: 4.5rem; } }

.hero-heading em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero-body {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: rgba(44,44,44,.75);
  max-width: 36rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-visual svg {
    width: 100%;
    max-width: 28rem;
    color: rgba(139,74,90,.6);
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  padding: .875rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--rose-deep);
  color: var(--cream);
  box-shadow: 0 10px 25px rgba(139,74,90,.2);
}

.btn-primary:hover {
  background: rgba(139,74,90,.9);
  transform: translateY(-2px);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--rose-deep);
  border: 1px solid rgba(139,74,90,.4);
}

.btn-outline:hover {
  background: rgba(139,74,90,.05);
  color: var(--rose-deep);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: margin .2s;
}

.btn:hover svg { margin-left: .2rem; }

/* ==========================================================================
   SECTION UTILITIES
   ========================================================================== */

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section { padding-top: 8rem; padding-bottom: 8rem; }
}

.section--cream {
  background: var(--cream);
  border-top: 1px solid rgba(232,213,204,.6);
  border-bottom: 1px solid rgba(232,213,204,.6);
}

.section--blush {
  background: rgba(240,221,216,.4);
}

.section--dark {
  background: var(--rose-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-eyebrow {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-family: var(--font-sans);
  margin-bottom: 1rem;
}

.section-eyebrow--sage { color: var(--sage); }
.section-eyebrow--rose { color: rgba(139,74,90,.8); }
.section-eyebrow--rose-pale { color: var(--rose-deep); }

.section-heading {
  font-size: 2.5rem;
  color: var(--charcoal);
}

@media (min-width: 640px) { .section-heading { font-size: 3rem; } }

.section-heading--light { color: var(--cream); }

.section-intro {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

/* ==========================================================================
   LEAF DIVIDER
   ========================================================================== */

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: rgba(139,74,90,.6);
  margin-top: 2rem;
}

.leaf-divider span {
  height: 1px;
  width: 4rem;
  background: rgba(139,74,90,.3);
  display: block;
}

.leaf-divider svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   CARDS – Działania
   ========================================================================== */

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { gap: 2rem; }
}

.card {
  height: 100%;
  border-radius: 1rem;
  background: rgba(240,221,216,.5);
  padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

@media (min-width: 1024px) {
  .card { padding: 2.5rem; }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(139,74,90,.1);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  margin-bottom: 1.5rem;
}

.card-icon svg { width: 1.375rem; height: 1.375rem; }

.card-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .75rem;
}

.card-body {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   MISSION QUOTE
   ========================================================================== */

.mission-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 0 0 2rem;
}

@media (min-width: 640px) {
  .mission-quote blockquote { font-size: 2.25rem; }
}

.mission-quote p {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.mission-quote .quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 2rem;
  color: rgba(139,74,90,.4);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--rose-deep);
  font-weight: 500;
  text-decoration: none;
  transition: gap .2s;
}

.link-arrow:hover { gap: .75rem; color: var(--rose-deep); }

.link-arrow svg { width: 1rem; height: 1rem; }

/* ==========================================================================
   Tu i Teraz
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .feature-grid { gap: 3.5rem; }
}

.feature-item {
  border-top: 1px solid rgba(139,74,90,.3);
  padding-top: 2rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .5rem;
  background: rgba(122,140,110,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 1.25rem; height: 1.25rem; }

.feature-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .75rem;
}

.feature-body {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-bg-illustration {
  position: absolute;
  right: -5rem;
  top: -2.5rem;
  width: 26rem;
  color: rgba(250,246,242,.1);
  display: none;
}

@media (min-width: 768px) {
  .cta-bg-illustration { display: block; }
}

.cta-inner {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .cta-inner { padding-top: 6rem; padding-bottom: 6rem; }
}

.cta-heading {
  font-size: 2.5rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .cta-heading { font-size: 3rem; } }

.cta-body {
  color: rgba(250,246,242,.85);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* btn-light for CTA banner */
.btn-light {
  background: var(--cream);
  color: var(--rose-deep);
}

.btn-light:hover {
  background: var(--rose-blush);
  color: var(--rose-deep);
  transform: translateY(-2px);
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.page-hero-eyebrow {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: rgba(139,74,90,.8);
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}

.page-hero-title {
  font-size: 3rem;
  color: var(--charcoal);
  margin-bottom: 0;
}

@media (min-width: 640px) { .page-hero-title { font-size: 3.75rem; } }

.page-hero-body {
  margin-top: 1.5rem;
  color: rgba(44,44,44,.75);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ==========================================================================
   O NAS PAGE
   ========================================================================== */

.split-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.botanical-frame {
  aspect-ratio: 4/5;
  border-radius: 1rem;
  background: rgba(240,221,216,.6);
  border: 4px solid var(--cream);
  box-shadow: 0 20px 60px rgba(139,74,90,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.botanical-frame svg {
  width: 100%;
  height: 100%;
  color: rgba(139,74,90,.6);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  position: relative;
  background: var(--color-card);
  border-radius: 1rem;
  padding: 2rem 2rem 2rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}

.value-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.value-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 4px;
  border-radius: 999px;
  background: var(--rose-deep);
}

.value-card-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}

.value-card-body {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  margin: 0;
}

.mission-text {
  font-size: 1.125rem;
  color: rgba(44,44,44,.8);
  line-height: 1.75;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   WARSZTATY PAGE
   ========================================================================== */

.warsztaty-list {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.warsztat-card {
  background: var(--color-card);
  border: 1px solid rgba(232,213,204,.6);
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow .3s;
}

@media (min-width: 1024px) { .warsztat-card { padding: 3rem; } }

.warsztat-card:hover {
  box-shadow: 0 20px 40px rgba(139,74,90,.1);
}

.warsztat-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.warsztat-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(240,221,216,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
}

.warsztat-icon svg { width: 1.625rem; height: 1.625rem; }

.warsztat-title {
  font-size: 2rem;
  color: var(--charcoal);
  padding-top: .5rem;
  margin: 0;
}

@media (min-width: 640px) { .warsztat-title { font-size: 2.25rem; } }

.warsztat-lead {
  font-size: 1.125rem;
  color: rgba(44,44,44,.8);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.warsztat-body {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  margin: 0;
}

.warsztat-schedule {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.schedule-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(44,44,44,.7);
  margin-bottom: .75rem;
}

.schedule-label svg { width: 1rem; height: 1rem; color: var(--rose-deep); }

.shifts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: 28rem;
}

.shift {
  background: rgba(240,221,216,.3);
  border-radius: .5rem;
  padding: .75rem 1rem;
}

.shift-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(44,44,44,.6);
  margin-bottom: .25rem;
}

.shift-time {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--charcoal);
  margin: 0;
}

/* ==========================================================================
   WYDARZENIA PAGE
   ========================================================================== */

.events-max {
  max-width: 52rem;
  margin: 0 auto;
}

.timeline {
  position: relative;
  border-left: 2px solid var(--rose-blush);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .timeline { padding-left: 3rem; }
}

.timeline-item {
  position: relative;
}

.timeline-date {
  position: absolute;
  left: -3.05rem;
  top: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--rose-deep);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(139,74,90,.2);
}

@media (min-width: 1024px) {
  .timeline-date { left: -3.8rem; width: 5rem; height: 5rem; }
}

.timeline-day {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
}

@media (min-width: 1024px) { .timeline-day { font-size: 1.5rem; } }

.timeline-month {
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

.event-card {
  background: var(--color-card);
  border: 1px solid rgba(232,213,204,.6);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .2s;
}

.event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.event-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}

.event-desc {
  color: rgba(44,44,44,.7);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.event-place {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--sage);
}

.event-place svg { width: .9375rem; height: .9375rem; }

.events-cta {
  margin-top: 5rem;
  text-align: center;
  background: rgba(240,221,216,.4);
  border-radius: 1rem;
  padding: 3rem 2rem;
}

.events-cta-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   KONTAKT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.contact-heading {
  font-size: 1.875rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(240,221,216,.6);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 1.125rem; height: 1.125rem; }

.contact-item-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(44,44,44,.5);
  margin-bottom: .25rem;
  font-family: var(--font-sans);
  display: block;
}

.contact-item-value {
  color: rgba(44,44,44,.8);
  line-height: 1.6;
  margin: 0;
}

.contact-item-value a { transition: color .2s; }
.contact-item-value a:hover { color: var(--rose-deep); }

.hours-box {
  background: rgba(240,221,216,.3);
  border-radius: 1rem;
  padding: 1.5rem;
}

.hours-heading {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--rose-deep);
  font-size: 1.25rem;
  margin-bottom: .75rem;
}

.hours-heading svg { width: 1.125rem; height: 1.125rem; }

.hours-text {
  color: rgba(44,44,44,.8);
  line-height: 1.75;
  margin: 0;
}

/* Contact Form */
.contact-form-card {
  background: var(--color-card);
  border: 1px solid rgba(232,213,204,.6);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

@media (min-width: 1024px) { .contact-form-card { padding: 2.5rem; } }

.form-heading {
  font-size: 1.875rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}

.form-intro {
  font-size: .875rem;
  color: rgba(44,44,44,.65);
  margin-bottom: 1.5rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(44,44,44,.7);
  margin-bottom: .5rem;
  font-family: var(--font-sans);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid var(--color-border);
  background: var(--cream);
  padding: .75rem 1rem;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(44,44,44,.4);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(139,74,90,.2);
}

.field textarea { resize: none; }

.form-success {
  display: none;
  align-items: center;
  gap: .5rem;
  color: var(--sage);
  font-size: .875rem;
  margin-top: .75rem;
}

.form-success.visible { display: flex; }

/* WP default form styles (Contact Form 7 / Gravity Forms override) */
.wpcf7-form .wpcf7-submit {
  appearance: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--charcoal);
  color: rgba(250,246,242,.85);
  margin-top: 6rem;
}

.footer-border {
  height: 2px;
  background: rgba(240,221,216,.4);
}

.footer-inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}

.footer-brand .site-logo { margin-bottom: 1rem; }

.footer-brand .logo-text { color: var(--cream); }

.footer-tagline {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(250,246,242,.7);
  max-width: 18rem;
  margin: 0;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a,
.footer-links span {
  font-size: .875rem;
  color: rgba(250,246,242,.7);
  transition: color .2s;
}

.footer-links a:hover { color: var(--rose-blush); }

.footer-links span { cursor: default; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(250,246,242,.7);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--rose-blush);
}

.footer-bottom {
  border-top: 1px solid rgba(250,246,242,.1);
}

.footer-copy {
  padding: 1.5rem 0;
  text-align: center;
  font-size: .75rem;
  color: rgba(250,246,242,.5);
  margin: 0;
}

/* ==========================================================================
   FADE-IN ANIMATION
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp .7s ease forwards;
}

.fade-in.visible {
  opacity: 1;
}

/* Staggered delays */
.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: .1s; }
.fade-in:nth-child(3) { animation-delay: .2s; }
.fade-in:nth-child(4) { animation-delay: .3s; }

/* ==========================================================================
   WordPress Core
   ========================================================================== */

.wp-block-image img { border-radius: var(--radius); }
.aligncenter { margin-left: auto; margin-right: auto; }

/* Screen-reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999rem;
  top: 1rem;
  padding: .5rem 1rem;
  background: var(--rose-deep);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: .875rem;
  z-index: 100;
}

.skip-link:focus { left: 1rem; }

/* ==========================================================================
   Responsive misc
   ========================================================================== */

@media (max-width: 639px) {
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .page-hero { padding-top: 4rem; padding-bottom: 3rem; }
  .hero-inner { padding-top: 3.5rem; padding-bottom: 5rem; }
}

/* ==========================================================================
   WYDARZENIA – dodatkowe style (meta-row, data pełna, pusta lista)
   ========================================================================== */

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: .75rem;
}

.event-date-full {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--sage);
}

.event-date-full svg { width: .9375rem; height: .9375rem; flex-shrink: 0; }

.events-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(44,44,44,.6);
  font-size: 1.125rem;
}

/* ==========================================================================
   LOGO – poprawki rozmiaru (custom logo WP może być duże)
   ========================================================================== */

/* Ogranicz custom logo wgrane przez WP */
.site-logo img,
.custom-logo-link img,
.custom-logo {
  height: 2.5rem !important;
  width: auto !important;
  max-height: 2.5rem !important;
  display: block;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Nagłówek – upewnij się że logo-text nie wrappuje */
.logo-text {
  white-space: nowrap;
}

/* Header zawsze na wierzchu, logo nigdy nie wychodzi poza header */
.header-inner {
  overflow: visible;
}

.site-header .site-logo,
.site-header .custom-logo-link {
  max-width: 60%;
}

/* ==========================================================================
   MOBILE FIXES – hero heading + logo
   ========================================================================== */

/* Hero heading – zmniejsz na małych ekranach żeby nie wychodził poza viewport */
@media (max-width: 479px) {
  .hero-heading {
    font-size: 2.25rem;
    line-height: 1.08;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-eyebrow {
    font-size: .75rem;
    letter-spacing: .15em;
  }

  .hero-body {
    font-size: 1rem;
  }

  .hero-inner {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  /* Przyciski jeden pod drugim na bardzo małych */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Logo – ukryj duplikat obrazka jeśli jest i custom logo link */
/* WP dodaje custom-logo-link OBOK naszego .site-logo – ukryj go */
.site-header > .container > .header-inner > a.custom-logo-link {
  display: none !important;
}

/* Jeśli WP wstawił custom logo PRZED naszym – ukryj */
.header-inner .custom-logo-link:not(.site-logo) {
  display: none !important;
}

/* Logo icon (SVG) – odpowiedni rozmiar na mobile */
@media (max-width: 639px) {
  .logo-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  /* Jeśli tekst i tak za długi – pozwól na wrap po spacji */
  .logo-text {
    white-space: normal;
    max-width: calc(100vw - 7rem); /* zostaw miejsce na hamburger */
  }
}

/* Upewnij się że header-inner nie ma overflow hidden który ucina logo */
.site-header,
.header-inner {
  overflow: visible !important;
}

/* ==========================================================================
   UKRYJ duplikat custom logo wstawiany przez WordPress Customizer
   ========================================================================== */

/* WP może wstawiać custom-logo-link przez wp_body_open lub inne hooki */
body > a.custom-logo-link,
.site-header a.custom-logo-link:not(.site-logo) {
  display: none !important;
}

/* Jeśli custom logo trafia do .site-logo – ustaw jego rozmiar */
.site-logo img.custom-logo,
.site-logo img {
  height: 1.75rem !important;
  width: auto !important;
  max-height: 1.75rem !important;
  border-radius: 0 !important;
  display: inline-block !important;
  vertical-align: middle;
}

/* ==========================================================================
   STOPKA – footer-copy z dwoma kolumnami
   ========================================================================== */

.footer-copy {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  font-size: .75rem;
  color: rgba(250,246,242,.5);
}

.footer-copy a {
  color: rgba(250,246,242,.7);
  text-decoration: none;
  transition: color .2s;
}

.footer-copy a:hover {
  color: var(--rose-blush);
}

@media (max-width: 639px) {
  .footer-copy {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ==========================================================================
   COOKIEYES – dopasowanie do palety Stowarzyszenia Róża
   ========================================================================== */

/* Tło banera */
.cky-consent-container,
.cky-consent-bar {
  background: var(--cream) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 60px rgba(44,44,44,.12) !important;
  font-family: var(--font-sans) !important;
}

/* Tytuł */
.cky-title,
.cky-consent-bar .cky-title {
  font-family: var(--font-serif) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--charcoal) !important;
}

/* Treść / opis */
.cky-notice-des,
.cky-notice-des p,
.cky-consent-bar p {
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  color: rgba(44,44,44,.75) !important;
  line-height: 1.65 !important;
}

/* Linki w tekście */
.cky-notice-des a,
.cky-consent-bar a {
  color: var(--rose-deep) !important;
  text-decoration: underline !important;
}

/* === PRZYCISKI === */

/* Zaakceptuj wszystkie – główny (rose-deep) */
.cky-btn-accept,
[data-cky-tag="accept-button"] {
  background: var(--rose-deep) !important;
  color: var(--cream) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  padding: .75rem 1.5rem !important;
  cursor: pointer !important;
  transition: background .2s, transform .2s !important;
  box-shadow: 0 4px 14px rgba(139,74,90,.25) !important;
}

.cky-btn-accept:hover,
[data-cky-tag="accept-button"]:hover {
  background: rgba(139,74,90,.88) !important;
  transform: translateY(-1px) !important;
}

/* Odrzuć wszystkie – outline */
.cky-btn-reject,
[data-cky-tag="reject-button"] {
  background: transparent !important;
  color: var(--rose-deep) !important;
  border: 1px solid rgba(139,74,90,.4) !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  padding: .75rem 1.5rem !important;
  cursor: pointer !important;
  transition: background .2s !important;
}

.cky-btn-reject:hover,
[data-cky-tag="reject-button"]:hover {
  background: rgba(139,74,90,.06) !important;
}

/* Pokaż więcej / Dostosuj – subtelny */
.cky-btn-customize,
[data-cky-tag="settings-button"] {
  background: transparent !important;
  color: rgba(44,44,44,.6) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  font-weight: 400 !important;
  padding: .75rem 1.5rem !important;
  cursor: pointer !important;
  transition: color .2s, border-color .2s !important;
}

.cky-btn-customize:hover,
[data-cky-tag="settings-button"]:hover {
  color: var(--rose-deep) !important;
  border-color: rgba(139,74,90,.4) !important;
}

/* Panel szczegółów / preferencji */
.cky-modal,
.cky-preference-center {
  font-family: var(--font-sans) !important;
  border-radius: 1rem !important;
  background: var(--cream) !important;
}

.cky-modal-title,
.cky-preference-title {
  font-family: var(--font-serif) !important;
  color: var(--charcoal) !important;
}

/* Toggle (przełącznik kategorii) – aktywny */
.cky-switch input:checked + .cky-slider,
.cky-switch input:checked ~ .cky-slider {
  background: var(--rose-deep) !important;
}

/* Toggle – nieaktywny */
.cky-switch .cky-slider {
  background: rgba(44,44,44,.2) !important;
}

/* Kategorie cookies – nagłówki */
.cky-accordion-header,
.cky-accordion-btn {
  font-family: var(--font-sans) !important;
  color: var(--charcoal) !important;
  font-weight: 500 !important;
}

/* Zapisz preferencje */
.cky-btn-save,
[data-cky-tag="save-button"] {
  background: var(--rose-deep) !important;
  color: var(--cream) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  padding: .75rem 1.5rem !important;
  transition: background .2s !important;
}

.cky-btn-save:hover,
[data-cky-tag="save-button"]:hover {
  background: rgba(139,74,90,.88) !important;
}

/* Overlay za modalem */
.cky-overlay {
  background: rgba(44,44,44,.4) !important;
}

/* Ikona/badge CookieYes w rogu – dopasuj kolor */
.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
  background: var(--rose-deep) !important;
  border-radius: 50% !important;
}
