/* =====================================================================
   ProgresAI - Design System & Styles
   Creative North Star: "The Digital Curator"
   Light premium editorial AI · Mobile-first · WCAG 2.1 AA target
   ===================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary palette */
  --primary: #005327;
  --primary-container: #1e6c3b;
  --primary-fixed-dim: #e8f5ee;
  --on-primary: #ffffff;

  /* Surfaces - "No-Line" tonal layering */
  --surface: #fcf9f8;
  --surface-container-low: #f5f0ee;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #ebe6e4;

  /* Text */
  --on-surface: #1b1c1c;
  --on-surface-variant: #44474a;
  --text-muted: #6b7280;

  /* Functional */
  --outline-variant: rgba(27, 28, 28, 0.12);
  --shadow-ambient: 0 20px 40px rgba(0, 33, 12, 0.06);
  --glass-bg: rgba(252, 249, 248, 0.72);
  --glass-blur: 24px;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;
  --container-mid: 900px;
  --header-height: 120px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-surface);
  background-color: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-container);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --- Visually Hidden (Breadcrumbs, sr-only) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--on-surface);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.375rem, 2.5vw + 0.5rem, 2.25rem);
}

h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.label-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-muted);
}

.accent-text {
  color: var(--primary);
  font-weight: 700;
}

.text-secondary {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.text-muted-detail {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.text-center {
  text-align: center;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.container-mid {
  max-width: var(--container-mid);
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.4;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  box-shadow: 0 4px 16px rgba(0, 83, 39, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 83, 39, 0.3);
  transform: translateY(-1px);
  color: var(--on-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-fixed-dim);
  color: var(--primary);
}

.btn-secondary {
  background: var(--surface-container-high);
  color: var(--on-surface);
}

.btn-secondary:hover {
  background: var(--surface-container-low);
}

.btn-gold {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

.full-width {
  width: 100%;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 1px 0 var(--outline-variant), var(--shadow-ambient);
}

.navbar > .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-fixed-dim);
}

.nav-cta {
  display: none;
  margin-left: var(--space-sm);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  min-height: 40px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--surface-container-low);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--on-surface);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg);
  gap: var(--space-xs);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;

}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--on-surface);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--primary-fixed-dim);
  color: var(--primary);
}

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

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

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  background: var(--surface);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-fixed-dim);
  color: var(--primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.1875rem);
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-micro {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 500px;
}

/* Hero decorative element */
.hero-visual {
  display: block;
  margin-top: var(--space-xl);
}

.hero-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
  object-fit: cover;
  width: 100%;
}

@media (min-width: 768px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + var(--space-4xl));
    padding-bottom: var(--space-5xl);
  }

  .hero > .container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    display: flex;
    flex: 0 0 45%;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }
}

/* --- Subpage Hero --- */
.hero-subpage {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--surface);
  overflow: hidden;
}

.hero-subpage::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}

.hero-subpage-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-subpage-visual {
  display: block;
  margin-top: var(--space-xl);
}

.hero-subpage-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
  object-fit: cover;
  width: 100%;
}

@media (min-width: 960px) {
  .hero-subpage > .container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
  }

  .hero-subpage-content {
    flex: 1;
  }

  .hero-subpage-visual {
    display: flex;
    flex: 0 0 45%;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-top: 0;
  }
}

.hero-subpage h1 {
  margin-bottom: var(--space-lg);
}

.hero-subpage .hero-lead {
  margin-bottom: var(--space-xl);
}

.micro-proof {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 520px;
}

/* --- Sections --- */
.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--surface-container-low);
}

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

.section-subtitle {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

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

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.cards-grid--3 {
  grid-template-columns: 1fr;
}

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

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

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

/* --- Service Card --- */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--on-surface);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
  color: var(--on-surface);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

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

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  flex: 1;
}

.card-bullets li {
  position: relative;
  padding-left: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.card-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.card-bullets-lg li {
  font-size: 1rem;
  padding-left: var(--space-xl);
}

.card-bullets-lg li::before {
  width: 8px;
  height: 8px;
  top: 0.5em;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: auto;
  padding-top: var(--space-md);
}

/* --- Glass Card --- */
.glass-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.glass-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.note-card-centered {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
  text-align: center;
}

/* --- Bullet Items / Feature List --- */
.bullets-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.bullet-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-fixed-dim);
  border-radius: var(--radius-md);
}

.bullet-icon svg,
.inline-icon {
  width: 20px;
  height: 20px;
}

.bullet-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding-top: 0.5rem;
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  counter-reset: step;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  margin: 0;
}

.process-steps--2cols {
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .process-steps--2cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

.module-note {
  margin-top: var(--space-xl);
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- FAQ --- */
.faq-section {
  background: var(--surface);
}

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

.faq-item {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-surface);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  line-height: 1.4;
  min-height: 48px;
  list-style: none;
  transition: color var(--transition-fast);
}

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

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary:hover,
.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Contact / Forms --- */
.form-section-wrapper {
  background: var(--surface-container-low);
}

.contact-form-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

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

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--on-surface);
  letter-spacing: 0;
}

.required-indicator {
  color: #c62828;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--on-surface);
  background: var(--surface-container-low);
  border: 1.5px solid transparent;
  border-bottom: 2px solid var(--outline-variant);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
  background: var(--surface-container-lowest);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 83, 39, 0.08);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%2344474a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Honeypot */
.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Consent checkbox */
.newsletter-consent {
  margin: var(--space-lg) 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-surface-variant);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  margin-top: 1px;
  transition: all var(--transition-fast);
  position: relative;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--on-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.checkbox-text a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit {
  margin-top: var(--space-md);
}

.form-microcopy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.form-status {
  text-align: center;
  font-size: 0.875rem;
  margin-top: var(--space-sm);
  min-height: 1.5em;
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
}

.newsletter-section .section-title {
  color: var(--on-primary);
}

.newsletter-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-inline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.newsletter-inline input {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--on-primary);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  min-height: 48px;
}

.newsletter-inline input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-inline input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.newsletter-inline .btn {
  background: var(--on-primary);
  color: var(--primary);
  font-weight: 700;
}

.newsletter-inline .btn:hover {
  background: var(--surface);
  color: var(--primary);
}

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

  .newsletter-inline input {
    flex: 1;
  }
}

.newsletter-consent-dark {
  margin-top: var(--space-md);
}

.newsletter-consent-dark .checkbox-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.newsletter-consent-dark .checkbox-custom {
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-consent-dark .checkbox-label input:checked + .checkbox-custom {
  background: var(--on-primary);
  border-color: var(--on-primary);
}

.newsletter-consent-dark .checkbox-label input:checked + .checkbox-custom::after {
  border-color: var(--primary);
}

.newsletter-consent-dark a {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-micro {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  text-align: center;
}

/* --- Footer --- */
.footer {
  background: var(--on-surface);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-img {
  height: 40px;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

@media (min-width: 960px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-3xl);
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.footer-col h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface-container-lowest);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  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;
}

.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin-bottom: var(--space-md);
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-buttons .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
  min-height: 40px;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-ambient);
}

