/* ==========================================================================
   Janusz Janicki - AWARD-WINNING Insurance Brand CSS
   Design: Dark luxury, glassmorphism, dramatic gradients, micro-interactions
   Colors: Deep Navy (#0a0f1e), Gold (#d4a84b), Electric accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

:root {
  --jj-dark: #0a0f1e;
  --jj-dark-2: #111827;
  --jj-dark-3: #1a2332;
  --jj-navy: #0f1729;
  --jj-navy-light: #1a2744;
  --jj-gold: #d4a84b;
  --jj-gold-light: #e8c876;
  --jj-gold-dark: #b8922e;
  --jj-gold-glow: rgba(212, 168, 75, 0.15);
  --jj-warm-white: #f8f6f1;
  --jj-warm-gray: #e8e4dc;
  --jj-cream: #faf8f3;
  --jj-text: #1a1a2e;
  --jj-text-light: #64748b;
  --jj-text-muted: #94a3b8;
  --jj-accent: #4f9cf7;
  --jj-accent-2: #6c63ff;
  --jj-glass: rgba(255, 255, 255, 0.05);
  --jj-glass-border: rgba(255, 255, 255, 0.08);
  --jj-glass-white: rgba(255, 255, 255, 0.85);
  --jj-radius: 16px;
  --jj-radius-lg: 24px;
  --jj-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --jj-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --jj-shadow-gold: 0 8px 32px rgba(212, 168, 75, 0.25);
  --jj-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --jj-transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== FULL-WIDTH LAYOUT FIX ===== */
/* Bootscore wraps content in containers - break out for full-width sections */
.page-template-page-blank .site-content,
.page-template-page-blank .content-area,
.page-template-page-blank .site-main,
.page-template-page-blank .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.page-template-page-blank .entry-content > section,
.page-template-page-blank .entry-content > div {
  width: 100%;
}

/* ===== GLOBAL RESET & BASE ===== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--jj-gold);
  color: var(--jj-dark);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--jj-text);
  line-height: 1.7;
  background: var(--jj-cream);
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--jj-dark); }
::-webkit-scrollbar-thumb { background: var(--jj-gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--jj-gold-light); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

.jj-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-style: italic;
}

.jj-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--jj-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.jj-subtitle::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--jj-gold);
}

.jj-gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--jj-gold), var(--jj-gold-light));
  margin: 1.2rem auto;
  border-radius: 2px;
}

/* ===== HEADER / NAVBAR ===== */
/* backdrop-filter on ::before so header doesn't trap position:fixed offcanvas */
.jj-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(212, 168, 75, 0.15) !important;
  padding: 0.3rem 0;
  transition: var(--jj-transition);
}
.jj-header .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
@media (min-width: 992px) {
  .jj-header .navbar-nav.ms-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  z-index: 1050;
}

.jj-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: -1;
  transition: var(--jj-transition);
}

.jj-header.scrolled::before {
  background: rgba(10, 15, 30, 0.95);
}

.jj-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.jj-header .navbar-brand {
  min-width: 160px;
}

.jj-header .navbar-brand img {
  max-height: 38px;
  width: auto !important;
  min-width: 145px;
  transition: var(--jj-transition);
}

/* Fix Bootscore d-td-none / d-tl-none display classes for dark header */
.jj-header .navbar-brand img.d-td-none {
  display: inline-block !important;
}

.jj-header .navbar-brand img.d-tl-none {
  display: none !important;
}

.jj-header .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 0.6rem 0.4rem !important;
  transition: var(--jj-transition);
  position: relative;
  white-space: nowrap;
}

.jj-header .nav-link:hover,
.jj-header .nav-link.active {
  color: #fff !important;
}

.jj-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--jj-gold), transparent);
  transition: var(--jj-transition);
  transform: translateX(-50%);
}

.jj-header .nav-link:hover::after {
  width: 80%;
}

.jj-header .nav-toggler {
  border: 1px solid rgba(212, 168, 75, 0.4) !important;
  color: var(--jj-gold) !important;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}

.jj-header .offcanvas {
  background: var(--jj-dark);
  border-left: 1px solid rgba(212, 168, 75, 0.1);
}

.jj-header .offcanvas .offcanvas-title { color: var(--jj-gold); }
.jj-header .offcanvas .btn-close { filter: invert(1); opacity: 0.5; }

/* Desktop: force horizontal padding on nav links inside expanded offcanvas */
@media (min-width: 992px) {
  .jj-header .offcanvas .nav-link,
  .jj-header .offcanvas-body .nav-link,
  .jj-header .navbar-nav .nav-link {
    font-size: 0.85rem !important;
    padding: 0.6rem 0.9rem !important;
    white-space: nowrap;
  }
}

/* Mobile: offcanvas nav links stacked */
@media (max-width: 991px) {
  .jj-header .offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 0 !important;
  }
}

/* ===== HERO SECTION ===== */
.jj-hero {
  background: var(--jj-dark);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* ===== KEN BURNS SLIDESHOW BACKGROUND ===== */
.jj-hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.jj-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
}

/* 5 slides, 6s each = 30s total cycle */
/* Each slide: fade-in 1.5s, hold 3s, fade-out 1.5s = 6s visible */
/* Percentages: each slide = 20% of 30s. Visible: 0-20%, next starts at 16.67% (overlap) */

.jj-hero-slide:nth-child(1) {
  animation: kenburns1 30s infinite;
}
.jj-hero-slide:nth-child(2) {
  animation: kenburns2 30s infinite;
}
.jj-hero-slide:nth-child(3) {
  animation: kenburns3 30s infinite;
}
.jj-hero-slide:nth-child(4) {
  animation: kenburns4 30s infinite;
}
.jj-hero-slide:nth-child(5) {
  animation: kenburns5 30s infinite;
}

/* Slide 1: 0% - 25% (0s - 7.5s) */
@keyframes kenburns1 {
  0%      { opacity: 0; transform: scale(1.0); }
  3%      { opacity: 1; }
  17%     { opacity: 1; }
  20%     { opacity: 0; }
  100%    { opacity: 0; transform: scale(1.15); }
}

/* Slide 2: 18% - 43% (5.4s - 12.9s) */
@keyframes kenburns2 {
  0%      { opacity: 0; transform: scale(1.15) translate(-2%, 0); }
  18%     { opacity: 0; transform: scale(1.15) translate(-2%, 0); }
  21%     { opacity: 1; }
  35%     { opacity: 1; }
  38%     { opacity: 0; }
  100%    { opacity: 0; transform: scale(1.0) translate(0%, -2%); }
}

/* Slide 3: 36% - 61% (10.8s - 18.3s) */
@keyframes kenburns3 {
  0%      { opacity: 0; transform: scale(1.05) translate(2%, 1%); }
  36%     { opacity: 0; transform: scale(1.05) translate(2%, 1%); }
  39%     { opacity: 1; }
  53%     { opacity: 1; }
  56%     { opacity: 0; }
  100%    { opacity: 0; transform: scale(1.18) translate(-1%, -1%); }
}

/* Slide 4: 54% - 79% (16.2s - 23.7s) */
@keyframes kenburns4 {
  0%      { opacity: 0; transform: scale(1.2) translate(0%, 2%); }
  54%     { opacity: 0; transform: scale(1.2) translate(0%, 2%); }
  57%     { opacity: 1; }
  71%     { opacity: 1; }
  74%     { opacity: 0; }
  100%    { opacity: 0; transform: scale(1.05) translate(2%, 0%); }
}

/* Slide 5: 72% - 100% (21.6s - 30s) */
@keyframes kenburns5 {
  0%      { opacity: 0; transform: scale(1.1) translate(-1%, -2%); }
  72%     { opacity: 0; transform: scale(1.1) translate(-1%, -2%); }
  75%     { opacity: 1; }
  93%     { opacity: 1; }
  97%     { opacity: 0; }
  100%    { opacity: 0; transform: scale(1.0) translate(1%, 1%); }
}

/* Dark overlay on top of slideshow for text contrast */
.jj-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(10, 15, 30, 0.88) 0%, rgba(10, 15, 30, 0.65) 50%, rgba(10, 15, 30, 0.80) 100%);
  pointer-events: none;
}

/* Grain texture on top of overlay */
.jj-hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Decorative orbs - sit in overlay layer */
.jj-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

.jj-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.15), transparent 70%);
  top: 10%;
  right: 10%;
  animation: orbFloat 15s ease-in-out infinite;
}

.jj-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 156, 247, 0.1), transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: orbFloat 18s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

.jj-hero .container {
  position: relative;
  z-index: 2;
}

.jj-hero h1 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

/* Hero text - left side, standard alignment */
@media (max-width: 991px) {
  .jj-hero .col-lg-8 { text-align: center; }
}

