/* ==========================================================================
   KLINIKA FINANSÓW — Premium Financial Advisory for Doctors
   Production CSS — Version 1.0
   Author: Klinika Finansów Design System
   Last Updated: 2026
   ==========================================================================

   TABLE OF CONTENTS
   -----------------
   01. CSS Custom Properties (Design Tokens)
   02. Dark Mode Tokens [data-theme="dark"]
   03. CSS Reset & Base
   04. Typography System
   05. Utility Classes
   06. Navigation
   07. Hero Section & Gradient Mesh Background
   08. Glassmorphism Cards
   09. Bento Grid Layout
   10. Stats Strip
   11. Service Cards
   12. Testimonials
   13. Calculator Widget
   14. Step Cards (Process)
   15. FAQ Accordion
   16. Trust Badges
   17. Buttons & CTAs
   18. Forms & Inputs
   19. Notification Toast
   20. Progress Bar
   21. Sticky CTA Bar (Mobile)
   22. Dark Mode Toggle
   23. Scroll Indicator
   24. Footer
   25. Cookie Consent Bar
   26. Micro-Interactions & Spring Physics
   27. Scroll-Triggered Animations
   28. Responsive — Tablet (768px)
   29. Responsive — Mobile (480px)
   30. Print Styles
   ========================================================================== */


/* ==========================================================================
   01. CSS CUSTOM PROPERTIES — Design Token System
   ========================================================================== */

:root {
  /* --- Brand Colors --- */
  --color-teal:          #38dfcb;
  --color-teal-deep:     #0a4f4a;
  --color-navy:          #1a1a2e;
  --color-green:         #61a229;
  --color-amber:         #C9A84C;
  --color-navy-btn:      #1B2E4B;

  /* --- Light Mode Surfaces --- */
  --surface-0:           #ffffff;
  --surface-1:           #f8fafb;
  --surface-2:           #eef2f3;
  --surface-3:           #dde5e7;

  /* --- Light Mode Text --- */
  --text-primary:        #1a1a2e;
  --text-secondary:      #6b7280;
  --text-muted:          #9ca3af;
  --text-inverse:        #ffffff;

  /* --- Light Mode Accents --- */
  --accent-primary:      #38dfcb;
  --accent-secondary:    #61a229;
  --accent-amber:        #C9A84C;

  /* --- Shadows (Light) --- */
  --shadow-sm:           0 1px 3px rgba(26, 26, 46, 0.08), 0 1px 2px rgba(26, 26, 46, 0.06);
  --shadow-md:           0 4px 16px rgba(26, 26, 46, 0.10), 0 2px 6px rgba(26, 26, 46, 0.06);
  --shadow-lg:           0 10px 40px rgba(26, 26, 46, 0.14), 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-xl:           0 24px 64px rgba(26, 26, 46, 0.18), 0 8px 24px rgba(26, 26, 46, 0.10);
  --shadow-teal:         0 0 0 3px rgba(56, 223, 203, 0.25);
  --shadow-teal-glow:    0 8px 32px rgba(56, 223, 203, 0.30), 0 0 0 1px rgba(56, 223, 203, 0.15);

  /* --- Border Radius --- */
  --radius-sm:           6px;
  --radius-md:           12px;
  --radius-lg:           20px;
  --radius-xl:           28px;
  --radius-full:         9999px;

  /* --- Spacing Scale --- */
  --space-1:             0.25rem;
  --space-2:             0.5rem;
  --space-3:             0.75rem;
  --space-4:             1rem;
  --space-5:             1.25rem;
  --space-6:             1.5rem;
  --space-8:             2rem;
  --space-10:            2.5rem;
  --space-12:            3rem;
  --space-16:            4rem;
  --space-20:            5rem;
  --space-24:            6rem;
  --space-32:            8rem;

  /* --- Typography --- */
  --font-body:           'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display:        'Manrope', 'Inter Variable', system-ui, sans-serif;

  --text-xs:             clamp(0.75rem, 1vw, 0.875rem);
  --text-sm:             clamp(0.875rem, 1.2vw, 1rem);
  --text-base:           clamp(0.95rem, 1.5vw, 1.1rem);
  --text-lg:             clamp(1.1rem, 2vw, 1.3rem);
  --text-xl:             clamp(1.25rem, 2.5vw, 1.5rem);
  --text-2xl:            clamp(1.5rem, 3vw, 2rem);
  --text-h3:             clamp(1.2rem, 2.5vw, 1.8rem);
  --text-h2:             clamp(1.8rem, 4vw, 3rem);
  --text-h1:             clamp(3rem, 7vw + 1rem, 7rem);

  /* --- Transitions --- */
  --transition-fast:     0.15s ease;
  --transition-base:     0.3s ease;
  --transition-slow:     0.5s ease;
  --spring-bounce:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-smooth:       cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* --- Layout --- */
  --container-max:       1200px;
  --container-padding:   clamp(1rem, 5vw, 3rem);
  --section-py:          clamp(3rem, 8vw, 7rem);
  --nav-height:          72px;

  /* --- Glass Card --- */
  --glass-bg:            rgba(255, 255, 255, 0.08);
  --glass-border:        rgba(255, 255, 255, 0.12);
  --glass-blur:          blur(20px) saturate(180%);

  /* --- Z-Index Scale --- */
  --z-base:              1;
  --z-raised:            10;
  --z-overlay:           100;
  --z-modal:             200;
  --z-nav:               300;
  --z-toast:             400;
  --z-skip:              500;
}