.cookie-modal h3 {
  margin-bottom: var(--space-lg);
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.cookie-option + .cookie-option {
  border-top: 1px solid var(--outline-variant);
}

.cookie-option-label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.cookie-option-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-container-high);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--surface-container-lowest);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Certificates Page --- */
.cert-hero {
  background: var(--surface);
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.cert-hero-panel {
  max-width: 600px;
}

.cert-hero-panel h1 {
  margin-bottom: var(--space-md);
}

.cert-hero-panel p {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
}

.icvc-featured-section {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.icvc-featured-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.icvc-logo-wrap {
  width: 80px;
  flex-shrink: 0;
}

.icvc-logo-wrap img {
  width: 100%;
  height: auto;
}

.icvc-subtitle {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--primary);
  margin-top: var(--space-xs);
}

.icvc-badge-obtained {
  display: inline-flex;
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-fixed-dim);
  color: var(--primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.icvc-featured-desc {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.cert-action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.25rem;
  background: var(--surface-container-low);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.cert-action-btn:hover {
  background: var(--primary-fixed-dim);
  color: var(--primary);
}

.cert-action-btn--icvc {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
}

.cert-action-btn--icvc:hover {
  opacity: 0.9;
  color: var(--on-primary);
}

.cert-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

.cert-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cert-card-head {
  padding: var(--space-lg);
}

.cert-card-head h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.cert-meta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cert-preview {
  aspect-ratio: 4/3;
  background: var(--surface-container-low);
}

.cert-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cert-card .cert-action-btn {
  margin: var(--space-md) var(--space-lg) var(--space-lg);
}

/* --- Quiz CTA Section --- */
.quiz-cta-section {
  background: var(--primary-fixed-dim);
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

.legal-page h1 {
  margin-bottom: var(--space-xl);
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page h3 {
  font-size: 1.0625rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page p,
.legal-page li {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  margin-bottom: var(--space-xs);
}

.legal-last-updated {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* --- Thank You Page --- */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: var(--space-xl);
}

.thankyou-page h1 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.thankyou-page p {
  color: var(--on-surface-variant);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.page-404 .error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--outline-variant);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-404 h1 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.page-404 p {
  color: var(--on-surface-variant);
  margin-bottom: var(--space-xl);
}

/* --- Animations (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Utility --- */
.mb-1 { margin-bottom: var(--space-md); }
.mb-1-5 { margin-bottom: var(--space-lg); }
.mt-1 { margin-top: var(--space-md); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Premium Refresh --- */
:root {
  --primary: #0f5a35;
  --primary-container: #0a4327;
  --primary-fixed-dim: #e6f1eb;
  --surface: #f6f3ee;
  --surface-container-low: #efe9e1;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #e4ddd3;
  --on-surface: #162019;
  --on-surface-variant: #4b544f;
  --text-muted: #67706b;
  --outline-variant: rgba(22, 32, 25, 0.1);
  --shadow-ambient: 0 24px 60px rgba(13, 28, 20, 0.08);
  --glass-bg: rgba(246, 243, 238, 0.82);
  --glass-blur: 20px;
  --header-height: 100px;
  --radius-sm: 0.5rem;
  --radius-md: 0.95rem;
  --radius-lg: 1.35rem;
  --radius-xl: 1.9rem;
}

@media (min-width: 960px) {
  :root {
    --header-height: 102px;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(15, 90, 53, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f5f0 0%, #f6f3ee 24%, #f3efe8 100%);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 4.85rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.65rem, 2vw + 1rem, 3rem);
  line-height: 1.08;
}

p, li, label, input, select, textarea, summary {
  font-family: 'Inter', system-ui, sans-serif;
}

a {
  text-underline-offset: 0.16em;
}

.btn {
  padding: 0.85rem 1.45rem;
  min-height: 52px;
  border-radius: var(--radius-full);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-container));
  box-shadow: 0 14px 32px rgba(15, 90, 53, 0.16);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(15, 90, 53, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 90, 53, 0.16);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.96);
}

.btn-secondary {
  background: rgba(15, 90, 53, 0.08);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(15, 90, 53, 0.14);
  color: var(--primary);
}

.navbar {
  height: var(--header-height);
  background: var(--glass-bg);
  border-bottom: 1px solid rgba(22, 32, 25, 0.06);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.navbar.scrolled {
  box-shadow: 0 12px 32px rgba(13, 28, 20, 0.08);
}

.navbar > .container {
  gap: 1.25rem;
}

.logo-img {
  height: 100px;
}

.nav-links {
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.78rem 0.96rem;
  border-radius: var(--radius-full);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-surface-variant);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(15, 90, 53, 0.08);
  color: var(--primary);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.72rem 1.15rem;
  min-height: 46px;
}

.hamburger {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 32, 25, 0.08);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.95);
}

.mobile-menu {
  top: var(--header-height);
  background: rgba(248, 245, 240, 0.98);
  border-top: 1px solid rgba(22, 32, 25, 0.06);
  padding: 1.15rem var(--space-lg) var(--space-xl);
}

.mobile-menu a {
  border-radius: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.section {
  position: relative;
  padding: 4rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(239, 233, 225, 0.92));
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.section-intro {
  margin-bottom: 1.8rem;
}

.section-intro--split {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.section-title {
  max-width: 20ch;
  margin-bottom: 0;
}

.section-subtitle {
  max-width: 52rem;
  color: var(--on-surface-variant);
  font-size: 1.05rem;
}

.hero,
.hero-subpage {
  background:
    radial-gradient(circle at 86% 16%, rgba(15, 90, 53, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(246, 243, 238, 0.35)),
    var(--surface);
}

.hero::before,
.hero-subpage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 245, 240, 0.98) 0%, rgba(248, 245, 240, 0.92) 24%, rgba(248, 245, 240, 0.74) 48%, rgba(248, 245, 240, 0.32) 70%, rgba(248, 245, 240, 0) 86%),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.94), transparent 24%),
    radial-gradient(circle at 78% 24%, rgba(15, 90, 53, 0.09), transparent 26%);
  pointer-events: none;
}

.hero-subpage::after {
  display: none;
}

.hero {
  min-height: 0;
  padding-top: calc(var(--header-height) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-subpage {
  padding: calc(var(--header-height) + clamp(1.5rem, 3.5vw, 3rem)) 0 clamp(2.75rem, 5vw, 3.5rem);
}

.hero > .container,
.hero-subpage > .container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content,
.hero-subpage-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hero-chip {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(15, 90, 53, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero h1,
.hero-subpage h1 {
  margin-bottom: 1.15rem;
}

.hero-lead {
  max-width: 36rem;
  font-size: clamp(1.02rem, 0.55vw + 0.9rem, 1.18rem);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  margin-bottom: 0;
  gap: 0.75rem;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 1.4rem;
}

.hero-highlight {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 32, 25, 0.08);
  border-radius: 1.2rem;
  padding: 1rem 1.05rem;
}

.hero-highlight strong {
  display: block;
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.38;
  margin-top: 0.3rem;
}

.hero-highlight p {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--on-surface-variant);
}

.hero-micro,
.micro-proof {
  max-width: 38rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-micro a,
.micro-proof a {
  color: var(--primary);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-top: 0;
}

/* --- Subtle hero grid decoration (CSS only) --- */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image:
    linear-gradient(rgba(15, 90, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 90, 53, 0.03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { display: none; }
}

.hero-stage {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 32, 25, 0.08);
  box-shadow: var(--shadow-ambient);
}

.hero-stage-media,
.hero-subpage-visual img {
  border-radius: 1.5rem;
  overflow: hidden;
}

.hero-stage-media {
  min-height: 25rem;
}

.hero-stage-media img,
.hero-subpage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  max-width: 16rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 32, 25, 0.08);
  box-shadow: 0 18px 36px rgba(13, 28, 20, 0.12);
}

.hero-floating-card--top {
  top: 1.25rem;
  left: -1rem;
}

.hero-floating-card--bottom {
  right: -1rem;
  bottom: 5.2rem;
}

.hero-floating-card strong {
  display: block;
  font-family: 'Lexend', system-ui, sans-serif;
  line-height: 1.35;
  margin-top: 0.35rem;
}

.hero-floating-card p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--on-surface-variant);
}

.hero-stage-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 1.4rem;
  background: rgba(16, 24, 19, 0.88);
}

