/* Plik:   /httpdocs/assets/css/styles.css
   Wersja: 1.2.0
   Data:   2026-05-02

   1.2.0 — globalne style sb-modal i sb-toast (bezowe tło, gold scheme)
           Buttony modala: Potwierdź=zielony, Anuluj=czerwony.
           Wynika z 1:1 stylu sb-modal w pokaz.php — wyniesione globalnie
           żeby wszystkie strony portalu używały tego samego.
   1.1.0 — usunięta reguła automatycznego CSS-blur dla zablokowanych zdjęć
           (placeholdery są teraz gotowymi grafikami z wbudowaną tarczą).
   ========================================
   SZUKAM BOGATEGO - Ekskluzywny Portal Randkowy
   CSS Styles
   ======================================== */

/* ========== CSS Variables ========== */
:root {
  /* Colors - Exclusive Cream & Gold Theme */
  --background: #faf9f7;
  --foreground: #3d3830;
  --card: #ffffff;
  --card-foreground: #3d3830;
  --primary: #b8963a;
  --primary-foreground: #ffffff;
  --secondary: #f5f3ef;
  --secondary-foreground: #5a5347;
  --muted: #f7f5f2;
  --muted-foreground: #7a7267;
  --border: #e8e4dd;
  --input: #f7f5f2;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  
  /* Radius */
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

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

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

ul {
  list-style: none;
}

/* ========== Utility Classes ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(184, 150, 58, 0.25);
}

.btn-primary:hover {
  background-color: #a6862f;
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(61, 56, 48, 0.2);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: rgba(61, 56, 48, 0.05);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--foreground);
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
}

.btn-rounded {
  border-radius: var(--radius-full);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.1);
  border: 1px solid rgba(184, 150, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.025em;
}

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

.logo-text span {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color .15s;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

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

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

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

.mobile-menu-inner {
  padding: 1rem;
}

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

.mobile-nav a {
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,249,247,0.95), rgba(250,249,247,0.8), rgba(250,249,247,0.1));
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(250,249,247,0.7), transparent, transparent);
}

.hero-glow-1 {
  position: absolute;
  top: 5rem;
  left: 5rem;
  width: 16rem;
  height: 16rem;
  background-color: rgba(184, 150, 58, 0.1);
  border-radius: var(--radius-full);
  filter: blur(48px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 5rem;
  left: 33%;
  width: 12rem;
  height: 12rem;
  background-color: rgba(184, 150, 58, 0.15);
  border-radius: var(--radius-full);
  filter: blur(48px);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 10rem;
  width: 100%;
  align-self: center;
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 2rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.hero-left {
  max-width: 42rem;
  text-align: left;
  width: 100%;
  justify-self: start;
  align-self: center;
}

.hero-left .hero-description,
.hero-left .hero-title,
.hero-left .hero-badge,
.hero-left .hero-buttons,
.hero-left .trust-indicators {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.1);
  border: 1px solid rgba(184, 150, 58, 0.3);
  margin-bottom: 2rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 1.67rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hero-title span {
  color: var(--primary);
  font-style: italic;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

@media (min-width: 1280px) {
  .hero-description {
    font-size: 1rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    align-items: flex-start;
  }
}

.hero-buttons .btn {
  padding: 1rem 2rem;
}

.hero-buttons .btn svg {
  transition: transform 0.2s ease;
}

.hero-buttons .btn:hover svg {
  transform: translateX(4px);
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Widgety zaufania - responsive visibility (per-widget toggle) */
@media (max-width: 1023px) {
  .trust-item.is-hide-mobile { display: none; }
}
@media (min-width: 1024px) {
  .trust-item.is-hide-desktop { display: none; }
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.trust-text p:first-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.trust-text p:last-child {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Hero Stats Card */
.hero-right {
  display: none;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .hero-right {
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    align-items: flex-start;
    width: 100%;
  }
}

.stats-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  max-width: 24rem;
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stats-pulse {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
  background-color: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.stats-header span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stats-main {
  margin-bottom: 1.5rem;
}

.stats-main p:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stats-main p:last-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stats-divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stats-grid-item p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.stats-grid-item p:last-child {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.stats-card .btn {
  width: 100%;
}

/* ========== How It Works Section ========== */
.how-it-works {
  padding: 6rem 0;
  background-color: rgba(245, 243, 239, 0.3);
  position: relative;
}

/* ── Subtelny gradient separator między sekcjami na index ── */
.how-it-works::before,
.about::before,
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184, 150, 58, 0.4), transparent);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .how-it-works {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-tag {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

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

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: rgba(184, 150, 58, 0.5);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--border);
  transition: color 0.3s ease;
}

.step-card:hover .step-number {
  color: rgba(184, 150, 58, 0.2);
}

.step-icon {
  position: relative;
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  background-color: rgba(184, 150, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.step-card:hover .step-icon {
  background-color: rgba(184, 150, 58, 0.2);
}

.step-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.step-connector {
  display: none;
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background-color: var(--border);
}

@media (min-width: 1024px) {
  .step-connector {
    display: block;
  }
}

/* ========== About Section ========== */
.about {
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 1024px) {
  .about {
    padding: 8rem 0;
  }
}

.about-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184, 150, 58, 0.4), transparent);
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

.about-tag {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

@media (min-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.feature-item span {
  color: var(--foreground);
}

/* About Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  background-color: var(--secondary);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Trust Cards */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 639px) {
  .trust-cards {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background-color: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.trust-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ========== Testimonials Section ========== */
.testimonials {
  padding: 6rem 0;
  background-color: rgba(245, 243, 239, 0.3);
}

@media (min-width: 1024px) {
  .testimonials {
    padding: 8rem 0;
  }
}

.testimonial-carousel {
  max-width: 56rem;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  overflow: hidden;
}

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

.testimonial-quote-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
  color: rgba(184, 150, 58, 0.1);
}

.testimonial-content {
  position: relative;
  z-index: 10;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .testimonial-text {
    font-size: 1.5rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
}

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot:hover {
  background-color: var(--muted-foreground);
}

.carousel-dot.active {
  width: 2rem;
  background-color: var(--primary);
}

/* ========== CTA Section ========== */
.cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background-color: rgba(245, 243, 239, 0.5);
}

@media (min-width: 1024px) {
  .cta {
    padding: 8rem 0;
  }
}

.cta-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184, 150, 58, 0.3), transparent);
}

.cta-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background-color: rgba(184, 150, 58, 0.1);
  border-radius: var(--radius-full);
  filter: blur(48px);
}

.cta-glow-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 16rem;
  height: 16rem;
  background-color: rgba(184, 150, 58, 0.15);
  border-radius: var(--radius-full);
  filter: blur(48px);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.1);
  border: 1px solid rgba(184, 150, 58, 0.3);
  margin-bottom: 2rem;
}

