/**
* Template Name: BIZOORG 2026
* Design System: Dark-First Tactile Tech
* Compatible: .NET 4.8 WebForms, Bootstrap 5
* Year: 2026
*/

/* ───────────────────────────────────────────
   DESIGN TOKENS (CSS Custom Properties)
   ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1e293b;
  --bg-card: #111827;
  --bg-input: #0f172a;

  /* Accents */
  --accent-primary: #06b6d4;
  --accent-secondary: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.15);
  --accent-glow-strong: rgba(6, 182, 212, 0.3);

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0e17;

  /* Borders */
  --border: #1e293b;
  --border-light: #334155;
  --border-accent: #06b6d4;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --container-max: 1280px;
  --header-height: 72px;
  --header-height-scrolled: 64px;
}

/* Light mode override (optional - respects prefers-color-scheme) */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --border: #e2e8f0;
    --border-light: #cbd5e1;
  }
}

/* ───────────────────────────────────────────
   RESET & BASE
   ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

::selection {
  background: var(--accent-primary);
  color: var(--text-inverse);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ───────────────────────────────────────────
   TYPOGRAPHY
   ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

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

a:hover, a:active, a:focus {
  color: var(--accent-secondary);
  outline: none;
}

/* ───────────────────────────────────────────
   UTILITIES
   ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h3 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-header h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

/* ───────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px var(--accent-glow-strong);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-ghost:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
}

/* ───────────────────────────────────────────
   BACK TO TOP
   ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 24px;
  bottom: 24px;
  z-index: 996;
  background: var(--accent-primary);
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid var(--accent-primary);
  cursor: pointer;
}

.back-to-top i {
  font-size: 24px;
  color: var(--text-inverse);
  line-height: 1;
}

.back-to-top:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ───────────────────────────────────────────
   HEADER & NAVIGATION
   ─────────────────────────────────────────── */
#header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 997;
  transition: all var(--transition-base);
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

#header.header-scrolled {
  height: var(--header-height-scrolled);
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

#header .logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

#header .logo img {
  max-height: 48px;
  width: auto;
  filter: brightness(1.2);
}

/* Desktop Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--accent-primary);
  background: var(--accent-glow);
}

/* Dropdown */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  margin: 0;
  padding: 0.5rem 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition-fast);
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  text-transform: none;
  color: var(--text-secondary);
  border-radius: 0;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 20px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  background: none;
  border: none;
  padding: 0.5rem;
}

.mobile-nav-toggle.bi-x {
  color: var(--text-primary);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

/* Mobile Menu */
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 70px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 1rem 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 0.5rem 1.5rem;
  padding: 0.5rem 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.navbar-mobile .dropdown ul a {
  padding: 0.75rem 1rem;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* ───────────────────────────────────────────
   HERO SECTION
   ─────────────────────────────────────────── */
#hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-lg);
  background: var(--bg-primary);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

#hero .hero-info h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

#hero .hero-info h2 span {
  color: var(--accent-primary);
  position: relative;
}

#hero .hero-info h2 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-primary);
}

#hero .hero-info .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: 500px;
}

#hero .hero-info .btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

#hero .hero-img {
  position: relative;
}

#hero .hero-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(6, 182, 212, 0.15));
}

@media (max-width: 991px) {
  #hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #hero .hero-info .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  #hero .hero-info .btn-group {
    justify-content: center;
  }
  #hero .hero-img {
    order: -1;
  }
  #hero .hero-img img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 767px) {
  #hero {
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-md);
  }
  #hero .hero-info h2 {
    font-size: 2.5rem;
  }
}

/* ───────────────────────────────────────────
   SECTIONS GENERAL
   ─────────────────────────────────────────── */
section {
  overflow: hidden;
  position: relative;
}

.section-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ───────────────────────────────────────────
   BREADCRUMBS
   ─────────────────────────────────────────── */
.breadcrumbs {
  padding: var(--space-sm) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  min-height: 40px;
  margin-top: var(--header-height);
}

.breadcrumbs h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.breadcrumbs ol li + li {
  padding-left: 0.5rem;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: var(--text-muted);
  content: "/";
}