/* ==========================================================================
   02. DARK MODE TOKENS — [data-theme="dark"]
   ========================================================================== */

[data-theme="dark"] {
  /* --- Dark Surfaces (elevation-based lightening) --- */
  --surface-0:           #0d1117;
  --surface-1:           #161b22;
  --surface-2:           #21262d;
  --surface-3:           #2d333b;

  /* --- Dark Text --- */
  --text-primary:        #e6edf3;
  --text-secondary:      #8b949e;
  --text-muted:          #6e7681;
  --text-inverse:        #0d1117;

  /* --- Dark Accents (slightly brighter for contrast) --- */
  --accent-primary:      #4aeedd;
  --accent-secondary:    #7bc44a;
  --accent-amber:        #d4b460;

  /* --- Dark Shadows --- */
  --shadow-sm:           0 1px 3px rgba(0, 0, 0, 0.40), 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md:           0 4px 16px rgba(0, 0, 0, 0.50), 0 2px 6px rgba(0, 0, 0, 0.30);
  --shadow-lg:           0 10px 40px rgba(0, 0, 0, 0.60), 0 4px 12px rgba(0, 0, 0, 0.30);
  --shadow-xl:           0 24px 64px rgba(0, 0, 0, 0.70), 0 8px 24px rgba(0, 0, 0, 0.40);
  --shadow-teal:         0 0 0 3px rgba(74, 238, 221, 0.30);
  --shadow-teal-glow:    0 8px 32px rgba(74, 238, 221, 0.40), 0 0 0 1px rgba(74, 238, 221, 0.20);

  /* --- Dark Glass Card --- */
  --glass-bg:            rgba(22, 27, 34, 0.80);
  --glass-border:        rgba(139, 148, 158, 0.15);
}

/* Smooth dark mode transitions */
*,
*::before,
*::after {
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

/* Disable transitions on elements that shouldn't animate theme change */
.no-theme-transition {
  transition: none !important;
}


/* ==========================================================================
   03. CSS RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  tab-size: 4;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--color-teal-deep);
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text-primary);
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  max-width: 68ch;
}

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

hr {
  border: none;
  border-top: 1px solid var(--surface-3);
  margin: var(--space-8) 0;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   04. TYPOGRAPHY SYSTEM
   ========================================================================== */

.h1,
h1 {
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  line-height: 1.05;
}

.h2,
h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  line-height: 1.15;
}

.h3,
h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
  line-height: 1.25;
}

.h4,
h4 {
  font-size: var(--text-xl);
  font-weight: 600;
  font-family: var(--font-display);
}

.lead {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
}

