/* ═══════════════════════════════════════════════════════════
   FOTOEKSPERT.PL — STYLE.CSS
   Premium · Minimalist · Pastel · Mobile-First
   Targeted: Women 30+ | Poznań & Szczecin
═══════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors */
  --white:        #FFFAF6;
  --cream:        #FFF5EE;
  --blush-light:  #FAEEE8;
  --blush:        #F0D8CE;
  --rose:         #E2BFB3;
  --rose-deep:    #C9968A;
  --sage-light:   #EDF2EB;
  --sage:         #D4E3CE;
  --gold:         #C9A96E;
  --gold-light:   #E8D5B0;
  --gold-pale:    #F5EDD8;

  /* Text */
  --text-dark:    #3D3128;
  --text-mid:     #7A6A60;
  --text-light:   #A89890;
  --text-muted:   #C4B5AF;

  /* Functional */
  --border:       rgba(201, 150, 138, 0.18);
  --shadow-soft:  0 4px 24px rgba(61, 49, 40, 0.07);
  --shadow-md:    0 8px 40px rgba(61, 49, 40, 0.11);
  --shadow-lg:    0 20px 60px rgba(61, 49, 40, 0.14);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* Spacing */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;
  --space-3xl:   9rem;

  /* Layout */
  --container:   1200px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   28px;
  --radius-xl:   48px;

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:    0.18s;
  --dur-mid:     0.35s;
  --dur-slow:    0.6s;
}

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

/* Krytyczne: zapewnia że [hidden] zawsze ukrywa element,
   nawet jeśli CSS nadpisałby display */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

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

p { max-width: 68ch; }

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) var(--space-md);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-header p { margin: 0 auto; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--dur-mid) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-deep), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 150, 138, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 150, 138, 0.45);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: var(--blush-light);
}

.btn-outline {
  background: var(--white);
  color: var(--rose-deep);
  border: 1.5px solid var(--rose);
}

.btn-outline:hover {
  background: var(--rose-deep);
  color: var(--white);
  border-color: var(--rose-deep);
}

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

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;               /* ← wyższy niż lightbox (2000) i wszystko inne */
  padding: 1.2rem var(--space-md);
  transition: all var(--dur-mid) var(--ease);
  background: rgba(255, 250, 246, 0.85);  /* ← lekkie tło nawet przed scrollem */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;        /* ← jawne — nic nie blokuje kliknięć */
}

.navbar.scrolled {
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(61, 49, 40, 0.08);
  padding: 0.9rem var(--space-md);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-main em {
  color: var(--gold);
  font-style: italic;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease);
  letter-spacing: 0.02em;
}

.nav-link:hover { color: var(--rose-deep); }

.nav-cta {
  background: linear-gradient(135deg, var(--rose-deep), var(--gold));
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 3px 14px rgba(201, 150, 138, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201, 150, 138, 0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 6000;   /* ← powyżej nav-menu (5500) i lightbox */
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, var(--blush-light) 40%, var(--white) 100%);
}

.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 55vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, var(--gold-pale) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: var(--space-md);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.18;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.hero-headline em {
  display: block;
  color: var(--rose-deep);
}

.hero-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--rose-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--blush);
}

/* Hero visual */
.hero-visual { position: relative; }

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blush);
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-left: auto;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(255, 250, 246, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-float-card {
  position: absolute;
  top: 12%;
  left: -12%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-md);
  max-width: 180px;
  text-align: center;
  border: 1px solid var(--border);
}

.float-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.hero-float-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
  max-width: none;
}

/* ─── GALLERY ────────────────────────────────────────────── */
.gallery-section {
  background: var(--white);
  max-width: var(--container);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 49, 40, 0.35), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 2rem;
  color: var(--white);
  font-weight: 200;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(61, 49, 40, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  position: relative;
  z-index: 2001;
}

.lightbox-close {
  position: fixed;
  top: 5rem;          /* ← przesunięty niżej — poza obszar hamburgera (≈4rem) */
  right: 1.5rem;
  z-index: 2002;
  width: 44px;
  height: 44px;
  background: rgba(255, 250, 246, 0.15);
  border: 1px solid rgba(255, 250, 246, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255, 250, 246, 0.3); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2002;
  width: 50px;
  height: 50px;
  background: rgba(255, 250, 246, 0.15);
  border: 1px solid rgba(255, 250, 246, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 250, 246, 0.3); }