.jj-hero h1 .jj-highlight {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jj-hero h1 .jj-display {
  display: block;
  font-size: 1.15em;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jj-hero-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  font-weight: 400;
}

/* Hero photo with glow effect */
.jj-hero-photo-placeholder {
  width: 320px;
  height: 400px;
  border-radius: var(--jj-radius-lg);
  border: 1px solid rgba(212, 168, 75, 0.2);
  background: linear-gradient(135deg, rgba(212,168,75,0.05), rgba(212,168,75,0.02));
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(212, 168, 75, 0.4);
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.jj-hero-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--jj-radius-lg);
  background: linear-gradient(135deg, var(--jj-gold), transparent 50%, var(--jj-accent) 100%);
  opacity: 0.3;
  z-index: -1;
}

.jj-hero-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--jj-radius-lg);
  box-shadow: inset 0 0 80px rgba(212, 168, 75, 0.05);
}

/* ===== BUTTONS ===== */
.jj-btn-gold {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  color: var(--jj-dark) !important;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--jj-transition);
  box-shadow: var(--jj-shadow-gold);
  position: relative;
  overflow: hidden;
}

.jj-btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.jj-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 168, 75, 0.4);
  color: var(--jj-dark) !important;
}

.jj-btn-gold:hover::before {
  left: 100%;
}

.jj-btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--jj-transition);
  backdrop-filter: blur(10px);
}

.jj-btn-outline:hover {
  border-color: var(--jj-gold);
  color: var(--jj-gold) !important;
  background: rgba(212, 168, 75, 0.05);
  transform: translateY(-2px);
}

.jj-btn-navy {
  background: var(--jj-dark);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--jj-transition);
}

.jj-btn-navy:hover {
  background: var(--jj-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--jj-gold) !important;
}

/* ===== TRUST BADGES ===== */
.jj-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
}

.jj-trust-badge i {
  color: var(--jj-gold);
  font-size: 0.85rem;
  opacity: 0.7;
}

.jj-trust-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== STATS SECTION ===== */
.jj-stats {
  background: var(--jj-dark);
  padding: 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.jj-stat-item {
  text-align: center;
  padding: 3.5rem 2rem;
  position: relative;
  transition: var(--jj-transition);
}

.jj-stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 168, 75, 0.2), transparent);
}

.jj-stat-item:last-child::after { display: none; }

.jj-stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.jj-stat-number span {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jj-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ===== SECTIONS ===== */
.jj-section {
  padding: 7rem 0;
  position: relative;
}

.jj-section-dark {
  background: var(--jj-dark);
  color: #fff;
}

.jj-section-dark h2,
.jj-section-dark h3 {
  color: #fff;
}

.jj-section-warm {
  background: var(--jj-cream);
}

.jj-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.jj-section-header h2 {
  margin-bottom: 1rem;
  line-height: 1.15;
}

.jj-section-header p {
  color: var(--jj-text-light);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.jj-section-dark .jj-section-header p {
  color: rgba(255, 255, 255, 0.45);
}

/* ===== GLASS CARDS ===== */
.jj-card {
  background: #fff;
  border-radius: var(--jj-radius-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--jj-shadow);
  transition: var(--jj-transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.jj-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jj-gold), var(--jj-accent), var(--jj-gold));
  opacity: 0;
  transition: var(--jj-transition);
}

.jj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--jj-shadow-lg);
}

.jj-card:hover::before {
  opacity: 1;
}

.jj-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--jj-dark), var(--jj-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: var(--jj-gold);
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.15);
  transition: var(--jj-transition);
}

.jj-card:hover .jj-card-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 12px 32px rgba(10, 15, 30, 0.2);
}

.jj-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.jj-card p {
  color: var(--jj-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FOMO / EDUCATION BOXES ===== */
.jj-fomo-box {
  background: var(--jj-dark);
  border-radius: var(--jj-radius-lg);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--jj-transition);
}

.jj-fomo-box:hover {
  border-color: rgba(212, 168, 75, 0.15);
  transform: translateY(-4px);
}

.jj-fomo-box::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212,168,75,0.1), transparent 70%);
  border-radius: 50%;
  transition: var(--jj-transition);
}

.jj-fomo-box:hover::before {
  transform: scale(1.3);
  opacity: 0.8;
}

.jj-fomo-stat {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.jj-fomo-box h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

.jj-fomo-box p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== PROCESS STEPS ===== */
.jj-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.jj-step-number {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  color: var(--jj-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--jj-shadow-gold);
  transition: var(--jj-transition);
}

.jj-step:hover .jj-step-number {
  transform: scale(1.1) rotate(-5deg);
}

.jj-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.jj-step p {
  font-size: 0.9rem;
  color: var(--jj-text-light);
  line-height: 1.7;
}

/* Step connector line */
.jj-step-connector {
  position: absolute;
  top: 3.5rem;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--jj-gold), rgba(212,168,75,0.1));
}

/* ===== TESTIMONIALS ===== */
.jj-testimonial {
  background: #fff;
  border-radius: var(--jj-radius-lg);
  padding: 3rem;
  box-shadow: var(--jj-shadow);
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--jj-transition);
  overflow: hidden;
}

.jj-testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--jj-shadow-lg);
}

.jj-testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--jj-gold), var(--jj-accent));
}

.jj-testimonial-text {
  font-size: 1.05rem;
  color: var(--jj-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.jj-testimonial-author {
  font-weight: 700;
  color: var(--jj-dark);
  font-size: 0.95rem;
}

.jj-testimonial-role {
  font-size: 0.8rem;
  color: var(--jj-text-muted);
  font-weight: 500;
}

.jj-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 4rem;
  font-family: 'Playfair Display', Georgia, serif;
  background: linear-gradient(135deg, rgba(212,168,75,0.15), rgba(212,168,75,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ===== CTA SECTION ===== */
.jj-cta {
  background: var(--jj-dark);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jj-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212,168,75,0.06), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(79,156,247,0.04), transparent 50%);
  animation: meshMove 15s ease-in-out infinite;
}

.jj-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.jj-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.jj-cta p {
  color: rgba(255,255,255,0.45);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SUBPAGE HERO ===== */
.jj-subpage-hero {
  background: var(--jj-dark);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Calculator hero — vertically centered content */
.jj-calc-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 3rem !important;
  min-height: 44vh;
}
.jj-calc-hero .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Hide "Dalej" on step 1 — card click auto-advances */
#calcStep1 .jj-calc-nav {
  display: none;
}

.jj-subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(212,168,75,0.06), transparent 60%);
}

/* ===== IMAGE CAPTION OVERLAYS — always bright & readable ===== */
/* Targets all caption overlays on AI/photo images sitewide */
.position-relative.overflow-hidden > div[style*="position:absolute"] {
  background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.80) 45%, rgba(10,15,30,0.0) 100%) !important;
  padding: 2.5rem 2.5rem !important;
}

.position-relative.overflow-hidden > div[style*="position:absolute"] p {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4) !important;
}

.position-relative.overflow-hidden > div[style*="position:absolute"] p:last-child {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.85rem !important;
}

/* Contact hero - slideshow with Ken Burns */
.jj-contact-hero {
  min-height: 45vh;
}

.jj-contact-hero .jj-hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.jj-contact-hero .jj-hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
}

.jj-contact-hero .jj-hero-slide:nth-child(1) { animation: kenburns1 30s infinite; }
.jj-contact-hero .jj-hero-slide:nth-child(2) { animation: kenburns2 30s infinite; }
.jj-contact-hero .jj-hero-slide:nth-child(3) { animation: kenburns3 30s infinite; }
.jj-contact-hero .jj-hero-slide:nth-child(4) { animation: kenburns4 30s infinite; }
.jj-contact-hero .jj-hero-slide:nth-child(5) { animation: kenburns5 30s infinite; }

.jj-contact-hero .jj-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.88) 0%, rgba(10,15,30,0.65) 50%, rgba(10,15,30,0.82) 100%);
  z-index: 1;
}

@media (max-width: 767px) {
  .jj-contact-hero { min-height: 35vh; padding: 6rem 0 3rem; }
}

.jj-subpage-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.jj-subpage-hero p {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ===== CONTACT FORM 7 CUSTOM STYLING ===== */
.jj-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 575px) {
  .jj-form-row { grid-template-columns: 1fr; }
}

.jj-form-group {
  margin-bottom: 1.2rem;
}

.jj-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--jj-text);
  margin-bottom: 0.4rem;
}

.jj-required {
  color: var(--jj-gold);
}

.jj-form-input,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 2px solid #e8e4dc !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-family: 'Inter', sans-serif !important;
  background: #fff !important;
  color: var(--jj-text) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--jj-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--jj-gold-glow) !important;
}

.wpcf7 textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

.jj-form-consent {
  margin: 1.2rem 0;
  font-size: 0.8rem;
  color: var(--jj-text-light);
  line-height: 1.5;
}

.jj-form-consent a {
  color: var(--jj-gold);
  text-decoration: underline;
}