.hero-stage-step {
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stage-step span {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-stage-step p {
  margin-top: 0.35rem;
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.96);
}

.hero-subpage-content .hero-highlights {
  margin-top: 1.15rem;
}

.hero-subpage-visual picture {
  display: block;
  width: 100%;
}

.hero-subpage-visual {
  display: flex;
  z-index: 2;
  margin-top: 0;
}

.hero-subpage-visual img {
  min-height: 0;
  box-shadow: var(--shadow-ambient);
}

.audience-grid,
.process-board,
.quality-grid,
.contact-points,
.showcase-grid {
  display: grid;
  gap: 1rem;
}

.audience-card,
.process-card,
.quality-card,
.showcase-card,
.service-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 25, 0.08);
  border-radius: 1.6rem;
  box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.audience-card {
  padding: 1.35rem;
}

.audience-card-index,
.process-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(15, 90, 53, 0.1);
  color: var(--primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.audience-card p,
.process-card p {
  margin-top: 0.9rem;
  color: var(--on-surface-variant);
}

.service-hierarchy,
.services-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.service-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.75rem;
  color: var(--on-surface);
}

.service-panel:hover {
  transform: translateY(-4px);
  color: var(--on-surface);
}

.showcase-card:hover,
.audience-card:hover,
.process-card:hover,
.quality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(13, 28, 20, 0.1);
}

.service-panel::before {
  content: '';
  position: absolute;
  inset: auto auto -3rem -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 90, 53, 0.12), transparent 70%);
  pointer-events: none;
}

.service-eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--primary);
}

.service-panel h3 {
  font-size: clamp(1.5rem, 0.8vw + 1.25rem, 2.15rem);
  margin-bottom: 0;
}

.service-panel p {
  color: var(--on-surface-variant);
  max-width: 34rem;
  margin-bottom: 0;
}

.service-panel .card-bullets {
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0;
}

/* service-panel--support removed: all 3 services are now equal */

.cards-grid {
  gap: 1rem;
}

.service-card,
.glass-card,
.faq-item,
.process-step,
.contact-form-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 25, 0.08);
  box-shadow: var(--shadow-ambient);
}

.service-card,
.glass-card,
.contact-form-card {
  border-radius: 1.6rem;
}

.service-card,
.glass-card {
  padding: 1.45rem;
}

.service-card h3,
.glass-card h3,
.process-card h3,
.quality-card h3,
.showcase-meta h3 {
  margin-bottom: 0.55rem;
}

.card-bullets li,
.text-muted-detail,
.process-step p,
.faq-answer p,
.contact-point span {
  color: var(--on-surface-variant);
}

.bullets-list {
  display: grid;
  gap: 1rem;
}

.bullet-item,
.process-step {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1.4rem;
}

.bullet-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, var(--primary), var(--primary-container));
  color: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step-number {
  border-radius: 1rem;
  box-shadow: none;
}

.process-card {
  padding: 1.35rem;
}

.process-card h3 {
  margin-top: 0.85rem;
}

.trust-strip {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(22, 32, 25, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(230, 241, 235, 0.95));
  box-shadow: var(--shadow-ambient);
}

/* --- Proof Row (3 equal service pillars under hero) --- */
.proof-row {
  position: relative;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(22, 32, 25, 0.05);
}

.proof-row-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface-variant);
}

.proof-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  opacity: 0.7;
}

@media (min-width: 640px) {
  .proof-row-grid {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
  }
}

.quality-card {
  padding: 1.6rem;
}

.quality-card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 241, 237, 0.92));
}

.faq-item {
  border-radius: 1.35rem;
}

.faq-item summary,
.faq-question {
  padding: 1.15rem 1.25rem;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.form-section-wrapper {
  background: linear-gradient(180deg, rgba(239, 233, 225, 0.65), rgba(231, 239, 234, 0.7));
}

.contact-shell {
  display: grid;
  gap: 1.3rem;
  align-items: start;
}

.contact-copy {
  max-width: 34.5rem;
}

.contact-points {
  align-items: stretch;
}

.contact-point {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(22, 32, 25, 0.07);
  box-shadow: 0 10px 24px rgba(13, 28, 20, 0.05);
}

.contact-point strong {
  display: block;
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-form-card {
  max-width: none;
  padding: 1.55rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(22, 32, 25, 0.11);
  border-bottom: 1px solid rgba(22, 32, 25, 0.11);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(15, 90, 53, 0.36);
  box-shadow: 0 0 0 4px rgba(15, 90, 53, 0.1);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.showcase-browser {
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(248, 246, 243, 0.92), rgba(241, 237, 232, 0.84));
  border-bottom: 1px solid rgba(22, 32, 25, 0.06);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding-bottom: 0.8rem;
}

.browser-top > span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(22, 32, 25, 0.16);
}

.browser-address {
  margin-left: 0.25rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 32, 25, 0.08);
  color: var(--on-surface-variant);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.74rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  min-width: 0;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-shot {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  border-radius: 1.2rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f4f2, #e3e8e4);
  box-shadow:
    0 18px 40px rgba(13, 28, 20, 0.12),
    0 0 0 1px rgba(15, 90, 53, 0.06);
}

.showcase-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms var(--ease-out);
}

.showcase-card:hover .showcase-shot img {
  transform: scale(1.015);
}

.showcase-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.35rem 1.45rem;
}

.project-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--primary);
}

.showcase-meta p {
  color: var(--on-surface-variant);
}