.cta-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.cta-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

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

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-form {
    flex-direction: row;
  }
}

.cta-input {
  flex: 1;
  height: 3.5rem;
  padding: 0 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--foreground);
  font-size: 1rem;
}

.cta-input::placeholder {
  color: var(--muted-foreground);
}

.cta-input:focus {
  outline: none;
  border-color: var(--primary);
}

.cta-form .btn {
  height: 3.5rem;
  padding: 0 2rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

/* Success State */
.cta-success {
  background-color: rgba(184, 150, 58, 0.1);
  border: 1px solid rgba(184, 150, 58, 0.3);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  max-width: 28rem;
  margin: 0 auto;
}

.cta-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background-color: rgba(184, 150, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.cta-success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.cta-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cta-success p {
  color: var(--muted-foreground);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 4rem 0;
}

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

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

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

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 2;
  }
}

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

.footer-brand p {
  color: var(--muted-foreground);
  max-width: 24rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========== Animations ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* ========== Avatar lock badge (globalny) ==========
   Dwa sposoby użycia:

   1. Jako wrapper wokół <img> (gdy masz swobodę co do layoutu):
      <span class="av-wrap">
        <img src="…" class="<?= $av['locked'] ? 'av-blurred' : '' ?>">
        <?= avatarLockHtml($av) ?>
      </span>

   2. Bezpośrednio w istniejącym kontenerze z position:relative i overflow:hidden
      (np. .srch-card-photo w szukaj.php) — użyj wariantu "inset":
      <div class="srch-card-photo">
        <img src="…" class="<?= $av['locked'] ? 'av-blurred' : '' ?>">
        <?= avatarLockHtml($av, 'inset') ?>
      </div>

   Klasa `.av-blurred` rozmazuje zdjęcie. W panelu admina (avatarForAdmin)
   NIE dodajemy tej klasy — admin widzi ostre zdjęcie + kłódkę jako info.
*/
.av-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.av-blurred {
  filter: blur(22px);
  transform: scale(1.1);  /* żeby krawędzie blur nie wystawały poza kontener */
}

/* Wariant dla bg-image (np. .oa w widgetach dashboardu) */
.av-locked-bg {
  filter: blur(14px);
  transform: scale(1.15);
}

/* Reguła automatycznego blur usunięta w 1.1.0 (avatar policy refactor)
   — zablokowane zdjęcia są teraz osobnymi plikami /assets/images/avatar/{k|m}/lock-N.jpg
   z wbudowaną tarczą-kłódką, więc CSS-blur jako warstwa ochrony nie jest potrzebny
   (i nigdy nie był prawdziwą ochroną — DevTools pokazywał oryginał). */
.av-lock {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  border: 2px solid var(--s1);
  z-index: 2;
  pointer-events: none;
}
.av-lock svg { width: 9px; height: 9px; }

/* Rozmiarowe — modyfikują tylko rozmiar (nie pozycję) */
.av-lock-sm { width: 14px; height: 14px; }
.av-lock-sm svg { width: 7px; height: 7px; }
.av-lock-lg { width: 24px; height: 24px; }
.av-lock-lg svg { width: 12px; height: 12px; }

/* Pozycyjne — modyfikują tylko pozycję */
.av-lock-inset {
  right: 6px;
  bottom: 6px;
  border: none;
}

/* Wariant pozycyjny w lewym dolnym (np. gdy prawy dolny zajmuje dot online) */
.av-lock-bl {
  right: auto;
  left: 1px;
  bottom: 1px;
  border: 2px solid var(--s1);
}

/* Wariant pośrodku — duża kłódka jako wyraźny marker zablokowanego zdjęcia.
   Skaluje się wraz z kontenerem przez procentowe wymiary. */
.av-lock-center {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 38%;
  height: 38%;
  max-width: 60px;
  max-height: 60px;
  min-width: 22px;
  min-height: 22px;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.55);
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.av-lock-center svg {
  width: 50%;
  height: 50%;
}

/* Warianty rozmiarowe wrappera (backward compat) */
.av-wrap-sm .av-lock { width: 14px; height: 14px; }
.av-wrap-sm .av-lock svg { width: 7px; height: 7px; }
.av-wrap-lg .av-lock { width: 24px; height: 24px; right: -3px; bottom: -3px; }
.av-wrap-lg .av-lock svg { width: 12px; height: 12px; }

/* ────────────────────────────────────────────────────────────
   SB-MODAL + SB-TOAST (globalny system potwierdzeń i komunikatów)
   Używane przez sbConfirm() i showAlert() na portalu (poza /admin).
   ──────────────────────────────────────────────────────────── */

/* Modal overlay + box */
.sb-modal-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.sb-modal-overlay.open { display: flex; }
.sb-modal {
  background: var(--s1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  border: 1px solid var(--bdr);
  width: 100%;
  max-width: 380px;
  padding: 28px 24px 22px;
  text-align: center;
  transform: translateY(10px) scale(.97);
  transition: transform .2s;
}
.sb-modal-overlay.open .sb-modal { transform: translateY(0) scale(1); }
.sb-modal-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(184,150,58,.10);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.sb-modal-icon svg { color: var(--gold); }
.sb-modal h3 {
  font-size: 16px; font-weight: 700;
  color: var(--txt); margin-bottom: 8px;
}
.sb-modal p {
  font-size: 13px; color: var(--txt2);
  line-height: 1.5; margin-bottom: 20px;
}

/* Buttony modala — Potwierdź=zielony (akceptacja), Anuluj=czerwony (odrzucenie) */
.sb-modal-btns { display: flex; gap: 8px; }
.sb-modal-btns button {
  flex: 1;
  padding: 11px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: filter .15s, transform .1s;
  border: none;
  color: #fff;
}
.sb-modal-btns button:hover  { filter: brightness(1.08); }
.sb-modal-btns button:active { transform: scale(.97); }

.sb-modal-cancel  { background: var(--red, #c9505a); }
.sb-modal-confirm { background: var(--green, #3a9a6a); }

/* Toast container + items */
.sb-toast-wrap {
  position: fixed; top: 80px; right: 20px; z-index: 10000;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.sb-toast {
  background: var(--s1);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 12px 16px;
  min-width: 240px; max-width: 360px;
  font-size: 13px; font-weight: 600;
  color: var(--txt);
  display: flex; align-items: center; gap: 10px;
  transform: translateX(20px); opacity: 0;
  transition: transform .25s, opacity .25s;
  pointer-events: auto;
}
.sb-toast.show { transform: translateX(0); opacity: 1; }
.sb-toast.is-success { border-left: 3px solid var(--green, #3a9a6a); }
.sb-toast.is-error   { border-left: 3px solid var(--red, #c9505a); }
.sb-toast svg { flex-shrink: 0; }
.sb-toast.is-success svg { color: var(--green, #3a9a6a); }
.sb-toast.is-error   svg { color: var(--red, #c9505a); }
