/* ==========================================================================
   WORKENTO — Modern Design System & Stylesheet
   Crafted with precision, minimalistic elegance & mobile-first UI/UX.
   ========================================================================== */

/* Google Font: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ----- Custom Properties / Design Tokens ----- */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Colors */
  --brand-navy-950: #060b14;
  --brand-navy-900: #0a1120;
  --brand-navy-800: #0f1c33;
  --brand-navy-700: #172a4d;
  --brand-navy-600: #223c6d;
  
  --brand-amber: #f59e0b;
  --brand-amber-hover: #d97706;
  --brand-amber-light: #fef3c7;
  --brand-amber-glow: rgba(245, 158, 11, 0.28);
  
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  
  --sky-600: #0284c7;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;

  /* Surfaces & Backgrounds */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-dark: var(--brand-navy-900);
  --bg-dark-card: var(--brand-navy-800);
  
  /* Text */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-dim: #94a3b8;
  --text-inv: #ffffff;
  --text-inv-muted: rgba(255, 255, 255, 0.75);
  --text-inv-dim: rgba(255, 255, 255, 0.5);

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-hover: rgba(255, 255, 255, 0.2);

  /* Spacing & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.22s var(--ease);
  
  /* Layout */
  --max-w: 1200px;
  --header-h: 74px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-body);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-main);
}

html[lang="uk"] {
  --font-sans: 'Manrope', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-amber);
  outline-offset: 3px;
}

/* ----- Container & Layout Utilities ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.text-center { text-align: center; }
.mt-20 { margin-top: 1.25rem; }
.mb-20 { margin-bottom: 1.25rem; }
.mt-40 { margin-top: 2.5rem; }
.mb-40 { margin-bottom: 2.5rem; }

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 16px;
  background: var(--brand-amber);
  color: var(--brand-navy-950);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
}
.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 17, 32, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-h);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 34px;
  width: auto;
  transition: transform var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-inv-muted);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links li a:hover {
  color: var(--text-inv);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links li a.active {
  color: var(--brand-amber);
  background: rgba(245, 158, 11, 0.12);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 0.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-inv-muted);
}

.lang-switch a:hover {
  color: var(--text-inv);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch a[aria-current="page"] {
  color: var(--brand-navy-950);
  background: var(--brand-amber);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--brand-amber);
  color: var(--brand-navy-950) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px var(--brand-amber-glow);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--brand-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--brand-amber-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-inv);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
@media (max-width: 1119px) {
  .site-header.nav-open {
    z-index: 10050;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(10, 17, 32, 0.98);
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10051;
    background: rgba(10, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.6rem;
    display: flex;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li a {
    display: block;
    padding: 0.9rem 1.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links li a.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
  }

  .nav-links::after {
    content: '';
    display: block;
    margin-top: auto;
  }
}

@media (min-width: 1120px) {
  .site-header .container {
    max-width: 1280px;
    padding-left: clamp(16px, 2vw, 28px);
    padding-right: clamp(16px, 2vw, 28px);
  }

  .nav-wrap {
    gap: 0.85rem;
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    min-width: 0;
  }

  /* Logo already leads home — drop the duplicate label so the bar stays one line */
  .nav-links > li:first-child {
    display: none;
  }

  .nav-links li a {
    white-space: nowrap;
    padding: 0.42rem 0.62rem;
    font-size: 0.84rem;
  }

  .nav-end {
    margin-left: 0;
    gap: 0.7rem;
  }

  .lang-switch a {
    min-width: 32px;
    height: 28px;
    padding: 0 0.35rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    padding: 0.5rem 1.05rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 1280px) {
  .nav-logo img {
    height: 34px;
  }

  .nav-wrap {
    gap: 1.25rem;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-links li a {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 0.58rem 1.25rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  background: var(--brand-navy-950);
  color: var(--text-inv);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 580px;
  display: flex;
  align-items: center;
}

/* Aerial Logistics Background & Animations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-poster,
.hero-bg-video,
.hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.8) contrast(1.05) saturate(1.05);
}

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

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-bg-video.is-ready {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0.55) 0%, rgba(6, 11, 20, 0.62) 50%, rgba(6, 11, 20, 0.8) 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 75%);
  opacity: 0.75;
}

/* Animated Transit Routes & Glowing Hub Nodes */
.hero-bg-routes {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.route-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
  border-radius: 2px;
}

.route-1 {
  top: 32%;
  left: 12%;
  width: 28%;
  transform: rotate(-12deg);
  animation: routePulse 6s ease-in-out infinite;
}

.route-2 {
  top: 68%;
  right: 14%;
  width: 32%;
  transform: rotate(8deg);
  animation: routePulse 7s ease-in-out infinite 2s;
}

@keyframes routePulse {
  0%, 100% { opacity: 0.2; transform: scaleX(0.8) rotate(var(--rot, 0deg)); }
  50% { opacity: 0.85; transform: scaleX(1.1) rotate(var(--rot, 0deg)); }
}

.route-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 14px var(--brand-amber), 0 0 28px var(--brand-amber);
}

.route-node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--brand-amber);
  animation: radarPing 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.node-1 { top: 28%; left: 18%; animation-delay: 0s; }