.jj-form-consent input[type="checkbox"] {
  accent-color: var(--jj-gold);
  margin-right: 0.4rem;
}

.jj-form-submit {
  text-align: center;
  margin-top: 1.5rem;
}

.wpcf7 input[type="submit"],
.jj-form-submit .jj-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(212, 168, 75, 0.3);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 168, 75, 0.45);
}

.jj-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--jj-text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

.jj-form-note i {
  color: var(--jj-gold);
  margin-right: 0.3rem;
}

/* CF7 response messages */
.wpcf7-response-output {
  border-radius: 12px !important;
  padding: 1rem !important;
  font-size: 0.9rem !important;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #22c55e !important;
  background: rgba(34, 197, 94, 0.08) !important;
  color: #16a34a !important;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: var(--jj-gold) !important;
  background: var(--jj-gold-glow) !important;
  color: var(--jj-gold-dark) !important;
}

.wpcf7-not-valid-tip {
  font-size: 0.78rem !important;
  color: #dc2626 !important;
  margin-top: 0.3rem;
}

/* ===== FEATURE LIST ===== */
.jj-feature-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--jj-radius);
  transition: var(--jj-transition);
}

.jj-feature-item:hover {
  background: rgba(212, 168, 75, 0.03);
}

.jj-feature-item i {
  color: var(--jj-gold);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 75, 0.08);
  border-radius: 8px;
}

.jj-feature-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.jj-feature-item p {
  font-size: 0.9rem;
  color: var(--jj-text-light);
  margin-bottom: 0;
}

/* ===== CONTACT ===== */
.jj-contact-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: #fff;
  border-radius: var(--jj-radius);
  box-shadow: var(--jj-shadow);
  margin-bottom: 1rem;
  transition: var(--jj-transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.jj-contact-info:hover {
  transform: translateX(8px);
  box-shadow: var(--jj-shadow-lg);
  border-color: rgba(212, 168, 75, 0.15);
}

.jj-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--jj-dark), var(--jj-navy-light));
  color: var(--jj-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== PHOTO PLACEHOLDERS ===== */
.jj-photo-placeholder {
  background: linear-gradient(135deg, #e8e4dc, #ddd);
  border-radius: var(--jj-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--jj-text-light);
  font-size: 0.85rem;
  min-height: 300px;
  border: 2px dashed rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.jj-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(212,168,75,0.05));
}

.jj-photo-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: var(--jj-gold);
  opacity: 0.5;
}

/* ===== FOOTER OVERRIDE ===== */
.bootscore-footer {
  background: var(--jj-dark) !important;
}

.bootscore-footer-columns {
  background: var(--jj-dark) !important;
  border: none !important;
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}

.bootscore-footer-info {
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.bootscore-footer,
.bootscore-footer h5,
.bootscore-footer .widget-title {
  color: #fff !important;
}

.bootscore-footer p,
.bootscore-footer li,
.bootscore-footer a {
  color: rgba(255,255,255,0.45) !important;
}

.bootscore-footer a:hover { color: var(--jj-gold) !important; }
.bootscore-copyright { color: rgba(255,255,255,0.25) !important; }
.bg-body-tertiary { background: var(--jj-dark) !important; }

/* ===== MARQUEE / TICKER ===== */
.jj-ticker {
  background: var(--jj-gold);
  color: var(--jj-dark);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.jj-ticker-content {
  display: inline-flex;
  animation: ticker 30s linear infinite;
  gap: 3rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.jj-ticker-separator {
  opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== UTILITY ===== */
.text-gold { color: var(--jj-gold) !important; }
.bg-dark-custom { background: var(--jj-dark) !important; }

/* Top button override */
.top-button {
  background: var(--jj-gold) !important;
  border-color: var(--jj-gold) !important;
  border-radius: 14px !important;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 2rem !important;
  right: 2rem !important;
  box-shadow: var(--jj-shadow-gold);
}

/* ===== DESKTOP ENHANCEMENTS (1200px+) ===== */
@media (min-width: 1200px) {
  .jj-hero {
    padding: 10rem 0 8rem;
  }

  .jj-hero h1 {
    font-size: 4.5rem;
    letter-spacing: -0.04em;
  }

  .jj-hero-text {
    font-size: 1.15rem;
    max-width: 540px;
  }

  .jj-hero-photo-placeholder {
    width: 380px;
    height: 480px;
  }

  .jj-section {
    padding: 8rem 0;
  }

  .jj-section-header {
    margin-bottom: 5rem;
  }

  .jj-section-header h2 {
    font-size: 3rem;
  }

  .jj-stat-item {
    padding: 4rem 2.5rem;
  }

  .jj-stat-number {
    font-size: 4.2rem;
  }

  .jj-card {
    padding: 3.2rem 2.8rem;
  }

  .jj-fomo-box {
    padding: 3.5rem;
  }

  .jj-fomo-stat {
    font-size: 4rem;
  }

  .jj-testimonial {
    padding: 3.5rem;
  }

  .jj-cta {
    padding: 8rem 0;
  }

  .jj-cta h2 {
    font-size: 3rem;
  }

  .jj-subpage-hero {
    padding: 10rem 0 6rem;
  }

  .jj-subpage-hero h1 {
    font-size: 3.8rem;
  }
}

/* ===== ULTRA-WIDE (1600px+) ===== */
@media (min-width: 1600px) {
  .jj-hero h1 {
    font-size: 5.5rem;
  }

  .jj-hero-photo-placeholder {
    width: 420px;
    height: 520px;
  }

  .jj-hero-text {
    font-size: 1.25rem;
    max-width: 580px;
  }

  .container {
    max-width: 1320px;
  }
}

/* ===== TABLET (992-1199px) ===== */
@media (max-width: 1199px) and (min-width: 992px) {
  .jj-hero {
    padding: 7rem 0 5rem;
  }

  .jj-hero h1 {
    font-size: 3.2rem;
  }

  .jj-hero-photo-placeholder {
    width: 300px;
    height: 380px;
  }
}

/* ===== TABLET SMALL (768-991px) ===== */
@media (max-width: 991px) {
  .jj-hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }

  .jj-hero h1 {
    font-size: 2.8rem;
  }

  .jj-section { padding: 5rem 0; }
  .jj-stat-item::after { display: none; }
  .jj-stat-item { padding: 2.5rem 1.5rem; }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {
  .jj-hero {
    text-align: center;
    padding: 5rem 0 3rem;
  }
  .jj-hero h1 { font-size: 2.3rem; }
  .jj-hero-text { margin: 0 auto 1.5rem; }
  .jj-hero-photo-placeholder {
    width: 220px;
    height: 280px;
    margin: 2.5rem auto 0;
  }
  .jj-fomo-box { padding: 2rem; }
  .jj-fomo-stat { font-size: 2.8rem; }
  .jj-card { padding: 2rem 1.5rem; }
  .jj-stat-item { padding: 2rem 1rem; }
  .jj-stat-number { font-size: 2.5rem; }
  .jj-cta { padding: 5rem 0; }
  .jj-testimonial { padding: 2rem; }
  .jj-subtitle::before { width: 20px; }
  .jj-section { padding: 4rem 0; }
  .jj-section-header { margin-bottom: 3rem; }
  .jj-subpage-hero { padding: 5rem 0 3rem; }
  .jj-subpage-hero h1 { font-size: 2.2rem; }
}

/* ===== MOBILE SMALL (max 576px) ===== */
@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .jj-btn-gold, .jj-btn-outline, .jj-btn-navy {
    padding: 0.85rem 1.8rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  .wpcf7 input[type="submit"],
  .jj-form-submit .jj-btn-gold {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .jj-step-connector { display: none; }
  .jj-ticker-content { font-size: 0.7rem; gap: 2rem; }
}

/* ===== SOCIAL MEDIA ICONS IN HEADER ===== */
.jj-social-icon {
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(212,168,75,0.25), rgba(212,168,75,0.1)) !important;
  color: var(--jj-gold) !important;
  font-size: 0.9rem !important;
  padding: 0 !important;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;
  border: 1.5px solid rgba(212,168,75,0.45) !important;
  position: relative;
}
.jj-social-icon::before {
  display: none;
}

.jj-social-icon:hover {
  background: var(--jj-gold) !important;
  color: var(--jj-dark) !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(212,168,75,0.45), 0 0 30px rgba(212,168,75,0.15);
  border-color: var(--jj-gold) !important;
}
.jj-social-icon:hover::before {
  display: none;
}

.jj-social-nav {
  gap: 0.3rem !important;
  margin-left: 0.4rem !important;
  padding-left: 0.4rem !important;
  border-left: 1px solid rgba(212,168,75,0.25) !important;
}

/* Kalkulator menu item — highlighted CTA */
.jj-menu-calc > .nav-link {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark)) !important;
  color: var(--jj-dark) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 0.4rem 0.9rem !important;
  margin-left: 0.3rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(212, 168, 75, 0.3);
}
.jj-menu-calc > .nav-link:hover {
  background: linear-gradient(135deg, var(--jj-gold-light), var(--jj-gold)) !important;
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.5);
  transform: translateY(-1px);
}
.jj-header.scrolled .jj-menu-calc > .nav-link {
  box-shadow: 0 2px 12px rgba(212, 168, 75, 0.35);
}

/* Kalkulator in mobile offcanvas menu */
@media (max-width: 991.98px) {
  .jj-menu-calc {
    margin-top: 0.5rem;
  }
  .jj-menu-calc > .nav-link {
    border-radius: 8px !important;
    display: block !important;
    text-align: left !important;
    padding: 0.6rem 0.9rem !important;
    margin-left: 0 !important;
    width: auto !important;
  }
}

/* Kariera menu item — accent style */
.jj-menu-kariera > .nav-link {
  color: var(--jj-gold) !important;
  font-weight: 600 !important;
  border: 1.5px solid rgba(212,168,75,0.4) !important;
  border-radius: 50px !important;
  padding: 0.35rem 0.7rem !important;
  letter-spacing: 0.2px;
  transition: all 0.3s ease !important;
}
.jj-menu-kariera > .nav-link:hover {
  color: var(--jj-dark) !important;
  background: var(--jj-gold) !important;
  border-color: var(--jj-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212,168,75,0.35);
}
@media (max-width: 991.98px) {
  .jj-menu-kariera > .nav-link {
    border-radius: 8px !important;
    display: block !important;
    text-align: left !important;
    padding: 0.6rem 0.9rem !important;
    width: auto !important;
  }
}

/* ===== HERO PHOTO (REAL IMAGE) ===== */
.jj-hero-photo {
  width: 100%;
  max-width: 380px;
  border-radius: var(--jj-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.jj-hero-photo::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--jj-radius-lg);
  background: linear-gradient(135deg, var(--jj-gold), transparent 50%, var(--jj-accent) 100%);
  opacity: 0.4;
  z-index: -1;
}

.jj-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--jj-radius-lg);
  border: 2px solid rgba(212, 168, 75, 0.15);
}

