/* ===================================================================
   ProgresLab — Global Design System
   Mobile-first | Dark theme | Glassmorphism
   =================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand */
  --primary: #0a3c1b;
  --primary-light: #0f5a29;
  --primary-dark: #062a12;
  --accent: #1ed760;
  --accent-hover: #1db954;
  --gold: #d4af37;
  --gold-hover: #c9a22e;

  /* Neutrals */
  --bg-dark: #050505;
  --bg-card: #0d0d0d;
  --bg-section: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #717171;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 110px;
  --section-padding: 5rem 0;
  --border-radius: 16px;
  --border-radius-sm: 10px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(30, 215, 96, 0.15);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumbs {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 0.35rem);
  padding-bottom: 0.75rem;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.72) 70%, transparent 100%);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs li {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.55rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-primary);
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.text-gold {
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(10, 60, 27, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(30, 215, 96, 0.05);
}

.btn-quiz {
  background: linear-gradient(135deg, #b8860b, var(--gold));
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  animation: quizPulse 3s ease-in-out infinite;
}

.btn-quiz:hover {
  background: linear-gradient(135deg, var(--gold), #e6c349);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  color: #000;
}

@keyframes quizPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  }

  50% {
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.5);
  }
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.full-width {
  width: 100%;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

/* ===================================================================
   NAVIGATION — 3 modes: global, ai, zdrowie
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(5, 5, 5, 0);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.navbar .logo-img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-links .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--text-primary);
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.mobile-menu a:hover {
  background: var(--glass-bg);
  color: var(--accent);
}

/* Navbar accent colors per pillar */
.navbar--ai .nav-links a.active,
.navbar--ai .nav-links a:hover {
  color: var(--accent);
}

.navbar--zdrowie .nav-links a.active,
.navbar--zdrowie .nav-links a:hover {
  color: var(--accent);
}

/* ===================================================================
   HERO SECTIONS
   =================================================================== */
/* Homepage hero - 2 pillars, 3-layer composition */
.hero-gateway {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-height) + clamp(0.75rem, 2vh, 1.4rem)) 0 clamp(1.1rem, 2.8vh, 2.2rem);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

.hero-gateway-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-gateway-bg::before,
.hero-gateway-bg::after {
  content: none;
}

.hero-world {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-world::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.12) 0%, rgba(8, 10, 12, 0.28) 58%, rgba(8, 9, 11, 0.42) 100%);
  opacity: 1;
  transition: opacity 0.55s ease;
}

.hero-world-photo {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-world-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-world-photo-position-desktop);
  filter: brightness(0.73);
  transform: scale(1);
  transition: transform 0.55s ease, filter 0.55s ease, object-position 0.55s ease;
}

.hero-world--ai {
  left: 0;
  width: 50%;
  z-index: 1;
  clip-path: none;
  --hero-world-photo-position-desktop: 42% 50%;
  --hero-world-photo-position-mobile: 40% 50%;
  --hero-world-photo-position-hover: 43% 50%;
}

.hero-world--zdrowie {
  left: 50%;
  width: 50%;
  z-index: 1;
  clip-path: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  --hero-world-photo-position-desktop: 58% 46%;
  --hero-world-photo-position-mobile: 60% 47%;
  --hero-world-photo-position-hover: 57% 46%;
}

.hero-gateway-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-rows: auto 1fr;
  row-gap: clamp(1rem, 2.4vh, 2rem);
  min-height: clamp(36rem, calc(100svh - var(--nav-height) - 2.4rem), 57rem);
}

.hero-branding {
  width: min(92vw, 56rem);
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(0.45rem, 1.2vh, 0.85rem);
}

.hero-branding .hero-logo {
  width: clamp(10rem, 20vw, 17rem);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.58));
}