.overline {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.caption {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

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

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


/* ==========================================================================
   05. UTILITY CLASSES
   ========================================================================== */

/* --- Color Utilities --- */
.text-teal    { color: var(--color-teal); }
.text-navy    { color: var(--color-navy); }
.text-green   { color: var(--color-green); }
.text-amber   { color: var(--color-amber); }
.text-muted   { color: var(--text-muted); }
.text-inverse { color: var(--text-inverse); }

.bg-teal      { background-color: var(--color-teal); }
.bg-navy      { background-color: var(--color-navy); }
.bg-green     { background-color: var(--color-green); }
.bg-surface-1 { background-color: var(--surface-1); }
.bg-surface-2 { background-color: var(--surface-2); }

/* --- Glow Effects --- */
.glow-teal {
  box-shadow: var(--shadow-teal-glow);
}

.glow-text-teal {
  text-shadow: 0 0 20px rgba(56, 223, 203, 0.50), 0 0 40px rgba(56, 223, 203, 0.25);
}

[data-theme="dark"] .glow-text-teal {
  text-shadow: 0 0 20px rgba(74, 238, 221, 0.65), 0 0 40px rgba(74, 238, 221, 0.35);
}

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

.section-padding {
  padding-block: var(--section-py);
}

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-wrap   { flex-wrap: wrap; }
.gap-4       { gap: var(--space-4); }
.gap-6       { gap: var(--space-6); }
.gap-8       { gap: var(--space-8); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.w-full      { width: 100%; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* --- Spacing Utilities --- */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mx-auto { margin-inline: auto; }

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

.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-skip);
  padding: var(--space-3) var(--space-6);
  background: var(--color-navy);
  color: var(--color-teal);
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: var(--space-4);
}

/* --- Divider --- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.4;
  border: none;
  margin: var(--space-12) 0;
}


/* ==========================================================================
   06. NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  transition:
    background-color 0.3s var(--spring-smooth),
    box-shadow 0.3s var(--spring-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(26, 26, 46, 0.08), var(--shadow-sm);
}

[data-theme="dark"] .site-header {
  background: rgba(13, 17, 23, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(13, 17, 23, 0.96);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.85;
  color: var(--text-primary);
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  padding-block: var(--space-2);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-green));
  border-radius: var(--radius-full);
  transition: width 0.35s var(--spring-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--surface-2);
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--spring-smooth), opacity var(--transition-fast);
}

.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--surface-0);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-6)) var(--container-padding) var(--space-8);
  transform: translateX(100%);
  transition: transform 0.4s var(--spring-smooth);
  overflow-y: auto;
}

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

.mobile-nav .nav-link {
  font-size: var(--text-xl);
  font-weight: 600;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--surface-2);
}


/* ==========================================================================
   07. HERO SECTION & GRADIENT MESH BACKGROUND
   ========================================================================== */

@keyframes aurora-shift {
  0%   { background-position: 0% 50%, 100% 50%, 50% 0%, 0% 100%; }
  25%  { background-position: 50% 0%, 50% 100%, 100% 50%, 50% 0%; }
  50%  { background-position: 100% 50%, 0% 50%, 50% 100%, 100% 0%; }
  75%  { background-position: 50% 100%, 50% 0%, 0% 50%, 50% 100%; }
  100% { background-position: 0% 50%, 100% 50%, 50% 0%, 0% 100%; }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: calc(var(--nav-height) + var(--space-12)) var(--space-24);
}

.hero-mesh-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 80% 80% at 20% 30%, rgba(56, 223, 203, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(10, 79, 74, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 60% 80%, rgba(97, 162, 41, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 90% 50% at 5% 70%, rgba(201, 168, 76, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, var(--surface-0) 0%, var(--surface-1) 40%, var(--surface-2) 100%);
  background-size: 200% 200%, 180% 180%, 160% 160%, 220% 120%, 100% 100%;
  animation: aurora-shift 20s ease-in-out infinite;
  will-change: background-position;
}

[data-theme="dark"] .hero-mesh-bg {
  background:
    radial-gradient(ellipse 80% 80% at 20% 30%, rgba(74, 238, 221, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(10, 79, 74, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 60% 80%, rgba(97, 162, 41, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 90% 50% at 5% 70%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, var(--surface-0) 0%, var(--surface-1) 50%, var(--surface-2) 100%);
  background-size: 200% 200%, 180% 180%, 160% 160%, 220% 120%, 100% 100%;
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(56, 223, 203, 0.12);
  border: 1px solid rgba(56, 223, 203, 0.30);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
  font-size: var(--text-h1);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 55ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--surface-0);
  background: linear-gradient(135deg, var(--color-teal), var(--color-green));
  margin-left: -10px;
  flex-shrink: 0;
}

.hero-avatar:first-child { margin-left: 0; }

.hero-social-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.hero-social-text strong {
  color: var(--text-primary);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: hero-float 3s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
  margin-top: var(--space-2);
}


/* ==========================================================================
   08. GLASSMORPHISM 2.0 CARDS
   ========================================================================== */

.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 24px rgba(26, 26, 46, 0.08),
    0 1px 4px rgba(26, 26, 46, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 0 1px rgba(56, 223, 203, 0.05);
  transition:
    background-color 0.3s var(--spring-smooth),
    box-shadow 0.3s var(--spring-smooth),
    transform 0.3s var(--spring-bounce),
    border-color 0.3s var(--spring-smooth);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%,
    rgba(56, 223, 203, 0.03) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(56, 223, 203, 0.25);
  box-shadow:
    0 8px 40px rgba(26, 26, 46, 0.12),
    0 2px 8px rgba(26, 26, 46, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 0 0 1px rgba(56, 223, 203, 0.15),
    0 0 0 1px rgba(56, 223, 203, 0.10),
    0 0 32px rgba(56, 223, 203, 0.12);
  transform: translateY(-4px);
}

[data-theme="dark"] .glass-card {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.40),
    0 1px 4px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(74, 238, 221, 0.05);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(22, 27, 34, 0.90);
  border-color: rgba(74, 238, 221, 0.30);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(74, 238, 221, 0.15),
    0 0 32px rgba(74, 238, 221, 0.15);
}

.glass-card-inner {
  position: relative;
  z-index: var(--z-base);
  padding: var(--space-8);
  height: 100%;
}

.glass-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 223, 203, 0.20), rgba(10, 79, 74, 0.20));
  border: 1px solid rgba(56, 223, 203, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
  font-size: 1.5rem;
}


/* ==========================================================================
   09. BENTO GRID LAYOUT
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-6);
  grid-template-areas:
    "lg lg md"
    "md2 wide wide"
    "sm1 sm2 sm3";
}

.bento-lg {
  grid-column: span 2;
  grid-area: lg;
}

.bento-md {
  grid-column: span 1;
}

.bento-wide {
  grid-column: 1 / -1;
  grid-area: wide;
}

.bento-sm {
  grid-column: span 1;
}

.bento-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s var(--spring-bounce),
    box-shadow 0.3s var(--spring-smooth),
    border-color 0.3s var(--spring-smooth);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 223, 203, 0.25);
}

.bento-card-content {
  padding: var(--space-8);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Feature accent for bento-lg */
.bento-lg .bento-card-content {
  padding: var(--space-10);
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: rgba(56, 223, 203, 0.12);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.bento-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-teal), var(--color-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   10. STATS STRIP
   ========================================================================== */

.stats-strip {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-2);
  border-bottom: 1px solid var(--surface-2);
  padding-block: var(--space-10);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .stat-number {
  background: linear-gradient(135deg, #4aeedd 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(74, 238, 221, 0.40));
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--surface-3);
  flex-shrink: 0;
}

/* Stat highlight pulse */
.stat-highlight {
  animation: stat-pulse 3s ease-in-out infinite;
}

@keyframes stat-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(56, 223, 203, 0)); }
  50%       { filter: drop-shadow(0 0 10px rgba(56, 223, 203, 0.35)); }
}


/* ==========================================================================
   11. SERVICE CARDS
   ========================================================================== */

.services-section {
  background: var(--surface-0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    transform 0.35s var(--spring-bounce),
    box-shadow 0.35s var(--spring-smooth),
    border-color 0.35s var(--spring-smooth),
    background-color 0.35s var(--spring-smooth);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 223, 203, 0.30);
  background: var(--surface-1);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 223, 203, 0.15), rgba(97, 162, 41, 0.10));
  border: 1px solid rgba(56, 223, 203, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.6rem;
  transition: background 0.3s var(--spring-smooth), transform 0.3s var(--spring-bounce);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(56, 223, 203, 0.25), rgba(97, 162, 41, 0.18));
  transform: scale(1.08) rotate(-3deg);
}