.jj-hero-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.5), transparent);
  pointer-events: none;
  border-radius: 0 0 var(--jj-radius-lg) var(--jj-radius-lg);
}

/* About page photo */
.jj-about-photo {
  border-radius: var(--jj-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
}

.jj-about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--jj-radius-lg);
}

.jj-about-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--jj-radius-lg) + 3px);
  background: linear-gradient(135deg, var(--jj-gold), transparent 40%, var(--jj-accent));
  opacity: 0.3;
  z-index: -1;
}

/* ===== MOBILE STICKY CTA BAR ===== */
.jj-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 1040;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 168, 75, 0.2);
  padding: 0.6rem 0.8rem;
  gap: 0.6rem;
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.jj-mobile-cta.hidden {
  transform: translateY(100%);
}

.jj-mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--jj-transition-fast);
}

.jj-mobile-cta-phone {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.jj-mobile-cta-phone:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.jj-mobile-cta-contact {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  color: var(--jj-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 168, 75, 0.3);
}

.jj-mobile-cta-contact:hover {
  color: var(--jj-dark);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .jj-mobile-cta {
    display: flex;
  }
  .jj-mobile-cta.visible {
    display: flex !important;
  }
  /* Add bottom padding to body so CTA doesn't cover content */
  body {
    padding-bottom: 70px;
  }
  /* Move the scroll-to-top button above WhatsApp + CTA */
  .top-button,
  .jj-top-btn {
    bottom: 9.5rem !important;
    right: 1.2rem !important;
  }
}

@media (min-width: 992px) {
  .jj-mobile-cta {
    display: none !important;
  }
}

/* ===== HERO PHOTO RESPONSIVE ===== */
@media (max-width: 768px) {
  .jj-hero-photo {
    max-width: 260px;
    margin: 2rem auto 0;
  }
}

@media (min-width: 1200px) {
  .jj-hero-photo {
    max-width: 420px;
  }
}

@media (min-width: 1600px) {
  .jj-hero-photo {
    max-width: 460px;
  }
}

/* ==========================================================================
   FOOTER - Premium Dark
   ========================================================================== */

.jj-footer {
  background: var(--jj-dark);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
.jj-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(212, 168, 75, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(79, 156, 247, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Gold accent line at top */
.jj-footer-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--jj-gold), transparent);
}

/* Main footer area */
.jj-footer-main {
  padding: 4rem 0 3rem;
  position: relative;
}

/* Brand column */
.jj-footer-logo {
  margin-bottom: 0.75rem;
}

.jj-footer-logo-bold {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 2px;
  text-decoration: underline;
  text-decoration-color: var(--jj-gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.jj-footer-logo-light {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--jj-gold);
  letter-spacing: 3px;
  margin-left: 6px;
}

.jj-footer-tagline {
  color: var(--jj-gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.jj-footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

/* Social icons */
.jj-footer-social {
  display: flex;
  gap: 0.75rem;
}

.jj-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.jj-footer-social-link:hover {
  background: var(--jj-gold);
  border-color: var(--jj-gold);
  color: var(--jj-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 75, 0.3);
}

/* Column headings */
.jj-footer-heading {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.jj-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--jj-gold);
  border-radius: 2px;
}

/* Links */
.jj-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jj-footer-links li {
  margin-bottom: 0.6rem;
}

.jj-footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.jj-footer-links a:hover {
  color: var(--jj-gold-light);
  padding-left: 6px;
}

.jj-footer-links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--jj-gold);
  transition: width 0.3s ease;
}

.jj-footer-links a:hover::before {
  width: 8px;
}

/* Contact items */
.jj-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jj-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a.jj-footer-contact-item:hover {
  color: var(--jj-gold-light);
}

a.jj-footer-contact-item:hover .jj-footer-contact-icon {
  background: var(--jj-gold);
  color: var(--jj-dark);
  border-color: var(--jj-gold);
  transform: scale(1.05);
}

.jj-footer-contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 168, 75, 0.08);
  border: 1px solid rgba(212, 168, 75, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jj-gold);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.jj-footer-contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  margin-bottom: 1px;
}

.jj-footer-contact-value {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Bottom bar */
.jj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  position: relative;
}

.jj-footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.jj-footer-badges {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.jj-footer-badge i {
  color: var(--jj-gold);
  margin-right: 4px;
}

.jj-footer-badge-sep {
  margin: 0 0.5rem;
  opacity: 0.3;
}

/* Override bootscore footer defaults */
.bootscore-footer,
.bootscore-footer-columns,
.bootscore-footer-info {
  background: transparent !important;
  border: none !important;
}

/* Top button override */
.jj-top-btn {
  background: var(--jj-gold) !important;
  border-color: var(--jj-gold) !important;
  color: var(--jj-dark) !important;
  border-radius: 12px !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jj-top-btn:hover {
  background: var(--jj-gold-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 75, 0.3) !important;
}

/* Footer responsive */
@media (max-width: 767px) {
  .jj-footer-main { padding: 3rem 0 2rem; }
  .jj-footer-brand { text-align: center; }
  .jj-footer-social { justify-content: center; }
  .jj-footer-heading { margin-top: 0.5rem; }
  .jj-footer-copy,
  .jj-footer-badges { text-align: center !important; }
  .jj-footer-badges { margin-top: 0.5rem; }
  .jj-footer-contact-value { font-size: 0.85rem; }
}

/* ==========================================================================
   CALCULATOR
   ========================================================================== */

.jj-calc-progress {
  position: relative;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.jj-calc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--jj-gold), var(--jj-gold-light));
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.jj-calc-progress-steps {
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 2%;
}

.jj-calc-step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jj-text-muted);
  transition: all 0.3s ease;
}

.jj-calc-step-dot.active {
  background: var(--jj-gold);
  border-color: var(--jj-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 168, 75, 0.35);
}

.jj-calc-step-dot.done {
  background: var(--jj-dark);
  border-color: var(--jj-dark);
  color: #fff;
}

.jj-calc-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  min-height: 400px;
}

.jj-calc-step {
  display: none;
  animation: calcFadeIn 0.4s ease;
}

.jj-calc-step.active {
  display: block;
}

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

.jj-calc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--jj-text);
  text-align: center;
  margin-bottom: 0.25rem;
}