.hero-claim {
  margin: 0;
  max-width: min(92vw, 34rem);
  font-family: 'Lexend', sans-serif;
  font-size: clamp(1.52rem, 1.92vw, 1.82rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.hero-cards {
  width: 100%;
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.65rem, 1.2vh, 0.95rem);
  min-height: clamp(18rem, 36vh, 23.5rem);
  padding: clamp(1.05rem, 2vw, 1.6rem);
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(0.9rem, 1.5vw, 1.35rem);
  background: linear-gradient(170deg, rgba(11, 13, 15, 0.34) 0%, rgba(9, 10, 11, 0.44) 55%, rgba(8, 9, 10, 0.58) 100%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.hero-card .card-icon {
  width: clamp(2rem, 2vw, 2.5rem);
  height: clamp(2rem, 2vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.hero-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  text-align: left;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}

.hero-card .card-bullets {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.4rem, 0.9vh, 0.65rem);
  min-height: clamp(5.8rem, 9.2vh, 6.8rem);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-card .card-bullets li {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 400;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.55rem;
  line-height: 1.45;
  text-align: left;
}

.hero-card .card-bullets li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-top: 0.45em;
  background-color: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.hero-card .btn {
  margin-top: auto;
  align-self: flex-start;
  min-width: clamp(12.2rem, 18vw, 14.4rem);
  justify-content: center;
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  padding: clamp(0.74rem, 1.2vh, 0.9rem) clamp(1.4rem, 2.2vw, 2rem);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

@media (min-width: 900px) {
  .hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.95rem, 1.4vw, 1.25rem);
  }

  .hero-card.ai-card,
  .hero-card.zdrowie-card {
    clip-path: none;
    margin-left: 0;
    padding-left: clamp(1.05rem, 2vw, 1.6rem);
    padding-right: clamp(1.05rem, 2vw, 1.6rem);
  }
}

@media (max-width: 899px) {
  .hero-gateway {
    min-height: 0;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-gateway-content {
    min-height: 0;
    grid-template-rows: auto;
  }

  .hero-world--ai {
    width: 50%;
    clip-path: none;
  }

  .hero-world--zdrowie {
    left: 50%;
    width: 50%;
    clip-path: none;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-world--ai .hero-world-photo img {
    object-position: var(--hero-world-photo-position-mobile);
  }

  .hero-world--zdrowie .hero-world-photo img {
    object-position: var(--hero-world-photo-position-mobile);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.38);
  }

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

  .hero-gateway:has(.ai-card:hover) .hero-world--ai .hero-world-photo img {
    transform: scale(1.03);
    object-position: var(--hero-world-photo-position-hover);
    filter: brightness(0.88);
  }

  .hero-gateway:has(.zdrowie-card:hover) .hero-world--zdrowie .hero-world-photo img {
    transform: scale(1.03);
    object-position: var(--hero-world-photo-position-hover);
    filter: brightness(0.88);
  }

  .hero-gateway:has(.ai-card:hover) .hero-world--ai::before,
  .hero-gateway:has(.zdrowie-card:hover) .hero-world--zdrowie::before {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-world-photo img,
  .hero-world::before,
  .hero-card {
    transition: none;
  }
}
/* Subpage hero — full-width image */
.hero-subpage {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero-division {
  min-height: 85vh;
}

.hero-subpage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.7) 100%);
  z-index: 1;
}

.hero-subpage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-subpage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-subpage-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
}

.hero-subpage-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.hero-subpage-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-subpage-content .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===================================================================
   CONTENT SECTIONS
   =================================================================== */

/* Service cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}

.service-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.service-card .card-link {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-card .card-link::after {
  content: ' →';
}

/* Image cards (services with image) */
.image-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-primary);
}

.image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.image-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}

.image-card .card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.image-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-card:hover .card-bg img {
  transform: scale(1.05);
}

.image-card .card-text {
  position: relative;
  z-index: 2;
}

.image-card .card-text h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.image-card .card-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Steps / Process */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 1.75rem;
  position: relative;
  counter-increment: step;
  transition: all var(--transition-base);
}

.step:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 1.75rem;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--glass-bg);
  transition: all var(--transition-base);
}

.faq-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  color: var(--text-primary);
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Values / Benefits grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.value-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-member {
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all var(--transition-base);
}

.team-member:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.team-member .member-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--glass-border);
}

.team-member h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-member .member-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.team-member p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-member .social-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.team-member .social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  padding: 0;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.team-member .social-links a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.team-member .social-links a:hover {
  color: var(--accent);
  border-color: rgba(30, 215, 96, 0.58);
  background: rgba(30, 215, 96, 0.1);
  transform: translateY(-1px);
}

.team-company-link {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.team-company-link__anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.team-company-link__icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(30, 215, 96, 0.35);
  background: rgba(30, 215, 96, 0.09);
  color: var(--accent);
}

.team-company-link__icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.team-company-link__anchor:hover {
  color: var(--accent);
}

/* Certificate grid */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.cert-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cert-card .cert-preview {
  width: 100%;
  height: 300px;
  border-bottom: 1px solid var(--glass-border);
  background: #111;
}

.cert-card .cert-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cert-card .cert-info {
  padding: 1.25rem;
}

.cert-card .cert-info h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cert-card .cert-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.cert-card .cert-info .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

/* ===================================================================
   FORMS
   =================================================================== */
.form-section-wrapper {
  background: var(--bg-section);
}

.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  max-width: 650px;
  margin: 0 auto;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.required-indicator {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b3b3b3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #1a1a1a;
  color: #e0e0e0;
}