.service-title {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  max-width: none;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
  transition: gap 0.25s var(--spring-smooth);
}

.service-card:hover .service-arrow {
  gap: var(--space-3);
}


/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */

.testimonials-section {
  background: var(--surface-1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition:
    transform 0.3s var(--spring-bounce),
    box-shadow 0.3s var(--spring-smooth);
}

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

.testimonial-quote-mark {
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent-primary);
  opacity: 0.25;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  pointer-events: none;
  select: none;
  user-select: none;
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  color: var(--color-amber);
  font-size: 1rem;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
  max-width: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-deep));
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Featured testimonial variant */
.testimonial-card.featured {
  border-color: rgba(56, 223, 203, 0.30);
  background: linear-gradient(135deg, var(--surface-0), rgba(56, 223, 203, 0.03));
}


/* ==========================================================================
   13. CALCULATOR WIDGET
   ========================================================================== */

.calculator-section {
  background: var(--surface-0);
}

.calculator-widget {
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.calculator-title {
  font-size: var(--text-h3);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2);
}

.calculator-subtitle {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: none;
}

.calculator-form {
  display: grid;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-label span {
  color: var(--accent-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  background: var(--surface-0);
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-md);
  min-height: 52px;
  transition:
    border-color 0.2s var(--spring-smooth),
    box-shadow 0.2s var(--spring-smooth),
    background-color 0.2s var(--spring-smooth);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:hover,
.form-select:hover {
  border-color: rgba(56, 223, 203, 0.40);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(56, 223, 203, 0.25);
  background: var(--surface-0);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(74, 238, 221, 0.30);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input-lg {
  font-size: var(--text-xl);
  font-weight: 700;
  padding: var(--space-5) var(--space-6);
  min-height: 64px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.calculator-result {
  background: linear-gradient(135deg, var(--color-teal-deep), rgba(10, 79, 74, 0.80));
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.calculator-result-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calculator-result-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-teal);
}


/* ==========================================================================
   14. STEP CARDS (Process)
   ========================================================================== */

.steps-section {
  background: var(--surface-1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  position: relative;
}

.bento-card .steps-grid,
.glass-card .steps-grid {
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.bento-card .steps-grid::before,
.glass-card .steps-grid::before {
  display: none;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + var(--space-6));
  right: calc(12.5% + var(--space-6));
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-green), var(--color-teal-deep));
  opacity: 0.35;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  transition:
    transform 0.3s var(--spring-bounce),
    box-shadow 0.3s var(--spring-smooth);
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-deep));
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: 0 4px 16px rgba(56, 223, 203, 0.35);
  position: relative;
  z-index: var(--z-base);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: none;
}