.showcase-meta .btn {
  width: fit-content;
  margin-top: auto;
}

.quiz-cta-section {
  background: linear-gradient(135deg, rgba(230, 241, 235, 0.8), rgba(246, 243, 238, 0.85));
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .hero-highlights {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .audience-grid,
  .process-board,
  .showcase-grid,
  .contact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bullets-list,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .section-intro--split,
  .contact-shell,
  .hero > .container,
  .hero-subpage > .container {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

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

  .process-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-visual,
  .hero-subpage-visual {
    justify-content: flex-end;
  }

  .service-hierarchy,
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 959px) {
  .hero-floating-card,
  .hero-stage-panel {
    position: static;
  }

  .hero-floating-card {
    max-width: none;
    margin-top: 0.85rem;
  }

  .hero-stage-panel {
    margin-top: 0.85rem;
    grid-template-columns: 1fr;
  }
}

/* --- Print styles --- */
@media print {
  .navbar,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* --- Utility classes (replacing inline styles) --- */
.container-cert {
  max-width: 1100px;
  margin: 0 auto;
}

.cards-grid--full {
  max-width: none;
}

.cert-link-wrap {
  margin-top: 1.5rem;
}

/* =====================================================================
   PREMIUM ITERATION v2 - Visual Upgrade (April 2026)
   Hero redesign · Hex pattern · Bento grid · Timeline · Dark section
   ===================================================================== */

/* --- Remove old hero grid decoration (replaced by hex pattern) --- */
.hero::after {
  display: none;
  background-image: none;
}

/* --- Hexagon Technical Pattern System --- */
.hero-hex-pattern,
.hero-hex-pattern--compact {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  color: var(--primary);
  max-width: none;
  opacity: 0.94;
  --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.54) 24%, rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0.88) 76%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: var(--hero-hex-mask);
  mask-image: var(--hero-hex-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-hex-pattern > rect,
.hero-hex-pattern--compact > rect {
  opacity: 0.05;
}

.hero-hex-pattern > path.hex-trail,
.hero-hex-pattern--compact > path.hex-trail {
  opacity: 0.1;
}

.hero-hex-pattern > circle,
.hero-hex-pattern--compact > circle {
  opacity: 0.3;
}

.hero-hex-pattern > path.hex-trail:nth-of-type(2),
.hero-hex-pattern > path.hex-trail:nth-of-type(5),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(2),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(5) {
  opacity: 0.06;
}

.hero-hex-pattern > circle:nth-of-type(2),
.hero-hex-pattern > circle:nth-of-type(5),
.hero-hex-pattern--compact > circle:nth-of-type(2),
.hero-hex-pattern--compact > circle:nth-of-type(5) {
  opacity: 0.18;
}

.hero-hex-pattern > path.hex-trail:nth-of-type(1),
.hero-hex-pattern > path.hex-trail:nth-of-type(3),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(1),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(3) {
  opacity: 0.09;
}

.hero-hex-pattern > circle:nth-of-type(1),
.hero-hex-pattern > circle:nth-of-type(3),
.hero-hex-pattern--compact > circle:nth-of-type(1),
.hero-hex-pattern--compact > circle:nth-of-type(3) {
  opacity: 0.26;
}

.hero-hex-pattern > path.hex-trail:nth-of-type(4),
.hero-hex-pattern > path.hex-trail:nth-of-type(6),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(4),
.hero-hex-pattern--compact > path.hex-trail:nth-of-type(6) {
  opacity: 0.16;
}

.hero-hex-pattern > circle:nth-of-type(4),
.hero-hex-pattern > circle:nth-of-type(6),
.hero-hex-pattern--compact > circle:nth-of-type(4),
.hero-hex-pattern--compact > circle:nth-of-type(6) {
  opacity: 0.42;
}

.hero-subpage .hero-hex-pattern {
  width: 92%;
  left: auto;
  right: -6%;
  opacity: 0.72;
  transform: scale(0.88);
  transform-origin: right center;
  --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.5) 54%, rgba(0, 0, 0, 0.86) 80%, rgba(0, 0, 0, 1) 100%);
}

.hero-subpage .hero-hex-pattern > rect {
  opacity: 0.035;
}

.hero-subpage .hero-hex-pattern > path.hex-trail {
  opacity: 0.075;
}

.hero-subpage .hero-hex-pattern > circle {
  opacity: 0.22;
}

.hex-trail {
  stroke-dasharray: 40 600;
  stroke-dashoffset: 40;
  animation: hexTrail 20s linear infinite;
}
.delay-3s { animation-delay: -3s; }
.delay-5s { animation-delay: -5s; }
.delay-10s { animation-delay: -10s; }
.delay-12s { animation-delay: -12s; }
.delay-15s { animation-delay: -15s; }

@keyframes hexTrail {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: -440; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hex-pattern,
  .hero-hex-pattern--compact {
    display: none;
  }
}

@media (max-width: 959px) {
  .hero-hex-pattern,
  .hero-hex-pattern--compact {
    opacity: 0.76;
    --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.5) 36%, rgba(0, 0, 0, 0.78) 72%, rgba(0, 0, 0, 1) 100%);
  }

  .hero-subpage .hero-hex-pattern {
    width: 132%;
    right: -28%;
    opacity: 0.58;
    transform: scale(0.8);
    --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.14) 30%, rgba(0, 0, 0, 0.4) 58%, rgba(0, 0, 0, 0.82) 84%, rgba(0, 0, 0, 1) 100%);
  }
}

/* --- Hero Visual: Edge-to-edge, no white frame --- */
.hero--home .hero-visual {
  position: relative;
  z-index: 2;
}

.hero--home .hero-visual picture {
  display: block;
  width: 100%;
}

.hero--home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  box-shadow:
    0 24px 64px rgba(13, 28, 20, 0.14),
    0 0 0 1px rgba(15, 90, 53, 0.05);
  object-fit: cover;
}

/* --- Mobile Hero: Image as Background Layer --- */
@media (max-width: 959px) {
  .hero--home {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 1.15rem);
    padding-bottom: 2.1rem;
  }

  .hero--home > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero--home .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
  }

  .hero--home .hero-visual picture {
    width: 100%;
    height: 100%;
  }

  .hero--home .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0;
    box-shadow: none;
  }

  .hero--home .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(246, 243, 238, 0.95) 0%,
      rgba(246, 243, 238, 0.9) 25%,
      rgba(246, 243, 238, 0.78) 50%,
      rgba(246, 243, 238, 0.6) 75%,
      rgba(246, 243, 238, 0.45) 100%
    );
  }

  .hero--home .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
  }

  /* --- Subpage Mobile Hero: Same Background Approach --- */
  .hero-subpage {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 1.4rem);
    padding-bottom: 2.5rem;
  }

  .hero-subpage > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-subpage .hero-subpage-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
  }

  .hero-subpage .hero-subpage-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
  }

  .hero-subpage .hero-subpage-visual picture {
    width: 100%;
    height: 100%;
  }

  .hero-subpage .hero-subpage-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(246, 243, 238, 0.95) 0%,
      rgba(246, 243, 238, 0.9) 30%,
      rgba(246, 243, 238, 0.78) 55%,
      rgba(246, 243, 238, 0.58) 100%
    );
  }

  .hero-subpage .hero-subpage-content {
    position: relative;
    z-index: 3;
  }
}