.form-group select optgroup {
  background: #1a1a1a;
  color: #e0e0e0;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  min-height: 48px;
  padding: 0.25rem 0;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
  content: '✓';
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
}

.checkbox-label input[type="checkbox"]:focus+.checkbox-custom {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.1);
}

.checkbox-text {
  line-height: 1.5;
  color: var(--text-secondary);
}

.checkbox-text a {
  text-decoration: underline;
}

/* Radio (rating scale) */
.rating-scale {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rating-scale>span {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.rating-options {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.rating-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.rating-options label:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rating-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rating-options input[type="radio"]:checked+.rating-text,
.rating-options label:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Newsletter consent area */
.newsletter-consent {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Form status */
.form-status {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(30, 215, 96, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid #ff3c3c;
  color: #ff6b6b;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer .logo-img {
  height: 100px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer--ai .logo-img {
  height: 100px;
  max-width: none;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer .text-muted-sm a {
  color: var(--text-muted);
}

.footer .text-muted-sm a:hover {
  color: var(--text-primary);
}

.footer-address {
  white-space: nowrap;
}

/* ===================================================================
   COOKIE CONSENT
   =================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid var(--glass-border);
  padding: 1.25rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-banner p a {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-buttons .btn {
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  min-height: 44px;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background: #111;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.cookie-option-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.cookie-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #333;
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle input:checked+.toggle-slider {
  background: var(--accent);
}

.toggle input:checked+.toggle-slider::before {
  transform: translateX(22px);
}

.toggle input:disabled+.toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal .cookie-buttons {
  margin-top: 1.5rem;
}

/* ===================================================================
   QUIZ TOAST
   =================================================================== */
.quiz-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #222;
  color: var(--text-primary);
  border: 1px solid var(--gold);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  z-index: 10002;
  transition: transform var(--transition-base);
  text-align: center;
  max-width: 90%;
}

.quiz-toast.visible {
  transform: translateX(-50%) translateY(0);
}

/* ===================================================================
   SURVEY PAGES (from old site)
   =================================================================== */
.survey-page {
  background: var(--bg-dark);
}

.survey-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

.survey-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.survey-header .logo-img {
  height: 100px;
  width: auto;
  max-width: 100%;
}

.survey-header .btn-back {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.survey-header .btn-back:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.survey-hero {
  position: relative;
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.survey-hero-bg {
  position: absolute;
  inset: 0;
}

.survey-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.survey-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
}

.survey-hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.survey-hero-content p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.survey-form-container {
  padding: 3rem 1.25rem;
  max-width: 750px;
  margin: 0 auto;
}

.survey-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.survey-form-card .form-section {
  padding: 0;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.survey-form-card .form-section:last-of-type {
  border-bottom: none;
}

.survey-form-card .section-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-align: left;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.survey-footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--glass-border);
}

/* ===================================================================
   LEGAL PAGES
   =================================================================== */
.legal-page {
  background: var(--bg-dark);
  padding-top: 2rem;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.legal-header .logo-img {
  height: 100px;
  width: auto;
  max-width: 100%;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legal-nav a:hover {
  color: var(--text-primary);
}

.legal-content {
  padding: 2rem 0 4rem;
  max-width: 800px;
}

.legal-content .back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.legal-content .back-link:hover {
  color: var(--accent);
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-content .legal-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Lexend', sans-serif;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Lexend', sans-serif;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--glass-border);
  margin: 3rem 0;
}

/* ===================================================================
   THANK YOU PAGE
   =================================================================== */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.thankyou-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.thankyou-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thankyou-page p {
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* 404 page */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.page-404 .error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.page-404 p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===================================================================
   SCROLL REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   AI SUBPAGE COMPONENTS
   =================================================================== */

/* Hero subpage (service pages) */
.hero-subpage {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 1.25rem 3rem;
}

.hero-subpage-bg {
  position: absolute;
  inset: 0;
}

.hero-subpage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-subpage-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}

.hero-subpage-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subpage-content>p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.micro-proof {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  max-width: 550px;
  margin: 0 auto;
}

/* Section subtitle */
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 650px;
  margin: -0.5rem auto 2.5rem;
  text-align: center;
  line-height: 1.7;
}

/* Glass card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.glass-card h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.glass-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Service card (clickable) */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

.service-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card .card-bullets {
  list-style: none;
  margin-bottom: 1rem;
  flex: 1;
}

.service-card .card-bullets li,
.card-bullets li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.service-card .card-bullets li::before,
.card-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cards-grid--3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Bullets list */
.bullets-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bullet-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
}

.bullet-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.bullet-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Process steps (numbered) */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: process-step;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.process-step:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  align-items: center;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Quiz CTA section */
.quiz-cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Buttons — gold */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Buttons — outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Full width button */
.full-width {
  width: 100%;
}

/* Nav CTA button (hidden on mobile, shown at 1024px+) */
.nav-cta {
  display: none;
}

/* Form microcopy */
.form-microcopy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ===================================================================
   UTILITY CLASSES (replace inline styles)
   =================================================================== */

/* Container widths */
.container-narrow {
  max-width: 800px;
}

.container-mid {
  max-width: 900px;
}

.container-sm {
  max-width: 600px;
}

.container-lg {
  max-width: 1000px;
}

/* Section variants */
.section--alt {
  background: var(--bg-section);
}

/* Text alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Margin utilities */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-1-5 {
  margin-bottom: 1.5rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Flex utilities */
.flex-center-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Note card (centered glass card with margin) */
.note-card-centered {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
}

/* Logo standalone (thank-you, 404) */
.logo-standalone {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 2rem;
  display: block;
}

/* Text color utilities */
.accent-text {
  color: var(--accent);
  font-weight: 600;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted-sm {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.text-muted-detail {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Legal page */
.legal-page-title {
  margin-top: 2rem;
}

.legal-cta {
  text-align: center;
  margin-top: 4rem;
}

.footer--compact {
  padding-bottom: 2rem;
}

.footer-content--compact {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
}

/* Card + list spacing */
.bullets-spaced {
  margin-bottom: 1.5rem;
}

.card-bullets-lg {
  font-size: 1rem;
}

/* Centered container variant */
.container-md-center {
  max-width: 700px;
  text-align: center;
}

/* Certyfikaty header offset */
.cert-header-offset {
  padding-top: 8rem;
}

/* Module note */
.module-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Spacing */
.mt-1 {
  margin-top: 1rem;
}

/* ===================================================================
   HERO SUBPAGE (shared by AI Hub & Health Hub subpages)
   =================================================================== */

.hero-subpage {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 1.25rem 3rem;
  overflow: hidden;
}

.hero-subpage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-subpage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-subpage-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-subpage-content h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.hero-subpage-content>p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Short hero (no bg, certyfikaty pages) */
.hero-subpage--short {
  min-height: 0;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-primary) 100%);
}

/* Hero CTA group */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Micro proof text */
.micro-proof {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================================================
   CERTIFICATE GRID (shared by AI & Zdrowie certyfikaty pages)
   =================================================================== */

.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-base);
}

.cert-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cert-card h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.cert-preview {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.cert-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cert-download {
  margin-top: auto;
  text-align: center;
  font-size: 0.85rem;
}

/* Cert status badge (ICVC-SURE) */
.cert-status-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius-sm);
}

.cert-status-badge .status-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cert-status-badge .status-text {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ===================================================================
   ICVC-SURE FEATURED CERT SECTION
   =================================================================== */
.icvc-featured-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(30,215,96,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.icvc-featured-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.icvc-featured-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.icvc-logo-wrap {
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icvc-logo-wrap img {
  height: 56px;
  width: auto;
  display: block;
}

.icvc-featured-title h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.icvc-featured-title .icvc-subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icvc-badge-obtained {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30,215,96,0.12);
  border: 1px solid rgba(30,215,96,0.35);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.icvc-badge-obtained::before {
  content: '✓';
  font-weight: 700;
}

.icvc-featured-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.icvc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.icvc-download-btn:hover {
  background: rgba(212,175,55,0.18);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.icvc-download-btn svg {
  width: 18px;
  height: 18px;
}

/* ===================================================================
   CARD ACTIONS (button group inside service-card)
   =================================================================== */

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.card-actions .btn {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

/* ===================================================================
   FORM SECTION WRAPPER (contact section)
   =================================================================== */

.form-section-wrapper {
  border-top: 1px solid var(--glass-border);
}

/* ===================================================================
   FAQ SECTION
   =================================================================== */

.faq-section {
  border-top: 1px solid var(--glass-border);
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover,
.faq-item[open] {
  background: var(--glass-bg-hover);
  border-color: var(--accent);
}

.faq-question,
.faq-summary,
.faq-item > summary {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--text-primary);
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  background: transparent;
  border: none;
  gap: 1rem;
  list-style: none;
}

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

.faq-summary::marker,
.faq-item > summary::marker {
  content: '';
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon,
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer,
.faq-item[open] .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS (min-width, mobile-first)
   =================================================================== */

/* 480px+ */
@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* 640px+ */
@media (min-width: 640px) {
  .hero-gateway .hero-heading h1 {
    font-size: 3rem;
  }

  .hero-subpage-content h1 {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px+ */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner p {
    flex: 1;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps.process-steps--2cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-gateway .hero-heading h1 {
    font-size: 3.5rem;
  }

  .hero-subpage-content h1 {
    font-size: 3rem;
  }

  .hero-division {
    min-height: 90vh;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .cookie-banner p {
    flex: 1;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps.process-steps--2cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-gateway .hero-heading h1 {
    font-size: 3.5rem;
  }

  .hero-subpage-content h1 {
    font-size: 3rem;
  }

  .hero-division {
    min-height: 90vh;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
  .footer-bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    text-align: right;
  }
  .footer-links {
    justify-content: center;
  }
}

/* 1200px+ */
@media (min-width: 1200px) {
  .hero-card .card-bullets {
    max-width: min(25vw, 25rem);
  }
}

/* ===================================================================
   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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-quiz {
    animation: none;
  }
}

/* ===================================================================
   SVG Inline Icons Configuration
   =================================================================== */
.inline-icon {
  display: inline-block;
  vertical-align: -0.125em;
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.35em;
  color: var(--accent);
}

/* ===================================================================
   MOBILE OPTIMIZATION (< 768px)
   =================================================================== */
@media (max-width: 767px) {
  /* Smaller navbar on mobile */
  :root {
    --nav-height: 70px;
  }

  .navbar .logo-img {
    height: 50px;
  }

  .survey-header .logo-img,
  .legal-header .logo-img {
    height: 72px;
    width: auto;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Buttons: smaller padding on mobile, prevent text clipping */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .btn-gold {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Footer logo smaller */
  .footer .logo-img,
  .footer--ai .logo-img {
    height: 60px;
  }

  /* Section title smaller */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  /* FAQ summary text smaller to prevent overflow */
  .faq-question,
  .faq-summary,
  .faq-item > summary {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
    gap: 0.75rem;
  }

  /* Bullet items tighter */
  .bullet-item {
    padding: 0.875rem 1rem;
  }

  /* Process steps tighter */
  .process-step {
    padding: 1.5rem 1rem;
  }

  /* Mobile menu improvements */
  .mobile-menu {
    padding-top: 2rem;
    gap: 0.5rem;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  /* Homepage hero cards */
  .hero-card h2 {
    font-size: 1.75rem;
  }

  .hero-card .card-bullets li {
    font-size: 0.95rem;
  }

  .hero-card .btn {
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
  }
}

/* Extra small screens (< 400px) */
@media (max-width: 399px) {
  .hero-ctas .btn {
    max-width: 100%;
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  .hero-subpage-content h1 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .glass-card {
    padding: 1rem 0.875rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Why ProgresLab — 2x2 grid on desktop */
.cards-grid--why {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid--why {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   ICVC-SURE FEATURED CERT SECTION
   =================================================================== */
.icvc-featured-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(30,215,96,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.icvc-featured-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.icvc-featured-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.icvc-logo-wrap {
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icvc-logo-wrap img {
  height: 52px;
  width: auto;
  display: block;
}

.icvc-featured-title h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.icvc-featured-title .icvc-subtitle {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.icvc-badge-obtained {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30,215,96,0.1);
  border: 1px solid rgba(30,215,96,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.icvc-featured-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.icvc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.icvc-download-btn:hover {
  background: rgba(212,175,55,0.18);
  border-color: rgba(212,175,55,0.7);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.15);
}

/* ===================================================================
   CERTYFIKATY PAGES SYSTEM (AI + Zdrowie)
   =================================================================== */
.cert-page {
  --cert-surface-bg: linear-gradient(160deg, rgba(11, 16, 14, 0.95) 0%, rgba(12, 20, 16, 0.9) 100%);
  --cert-surface-border: rgba(255, 255, 255, 0.12);
  --cert-soft-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  --cert-hero-spot-a: rgba(30, 215, 96, 0.16);
  --cert-hero-spot-b: rgba(255, 255, 255, 0.08);
  --cert-hero-spot-c: rgba(212, 175, 55, 0.1);
  --cert-accent: rgba(30, 215, 96, 0.5);
  --cert-accent-soft: rgba(30, 215, 96, 0.16);
  --cert-accent-text: #91ffc2;
  --cert-button-text: #e6f7ef;
}

.cert-page--ai {
  --cert-hero-spot-a: rgba(51, 115, 153, 0.32);
  --cert-hero-spot-b: rgba(30, 215, 96, 0.14);
  --cert-hero-spot-c: rgba(155, 214, 255, 0.14);
  --cert-accent: rgba(146, 209, 255, 0.56);
  --cert-accent-soft: rgba(146, 209, 255, 0.18);
  --cert-accent-text: #b6e6ff;
}

.cert-page--zdrowie {
  --cert-hero-spot-a: rgba(212, 175, 55, 0.24);
  --cert-hero-spot-b: rgba(30, 215, 96, 0.14);
  --cert-hero-spot-c: rgba(226, 179, 89, 0.16);
  --cert-accent: rgba(212, 175, 55, 0.52);
  --cert-accent-soft: rgba(212, 175, 55, 0.18);
  --cert-accent-text: #f1d48a;
}

.cert-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 3.5rem;
  background:
    radial-gradient(1000px 420px at 8% -6%, var(--cert-hero-spot-a) 0%, transparent 70%),
    radial-gradient(850px 420px at 92% 4%, var(--cert-hero-spot-c) 0%, transparent 74%),
    linear-gradient(155deg, #060907 0%, #0b1210 56%, #0a0f0e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.03) 28px 29px),
    linear-gradient(160deg, transparent 0%, var(--cert-hero-spot-b) 100%);
  pointer-events: none;
}

.cert-hero-panel {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
  padding: 2.1rem 1.8rem;
  border-radius: calc(var(--border-radius) + 4px);
  border: 1px solid var(--cert-surface-border);
  background: linear-gradient(140deg, rgba(8, 12, 10, 0.86) 0%, rgba(10, 16, 13, 0.72) 100%);
  box-shadow: var(--cert-soft-shadow);
}

.cert-hero-panel h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.cert-hero-panel p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.03rem;
  color: #d4ddd8;
  line-height: 1.72;
}

.cert-icvc-section {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

.cert-page .icvc-featured-section {
  margin-bottom: 0;
  border-radius: calc(var(--border-radius) + 2px);
  padding: 2.2rem 2rem 2.1rem;
  background: var(--cert-surface-bg);
  border: 1px solid var(--cert-surface-border);
  box-shadow: var(--cert-soft-shadow);
}

.cert-page .icvc-featured-section::before {
  width: 240px;
  height: 240px;
  right: -80px;
  top: -70px;
  background: radial-gradient(circle, var(--cert-accent-soft) 0%, transparent 70%);
}

.cert-page .icvc-featured-header {
  margin-bottom: 1.35rem;
}

.cert-page .icvc-logo-wrap {
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.cert-page .icvc-featured-title h2 {
  font-size: clamp(1.18rem, 2.25vw, 1.56rem);
  line-height: 1.28;
  margin-bottom: 0.3rem;
}

.cert-page .icvc-featured-title .icvc-subtitle {
  color: #d2d8d4;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.cert-page .icvc-badge-obtained {
  margin-bottom: 1.2rem;
  background: var(--cert-accent-soft);
  border-color: var(--cert-accent);
  color: var(--cert-accent-text);
}

.cert-page .icvc-badge-obtained::before {
  content: "\2713";
}

.cert-page .icvc-featured-desc {
  font-size: 0.98rem;
  line-height: 1.74;
  color: #c6d0ca;
}

.cert-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--cert-accent);
  background: linear-gradient(120deg, var(--cert-accent-soft) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: 0.64rem 1.2rem;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cert-button-text);
  text-decoration: none;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.cert-action-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(120deg, var(--cert-accent-soft) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.cert-action-btn svg {
  width: 16px;
  height: 16px;
}

.cert-action-btn--icvc {
  margin-top: 0.2rem;
}

.cert-documents-section {
  padding-top: 2.9rem;
}

.cert-documents-section .section-title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
}

.cert-documents-section .section-subtitle {
  margin-bottom: 2.35rem;
  max-width: 640px;
  color: #bcc7c1;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.cert-page .cert-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 19, 16, 0.84) 0%, rgba(10, 15, 13, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.cert-page .cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--cert-accent);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.34);
}

.cert-card-head {
  min-height: 70px;
}

.cert-page .cert-card h3 {
  margin-bottom: 0.42rem;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.cert-meta {
  font-size: 0.81rem;
  line-height: 1.5;
  color: #aebbb5;
}

.cert-page .cert-preview {
  flex: 1;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, rgba(4, 6, 5, 0.78) 0%, rgba(6, 9, 8, 0.64) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.cert-page .cert-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #121212;
}

.cert-page .cert-card .cert-action-btn {
  width: 100%;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .cert-hero {
    padding-top: calc(var(--nav-height) + 1.8rem);
    padding-bottom: 2.9rem;
  }

  .cert-hero-panel {
    padding: 1.6rem 1.1rem;
  }

  .cert-hero-panel p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .cert-icvc-section,
  .cert-documents-section {
    padding-top: 2.4rem;
  }

  .cert-page .icvc-featured-section {
    padding: 1.5rem 1.1rem 1.4rem;
  }

  .cert-page .icvc-logo-wrap img {
    height: 44px;
  }

  .cert-page .icvc-featured-title h2 {
    font-size: 1.12rem;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ===================================================================
   INLINE LOGO OVERRIDES
   =================================================================== */
.icvc-logo-wrap--inline {
  display: inline-flex;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  align-items: center;
  justify-content: center;
}

.icvc-logo-wrap--inline img {
  height: 52px;
  width: auto;
  display: block;
}

/* ===================================================================
   VISUAL COHESION PASS (global subpages + transitions)
   =================================================================== */
:root {
  --subpage-hero-brightness: 1.3;
  --subpage-hero-contrast: 1.06;
  --page-transition-duration: 220ms;
  --page-transition-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Subpage hero images: brighter by ~30% (homepage unaffected) */
.hero-subpage {
  background: #070b09;
}

.hero-subpage::before {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.08) 0%,
    rgba(5, 5, 5, 0.42) 66%,
    rgba(5, 5, 5, 0.62) 100%
  );
}

.hero-subpage-bg img {
  filter: brightness(var(--subpage-hero-brightness)) contrast(var(--subpage-hero-contrast)) saturate(1.05);
}

/* Cert pages: keep same layout, soften technical pattern and align with brand mood */
.cert-page--ai {
  --cert-hero-spot-a: rgba(54, 118, 149, 0.22);
  --cert-hero-spot-b: rgba(30, 215, 96, 0.12);
  --cert-hero-spot-c: rgba(129, 201, 230, 0.12);
}

.cert-page--zdrowie {
  --cert-hero-spot-a: rgba(212, 175, 55, 0.2);
  --cert-hero-spot-b: rgba(30, 215, 96, 0.12);
  --cert-hero-spot-c: rgba(216, 170, 90, 0.12);
}

.cert-hero {
  background:
    radial-gradient(960px 400px at 12% -10%, var(--cert-hero-spot-a) 0%, transparent 72%),
    radial-gradient(860px 380px at 88% 8%, var(--cert-hero-spot-c) 0%, transparent 74%),
    linear-gradient(160deg, #09100d 0%, #0d1512 56%, #0a110e 100%);
}

.cert-hero::before {
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(14, 20, 17, 0.12) 48%,
    rgba(10, 15, 13, 0.34) 100%
  );
}

.cert-hero-panel {
  background: linear-gradient(140deg, rgba(10, 16, 13, 0.76) 0%, rgba(10, 16, 13, 0.62) 100%);
}

/* Narrow transition scope to avoid shape-change artifacts on navigation */
.navbar {
  transition-property: background-color, border-color, box-shadow, -webkit-backdrop-filter, backdrop-filter;
}

.nav-links a,
.mobile-menu a {
  transition-property: color, background-color, border-color, opacity;
}

.btn,
.btn-primary,
.btn-outline,
.btn-gold,
.nav-cta,
.cert-action-btn {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform;
}

.mobile-menu {
  transition-property: opacity, visibility, background-color;
}

.hamburger span {
  transition-property: transform, opacity, background-color;
}

.navbar .logo,
.navbar .logo-img {
  transition: none;
}

/* Subtle page transitions (no morphing, no deformation) */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Prevent shared-element style morphing in nav area */
.navbar,
.navbar .logo,
.navbar .logo-img,
.nav-links,
.nav-cta,
.hamburger {
  view-transition-name: none;
}

html.js:not(.reduced-motion) body {
  animation: pageFadeIn var(--page-transition-duration) var(--page-transition-ease) both;
}

html.js:not(.reduced-motion).page-leaving body {
  opacity: 0;
  transition: opacity 170ms ease;
}

/* ===================================================================
   FOOTER LAYOUT REFINEMENT (symmetric and clean)
   =================================================================== */
.footer-content:not(.footer-content--compact) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
}

.footer-brand,
.footer-content:not(.footer-content--compact) > :first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: 440px;
  margin: 0 auto;
}

.footer-content:not(.footer-content--compact) .logo-img {
  height: 74px;
  width: auto;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  margin: 0;
}

.footer-copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-content:not(.footer-content--compact) .text-muted-sm {
  margin: 0;
  line-height: 1.55;
}

.footer-content:not(.footer-content--compact) .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem 1.15rem;
  max-width: 420px;
  margin: 0 auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
}

.footer-contact-title {
  margin: 0;
  color: var(--text-primary);
  font-family: "Lexend", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-contact-line {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-contact-line a {
  color: var(--text-muted);
}

.footer-contact-line a:hover {
  color: var(--text-primary);
}

.footer-content:not(.footer-content--compact) .footer-bottom {
  margin: 0;
  padding: 0;
  border-top: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-content:not(.footer-content--compact) .footer-bottom p {
  margin: 0;
}

.footer-address {
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  .footer-content:not(.footer-content--compact) {
    grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
    gap: 2rem;
    text-align: left;
    align-items: center;
  }

  .footer-brand,
  .footer-content:not(.footer-content--compact) > :first-child {
    align-items: flex-start;
    margin: 0;
  }

  .footer-content:not(.footer-content--compact) .footer-links {
    flex-wrap: nowrap;
    justify-content: center;
    max-width: none;
    white-space: nowrap;
  }

  .footer-contact {
    justify-self: end;
    align-items: flex-end;
    text-align: right;
    max-width: 320px;
  }

  .footer-content:not(.footer-content--compact) .footer-bottom {
    justify-self: end;
    text-align: right;
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  .footer-content:not(.footer-content--compact) .logo-img {
    height: 62px;
  }

  .footer-content:not(.footer-content--compact) .footer-links {
    gap: 0.55rem 1rem;
  }
}

/* Quality + ICVC card on AI/Zdrowie start pages */
.quality-cert-card {
  text-align: left;
}

.quality-cert-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.quality-cert-logo {
  margin: 0;
  min-width: 120px;
}

.quality-cert-logo img {
  height: 54px;
}

@media (max-width: 767px) {
  .quality-cert-head {
    grid-template-columns: 1fr;
  }

  .quality-cert-logo {
    justify-self: start;
    margin-top: 0.15rem;
  }
}

/* ===================================================================
   MOBILE READABILITY PASS
   =================================================================== */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.85rem 0;
  }

  .navbar {
    background: rgba(5, 5, 5, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .navbar .container {
    padding: 0 0.85rem;
  }

  .navbar .logo-img {
    height: 44px;
  }

  .hamburger {
    min-width: 52px;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
  }

  .hamburger span {
    width: 22px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.95);
  }

  .hamburger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .mobile-menu {
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 1.15rem 1rem 2rem;
    overflow-y: auto;
  }

  .mobile-menu a {
    width: min(100%, 420px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .mobile-menu a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .hero-subpage {
    min-height: min(78svh, 560px);
    padding: calc(var(--nav-height) + 1.2rem) 1rem 2rem;
  }

  .hero-subpage::before {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0%, rgba(5, 5, 5, 0.36) 60%, rgba(5, 5, 5, 0.58) 100%);
  }

  .hero-subpage-bg img {
    object-position: center 22%;
  }

  .hero-subpage-content {
    max-width: 100%;
    padding: 0 0.15rem;
  }

  .hero-subpage-content h1 {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hero-subpage-content > p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
    overflow-wrap: anywhere;
  }

  .hero-gateway {
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + 0.9rem);
  }

  .hero-gateway-content {
    row-gap: 0.85rem;
  }

  .hero-world::before {
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.08) 0%, rgba(8, 10, 12, 0.22) 58%, rgba(8, 9, 11, 0.34) 100%);
  }

  .hero-world-photo img {
    filter: brightness(0.84);
  }

  .hero-cards {
    gap: 0.85rem;
  }

  .hero-claim {
    font-size: clamp(1.12rem, 5.5vw, 1.42rem);
    line-height: 1.38;
  }

  .hero-card {
    min-height: auto;
    padding: 1rem;
  }

  .hero-card h2 {
    font-size: clamp(1.28rem, 6.2vw, 1.65rem);
    line-height: 1.25;
  }

  .contact-form-card {
    padding: 1.35rem 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card-actions {
    flex-direction: column;
  }

  .hero-card .btn,
  .hero-ctas .btn,
  .card-actions .btn {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .btn,
  .btn-primary,
  .btn-outline,
  .btn-gold,
  .cert-action-btn {
    min-height: 50px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    line-height: 1.3;
    white-space: normal;
  }

  .btn-outline {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.05);
  }

  .cards-grid,
  .cards-grid.cols-2,
  .cards-grid.cols-3,
  .cards-grid--3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card,
  .glass-card,
  .process-step,
  .bullet-item {
    padding: 1.2rem 1rem;
    border-radius: 14px;
  }

  .cert-page .cert-preview {
    aspect-ratio: 4 / 4.9;
    max-height: 390px;
  }

  .team-member .social-links a {
    width: 36px;
    height: 36px;
  }

  .team-company-link {
    margin-top: 1.5rem;
  }

  .team-company-link__anchor {
    font-size: 0.92rem;
  }

  .section-title,
  .section-subtitle,
  .service-card h3,
  .faq-question,
  .card-bullets li,
  .footer-tagline,
  .footer-contact-line,
  p {
    overflow-wrap: anywhere;
  }
}