.jj-calc-subtitle {
  color: var(--jj-text-light);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Type selection cards */
.jj-calc-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.jj-calc-types-small {
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.jj-calc-types-small .jj-calc-type-card {
  padding: 1rem;
}
.jj-calc-types-small .jj-calc-type-card h4 {
  font-size: 0.9rem;
}
.jj-calc-types-small .jj-calc-type-card p {
  font-size: 0.75rem;
}

.jj-calc-type {
  cursor: pointer;
}

.jj-calc-type-card {
  padding: 1.5rem;
  border-radius: 16px;
  border: 2px solid rgba(0,0,0,0.06);
  background: var(--jj-warm-white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.jj-calc-type-card:hover {
  border-color: var(--jj-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 75, 0.15);
}

.jj-calc-type.selected .jj-calc-type-card {
  border-color: var(--jj-gold);
  background: linear-gradient(135deg, rgba(212,168,75,0.06), rgba(212,168,75,0.12));
  box-shadow: 0 8px 25px rgba(212, 168, 75, 0.2);
}

.jj-calc-type-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(212, 168, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.2rem;
  color: var(--jj-gold);
  transition: all 0.3s ease;
}

.jj-calc-type.selected .jj-calc-type-card .jj-calc-type-icon {
  background: var(--jj-gold);
  color: #fff;
}

.jj-calc-type-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--jj-text);
}

.jj-calc-type-card p {
  font-size: 0.8rem;
  color: var(--jj-text-light);
  margin: 0;
  line-height: 1.4;
}

/* Slider fields */
.jj-calc-field {
  margin-bottom: 1.75rem;
}

.jj-calc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jj-text);
  margin-bottom: 0.75rem;
}

.jj-calc-slider-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.jj-calc-range {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--jj-gold) 0%, rgba(0,0,0,0.08) 0%);
  outline: none;
}

.jj-calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--jj-gold);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(212, 168, 75, 0.4);
  border: 3px solid #fff;
  transition: transform 0.2s ease;
}

.jj-calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.jj-calc-value {
  min-width: 100px;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jj-gold-dark);
  white-space: nowrap;
}

/* Navigation */
.jj-calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.jj-calc-nav .jj-btn-outline {
  color: var(--jj-text) !important;
  border-color: rgba(0,0,0,0.2);
}
.jj-calc-nav .jj-btn-outline:hover {
  border-color: var(--jj-gold);
  color: var(--jj-gold-dark) !important;
}

.jj-calc-next:disabled,
#calcSubmit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Result box */
.jj-calc-result-box {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--jj-dark), var(--jj-navy));
  border-radius: 16px;
  margin-bottom: 2rem;
}

.jj-calc-result-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(212, 168, 75, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--jj-gold);
}

.jj-calc-result-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.jj-calc-result-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--jj-gold);
  margin-bottom: 0.25rem;
}

.jj-calc-result-sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.jj-calc-result-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.jj-calc-result-details span {
  color: var(--jj-gold-light);
  font-weight: 600;
}

/* Contact form inputs */
.jj-calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: var(--jj-warm-white);
}

.jj-calc-input:focus {
  outline: none;
  border-color: var(--jj-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

/* Calc responsive */
@media (max-width: 767px) {
  /* ── Calculator mobile: everything on first screen ── */
  .jj-calc-hero {
    min-height: auto !important;
    padding: 3.5rem 0 0.8rem !important;
  }
  .jj-calc-hero .container {
    padding: 0 1rem !important;
  }
  .jj-calc-hero .jj-hero-badge {
    font-size: 0.6rem !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 0.25rem !important;
    display: inline-block;
  }
  .jj-calc-hero h1 {
    font-size: 1.3rem !important;
    margin: 0.15rem 0 0 !important;
    line-height: 1.3 !important;
  }
  .jj-calc-hero .text-center > p {
    display: none !important;
  }
  /* Calculator section — breathing room from sticky navbar */
  section:has(.jj-calc-card) {
    padding: 0.8rem 0 !important;
  }
  .jj-calc-card { padding: 0.8rem 1rem; }
  .jj-calc-progress { margin-bottom: 0.8rem; margin-top: 0.3rem; }
  .jj-calc-step-dot { width: 28px; height: 28px; font-size: 0.75rem; }
  /* 2x2 grid for type cards */
  .jj-calc-types { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .jj-calc-type-card { padding: 0.7rem 0.5rem; }
  .jj-calc-type-card h4 { font-size: 0.8rem; margin-bottom: 0; }
  .jj-calc-type-card p { font-size: 0.65rem; line-height: 1.2; margin-bottom: 0; }
  .jj-calc-type-icon { width: 32px; height: 32px; font-size: 0.85rem; margin-bottom: 0.3rem; }
  .jj-calc-title { font-size: 1.05rem; margin-bottom: 0.2rem; }
  .jj-calc-subtitle { font-size: 0.8rem; margin-bottom: 0.5rem; }
  /* "Dalej" hidden globally — see base rule above */
  .jj-calc-result-amount { font-size: 2rem; }
  .jj-calc-slider-row { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .jj-calc-value { text-align: left; }
  .jj-calc-nav { flex-direction: column; gap: 0.75rem; }
  .jj-calc-nav .jj-btn-gold,
  .jj-calc-nav .jj-btn-outline { width: 100%; justify-content: center; }
}

/* ===== EXIT-INTENT POPUP ===== */
.jj-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}
.jj-exit-overlay.active {
  opacity: 1;
  visibility: visible;
}

.jj-exit-popup {
  position: relative;
  background: linear-gradient(165deg, #0f1729 0%, #1a2744 50%, #0f1729 100%);
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 168, 75, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.jj-exit-overlay.active .jj-exit-popup {
  transform: translateY(0) scale(1);
}

.jj-exit-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--jj-gold), transparent);
}

.jj-exit-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}
.jj-exit-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.jj-exit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--jj-dark);
  box-shadow: 0 8px 30px rgba(212, 168, 75, 0.3);
}

.jj-exit-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.jj-exit-subtitle {
  font-size: 1rem;
  color: var(--jj-gold-light);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.jj-exit-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.jj-exit-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.jj-exit-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jj-exit-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--jj-gold);
}

.jj-exit-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

.jj-exit-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

.jj-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.jj-exit-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  color: var(--jj-dark) !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.35);
}
.jj-exit-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 75, 0.5);
  color: var(--jj-dark) !important;
}

.jj-exit-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.jj-exit-btn-secondary:hover {
  border-color: var(--jj-gold);
  color: var(--jj-gold) !important;
  background: rgba(212, 168, 75, 0.05);
}

.jj-exit-trust {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
.jj-exit-trust i {
  color: var(--jj-gold);
  margin-right: 0.3rem;
}

/* Mobile popup */
@media (max-width: 576px) {
  .jj-exit-popup {
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 20px;
  }
  .jj-exit-title { font-size: 1.4rem; }
  .jj-exit-icon { width: 52px; height: 52px; font-size: 1.2rem; }
  .jj-exit-stats { gap: 0.6rem; padding: 0.75rem 0.5rem; }
  .jj-exit-stat-num { font-size: 1.1rem; }
  .jj-exit-stat-label { font-size: 0.6rem; }
  .jj-exit-btn-primary { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
}

/* ============================================
   WHATSAPP FLOATING WIDGET
   ============================================ */
.jj-wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
}

/* Floating button */
.jj-wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
}
.jj-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.jj-wa-btn-pulse {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: #25D366;
  animation: jjWaPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes jjWaPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Popup chat */
.jj-wa-popup {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.jj-wa-popup.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Popup header */
.jj-wa-popup-header {
  background: #075E54;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.jj-wa-popup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}
.jj-wa-popup-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.jj-wa-popup-status {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.jj-wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
}
.jj-wa-popup-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  line-height: 1;
}
.jj-wa-popup-close:hover { color: #fff; }

/* Popup body */
.jj-wa-popup-body {
  background: #ECE5DD;
  padding: 1.2rem;
  min-height: 100px;
}
.jj-wa-msg {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 0.8rem 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  position: relative;
  max-width: 90%;
}
.jj-wa-msg p {
  margin: 0 0 0.4rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
}
.jj-wa-msg p:last-of-type { margin-bottom: 0; }
.jj-wa-msg-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: #999;
  margin-top: 0.3rem;
}

/* Popup CTA */
.jj-wa-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.jj-wa-popup-cta:hover {
  background: #20BD5A;
  color: #fff;
  text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .jj-wa-widget {
    bottom: 80px;
    right: 16px;
  }
  .jj-wa-btn {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
  .jj-wa-popup {
    width: 300px;
    right: -8px;
  }
}

/* =============================================
   KARIERA PAGE
   ============================================= */

/* Hero modifications */
.jj-kariera-hero {
  padding: 2rem 0 3rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: left;
}
.jj-kariera-hero .col-lg-7 {
  text-align: left;
}
.jj-kariera-hero .col-lg-7 p {
  margin: 0 0 1rem 0;
}
.jj-kariera-hero .min-vh-65 {
  min-height: 55vh;
  display: flex;
  align-items: center;
}
.jj-kariera-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(212,168,75,0.15), rgba(212,168,75,0.05));
  border: 1px solid rgba(212,168,75,0.3);
  color: var(--jj-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: jj-pulse-badge 2s ease-in-out infinite;
}
@keyframes jj-pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,75,0.3); }
  50% { box-shadow: 0 0 20px 5px rgba(212,168,75,0.15); }
}
.jj-kariera-h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}
.jj-btn-lg {
  padding: 1rem 2rem !important;
  font-size: 1.05rem !important;
}