/* ─── COURSES ────────────────────────────────────────────── */
.courses-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  max-width: 100%;
}

.courses-section .section-header,
.courses-section .courses-footer {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all var(--dur-mid) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose);
}

.course-card--featured {
  background: linear-gradient(145deg, var(--blush-light), var(--gold-pale));
  border-color: var(--gold-light);
}

.course-card--highlight {
  background: linear-gradient(145deg, var(--sage-light), var(--cream));
  border-color: var(--sage);
}

.course-icon {
  font-size: 2rem;
  line-height: 1;
}

.course-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--rose-deep);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.course-badge--gold {
  background: var(--gold-pale);
  color: var(--gold);
}

.course-badge--new {
  background: var(--sage-light);
  color: #5A8A5A;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin-top: 0.3rem;
}

.course-desc {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  max-width: none;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.course-tags li {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--cream);
  color: var(--text-light);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.course-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.course-cta:hover { color: var(--gold); }

.courses-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

.courses-footer p {
  margin: 0 auto var(--space-md);
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ─── SPECIAL OFFERS ─────────────────────────────────────── */
.special-offers {
  background: var(--cream);
  padding: var(--space-xl) var(--space-md);
}

.offers-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.offer-card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--dur-mid) var(--ease);
}

.offer-card:hover { transform: translateY(-4px); }

.offer-card--gift {
  background: linear-gradient(135deg, var(--blush-light), var(--gold-pale));
  border: 1px solid var(--gold-light);
}

.offer-card--corporate {
  background: linear-gradient(135deg, var(--sage-light), var(--cream));
  border: 1px solid var(--sage);
}

.offer-icon { font-size: 2.5rem; }

.offer-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

.offer-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: none;
}

/* ─── ABOUT / E-E-A-T ────────────────────────────────────── */
.about-section {
  background: var(--white);
  overflow: hidden;
}

.about-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-visual { position: relative; }

.about-photo-frame {
  border-radius: var(--radius-xl) var(--radius-lg) var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blush);
  aspect-ratio: 4/5;
  max-width: 420px;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-credentials {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: var(--space-md);
  border: 1px solid var(--border);
}

.credential { text-align: center; }

.cred-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-deep);
  line-height: 1;
  font-weight: 400;
}

.cred-label {
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.about-content { padding-left: var(--space-md); }

.about-content p {
  color: var(--text-mid);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.eeat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.eeat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-sm);
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.eeat-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

.eeat-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.eeat-item strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.eeat-item span {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ─── REVIEWS ────────────────────────────────────────────── */
.reviews-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.reviews-slider {
  display: flex;
  gap: var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  overflow: hidden;
  position: relative;
}

.review-card {
  flex: 0 0 calc(33.333% - 0.94rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: opacity var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
  flex: 1;
  max-width: none;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--rose-deep);
  flex-shrink: 0;
}

.review-author div {
  display: flex;
  flex-direction: column;
}

.review-author strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.review-author span {
  font-size: 0.76rem;
  color: var(--text-light);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.review-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-btn:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: var(--blush-light);
}

.review-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blush);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}

.review-dot.active {
  background: var(--rose-deep);
  width: 22px;
  border-radius: 4px;
}

.reviews-footer {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ─── BLOG ───────────────────────────────────────────────── */
.blog-section {
  background: var(--white);
  max-width: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
}

.blog-title a { color: var(--text-dark); }
.blog-title a:hover { color: var(--rose-deep); }

.blog-excerpt {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
  max-width: none;
}

.blog-read {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: 0.03em;
}

.blog-footer {
  text-align: center;
  max-width: var(--container);
  margin: var(--space-lg) auto 0;
  padding: 0 var(--space-md);
}

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--gold-pale) 100%);
  border-top: 1px solid var(--blush);
  border-bottom: 1px solid var(--blush);
}