.breadcrumbs ol li a {
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/* ───────────────────────────────────────────
   ABOUT SECTION
   ─────────────────────────────────────────── */
#about {
  background: var(--bg-primary);
  padding: var(--space-xl) 0;
}

#about .about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

#about .about-container .content {
  background: transparent;
}

#about .about-container .title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

#about .about-container p {
  line-height: 1.8;
  color: var(--text-secondary);
}

#about .about-container .icon-box {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

#about .about-container .icon-box:last-child {
  border-bottom: none;
}

#about .about-container .icon-box .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--accent-primary);
  background: var(--accent-glow);
  transition: all var(--transition-base);
}

#about .about-container .icon-box .icon i {
  color: var(--accent-primary);
  font-size: 24px;
  line-height: 1;
}

#about .about-container .icon-box:hover .icon {
  background: var(--accent-primary);
}

#about .about-container .icon-box:hover .icon i {
  color: var(--text-inverse);
}

#about .about-container .icon-box .title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  color: var(--text-primary);
}

#about .about-container .icon-box .title a {
  color: var(--text-primary);
}

#about .about-container .icon-box .title a:hover {
  color: var(--accent-primary);
}

#about .about-container .icon-box .description {
  line-height: 1.6;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

#about .about-extra {
  padding-top: var(--space-xl);
}

#about .about-extra h4 {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

#about .about-extra p {
  color: var(--text-secondary);
  line-height: 1.8;
}

#about .about-extra img {
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 991px) {
  #about .about-container {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   SERVICES SECTION
   ─────────────────────────────────────────── */
#services {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

#services .box {
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition-base);
}

#services .box:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-primary);
}

#services .box .icon {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

#services .box:hover .icon {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
}

#services .box .icon i {
  font-size: 28px;
  line-height: 1;
}

#services .title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: var(--text-primary);
}

#services .title a {
  color: var(--text-primary);
}

#services .title a:hover {
  color: var(--accent-primary);
}

#services .box:hover .title a {
  color: var(--accent-primary);
}

#services .description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ───────────────────────────────────────────
   WHY US SECTION
   ─────────────────────────────────────────── */
#why-us {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
  position: relative;
}

#why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

#why-us .section-header h3,
#why-us .section-header p {
  color: var(--text-primary);
}

#why-us .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

#why-us .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-md);
  text-align: center;
  color: var(--text-primary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#why-us .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

#why-us .card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#why-us .card:hover::before {
  transform: scaleX(1);
}

#why-us .card i {
  font-size: 48px;
  padding-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--accent-primary);
  display: block;
}

#why-us .card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

#why-us .card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

#why-us .card .readmore {
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-block;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#why-us .card .readmore:hover {
  border-bottom-color: var(--accent-primary);
}

#why-us .counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

#why-us .counters .counter-item {
  text-align: center;
  padding: var(--space-md);
}

#why-us .counters span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  display: block;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

#why-us .counters p {
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 991px) {
  #why-us .cards-grid {
    grid-template-columns: 1fr;
  }
  #why-us .counters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  #why-us .counters {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   PORTFOLIO SECTION
   ─────────────────────────────────────────── */
#portfolio {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  list-style: none;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  background: transparent;
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-inverse);
}

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

#portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition-base);
}

#portfolio .portfolio-item:hover {
  border-color: var(--accent-primary);
}

#portfolio .portfolio-item .portfolio-wrap {
  overflow: hidden;
  position: relative;
  margin: 0;
}

#portfolio .portfolio-item .portfolio-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-base);
}

#portfolio .portfolio-item .portfolio-wrap:hover img {
  opacity: 0.3;
  transform: scale(1.05);
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: var(--space-md);
}

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a {
  color: var(--text-primary);
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover {
  color: var(--accent-primary);
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
  padding: 0;
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-primary);
  border-radius: 4px;
  margin: 0 0.25rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--accent-primary);
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
  font-size: 20px;
  color: var(--text-inverse);
  line-height: 1;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 15px var(--accent-glow-strong);
}