/* Income card */
.jj-kariera-income-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,168,75,0.2);
  border-radius: var(--jj-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.jj-kariera-income-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jj-gold), var(--jj-gold-light), var(--jj-gold));
}
.jj-kariera-income-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.jj-kariera-income-amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.jj-kariera-income-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.jj-kariera-income-divider {
  width: 60px;
  height: 1px;
  background: rgba(212,168,75,0.3);
  margin: 0 auto 1.5rem;
}
.jj-kariera-income-bonus {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}
.jj-kariera-income-bonus-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.jj-kariera-income-bonus-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.jj-kariera-income-footer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* Career path visualization */
.jj-kariera-path {
  background: var(--jj-cream);
  border-radius: var(--jj-radius-lg);
  padding: 3rem 2rem;
  position: relative;
  margin-top: 2rem;
}
.jj-kariera-path::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #e0d5c0, var(--jj-gold), var(--jj-gold-light));
  transform: translateY(-50%);
  z-index: 0;
}
.jj-kariera-path-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}
.jj-kariera-path-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0d5c0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.2rem;
  color: var(--jj-text-light);
  transition: all 0.3s ease;
}
.jj-kariera-path-step-active .jj-kariera-path-icon {
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-light));
  border-color: var(--jj-gold);
  color: #fff;
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(212,168,75,0.4);
}
.jj-kariera-path-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--jj-text);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.jj-kariera-path-step-active .jj-kariera-path-title {
  color: var(--jj-gold-dark);
}
.jj-kariera-path-desc {
  font-size: 0.72rem;
  color: var(--jj-text-light);
}

/* Dark section value cards */
.jj-kariera-value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--jj-radius);
  padding: 2rem;
  transition: all 0.3s ease;
}
.jj-kariera-value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,168,75,0.3);
  transform: translateY(-4px);
}
.jj-kariera-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,168,75,0.15), rgba(212,168,75,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jj-gold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.jj-kariera-value-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.jj-kariera-value-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Values section */
.jj-kariera-val-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,168,75,0.1), rgba(212,168,75,0.02));
  border: 1px solid rgba(212,168,75,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jj-gold);
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.jj-kariera-val h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.jj-kariera-val p {
  font-size: 0.88rem;
  color: var(--jj-text-light);
  line-height: 1.6;
}

/* Dark section override */
.jj-section-dark {
  background: var(--jj-dark);
  padding: 5rem 0;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .jj-kariera-hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }
  .jj-kariera-hero .min-vh-65 {
    min-height: auto;
  }
  .jj-kariera-h1 {
    font-size: 2.5rem;
  }
  .jj-kariera-income-card {
    margin-top: 2rem;
  }
  .jj-kariera-path::before {
    display: none;
  }
  .jj-kariera-path {
    padding: 2rem 1rem;
  }
  .jj-kariera-path-step {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .jj-kariera-income-amount {
    font-size: 2.5rem;
  }
  .jj-kariera-income-bonus-amount {
    font-size: 1.4rem;
  }
  .jj-btn-lg {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

/* =============================================
   BLOG — Archive & Single Post
   ============================================= */

/* --- Blog Archive / Listing Page --- DARK THEME */

/* Make #content full-width on blog pages */
.blog #content,
.archive #content,
.category #content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.blog .site-main,
.archive .site-main,
.category .site-main {
  background: linear-gradient(180deg, var(--jj-dark) 0%, var(--jj-navy) 100%);
  padding: 0;
}

/* Hide Bootscore default blog header */
.blog .site-main .bg-body-tertiary,
.archive .site-main .bg-body-tertiary,
.category .site-main .bg-body-tertiary {
  display: none !important;
}

/* Blog hero banner */
.jj-blog-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jj-blog-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.jj-blog-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(11,23,42,0.5) 0%, rgba(11,23,42,0.85) 100%);
  z-index: 1;
}
.jj-blog-hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
}
.jj-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,168,75,0.15);
  border: 1px solid rgba(212,168,75,0.35);
  color: var(--jj-gold);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.jj-blog-hero-badge i {
  font-size: 0.7rem;
}
.jj-blog-hero-banner h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.jj-blog-hero-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.jj-blog-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.jj-blog-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 500;
}
.jj-blog-hero-stats span i {
  color: var(--jj-gold);
  font-size: 0.85rem;
}

/* Blog listing — full-width, hide sidebar, centered cards */
.blog #primary,
.archive #primary,
.category #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.blog #secondary,
.archive #secondary,
.category #secondary,
.blog aside.sidebar,
.archive aside.sidebar,
.category aside.sidebar,
.blog .col-lg-4.sidebar,
.archive .col-lg-4.sidebar,
.category .col-lg-4.sidebar {
  display: none !important;
}
.blog .row > .col-lg-8,
.archive .row > .col-lg-8,
.category .row > .col-lg-8 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Blog article CTA buttons — always stack vertically */
.jj-blog-article div[style*="flex-direction"] {
  display: flex !important;
}

/* Blog listing: force full-width, hide sidebar, center content */
.blog #primary,
.archive #primary,
.category #primary {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
.blog #secondary,
.blog aside,
.archive #secondary,
.archive aside,
.category #secondary,
.category aside {
  display: none !important;
}
.blog .col-lg-9,
.archive .col-lg-9,
.category .col-lg-9 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Blog cards container */
.blog .site-main > .row,
.blog .site-main .jj-blog-grid,
.archive .site-main .jj-blog-grid,
.category .site-main .jj-blog-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Even 50/50 split for image and text on cards — override Bootstrap col-xl-5 col-xxl-4 */
.blog article.post .col-lg-6.col-xl-5.col-xxl-4,
.blog article.post .col-lg-6,
.archive article.post .col-lg-6,
.category article.post .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}
.blog article.post .col,
.archive article.post .col,
.category article.post .col {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

/* Hide tags on blog listing */
.blog article.post .tags-links,
.archive article.post .tags-links,
.category article.post .tags-links {
  display: none;
}

/* Blog post cards — glassmorphism on dark */
.blog article.post,
.archive article.post,
.category article.post {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.blog article.post:hover,
.archive article.post:hover,
.category article.post:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,75,0.15);
}
.blog article.post .row,
.archive article.post .row,
.category article.post .row {
  align-items: center;
}
.blog article.post .post-thumbnail img,
.archive article.post .post-thumbnail img,
.category article.post .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog article.post:hover .post-thumbnail img,
.archive article.post:hover .post-thumbnail img,
.category article.post:hover .post-thumbnail img {
  transform: scale(1.06);
}
.blog article.post .post-thumbnail,
.archive article.post .post-thumbnail,
.category article.post .post-thumbnail {
  overflow: hidden;
}
.blog article.post .card-body,
.archive article.post .card-body,
.category article.post .card-body {
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog article.post .entry-title,
.archive article.post .entry-title,
.category article.post .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.blog article.post .entry-title a,
.archive article.post .entry-title a,
.category article.post .entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.blog article.post .entry-title a:hover,
.archive article.post .entry-title a:hover,
.category article.post .entry-title a:hover {
  color: var(--jj-gold);
}
.blog article.post .entry-meta,
.archive article.post .entry-meta,
.category article.post .entry-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
}
.blog article.post .entry-meta a,
.archive article.post .entry-meta a,
.category article.post .entry-meta a {
  color: var(--jj-gold);
  text-decoration: none;
}
.blog article.post .card-text,
.archive article.post .card-text,
.category article.post .card-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}
.blog article.post .card-text a,
.archive article.post .card-text a,
.category article.post .card-text a {
  color: var(--jj-gold);
  font-weight: 600;
  text-decoration: none;
}