.node-2 { top: 62%; right: 22%; animation-delay: 1.2s; }
.node-3 { top: 78%; left: 26%; animation-delay: 2.1s; }

@keyframes radarPing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 17, 32, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 14px rgba(245, 158, 11, 0.08);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-amber);
  margin-bottom: 1.75rem;
  transition: transform var(--transition), border-color var(--transition);
}

.hero-badge:hover {
  border-color: var(--brand-amber);
  transform: translateY(-1px);
}

.hero-badge-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 8px var(--brand-amber);
}

.hero-badge-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-amber);
  animation: radarPing 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .text-highlight {
  background: linear-gradient(135deg, #ffffff 25%, var(--brand-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  color: var(--text-inv-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  padding: 1.15rem 1.75rem;
  background: rgba(10, 17, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-inv-muted);
  transition: color var(--transition);
}

.hero-trust-item:hover {
  color: #ffffff;
}

.hero-trust-item svg {
  width: 19px;
  height: 19px;
  color: var(--brand-amber);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

/* Simple Page Header (Internal pages) */
.page-header {
  background: linear-gradient(180deg, var(--brand-navy-900) 0%, var(--brand-navy-800) 100%);
  color: var(--text-inv);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.page-header p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-inv-muted);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .section-tag {
  color: var(--brand-amber);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.3;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 0.95rem 2.1rem;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.84rem;
}

.btn-primary {
  background: var(--brand-amber);
  color: var(--brand-navy-950);
  box-shadow: 0 4px 14px var(--brand-amber-glow);
}

.btn-primary:hover {
  background: var(--brand-amber-hover);
  color: var(--brand-navy-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-amber-glow);
}

.btn-secondary {
  background: var(--brand-navy-800);
  color: var(--text-inv);
  border-color: var(--brand-navy-700);
}

.btn-secondary:hover {
  background: var(--brand-navy-700);
  color: var(--text-inv);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-inv);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-inv);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--brand-navy-950);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--brand-navy-900);
  color: var(--text-inv);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-amber-hover);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-inv-muted);
}

/* ==========================================================================
   BENTO / FEATURE HIGHLIGHTS (Dlaczego Workento)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-amber);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-amber-light);
  color: var(--brand-navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.bento-icon svg {
  width: 26px;
  height: 26px;
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legacy & About highlights */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about-snippet {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.about-snippet-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.about-snippet-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-snippet-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.highlight-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-amber);
}

.highlight-item .hl-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-amber-hover);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.highlight-item .hl-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   OFFER CARDS & GRID
   ========================================================================== */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-navy-600);
}

.offer-card-featured {
  border: 2px solid var(--brand-amber);
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.15);
}

.offer-card-featured::before {
  content: 'WYRÓŻNIONA';
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brand-amber);
  color: var(--brand-navy-950);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

html[lang="de"] .offer-card-featured::before { content: 'EMPFOHLEN'; }
html[lang="uk"] .offer-card-featured::before { content: 'РЕКОМЕНДОВАНА'; }

.offer-card-linked {
  outline: 2px solid var(--brand-amber);
  box-shadow: 0 8px 28px -6px rgba(245, 158, 11, 0.35);
}

.offer-card-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

.offer-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.offer-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  letter-spacing: -0.015em;
  flex: 1;
}

.offer-card-featured .offer-card-title-row {
  padding-right: 7rem;
}