@media (max-width: 991px) {
  #portfolio .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  #portfolio .portfolio-container {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   PORTFOLIO DETAILS
   ─────────────────────────────────────────── */
.portfolio-details {
  padding-top: var(--space-lg);
  background: var(--bg-primary);
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--bg-tertiary);
  opacity: 1;
  border: 1px solid var(--accent-primary);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-primary);
}

.portfolio-details .portfolio-info {
  padding: var(--space-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.portfolio-details .portfolio-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.portfolio-details .portfolio-description {
  padding-top: var(--space-md);
}

.portfolio-details .portfolio-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: var(--text-secondary);
}

/* ───────────────────────────────────────────
   TESTIMONIALS SECTION
   ─────────────────────────────────────────── */
#testimonials {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
}

#testimonials .section-header {
  margin-bottom: var(--space-lg);
}

#testimonials .testimonial-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-md);
  position: relative;
}

#testimonials .testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  float: left;
  margin-right: var(--space-md);
}

#testimonials .testimonial-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
}

#testimonials .testimonial-item h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

#testimonials .testimonial-item p {
  font-style: italic;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

#testimonials .testimonial-item::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--accent-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

@media (max-width: 767px) {
  #testimonials .testimonial-item {
    text-align: center;
  }
  #testimonials .testimonial-item .testimonial-img {
    float: none;
    margin: 0 auto var(--space-sm);
  }
  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    margin-left: 0;
  }
}

#testimonials .swiper-pagination {
  margin-top: var(--space-md);
  position: relative;
}

#testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--bg-tertiary);
  opacity: 1;
  border: 1px solid var(--accent-primary);
}

#testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-primary);
}

/* ───────────────────────────────────────────
   TEAM SECTION
   ─────────────────────────────────────────── */
#team {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#team .member {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
}

#team .member img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

#team .member:hover img {
  transform: scale(1.05);
}

#team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: all var(--transition-base);
  background: rgba(6, 182, 212, 0.9);
  backdrop-filter: blur(4px);
}

#team .member:hover .member-info {
  opacity: 1;
}

#team .member .member-info-content {
  margin-top: 0;
  transition: all var(--transition-base);
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  color: var(--text-inverse);
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 0.875rem;
  color: var(--text-inverse);
  opacity: 0.9;
}

#team .member .social {
  margin-top: 1rem;
}

#team .member .social a {
  transition: all var(--transition-fast);
  color: var(--text-inverse);
  display: inline-block;
  padding: 0.5rem;
}

#team .member .social a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

#team .member .social i {
  font-size: 20px;
}

/* ───────────────────────────────────────────
   CLIENTS SECTION
   ─────────────────────────────────────────── */
#clients {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
}

#clients .clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

#clients .client-logo {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  height: 160px;
  transition: all var(--transition-base);
}

#clients .client-logo:nth-child(4n) {
  border-right: none;
}

#clients .client-logo:hover {
  background: var(--bg-tertiary);
}

#clients .client-logo:hover img {
  transform: scale(1.1);
  filter: grayscale(0) brightness(1);
}

#clients img {
  transition: all var(--transition-base);
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.8);
}

@media (max-width: 991px) {
  #clients .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #clients .client-logo:nth-child(4n) {
    border-right: 1px solid var(--border);
  }
  #clients .client-logo:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  #clients .clients-grid {
    grid-template-columns: 1fr;
  }
  #clients .client-logo {
    border-right: none !important;
  }
}

/* ───────────────────────────────────────────
   CONTACT SECTION
   ─────────────────────────────────────────── */
#contact {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#contact .section-header {
  padding-bottom: var(--space-md);
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

#contact .map {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

#contact .map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
}

#contact .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

#contact .info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
}

#contact .info:hover {
  border-color: var(--accent-primary);
}

#contact .info i {
  font-size: 28px;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.75rem;
}

#contact .info p {
  padding: 0;
  margin: 0;
  line-height: 1.5;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

#contact .contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-md);
}

#contact .contact-form .form-group {
  margin-bottom: var(--space-sm);
}

#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color: var(--text-muted);
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

#contact .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

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

#contact .contact-form .error-message {
  display: none;
  color: var(--text-primary);
  background: #dc2626;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

#contact .contact-form .sent-message {
  display: none;
  color: var(--text-primary);
  background: #16a34a;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