/* Category badges on cards — dark theme */
.blog .cat-links a,
.archive .cat-links a,
.category .cat-links a {
  display: inline-block;
  background: rgba(212,168,75,0.1);
  border: 1px solid rgba(212,168,75,0.25);
  color: var(--jj-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
}
.blog .cat-links a:hover,
.archive .cat-links a:hover,
.category .cat-links a:hover {
  background: var(--jj-gold);
  color: var(--jj-dark);
}

/* Force all card text white on dark blog — override Bootstrap .text-body etc */
.blog article.post .card-body *,
.archive article.post .card-body *,
.category article.post .card-body * {
  color: rgba(255,255,255,0.6);
}
.blog article.post .card-body h2,
.blog article.post .card-body .blog-post-title,
.blog article.post .card-body a.text-body,
.archive article.post .card-body h2,
.archive article.post .card-body .blog-post-title,
.category article.post .card-body h2,
.category article.post .card-body .blog-post-title,
.category article.post .card-body a.text-body {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}
.blog article.post .card-body a.text-body:hover,
.archive article.post .card-body a.text-body:hover,
.category article.post .card-body a.text-body:hover {
  color: var(--jj-gold) !important;
}
.blog article.post .card-body .meta,
.archive article.post .card-body .meta,
.category article.post .card-body .meta {
  color: rgba(255,255,255,0.35) !important;
}
.blog article.post .card-body .meta a,
.archive article.post .card-body .meta a,
.category article.post .card-body .meta a {
  color: var(--jj-gold) !important;
}

/* Read more link — dark theme */
.blog .read-more-link,
.archive .read-more-link,
.category .read-more-link,
.blog article.post .card-text a[href],
.archive article.post .card-text a[href],
.category article.post .card-text a[href] {
  color: var(--jj-gold) !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.blog .read-more-link:hover,
.archive .read-more-link:hover,
.category .read-more-link:hover {
  color: #fff !important;
}

/* Category badges override for dark */
.blog article.post .card-body .cat-links a,
.archive article.post .card-body .cat-links a,
.category article.post .card-body .cat-links a {
  color: var(--jj-gold) !important;
  background: rgba(212,168,75,0.1);
  border: 1px solid rgba(212,168,75,0.25);
}

/* Pagination — dark theme */
.blog .pagination,
.archive .pagination,
.category .pagination {
  margin-top: 1rem;
}
.blog .page-link,
.archive .page-link,
.category .page-link {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border-radius: 8px !important;
  margin: 0 4px;
}
.blog .page-link:hover,
.archive .page-link:hover,
.category .page-link:hover,
.blog .page-item.active .page-link,
.archive .page-item.active .page-link,
.category .page-item.active .page-link {
  background: var(--jj-gold);
  border-color: var(--jj-gold);
  color: var(--jj-dark);
}

/* --- Single Post — Dark Luxury Theme --- */
.single-post .site-main {
  background: linear-gradient(180deg, var(--jj-dark) 0%, var(--jj-navy) 100%);
  padding: 0;
}

/* Full-width #content override */
.single-post #content,
.single-post .site-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide Bootscore ghost header */
.single-post .bg-body-tertiary {
  display: none !important;
}

/* FULL WIDTH — hide sidebar on single posts */
.single-post #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.single-post #primary > .row > .col-lg-9 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
.single-post #primary > .row > .col-lg-3,
.single-post #secondary,
.single-post aside.sidebar,
.single-post .col-lg-4.sidebar {
  display: none !important;
}
.single-post .row > .col-lg-8 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Hide tags, categories, entry-footer on single posts */
.single-post .tags-links,
.single-post .category-badge,
.single-post .entry-footer,
.single-post .jj-blog-tags {
  display: none !important;
}

/* Post hero */
.single-post .entry-header {
  background: linear-gradient(135deg, var(--jj-dark) 0%, var(--jj-navy) 50%, var(--jj-dark-2) 100%);
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.single-post .entry-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,168,75,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(79,156,247,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.single-post .entry-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.2;
  position: relative;
  letter-spacing: -0.02em;
}
.single-post .entry-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.single-post .entry-meta a {
  color: var(--jj-gold-light);
  text-decoration: none;
}
/* Category badges in header — hidden */
.single-post .entry-header .cat-links,
.single-post .entry-meta .cat-links,
.single-post .category-badge {
  display: none !important;
}

/* Featured image in single post — full width hero */
.single-post .post-thumbnail {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--jj-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.06);
}
.single-post .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation links (prev/next post) */
.single-post .post-navigation {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.single-post .post-navigation a {
  color: var(--jj-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.single-post .post-navigation a:hover {
  color: #fff;
}

/* Comments section styling */
.single-post .comments-area {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: rgba(255,255,255,0.7);
}
.single-post .comments-area * {
  color: rgba(255,255,255,0.7);
}
.single-post .comments-area a {
  color: var(--jj-gold);
}

/* Breadcrumbs */
.jj-breadcrumbs {
  background: rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}
.jj-breadcrumbs nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.jj-breadcrumbs a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.jj-breadcrumbs a:hover {
  color: var(--jj-gold-light);
}
.jj-breadcrumbs .separator {
  margin: 0 0.4rem;
  opacity: 0.4;
}

/* Article content wrapper — dark glassmorphism */
.jj-blog-article {
  max-width: 800px;
  margin: -2rem auto 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: var(--jj-radius-lg) var(--jj-radius-lg) var(--jj-radius) var(--jj-radius);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}
.jj-blog-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212,168,75,0.2);
  position: relative;
}
.jj-blog-article h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--jj-gold);
}
.jj-blog-article h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin: 2rem 0 0.75rem;
}
.jj-blog-article h3 i {
  color: var(--jj-gold);
  margin-right: 0.5rem;
}
.jj-blog-article p {
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.8);
}
.jj-blog-article a {
  color: var(--jj-gold);
  text-decoration: underline;
  text-decoration-color: rgba(212,168,75,0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}
.jj-blog-article a:hover {
  color: var(--jj-gold-light);
  text-decoration-color: var(--jj-gold);
}
.jj-blog-article ul, .jj-blog-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.jj-blog-article li {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}
.jj-blog-article strong {
  color: #fff;
}
.jj-blog-article em {
  color: rgba(255,255,255,0.6);
}
.jj-blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jj-radius);
  margin: 1.5rem 0;
}

/* Lead paragraph — dark */
.jj-blog-lead {
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  border-left: 3px solid var(--jj-gold);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, rgba(212,168,75,0.08), transparent);
  padding: 1.5rem;
  border-radius: 0 var(--jj-radius) var(--jj-radius) 0;
}

/* Table of contents — dark */
.jj-blog-toc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,168,75,0.15);
  border-radius: var(--jj-radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.jj-blog-toc h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--jj-gold);
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.jj-blog-toc h2::after {
  display: none;
}
.jj-blog-toc ol {
  counter-reset: toc;
  list-style: none;
  padding: 0;
  margin: 0;
}
.jj-blog-toc ol li {
  counter-increment: toc;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.7);
}
.jj-blog-toc ol li::before {
  content: counter(toc) ".";
  color: var(--jj-gold);
  font-weight: 700;
  margin-right: 0.5rem;
}
.jj-blog-toc a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.jj-blog-toc a:hover {
  color: var(--jj-gold);
}

/* Feature boxes — dark */
.jj-blog-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.jj-blog-feature {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--jj-radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--jj-transition-fast);
}
.jj-blog-feature:hover {
  border-color: rgba(212,168,75,0.25);
  box-shadow: 0 4px 12px rgba(212,168,75,0.08);
}
.jj-blog-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.jj-blog-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.jj-blog-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

/* Pricing table — dark */
.jj-blog-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--jj-radius);
  border: 1px solid rgba(255,255,255,0.08);
}
.jj-blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: auto;
}
.jj-blog-table thead {
  background: rgba(212,168,75,0.12);
}
.jj-blog-table thead th {
  color: var(--jj-gold);
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.jj-blog-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.jj-blog-table tbody tr:hover {
  background: rgba(212,168,75,0.04);
}
.jj-blog-table tbody tr:last-child {
  border-bottom: none;
}
.jj-blog-table td {
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
/* Last column (Uwagi / descriptions) can wrap */
.jj-blog-table td:last-child {
  white-space: normal;
  min-width: 180px;
}
/* For 3-col tables, middle column (descriptions) can also wrap */
.jj-blog-table td:nth-child(2):nth-last-child(2) {
  white-space: normal;
  min-width: 200px;
}
.jj-blog-table td strong {
  color: var(--jj-gold);
  font-size: 1.05em;
}

/* Info note — dark */
.jj-blog-note {
  background: linear-gradient(135deg, rgba(79,156,247,0.08), rgba(79,156,247,0.03));
  border: 1px solid rgba(79,156,247,0.15);
  border-radius: var(--jj-radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 1.5rem 0;
}
.jj-blog-note i {
  color: var(--jj-accent);
  margin-right: 0.4rem;
}

/* Steps — dark */
.jj-blog-steps {
  margin: 1.5rem 0 2rem;
}
.jj-blog-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.jj-blog-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--jj-gold), rgba(212,168,75,0.1));
}
.jj-blog-step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--jj-gold), var(--jj-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 1;
}
.jj-blog-step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  padding-top: 0.3rem;
}
.jj-blog-step-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.65;
}

/* FAQ section — dark */
.jj-blog-faq {
  margin: 1.5rem 0 2rem;
}
.jj-blog-faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--jj-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  transition: var(--jj-transition-fast);
}
.jj-blog-faq-item:hover {
  border-color: rgba(212,168,75,0.2);
  box-shadow: 0 2px 8px rgba(212,168,75,0.06);
}
.jj-blog-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}
.jj-blog-faq-item h3::before {
  content: 'Q';
  position: absolute;
  left: 0;
  color: var(--jj-gold);
  font-weight: 800;
}
.jj-blog-faq-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.7;
}