/* ==========================================================================
   15. FAQ ACCORDION
   ========================================================================== */

.faq-section {
  background: var(--surface-0);
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--spring-smooth), box-shadow 0.25s var(--spring-smooth);
}

.faq-item.is-open {
  border-color: rgba(56, 223, 203, 0.30);
  box-shadow: 0 4px 20px rgba(56, 223, 203, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--accent-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(56, 223, 203, 0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.35s var(--spring-bounce), background-color 0.25s var(--spring-smooth);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(56, 223, 203, 0.20);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--spring-smooth);
}

.faq-body > * {
  min-height: 0;
  overflow: hidden;
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-body > * {
  overflow: visible;
}

.faq-body > p,
.faq-body > .faq-body-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
}


/* ==========================================================================
   16. TRUST BADGES
   ========================================================================== */

.trust-section {
  background: var(--surface-1);
  padding-block: var(--space-10);
}

.trust-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition:
    border-color 0.25s var(--spring-smooth),
    box-shadow 0.25s var(--spring-smooth),
    transform 0.25s var(--spring-bounce);
}

.trust-badge:hover {
  border-color: rgba(56, 223, 203, 0.35);
  box-shadow: 0 2px 12px rgba(56, 223, 203, 0.12);
  transform: translateY(-2px);
}

.trust-badge-icon {
  font-size: 1.2rem;
}


/* ==========================================================================
   17. BUTTONS & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  transition:
    transform 0.3s var(--spring-bounce),
    box-shadow 0.3s var(--spring-smooth),
    background-color 0.2s var(--spring-smooth),
    border-color 0.2s var(--spring-smooth),
    color 0.2s var(--spring-smooth);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

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

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, #2bc4b2 100%);
  color: var(--color-navy);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(56, 223, 203, 0.30);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 32px rgba(56, 223, 203, 0.45),
    0 4px 12px rgba(56, 223, 203, 0.25),
    0 0 0 1px rgba(56, 223, 203, 0.20);
  color: var(--color-navy);
}

[data-theme="dark"] .btn-primary {
  box-shadow: 0 4px 16px rgba(74, 238, 221, 0.35), 0 0 20px rgba(74, 238, 221, 0.15);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow:
    0 8px 32px rgba(74, 238, 221, 0.55),
    0 4px 12px rgba(74, 238, 221, 0.35),
    0 0 40px rgba(74, 238, 221, 0.20);
}

/* Amber CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--color-amber) 0%, #b8943d 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.30);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
  color: #ffffff;
}

/* Secondary/Outline Button */
.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(56, 223, 203, 0.10);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-teal);
  color: var(--accent-primary);
}

/* Navy Button */
.btn-navy {
  background: var(--color-navy-btn);
  color: #ffffff;
  border-color: transparent;
}