/* Desktop hero visual sizing */
@media (min-width: 960px) {
  .hero--home > .container {
    grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
    gap: clamp(2rem, 3vw, 3.5rem);
  }

  .hero--home .hero-content {
    max-width: 38.5rem;
  }

  .hero--home .hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .hero--home .hero-visual picture {
    width: min(100%, 40rem);
    margin-left: auto;
  }

  .hero--home .hero-visual img {
    aspect-ratio: 5 / 4;
    object-position: center 34%;
  }

  .hero-subpage > .container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 2.8vw, 3rem);
  }

  .hero-subpage .hero-subpage-content {
    max-width: 38rem;
  }

  .hero-subpage .hero-subpage-visual {
    justify-content: flex-end;
    align-self: center;
  }

  .hero-subpage .hero-subpage-visual picture {
    width: min(100%, 35.5rem);
    margin-left: auto;
  }

  .hero-subpage .hero-subpage-visual img {
    height: auto;
    aspect-ratio: 5 / 4;
    object-position: center 34%;
    border-radius: 1.6rem;
    box-shadow:
      0 24px 64px rgba(13, 28, 20, 0.14),
      0 0 0 1px rgba(15, 90, 53, 0.05);
  }
}

/* --- Bento Grid: Dla kogo --- */
@media (min-width: 960px) {
  .audience-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .audience-card:nth-child(1),
  .audience-card:nth-child(2) {
    grid-column: span 3;
    padding: 2rem 2.25rem;
  }

  .audience-card:nth-child(3),
  .audience-card:nth-child(4),
  .audience-card:nth-child(5) {
    grid-column: span 2;
  }

  .audience-card:nth-child(1) {
    background: linear-gradient(145deg, rgba(15, 90, 53, 0.05), rgba(255, 255, 255, 0.85));
    border-color: rgba(15, 90, 53, 0.1);
  }

  .audience-card:nth-child(2) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(15, 90, 53, 0.04));
    border-color: rgba(15, 90, 53, 0.08);
  }
}

.audience-card:nth-child(1) .audience-card-index,
.audience-card:nth-child(2) .audience-card-index {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.82rem;
  background: linear-gradient(180deg, var(--primary), var(--primary-container));
  color: #fff;
}

@media (min-width: 960px) {
  .audience-card:nth-child(1) p,
  .audience-card:nth-child(2) p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

/* --- Premium Service Panels (Co robimy) --- */
.service-panel {
  border-top: 3px solid transparent;
  padding: 2rem 1.75rem;
}

.service-panel:nth-child(1) {
  border-top-color: var(--primary);
}

.service-panel:nth-child(2) {
  border-top-color: #1a7a4a;
}

.service-panel:nth-child(3) {
  border-top-color: #2d8f5e;
}

.service-panel-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(15, 90, 53, 0.08), rgba(15, 90, 53, 0.03));
  color: var(--primary);
}

.service-panel-icon svg {
  width: 24px;
  height: 24px;
}

.service-panel .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  background: rgba(15, 90, 53, 0.06);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition-fast);
  margin-top: auto;
  width: fit-content;
}

.service-panel:hover .card-link {
  background: rgba(15, 90, 53, 0.12);
}

/* --- Timeline Process Section --- */
.process-board {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.process-board::before {
  content: '';
  position: absolute;
  left: 1.0625rem;
  top: 1.125rem;
  bottom: 1.125rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(15, 90, 53, 0.12));
  border-radius: 2px;
}

.process-card {
  position: relative;
  padding: 1.4rem 1.5rem 2rem;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.process-card:last-child {
  padding-bottom: 0.5rem;
}

.process-card:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.process-card-number {
  position: absolute;
  left: -3.5rem;
  top: 1.4rem;
  width: 2.125rem;
  height: 2.125rem;
  z-index: 2;
  background: linear-gradient(180deg, var(--primary), var(--primary-container));
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 90, 53, 0.2);
}

.process-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.process-card p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* --- Dark Contrast Section --- */
.section--dark {
  background: linear-gradient(180deg, #0a2a18 0%, #0f3d24 50%, #0d3520 100%);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02), transparent 35%);
  pointer-events: none;
}

.section--dark .section-kicker {
  color: rgba(180, 220, 195, 0.85);
}

.section--dark .section-title {
  color: #fff;
  max-width: 24ch;
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .quality-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.section--dark .quality-card:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.section--dark .quality-card h3 {
  color: #fff;
}

.section--dark .quality-card p,
.section--dark .quality-card li,
.section--dark .text-secondary,
.section--dark .text-muted-detail {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .accent-text {
  color: #7acea0;
}

.section--dark .card-bullets li::before {
  background: linear-gradient(135deg, #7acea0, #4db87a);
}

.section--dark .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section--dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.section--dark .quality-card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

/* =====================================================================
   Premium Polish Pass - April 2026
   Premium B2B uplift without changing structure
   ===================================================================== */

:root {
  --header-height: 106px;
  --section-space: clamp(4.75rem, 7vw, 6.4rem);
  --premium-border: rgba(19, 31, 24, 0.08);
  --premium-border-strong: rgba(19, 31, 24, 0.12);
  --premium-shadow-soft: 0 18px 44px rgba(13, 28, 20, 0.06);
  --premium-shadow-card: 0 24px 56px rgba(13, 28, 20, 0.08);
  --premium-shadow-strong: 0 30px 72px rgba(13, 28, 20, 0.11);
}

@media (min-width: 960px) {
  :root {
    --header-height: 114px;
  }
}

.navbar {
  height: var(--header-height);
  background: rgba(246, 243, 238, 0.78);
  border-bottom: 1px solid rgba(22, 32, 25, 0.05);
  transition:
    height 280ms var(--ease-out),
    background-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out),
    border-color 280ms var(--ease-out);
}

.navbar > .container {
  gap: clamp(1rem, 1.4vw, 1.35rem);
  transition: gap 280ms var(--ease-out);
}

.logo-img {
  height: clamp(92px, 8vw, 104px);
  transition: transform 280ms var(--ease-out), height 280ms var(--ease-out);
  transform-origin: left center;
}

.nav-links a,
.nav-cta {
  transition:
    padding 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.navbar.scrolled {
  height: calc(var(--header-height) - 10px);
  background: rgba(248, 245, 240, 0.92);
  border-bottom-color: rgba(22, 32, 25, 0.08);
  box-shadow: 0 16px 38px rgba(13, 28, 20, 0.08);
}

.navbar.scrolled > .container {
  gap: 1rem;
}

.navbar.scrolled .logo-img {
  transform: scale(0.94);
}

.navbar.scrolled .nav-links a {
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
}

.navbar.scrolled .nav-cta {
  min-height: 44px;
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
}

.btn-primary {
  box-shadow: 0 14px 30px rgba(15, 90, 53, 0.14);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(15, 90, 53, 0.19);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section {
  padding: var(--section-space) 0;
}

.section-intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-kicker {
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.section-title {
  max-width: 21ch;
}

.section-subtitle {
  max-width: 40rem;
  line-height: 1.78;
}

.proof-row {
  padding: 1.45rem 0 1.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.3));
  border-top: 1px solid rgba(22, 32, 25, 0.04);
}

.proof-item {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(22, 32, 25, 0.06);
  color: var(--on-surface);
  box-shadow: 0 10px 24px rgba(13, 28, 20, 0.04);
}

.hero,
.hero-subpage {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(15, 90, 53, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(246, 243, 238, 0.38)),
    var(--surface);
}

.hero::before,
.hero-subpage::before {
  background:
    linear-gradient(90deg, rgba(248, 245, 240, 0.995) 0%, rgba(248, 245, 240, 0.96) 24%, rgba(248, 245, 240, 0.88) 44%, rgba(248, 245, 240, 0.52) 70%, rgba(248, 245, 240, 0) 88%),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.84), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(15, 90, 53, 0.08), transparent 24%);
}

.hero-subpage {
  --subpage-accent: 15, 90, 53;
}

.hero-subpage--training {
  --subpage-accent: 26, 108, 68;
}

.hero-subpage--implementation {
  --subpage-accent: 13, 82, 49;
}

.hero-subpage--web {
  --subpage-accent: 22, 92, 76;
}

.hero-subpage::before {
  background:
    linear-gradient(90deg, rgba(248, 245, 240, 0.992) 0%, rgba(248, 245, 240, 0.954) 24%, rgba(248, 245, 240, 0.86) 46%, rgba(248, 245, 240, 0.48) 72%, rgba(248, 245, 240, 0) 88%),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.84), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(var(--subpage-accent), 0.1), transparent 24%);
}