/* CTA Box */
.jj-blog-cta-box {
  margin: 2.5rem 0 1rem;
  background: linear-gradient(135deg, var(--jj-dark) 0%, var(--jj-navy) 100%);
  border-radius: var(--jj-radius-lg);
  overflow: hidden;
  position: relative;
}
.jj-blog-cta-box::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,168,75,0.15), transparent);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.jj-blog-cta-inner {
  padding: 2.5rem;
  position: relative;
  text-align: center;
}
.jj-blog-cta-inner h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}
.jj-blog-cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}
.jj-blog-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.jj-blog-cta-buttons .jj-btn-gold {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
}
.jj-blog-cta-buttons .jj-btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--jj-gold);
  background: transparent;
  border: 2px solid rgba(212,168,75,0.4);
  border-radius: 50px;
  text-decoration: none;
  transition: var(--jj-transition-fast);
  cursor: pointer;
}
.jj-blog-cta-buttons .jj-btn-gold-outline:hover {
  background: rgba(212,168,75,0.1);
  border-color: var(--jj-gold);
  color: var(--jj-gold-light);
}

/* Author box at bottom — dark */
.jj-blog-author {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--jj-radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(212,168,75,0.15);
}
.jj-blog-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--jj-gold);
  margin: 0;
}
.jj-blog-author-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.jj-blog-author-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

/* Tags — hidden on single posts, kept for archive if needed */
.jj-blog-tags {
  display: none;
}

/* Related posts — dark */
.jj-related-posts {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.jj-related-posts h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* --- Blog Mobile Responsive --- */
@media (max-width: 991.98px) {
  /* Stack card columns vertically on tablet and mobile — image on top, text below */
  .blog article.post .col-lg-6.col-xl-5.col-xxl-4,
  .blog article.post .col-lg-6,
  .blog article.post .col,
  .archive article.post .col-lg-6,
  .archive article.post .col,
  .category article.post .col-lg-6,
  .category article.post .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .blog article.post .row,
  .archive article.post .row,
  .category article.post .row {
    flex-direction: column;
  }
  .blog article.post .post-thumbnail img,
  .archive article.post .post-thumbnail img,
  .category article.post .post-thumbnail img {
    max-height: 220px;
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  /* --- Blog listing mobile --- */
  .blog .site-main .jj-blog-grid {
    padding: 1.5rem 0.75rem 2.5rem;
  }
  .blog article.post,
  .archive article.post,
  .category article.post {
    margin-bottom: 1.25rem;
    border-radius: 12px;
  }
  .blog article.post .card-body,
  .archive article.post .card-body,
  .category article.post .card-body {
    padding: 1rem 1.25rem 1.25rem;
  }
  .blog article.post .card-body h2,
  .blog article.post .card-body .blog-post-title,
  .blog article.post .card-body a.text-body,
  .archive article.post .card-body h2,
  .archive article.post .card-body a.text-body,
  .category article.post .card-body h2,
  .category article.post .card-body a.text-body {
    font-size: 1.1rem !important;
    line-height: 1.35;
  }
  .blog article.post .card-text,
  .archive article.post .card-text,
  .category article.post .card-text {
    font-size: 0.82rem;
    line-height: 1.55;
  }
  .blog article.post .entry-meta,
  .archive article.post .entry-meta,
  .category article.post .entry-meta {
    font-size: 0.72rem;
  }
  .blog article.post .post-thumbnail img,
  .archive article.post .post-thumbnail img,
  .category article.post .post-thumbnail img {
    max-height: 180px;
  }

  /* --- Blog hero mobile --- */
  .jj-blog-hero-banner {
    min-height: 220px;
  }
  .jj-blog-hero-banner h1 {
    font-size: 1.8rem;
  }
  .jj-blog-hero-content {
    padding: 2.5rem 1rem 2rem;
  }
  .jj-blog-hero-content p {
    font-size: 0.85rem;
  }
  .jj-blog-hero-stats {
    gap: 0.6rem;
    flex-direction: column;
  }
  .jj-blog-hero-stats span {
    font-size: 0.75rem;
  }
  .jj-blog-hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
  }

  /* --- Single post mobile --- */
  .single-post .entry-title {
    font-size: 1.6rem;
    padding: 0 0.5rem;
  }
  .single-post .entry-header {
    padding: 3.5rem 0 2rem;
  }
  .single-post .post-thumbnail {
    margin: 0 0.5rem;
    margin-top: -1rem;
    border-radius: 12px;
  }
  .jj-blog-article {
    padding: 1.5rem 1rem;
    margin: -0.5rem 0.5rem 0;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .jj-blog-article h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
  }
  .jj-blog-article h3 {
    font-size: 1.05rem;
  }
  .jj-blog-article p {
    font-size: 0.92rem;
  }

  /* Lead */
  .jj-blog-lead {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    line-height: 1.7;
  }

  /* TOC */
  .jj-blog-toc {
    padding: 1rem 1.15rem;
  }
  .jj-blog-toc a {
    font-size: 0.85rem;
  }
  .jj-blog-toc ol li {
    margin-bottom: 0.3rem;
  }

  /* Feature boxes */
  .jj-blog-features {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .jj-blog-feature {
    padding: 0.85rem;
    gap: 0.75rem;
  }
  .jj-blog-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  .jj-blog-feature h4 {
    font-size: 0.88rem;
  }
  .jj-blog-feature p {
    font-size: 0.78rem;
  }

  /* Table — card layout on mobile (stacked: label above value) */
  .jj-blog-table-wrap {
    margin: 1rem 0;
    overflow-x: visible;
    border: none;
  }
  .jj-blog-table {
    border-collapse: separate;
    border-spacing: 0;
  }
  .jj-blog-table thead {
    display: none;
  }
  .jj-blog-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 0.85rem;
    padding: 0;
    overflow: hidden;
  }
  .jj-blog-table tbody tr:last-child {
    margin-bottom: 0;
  }
  /* First cell = card title spanning full width */
  .jj-blog-table td:first-child {
    grid-column: 1 / -1;
    display: block;
    padding: 0.75rem 1rem 0.6rem;
    background: rgba(212,168,75,0.08);
    border-bottom: 1px solid rgba(212,168,75,0.15);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
  }
  .jj-blog-table td:first-child::before {
    display: block;
    color: var(--jj-gold);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
    opacity: 0.7;
  }
  /* Remaining cells = stacked vertically in 2-col grid */
  .jj-blog-table td {
    display: block;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
  }
  .jj-blog-table td:last-child {
    border-bottom: none;
    grid-column: 1 / -1;
    border-right: none;
  }
  /* If odd number of remaining cells, last one spans full width */
  .jj-blog-table td:nth-last-child(2):nth-child(even) {
    border-right: none;
  }
  .jj-blog-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--jj-gold);
    font-weight: 700;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    opacity: 0.7;
  }
  .jj-blog-table td strong {
    font-size: 1.05em;
    color: var(--jj-gold);
  }

  /* Info note */
  .jj-blog-note {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
  }

  /* Steps */
  .jj-blog-step {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .jj-blog-step-num {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0.9rem;
  }
  .jj-blog-step:not(:last-child)::after {
    left: 16px;
    top: 38px;
  }
  .jj-blog-step-content h4 {
    font-size: 0.95rem;
  }
  .jj-blog-step-content p {
    font-size: 0.85rem;
  }

  /* FAQ */
  .jj-blog-faq-item {
    padding: 1rem 1.15rem;
    margin-bottom: 0.5rem;
  }
  .jj-blog-faq-item h3 {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }
  .jj-blog-faq-item p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* CTA */
  .jj-blog-cta-inner {
    padding: 1.25rem 1rem;
  }
  .jj-blog-cta-inner h3 {
    font-size: 1.2rem;
  }
  .jj-blog-cta-inner p {
    font-size: 0.85rem;
  }
  .jj-blog-cta-buttons {
    flex-direction: column;
    gap: 0.6rem;
  }
  .jj-blog-cta-buttons .jj-btn-gold,
  .jj-blog-cta-buttons .jj-btn-gold-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
  }

  /* Author box */
  .jj-blog-author {
    flex-direction: column;
    text-align: center;
    padding: 1.15rem;
    gap: 1rem;
  }
  .jj-blog-author img {
    width: 64px;
    height: 64px;
  }
  .jj-blog-author-info h4 {
    font-size: 0.95rem;
  }
  .jj-blog-author-info p {
    font-size: 0.78rem;
  }

  /* Breadcrumbs */
  .jj-breadcrumbs nav {
    font-size: 0.72rem;
    padding: 0 0.75rem;
  }

  /* Comments */
  .single-post .comments-area {
    padding: 0 0.75rem;
  }
}