.btn-navy:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(27, 46, 75, 0.40);
  background: #243d61;
  color: #ffffff;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 56px;
  border-radius: var(--radius-lg);
  letter-spacing: 0.02em;
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  min-height: 64px;
  border-radius: var(--radius-lg);
  letter-spacing: 0.02em;
}

/* Loading state */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  margin-left: var(--space-2);
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   18. FORMS & INPUTS (General)
   ========================================================================== */

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.form-input.has-error,
.form-select.has-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-input.is-valid,
.form-select.is-valid {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(97, 162, 41, 0.15);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--surface-3);
  border-radius: var(--radius-sm);
  background: var(--surface-0);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-check-input:checked {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 4L6.5 11 3 7.5' stroke='%231a1a2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
}

.form-check-input:focus-visible {
  box-shadow: var(--shadow-teal);
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
  max-width: none;
}

/* Phone input with flag */
.phone-input-wrap {
  position: relative;
  display: flex;
}

.phone-flag {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.phone-input-wrap .form-input {
  padding-left: 3rem;
}


/* ==========================================================================
   19. NOTIFICATION TOAST
   ========================================================================== */

@keyframes toast-slide-in {
  0%   { transform: translateX(calc(100% + 1rem)); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes toast-slide-out {
  0%   { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(calc(100% + 1rem)); opacity: 0; }
}

.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.notification-toast {
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 340px;
  pointer-events: all;
  animation: toast-slide-in 0.45s var(--spring-bounce) forwards;
}

.notification-toast.is-leaving {
  animation: toast-slide-out 0.35s var(--spring-smooth) forwards;
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(56, 223, 203, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.toast-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: none;
}

.toast-close {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.toast-close:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.toast-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: var(--space-1);
}


/* ==========================================================================
   20. PROGRESS BAR (Multi-step Form)
   ========================================================================== */

.progress-bar-wrap {
  margin-bottom: var(--space-8);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: var(--space-4);
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--surface-3);
  transform: translateY(-50%);
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-green));
  transform: translateY(-50%);
  z-index: var(--z-base);
  transition: width 0.5s var(--spring-smooth);
  border-radius: var(--radius-full);
}

.progress-step {
  position: relative;
  z-index: var(--z-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.progress-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  transition:
    background 0.35s var(--spring-smooth),
    border-color 0.35s var(--spring-smooth),
    color 0.35s var(--spring-smooth),
    box-shadow 0.35s var(--spring-smooth);
}

.progress-step.is-done .progress-step-dot {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-navy);
  box-shadow: 0 0 12px rgba(56, 223, 203, 0.40);
}

.progress-step.is-active .progress-step-dot {
  background: var(--surface-0);
  border-color: var(--color-teal);
  color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(56, 223, 203, 0.20);
}

.progress-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.progress-step.is-active .progress-step-label,
.progress-step.is-done .progress-step-label {
  color: var(--accent-primary);
}

.progress-bar-linear {
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-linear-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-green));
  border-radius: var(--radius-full);
  transition: width 0.5s var(--spring-smooth);
}


/* ==========================================================================
   21. STICKY CTA BAR (Mobile)
   ========================================================================== */

.cta-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  background: var(--surface-0);
  border-top: 1px solid var(--surface-2);
  padding: var(--space-3) var(--container-padding);
  display: none;
  align-items: center;
  gap: var(--space-3);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 -4px 24px rgba(26, 26, 46, 0.10);
}

[data-theme="dark"] .cta-sticky-bar {
  background: rgba(13, 17, 23, 0.92);
}

.cta-sticky-bar .cta-text {
  flex: 1;
  min-width: 0;
}

.cta-sticky-bar .cta-text-primary {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-sticky-bar .cta-text-secondary {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: none;
}

.cta-sticky-bar .btn {
  flex-shrink: 0;
}


/* ==========================================================================
   22. DARK MODE TOGGLE
   ========================================================================== */

.dark-mode-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    background-color 0.3s var(--spring-smooth),
    border-color 0.3s var(--spring-smooth),
    box-shadow 0.3s var(--spring-smooth);
  padding: 0;
  display: flex;
  align-items: center;
}

.dark-mode-toggle:hover {
  box-shadow: var(--shadow-teal);
}

[data-theme="dark"] .dark-mode-toggle {
  background: rgba(56, 223, 203, 0.20);
  border-color: rgba(56, 223, 203, 0.35);
}

.dark-mode-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-0);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--spring-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