.hero-hex-pattern,
.hero-subpage .hero-hex-pattern {
  width: 100%;
  left: 0;
  right: auto;
  transform: none;
  opacity: 0.78;
  --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.58) 62%, rgba(0, 0, 0, 0.9) 84%, rgba(0, 0, 0, 1) 100%);
}

.hero-hex-pattern > rect,
.hero-subpage .hero-hex-pattern > rect {
  opacity: 0.034;
}

.hero-hex-pattern > path.hex-trail,
.hero-subpage .hero-hex-pattern > path.hex-trail {
  opacity: 0.072;
}

.hero-hex-pattern > circle,
.hero-subpage .hero-hex-pattern > circle {
  opacity: 0.22;
}

.hero {
  padding-top: calc(var(--header-height) + clamp(1.8rem, 4vw, 3.75rem));
  padding-bottom: clamp(3rem, 5.5vw, 4.6rem);
}

.hero-subpage {
  padding: calc(var(--header-height) + clamp(1.8rem, 4vw, 3.2rem)) 0 clamp(3rem, 5vw, 4rem);
}

.hero-content,
.hero-subpage-content {
  max-width: 34.75rem;
}

.hero-chip {
  padding: 0.48rem 0.9rem;
  border-color: rgba(15, 90, 53, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-subpage .hero-chip {
  color: rgb(var(--subpage-accent));
  border-color: rgba(var(--subpage-accent), 0.14);
}

.hero h1,
.hero-subpage h1 {
  margin-bottom: 1.35rem;
}

.hero-lead {
  max-width: 33rem;
  margin-bottom: 1.85rem;
  font-size: clamp(1.04rem, 0.5vw + 0.95rem, 1.19rem);
  line-height: 1.78;
}

.hero-ctas {
  gap: 0.85rem;
}

.hero-highlights {
  gap: 0.95rem;
  margin: 1.35rem 0 1.6rem;
}

.hero-highlight {
  border-radius: 1.35rem;
  padding: 1.05rem 1.1rem;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(22, 32, 25, 0.07);
  box-shadow: 0 12px 30px rgba(13, 28, 20, 0.04);
}

.hero-subpage .hero-highlight {
  border-color: rgba(var(--subpage-accent), 0.09);
}

.hero-micro,
.micro-proof {
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.72;
}

.hero--home .hero-visual picture,
.hero-subpage .hero-subpage-visual picture {
  position: relative;
}

.hero--home .hero-visual img,
.hero-subpage .hero-subpage-visual img {
  border-radius: 1.35rem;
  box-shadow:
    var(--premium-shadow-strong),
    0 0 0 1px rgba(15, 90, 53, 0.07);
}

.hero-subpage .hero-subpage-visual img {
  box-shadow:
    0 26px 64px rgba(13, 28, 20, 0.11),
    0 0 0 1px rgba(var(--subpage-accent), 0.09);
}

.audience-grid {
  gap: 1rem;
}

.audience-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-soft);
}

.audience-card::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 90, 53, 0.08), transparent 72%);
  pointer-events: none;
}

.audience-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.audience-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 90, 53, 0.07);
  border: 1px solid rgba(15, 90, 53, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audience-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.35rem);
  line-height: 1.24;
  max-width: 18ch;
}

.audience-card p {
  margin-top: 0;
  line-height: 1.72;
}

.audience-card:nth-child(1) {
  background: linear-gradient(145deg, rgba(230, 242, 235, 0.95), rgba(255, 255, 255, 0.88));
}

.audience-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 241, 0.88));
}

.audience-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 245, 0.86));
}

.audience-card:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 239, 233, 0.88));
}

.audience-card:nth-child(5) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(234, 241, 237, 0.88));
}

.services-grid {
  gap: 1.1rem;
  align-items: stretch;
}

.service-panel {
  padding: 1.85rem 1.65rem 1.6rem;
  border-radius: 1.75rem;
  border: 1px solid var(--premium-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
  box-shadow: var(--premium-shadow-soft);
}

.service-panel:hover {
  box-shadow: var(--premium-shadow-card);
}

.service-panel::before {
  inset: auto auto -3.6rem -3.2rem;
  width: 11rem;
  height: 11rem;
  opacity: 0.72;
}

.service-panel::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 6.5rem;
  height: 4.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 90, 53, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.service-panel-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 32, 25, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-panel h3 {
  max-width: 14ch;
  font-size: clamp(1.35rem, 0.65vw + 1.08rem, 1.82rem);
}

.service-panel p {
  line-height: 1.72;
}

.service-panel .card-bullets {
  display: grid;
  gap: 0.52rem;
}

.service-panel .card-link {
  padding: 0.62rem 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.service-panel--training {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 243, 0.84));
}

.service-panel--training::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(180deg, rgba(15, 90, 53, 0.16) 0 1px, transparent 1px 11px);
}