.newsletter-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.newsletter-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.newsletter-content p {
  color: var(--text-mid);
  margin-top: var(--space-sm);
  font-size: 0.95rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}

.newsletter-input-group input:focus { border-color: var(--rose); }

.newsletter-disclaimer {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  max-width: none;
}

.newsletter-disclaimer a { color: var(--text-mid); text-decoration: underline; }

/* ─── SOCIAL ─────────────────────────────────────────────── */
.social-section {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--border);
}

.social-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: none;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--dur-fast) var(--ease);
}

.social-link:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: var(--blush-light);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-section {
  background: var(--cream);
}

.contact-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info { padding-top: var(--space-md); }

.contact-info p {
  color: var(--text-mid);
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.contact-item a { color: var(--text-dark); font-weight: 500; }
.contact-item a:hover { color: var(--rose-deep); }

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rose);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox { flex-direction: row; align-items: flex-start; }

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--rose-deep);
  padding: 0;
}

.checkbox-label span {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

.checkbox-label a { color: var(--rose-deep); text-decoration: underline; }

.form-status {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
  color: var(--rose-deep);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 250, 246, 0.7);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-main em { color: var(--gold); }
.footer-logo .logo-sub { color: rgba(255, 250, 246, 0.4); }

.footer-tagline {
  margin-top: var(--space-md);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 250, 246, 0.55);
  max-width: 26ch;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 250, 246, 0.5);
  transition: all var(--dur-fast) var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-nav-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 250, 246, 0.55);
  transition: color var(--dur-fast) var(--ease);
  line-height: 1.4;
}

.footer-nav a:hover { color: var(--white); }

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 250, 246, 0.55);
  max-width: none;
  line-height: 1.5;
}

.footer-contact a {
  color: rgba(255, 250, 246, 0.75);
  transition: color var(--dur-fast) var(--ease);
}

.footer-contact a:hover { color: var(--white); }

.footer-hours {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 250, 246, 0.08);
}

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

.footer-bottom-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 250, 246, 0.35);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: rgba(255, 250, 246, 0.35);
  font-size: 0.78rem;
  transition: color var(--dur-fast) var(--ease);
}

.footer-bottom-links a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: -4px 0 40px rgba(61, 49, 40, 0.12);
    transition: right var(--dur-mid) var(--ease);
    z-index: 5500;  /* ← poniżej hamburgera (6000), powyżej wszystkiego innego */
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.7rem var(--space-sm);
    width: 100%;
  }

  .nav-cta {
    margin-top: var(--space-sm);
    text-align: center;
    justify-content: center;
  }

  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .about-container { grid-template-columns: 1fr; }
  .about-content { padding-left: 0; }
  .about-photo-frame { max-width: 340px; }
  .about-credentials { position: static; margin-top: var(--space-md); justify-content: flex-start; }
  .newsletter-container { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--wide { grid-column: span 1; }

  .reviews-slider { overflow-x: auto; scroll-snap-type: x mandatory; }
  .review-card { flex: 0 0 calc(50% - 0.7rem); scroll-snap-align: start; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  section { padding: var(--space-xl) var(--space-sm); }

  .courses-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .eeat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-stats { flex-direction: column; gap: var(--space-sm); }
  .stat-divider { display: none; }
  .newsletter-input-group { flex-direction: column; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .review-card { flex: 0 0 calc(100% - 0rem); }
  .social-container { flex-direction: column; align-items: flex-start; }
  .footer-bottom-container { flex-direction: column; text-align: center; }
  .contact-form { padding: var(--space-md); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─── FOCUS ACCESSIBILITY ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .navbar, .hero-float-card, .lightbox, .newsletter-section { display: none; }
}

/* ── FORM STATUS MESSAGES ──────────────────────────────────── */
.form-status {
  font-size: .88rem; line-height: 1.5; margin-top: .75rem;
  padding: .7rem 1rem; border-radius: var(--radius-sm);
  min-height: 0; transition: all .3s;
}
.form-success {
  background: var(--sage-light); border: 1px solid var(--sage);
  color: #3d7a3d; font-weight: 500;
}
.form-error {
  background: #FFF0F0; border: 1px solid #F5AAAA; color: #C0392B;
}