[data-theme="dark"] .dark-mode-toggle-thumb {
  transform: translateX(24px);
}

.dark-mode-toggle-icon-sun  { display: block; }
.dark-mode-toggle-icon-moon { display: none; }

[data-theme="dark"] .dark-mode-toggle-icon-sun  { display: none; }
[data-theme="dark"] .dark-mode-toggle-icon-moon { display: block; }


/* ==========================================================================
   23. SCROLL INDICATOR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--z-nav) + 1);
  background: transparent;
}

.scroll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-green), var(--color-amber));
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.1s linear;
  width: 0%;
}


/* ==========================================================================
   24. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-20) var(--space-8);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 223, 203, 0.40), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 30ch;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.60);
  font-size: 1rem;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform 0.25s var(--spring-bounce);
}

.footer-social-link:hover {
  background: rgba(56, 223, 203, 0.15);
  border-color: rgba(56, 223, 203, 0.35);
  color: var(--color-teal);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

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

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-teal);
  padding-left: var(--space-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
  max-width: none;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-link {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* RODO/KNF Disclaimer */
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.65;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: none;
}


/* ==========================================================================
   25. COOKIE CONSENT BAR
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  z-index: calc(var(--z-overlay) + 10);
  width: calc(100% - var(--space-8));
  max-width: 900px;
  background: var(--surface-0);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  transition: transform 0.5s var(--spring-bounce), opacity 0.5s var(--spring-smooth);
  opacity: 0;
}

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

[data-theme="dark"] .cookie-consent {
  background: var(--surface-1);
  border-color: var(--surface-3);
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.cookie-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: none;
}

.cookie-desc a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}


/* ==========================================================================
   26. MICRO-INTERACTIONS & SPRING PHYSICS
   ========================================================================== */

/* Shimmer loading effect */
@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 1000px 100%;
  animation: shimmer 1.8s infinite linear;
  border-radius: var(--radius-sm);
}

/* Ripple effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  inset: 50%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  transition: 0s;
}

.ripple:active::after {
  inset: -50%;
  transform: scale(1);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Hover card lift — generic */
.hover-lift {
  transition: transform 0.3s var(--spring-bounce), box-shadow 0.3s var(--spring-smooth);
}

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

/* Icon spin on hover */
.hover-spin:hover {
  animation: spin-once 0.5s var(--spring-smooth);
}