html[lang="uk"] .offer-card-featured .offer-card-title-row {
  padding-right: 9rem;
}

.offer-share {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: -4px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.offer-share:hover {
  color: var(--brand-navy-900);
  background: var(--brand-amber-light);
  border-color: var(--brand-amber);
}

.offer-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2000;
  transform: translateX(-50%) translateY(12px);
  background: var(--brand-navy-900);
  color: var(--text-inv);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.offer-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.offer-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.badge-cat {
  background: var(--sky-50);
  color: var(--sky-600);
  border-color: var(--sky-100);
}

.badge-accent {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-color: var(--emerald-100);
}

.offer-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  background: #fafbfc;
}

.offer-card-body .detail {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}

.offer-card-body .detail-label {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 82px;
  flex-shrink: 0;
}

.offer-card-body .detail-value {
  color: var(--text-main);
  font-weight: 500;
}

.offer-card-footer {
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.offer-price-wrap {
  display: flex;
  flex-direction: column;
}

.offer-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.offer-price {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--emerald-600);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   FILTERS PANEL (Dla Kierowców)
   ========================================================================== */
.filters-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.filters-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.filters-panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--brand-amber);
  color: var(--text-main);
  background: var(--brand-amber-light);
}

.filter-chip.active {
  background: var(--brand-navy-900);
  border-color: var(--brand-navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

.filter-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-amber);
  cursor: pointer;
}

.filter-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.filter-search {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.filter-search:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px var(--brand-amber-glow);
}

.filter-results-count {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  background: var(--bg-card-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.filter-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-light);
}

.filter-empty h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.filter-empty p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}

.form-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.form-section .form-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-dim);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px var(--brand-amber-glow);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

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

.form-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 0.9rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition);
}

.form-checkboxes label:hover {
  background: var(--brand-amber-light);
  border-color: var(--brand-amber);
}

.form-checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-amber);
  flex-shrink: 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand-amber);
}

.form-consent a {
  color: var(--brand-navy-900);
  font-weight: 700;
  text-decoration: underline;
}

.form-section .btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.contact-form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form-message.is-success {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid var(--emerald-100);
  display: block;
}

.contact-form-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fee2e2;
  display: block;
}

/* ==========================================================================
   CONTACT PAGE & CARDS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-amber);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-amber-light);
  color: var(--brand-navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.contact-card em {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}

.contact-card a {
  font-weight: 700;
  color: var(--brand-navy-900);
}

.contact-card a:hover {
  color: var(--brand-amber-hover);
}

/* ==========================================================================
   FEATURES / CONTENT BLOCKS
   ========================================================================== */
.content-block {
  max-width: 820px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.85rem;
}

.content-block p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand-amber);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   EMPLOYER SECTION
   ========================================================================== */
.employer-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.employer-intro h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.employer-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-notice {
  background: var(--brand-amber-light);
  border: 1px solid var(--brand-amber);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-navy-950);
  color: var(--text-inv-muted);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

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

.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
}

.footer-col p {
  color: var(--text-inv-muted);
  line-height: 1.65;
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--text-inv-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--brand-amber);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li a {
  display: inline-block;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-inv);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--brand-amber);
  color: var(--brand-navy-950);
  border-color: var(--brand-amber);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-inv-dim);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--text-inv-muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--brand-amber);
}

.footer-bottom .humbak-credit {
  margin: 0;
}

.footer-bottom .humbak-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-inv-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  min-height: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-amber);
  border-bottom: 2px solid var(--brand-amber);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-item .faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item .faq-answer p + p {
  margin-top: 0.7rem;
}

.faq-item .faq-answer a {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   BLOG / WIEDZA
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.4);
}

.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-navy-900);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-amber-hover);
  margin-bottom: 0.5rem;
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.blog-card h2 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-link::after {
  content: "→";
  color: var(--brand-amber);
  transition: transform var(--transition);
}

.blog-card:hover .blog-card-link::after {
  transform: translateX(4px);
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-amber-hover);
  margin-bottom: 1.25rem;
}

.article-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.article-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.6rem;
}

.article-body p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.article-body ul {
  list-style: disc;
  margin: 0 0 1.35rem 1.25rem;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.article-body a {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--brand-navy-900);
  color: var(--text-inv);
  border-radius: var(--radius-lg);
}

.article-cta h2 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.15rem;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