.service-panel--implementation {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 240, 0.84));
}

.service-panel--implementation::after {
  background:
    radial-gradient(circle at 18% 50%, rgba(15, 90, 53, 0.26) 0 0.2rem, transparent 0.24rem),
    radial-gradient(circle at 82% 22%, rgba(15, 90, 53, 0.18) 0 0.18rem, transparent 0.22rem),
    radial-gradient(circle at 82% 78%, rgba(15, 90, 53, 0.18) 0 0.18rem, transparent 0.22rem),
    linear-gradient(rgba(15, 90, 53, 0.16), rgba(15, 90, 53, 0.16)) 24% 50% / 56% 1px no-repeat,
    linear-gradient(rgba(15, 90, 53, 0.16), rgba(15, 90, 53, 0.16)) 82% 36% / 1px 40% no-repeat;
}

.service-panel--web {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 244, 247, 0.84));
}

.service-panel--web::after {
  background:
    linear-gradient(rgba(15, 90, 53, 0.12), rgba(15, 90, 53, 0.12)) center 0.78rem / calc(100% - 1.6rem) 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(15, 90, 53, 0.18) 0 20%, transparent 20% 100%) 1rem 1.35rem / 3.8rem 0.46rem no-repeat,
    linear-gradient(90deg, rgba(15, 90, 53, 0.1) 0 60%, transparent 60% 100%) 1rem 2.2rem / 4.4rem 0.38rem no-repeat,
    linear-gradient(90deg, rgba(15, 90, 53, 0.1) 0 44%, transparent 44% 100%) 1rem 2.9rem / 3.1rem 0.38rem no-repeat;
}

.service-panel--training .service-panel-icon {
  background: linear-gradient(180deg, rgba(15, 90, 53, 0.08), rgba(15, 90, 53, 0.03));
}

.service-panel--implementation .service-panel-icon {
  background: linear-gradient(180deg, rgba(13, 82, 49, 0.1), rgba(13, 82, 49, 0.03));
}

.service-panel--web .service-panel-icon {
  background: linear-gradient(180deg, rgba(30, 82, 69, 0.08), rgba(30, 82, 69, 0.03));
}

.contact-shell {
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

.contact-copy {
  max-width: none;
}

.contact-points {
  gap: 0.9rem;
}

.contact-point {
  padding: 1.15rem 1.15rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 32, 25, 0.08);
  box-shadow: 0 12px 28px rgba(13, 28, 20, 0.05);
}

.contact-form-card {
  padding: clamp(1.45rem, 2vw, 1.95rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(22, 32, 25, 0.08);
  box-shadow: var(--premium-shadow-card);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.98);
}

.showcase-grid {
  gap: 1.15rem;
  align-items: stretch;
}

.showcase-card {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-soft);
}

.showcase-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 240, 0.85));
}

.showcase-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 241, 236, 0.85));
}

.showcase-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 243, 246, 0.85));
}

.showcase-browser {
  position: relative;
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(247, 245, 241, 0.96), rgba(239, 235, 230, 0.9));
}

.showcase-browser::after {
  content: '';
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.95rem;
  height: 22%;
  background: linear-gradient(180deg, rgba(13, 28, 20, 0), rgba(13, 28, 20, 0.06));
  border-radius: 0 0 1.25rem 1.25rem;
  pointer-events: none;
}

.showcase-shot {
  border-radius: 1.25rem;
  box-shadow:
    0 20px 44px rgba(13, 28, 20, 0.12),
    0 0 0 1px rgba(15, 90, 53, 0.06);
}

.showcase-meta {
  padding: 1.45rem 1.45rem 1.5rem;
}

.project-label {
  color: var(--primary-container);
}

.footer-bottom p:last-child {
  color: rgba(255, 255, 255, 0.54);
  font-weight: 600;
}

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

@media (min-width: 960px) {
  .hero--home > .container,
  .hero-subpage > .container {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.4rem, 4vw, 4.25rem);
    align-items: center;
  }

  .hero--home .hero-content,
  .hero-subpage .hero-subpage-content {
    max-width: 34.5rem;
  }

  .hero--home .hero-visual picture {
    width: min(100%, 44rem);
  }

  .hero--home .hero-visual img {
    object-position: center center;
  }

  .hero-subpage .hero-subpage-visual picture {
    width: min(100%, 39rem);
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }
}

@media (max-width: 959px) {
  .hero-hex-pattern,
  .hero-subpage .hero-hex-pattern {
    width: 100%;
    right: auto;
    opacity: 0.66;
    transform: none;
    --hero-hex-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0.24) 46%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 1) 100%);
  }

  .hero--home,
  .hero-subpage {
    padding-bottom: 2.85rem;
  }

  .hero--home .hero-content,
  .hero-subpage .hero-subpage-content {
    max-width: 100%;
  }

  .audience-card,
  .service-panel,
  .contact-form-card,
  .showcase-meta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 767px) {
  .proof-item {
    border-radius: 1.1rem;
  }

  .contact-points {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Premium polish refinements - homepage, nav, dark section, mobile
   ===================================================================== */

:root {
  --header-height: 84px;
}

@media (min-width: 960px) {
  :root {
    --header-height: 92px;
  }
}

.navbar {
  background: rgba(246, 243, 238, 0.74);
  border-bottom-color: rgba(22, 32, 25, 0.06);
}

.navbar > .container {
  min-height: inherit;
  gap: clamp(0.85rem, 1.15vw, 1.15rem);
}

.navbar .logo-img {
  width: auto;
  height: clamp(60px, 11vw, 68px);
  transition: transform 280ms var(--ease-out), height 280ms var(--ease-out);
}

.footer .logo-img {
  width: auto;
  height: clamp(60px, 6vw, 76px);
}

.nav-links {
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.7rem 0.82rem;
  font-size: 0.89rem;
}

.nav-cta {
  min-height: 46px;
  padding-inline: 1.2rem;
  margin-left: 0.3rem;
}

.navbar.scrolled {
  height: calc(var(--header-height) - 12px);
  background: rgba(248, 245, 240, 0.9);
  box-shadow: 0 14px 34px rgba(13, 28, 20, 0.08);
}

.navbar.scrolled .logo-img {
  transform: scale(0.93);
}

.navbar.scrolled .nav-links a {
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.navbar.scrolled .nav-cta {
  min-height: 42px;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.hero {
  padding-top: calc(var(--header-height) + clamp(1.45rem, 3.5vw, 3.2rem));
}

.hero--home > .container {
  align-items: center;
}

.hero--home .hero-content {
  max-width: 33.75rem;
}

.hero--home h1 {
  max-width: 11.6ch;
}

.hero--home .hero-lead {
  max-width: 32rem;
}

.hero--home .hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero--home .hero-visual::before {
  content: '';
  position: absolute;
  right: clamp(0.5rem, 2vw, 2rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: clamp(13.5rem, 25vw, 20rem);
  height: clamp(13.5rem, 25vw, 20rem);
  border-radius: 38%;
  background: radial-gradient(circle, rgba(15, 90, 53, 0.16) 0%, rgba(15, 90, 53, 0.06) 44%, transparent 72%);
  filter: blur(4px);
  z-index: -1;
}

.hero--home .hero-visual picture {
  width: min(100%, 47rem);
  margin-left: auto;
}

.hero--home .hero-visual img {
  aspect-ratio: 5 / 4;
  object-position: center 46%;
}

.proof-row {
  padding: 1.25rem 0 1.35rem;
}

.proof-item {
  padding: 0.82rem 1rem;
}

.operating-principle {
  padding: clamp(1.9rem, 4vw, 3.2rem) 0 clamp(1.45rem, 3vw, 2.25rem);
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.78) 0%, rgba(252, 249, 248, 0.18) 100%);
}

.operating-principle-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.45rem, 3vw, 2.25rem);
  border: 1px solid rgba(15, 90, 53, 0.13);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(239, 247, 243, 0.52)),
    rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.operating-principle-inner .section-kicker {
  margin-bottom: 0.7rem;
}

.operating-principle-inner h2 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(1.45rem, 1.5vw + 1rem, 2.15rem);
}