@keyframes spin-once {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Number counter animation */
@keyframes count-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.count-up-anim {
  animation: count-up 0.5s var(--spring-bounce) both;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text-animated {
  background: linear-gradient(
    135deg,
    var(--color-teal),
    var(--color-green),
    var(--color-amber),
    var(--color-teal)
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}


/* ==========================================================================
   27. SCROLL-TRIGGERED ANIMATIONS
   ========================================================================== */

@keyframes fade-slide-up {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-slide-left {
  0%   { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fade-slide-right {
  0%   { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fade-scale-in {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.animate-on-scroll {
  animation: fade-slide-up 0.65s var(--spring-smooth) both;
  animation-play-state: paused;
}

.animate-on-scroll.is-visible {
  animation-play-state: running;
}

.anim-left {
  animation-name: fade-slide-left;
}

.anim-right {
  animation-name: fade-slide-right;
}

.anim-scale {
  animation-name: fade-scale-in;
}

.anim-fade {
  animation-name: fade-in;
}

/* Staggered delays */
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }
.delay-6 { animation-delay: 600ms; }

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-mesh-bg {
    animation: none;
  }

  .animate-on-scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Section header common pattern */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-header .overline {
  margin-bottom: var(--space-3);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.section-header .lead {
  margin-inline: auto;
}


/* ==========================================================================
   28. RESPONSIVE — TABLET (768px)
   ========================================================================== */

@media (max-width: 768px) {

  /* Navigation */
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding-inline: var(--space-4);
    text-align: center;
  }

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

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

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "lg lg"
      "md md2"
      "wide wide"
      "sm1 sm2"
      "sm3 sm3";
  }

  .bento-lg {
    grid-column: span 2;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats-grid {
    gap: var(--space-6);
  }

  .stat-divider {
    display: none;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  /* Calculator */
  .calculator-widget {
    padding: var(--space-8) var(--space-6);
  }

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

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }

  /* Trust badges — horizontal scroll */
  .trust-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trust-badges::-webkit-scrollbar {
    display: none;
  }

  /* Grids */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Cookie */
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    bottom: var(--space-2);
    width: calc(100% - var(--space-4));
    padding: var(--space-5) var(--space-6);
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  /* Toast */
  .toast-container {
    left: var(--space-4);
    right: var(--space-4);
    bottom: calc(80px + var(--space-4));
  }

  .notification-toast {
    max-width: none;
  }
}


/* ==========================================================================
   29. RESPONSIVE — MOBILE (480px)
   ========================================================================== */

@media (max-width: 480px) {

  /* Base */
  :root {
    --container-padding: 1rem;
  }

  /* Nav */
  .nav-actions .btn:not(.btn-primary) {
    display: none;
  }

  /* Hero */
  .hero-content {
    padding-inline: var(--space-2);
  }

  .hero-social-proof {
    flex-direction: column;
    gap: var(--space-3);
  }

  /* Bento grid */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .bento-lg,
  .bento-wide {
    grid-column: span 1;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Stats strip */
  .stats-grid {
    flex-direction: column;
    gap: var(--space-6);
  }

  .stat-card {
    min-width: auto;
    width: 100%;
  }

  /* Buttons — ensure min touch target */
  .btn {
    min-height: 48px;
    padding-inline: var(--space-5);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  /* Calculator */
  .calculator-widget {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
  }

  .calculator-result {
    flex-direction: column;
    text-align: center;
  }

  /* Progress bar labels */
  .progress-step-label {
    display: none;
  }

  /* Show sticky CTA */
  .cta-sticky-bar {
    display: flex;
  }

  /* FAQ */
  .faq-trigger {
    padding: var(--space-4) var(--space-4);
  }

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

  /* Glass card padding */
  .glass-card-inner {
    padding: var(--space-6);
  }

  /* Section header */
  .section-header {
    margin-bottom: var(--space-8);
  }

  /* Toast — bottom of screen above sticky bar */
  .toast-container {
    bottom: calc(76px + var(--space-4));
    left: var(--space-3);
    right: var(--space-3);
  }
}


/* ==========================================================================
   30. PRINT STYLES
   ========================================================================== */

@media print {
  /* Reset colors for print */
  :root {
    --text-primary:   #000000;
    --text-secondary: #333333;
    --text-muted:     #666666;
    --surface-0:      #ffffff;
    --surface-1:      #f5f5f5;
    --surface-2:      #eeeeee;
  }

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* Show page URL */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555 !important;
  }

  /* Don't show internal/js links */
  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  /* Page layout */
  body {
    font-size: 12pt;
    line-height: 1.5;
    max-width: 100%;
  }

  h1 { font-size: 22pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 14pt; }

  /* Hide non-essential elements */
  .site-header,
  .site-footer .footer-social,
  .cta-sticky-bar,
  .dark-mode-toggle,
  .cookie-consent,
  .toast-container,
  .scroll-progress,
  .scroll-indicator,
  .mobile-menu-toggle,
  .btn-primary,
  .btn-cta,
  .hero-mesh-bg,
  .hero-actions,
  nav {
    display: none !important;
  }

  /* Keep footer info */
  .site-footer {
    background: #fff !important;
    color: #000 !important;
    padding: 1cm 0 0;
    border-top: 1px solid #ccc;
  }

  .footer-link,
  .footer-copyright,
  .footer-legal-link,
  .footer-tagline {
    color: #333 !important;
  }

  /* Avoid breaks */
  h2, h3 {
    page-break-after: avoid;
  }

  .service-card,
  .step-card,
  .faq-item,
  .testimonial-card {
    page-break-inside: avoid;
    border: 1px solid #ddd !important;
    margin-bottom: 1em;
    padding: 0.75em;
  }

  /* Print grids as single column */
  .bento-grid,
  .services-grid,
  .testimonials-grid,
  .steps-grid,
  .grid-2,
  .grid-3,
  .footer-top {
    display: block !important;
  }

  .stats-grid {
    display: flex !important;
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: 120px;
    flex: 1;
  }

  /* Glassmorphism as simple box */
  .glass-card {
    border: 1px solid #ddd !important;
    background: #fafafa !important;
    backdrop-filter: none !important;
  }

  /* Calculator result */
  .calculator-result {
    border: 2px solid #000 !important;
    background: #f0f0f0 !important;
  }

  /* Page break helpers */
  .page-break-before { page-break-before: always; }
  .page-break-after  { page-break-after: always; }
  .no-page-break     { page-break-inside: avoid; }

  /* Margins */
  @page {
    margin: 2cm;
  }

  @page :first {
    margin-top: 1cm;
  }
}