#contact .contact-form .loading {
  display: none;
  background: var(--bg-card);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

#contact .contact-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-primary);
  border-top-color: transparent;
  animation: animate-loading 1s linear infinite;
}

#contact .contact-form button[type=submit],
#contact .contact-form .btn-submit {
  background: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  padding: 0.875rem 2rem;
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  cursor: pointer;
  width: 100%;
}

#contact .contact-form button[type=submit]:hover,
#contact .contact-form .btn-submit:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

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

@media (max-width: 991px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }
  #contact .contact-info {
    grid-template-columns: 1fr;
  }
  #contact .map {
    min-height: 300px;
  }
}

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

/* ───────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────── */
#footer {
  background: var(--bg-primary);
  padding: 0 0 var(--space-md) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  border-top: 1px solid var(--border);
}

#footer .footer-top {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0 var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

#footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: var(--space-lg);
}

#footer .footer-info h3 {
  font-size: 1.5rem;
  margin: 0 0 var(--space-sm) 0;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#footer .footer-info p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

#footer .social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 4px;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: all var(--transition-fast);
  border: 1px solid var(--border);
}

#footer .social-links a:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

#footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

#footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
}

#footer .footer-links {
  margin-bottom: var(--space-md);
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

#footer .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-links ul a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

#footer .footer-links ul a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

#footer .footer-contact p {
  line-height: 1.8;
  color: var(--text-secondary);
}

#footer .footer-contact strong {
  color: var(--text-primary);
  font-weight: 600;
}

#footer .footer-newsletter p {
  margin-bottom: var(--space-sm);
}

#footer .footer-newsletter input[type=email] {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  width: 65%;
  background: var(--bg-input);
  color: var(--text-primary);
  border-radius: 4px 0 0 4px;
  font-family: var(--font-body);
}

#footer .footer-newsletter input[type=email]::placeholder {
  color: var(--text-muted);
}

#footer .footer-newsletter input[type=email]:focus {
  outline: none;
  border-color: var(--accent-primary);
}

#footer .footer-newsletter input[type=submit] {
  background: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  width: 35%;
  padding: 0.75rem 0;
  text-align: center;
  color: var(--text-inverse);
  transition: all var(--transition-fast);
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#footer .footer-newsletter input[type=submit]:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

#footer .footer-newsletter video {
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-top: var(--space-sm);
  width: 100%;
  max-width: 280px;
}

#footer .copyright {
  text-align: center;
  padding-top: var(--space-md);
  color: var(--text-muted);
  font-size: 0.875rem;
}

#footer .credits {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

#footer .credits a {
  color: var(--accent-primary);
}

#footer .credits a:hover {
  color: var(--accent-secondary);
}

@media (max-width: 991px) {
  #footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ───────────────────────────────────────────
   COOKIE BANNER (2026 Style)
   ─────────────────────────────────────────── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  color: var(--text-primary);
  text-align: center;
  padding: var(--space-md);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

#cookie-banner p {
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#cookie-banner a {
  color: var(--accent-primary);
  text-decoration: underline;
  font-weight: 500;
}

#cookie-banner a:hover {
  color: var(--accent-secondary);
}

#cookie-banner .cookie-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

#cookie-banner button {
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

#accetta-consenso {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-color: var(--accent-primary) !important;
}

#accetta-consenso:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary) !important;
  box-shadow: 0 0 15px var(--accent-glow-strong);
}

#rifiuta-consenso {
  background: transparent;
  color: var(--text-secondary);
}

#rifiuta-consenso:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-light) !important;
}

/* ───────────────────────────────────────────
   ANIMATIONS & EFFECTS
   ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px var(--accent-glow); }
  50% { box-shadow: 0 0 20px var(--accent-glow-strong); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* ───────────────────────────────────────────
   RESPONSIVE UTILITIES
   ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .section-padding {
    padding: var(--space-lg) 0;
  }
  .container {
    padding: 0 var(--space-sm);
  }
}

@media (max-width: 767px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2rem;
  }
}

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

/* Focus visible styles */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: var(--text-inverse);
  padding: 8px 16px;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: #475569;
    --text-secondary: #cbd5e1;
  }
}