.operating-principle-inner p {
  max-width: 760px;
  color: var(--on-surface-variant);
  font-size: clamp(1.02rem, 0.35vw + 0.96rem, 1.16rem);
  line-height: 1.75;
}

.principle-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.principle-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(15, 90, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #244233;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.services-grid {
  gap: 1.15rem;
}

.service-panel .card-bullets {
  flex: 1 1 auto;
  width: 100%;
}

.service-panel .card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
}

.section-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.section-kicker-row .section-kicker {
  margin-bottom: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(214, 239, 223, 0.9);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.deliverables-block {
  margin: 0 0 clamp(1.5rem, 3vw, 2.1rem);
  padding: clamp(1.35rem, 2.3vw, 1.8rem);
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.deliverables-block h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem);
}

.deliverables-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.deliverable-item {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

.deliverable-item::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #92d7ad, #55b77b);
}

.section--dark {
  background: linear-gradient(180deg, #1b4933 0%, #143826 14%, #0f3422 46%, #102d1e 100%);
}

.section--dark::before {
  background:
    linear-gradient(180deg, rgba(234, 241, 236, 0.16) 0%, rgba(23, 57, 39, 0) 22%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.045), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.025), transparent 35%);
}

.section--dark .quality-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section--dark .quality-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section--dark .quality-card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.footer-address {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

.footer {
  background:
    linear-gradient(180deg, rgba(14, 44, 29, 0.96), rgba(3, 17, 11, 1)),
    #03110b;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(3.25rem, 6vw, 4.75rem) 0 1.4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand {
  max-width: 25rem;
}

.footer .logo-img {
  width: clamp(60px, 5vw, 88px);
  height: auto;
  margin-bottom: 1rem;
}

.footer-desc {
  max-width: 24rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.72;
}

.footer-address {
  font-style: normal;
}

.footer-company-meta {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.66);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.footer-col h4 {
  margin-bottom: 0.85rem;
  color: rgba(208, 234, 219, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.footer-col a,
.footer-col span {
  display: block;
  min-height: 32px;
  padding: 0.22rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.55;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

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

@media (min-width: 1080px) {
  .footer-content {
    grid-template-columns: minmax(15rem, 1.05fr) minmax(0, 2.4fr);
  }

  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.4rem, 2.4vw, 2.35rem);
  }
}

@media (min-width: 960px) {
  .navbar .logo-img {
    height: clamp(76px, 6.2vw, 82px);
  }

  .hero--home > .container {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.25rem, 3.6vw, 3.8rem);
  }

  .hero--home .hero-visual picture {
    width: min(100%, 47rem);
  }

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

@media (max-width: 959px) {
  .navbar {
    background: rgba(248, 245, 240, 0.88);
  }

  .navbar > .container {
    gap: 0.85rem;
  }

  .mobile-menu {
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .hero--home {
    min-height: clamp(40rem, 100svh, 46rem);
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1.9rem;
  }

  .hero--home .hero-visual::before {
    display: none;
  }

  .hero--home .hero-visual::after {
    background: linear-gradient(
      180deg,
      rgba(246, 243, 238, 0.96) 0%,
      rgba(246, 243, 238, 0.92) 22%,
      rgba(246, 243, 238, 0.8) 48%,
      rgba(246, 243, 238, 0.62) 76%,
      rgba(246, 243, 238, 0.5) 100%
    );
  }

  .hero--home h1 {
    max-width: 10ch;
    font-size: clamp(2.15rem, 9vw, 3.1rem);
    line-height: 1.05;
  }

  .hero--home .hero-lead {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

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

  .proof-row {
    padding: 1rem 0 1.15rem;
  }

  .proof-item {
    align-items: flex-start;
    padding: 0.9rem 1rem;
  }

  .operating-principle {
    padding: 1.35rem 0 1.25rem;
  }

  .operating-principle-inner {
    padding: 1.2rem;
    border-radius: 1.15rem;
  }

  .principle-steps {
    gap: 0.5rem;
  }

  .principle-steps span {
    width: 100%;
    min-height: 38px;
    justify-content: center;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    gap: 1.15rem;
  }

  .contact-point {
    padding: 1rem 1rem 0.95rem;
  }
}

@media (max-width: 767px) {
  .section {
    padding: clamp(3.75rem, 12vw, 4.5rem) 0;
  }

  .proof-item {
    border-radius: 1.25rem;
  }

  .audience-card,
  .service-panel,
  .process-card,
  .quality-card,
  .contact-form-card,
  .faq-item {
    border-radius: 1.35rem;
  }

  .services-grid {
    gap: 0.95rem;
  }

  .deliverables-block {
    padding: 1.2rem;
  }

  .footer-address {
    max-width: 16rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero--home > .container {
    width: 100%;
    max-width: 100vw;
  }

  .hero--home .hero-content,
  .hero--home .hero-lead {
    width: calc(100vw - 2rem);
    max-width: 20.75rem;
    min-width: 0;
  }

  .hero--home h1 {
    max-width: 10ch;
    font-size: clamp(1.95rem, 10vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .hero--home .hero-lead,
  .proof-item span,
  .operating-principle-inner p,
  .footer-about p {
    overflow-wrap: break-word;
  }

  .hero-ctas .btn,
  .cookie-buttons .btn {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .proof-item {
    min-width: 0;
  }

  .hero--home .hero-ctas {
    width: calc(100vw - 2rem);
    max-width: 16rem;
  }

  .cookie-banner {
    padding: 0.85rem 1rem 1rem;
  }

  .cookie-banner-inner {
    width: calc(100vw - 2rem);
    max-width: 21rem;
    margin-left: 0;
    margin-right: auto;
  }

  .cookie-banner p {
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.48;
    overflow-wrap: break-word;
  }

  .cookie-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .cookie-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
  }
}
