/* ==========================================================================
   VALHEIM BYGG AS - Arctic Craft Design System
   Premium painting & glazing services in Tromsø

   Design Philosophy: "Aurora Forge" - Where Norse strength meets Arctic light
   Inspired by the contrast of midnight sun against polar night, ancient
   rune stones against modern glass, the warmth of craftsman hands against
   the cold Arctic wind.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties - The Forge
   -------------------------------------------------------------------------- */
:root {
  /* Primary - Polar Night */
  --night-950: #080B0E;
  --night-900: #0D1117;
  --night-800: #151B23;
  --night-700: #1F2937;
  --night-600: #2D3A4A;

  /* Secondary - Fjord Teal */
  --fjord-600: #0D9488;
  --fjord-500: #14B8A6;
  --fjord-400: #2DD4BF;
  --fjord-300: #5EEAD4;
  --fjord-200: #99F6E4;

  /* Accent - Aurora Gold */
  --aurora-600: #B8860B;
  --aurora-500: #D4A035;
  --aurora-400: #E8B94A;
  --aurora-300: #F5CF6B;
  --aurora-glow: rgba(212, 160, 53, 0.3);

  /* Neutrals - Arctic Frost */
  --frost-50: #FAFBFC;
  --frost-100: #F3F5F7;
  --frost-200: #E5E9ED;
  --frost-300: #CED4DA;
  --frost-400: #8B95A1;
  --frost-500: #5C6672;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Typography Scale */
  --font-display: 'Cinzel', serif;
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Karla', sans-serif;

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

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px var(--aurora-glow);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--night-800);
  background-color: var(--frost-50);
  overflow-x: hidden;
}

/* Grain texture overlay for atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1, .h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fjord-500);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.overline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aurora-500);
}

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

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

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

.section--dark {
  background-color: var(--night-900);
  color: var(--frost-100);
}

.section--frost {
  background-color: var(--frost-100);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--duration-normal) var(--ease-out-expo),
              backdrop-filter var(--duration-normal) var(--ease-out-expo);
}

.header--scrolled {
  background-color: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo__icon {
  width: 44px;
  height: 44px;
}

.logo__icon svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--frost-50);
}

.logo__text span {
  color: var(--aurora-400);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
  }
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--frost-200);
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-500), var(--fjord-400));
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--frost-50);
}

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

.nav__link--active {
  color: var(--frost-50);
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: block;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: var(--frost-50);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast) var(--ease-out-expo);
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--night-900) 0%, var(--night-950) 100%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              visibility var(--duration-slow) var(--ease-out-expo);
}

.mobile-menu--active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frost-200);
  transition: color var(--duration-fast) var(--ease-out-expo);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu--active .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo),
              color var(--duration-fast) var(--ease-out-expo);
}

.mobile-menu--active .mobile-menu__link:nth-child(1) { transition-delay: 100ms; }
.mobile-menu--active .mobile-menu__link:nth-child(2) { transition-delay: 150ms; }
.mobile-menu--active .mobile-menu__link:nth-child(3) { transition-delay: 200ms; }
.mobile-menu--active .mobile-menu__link:nth-child(4) { transition-delay: 250ms; }
.mobile-menu--active .mobile-menu__link:nth-child(5) { transition-delay: 300ms; }

.mobile-menu__link:hover {
  color: var(--aurora-400);
}

.mobile-menu__cta {
  margin-top: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu--active .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-out-expo) 350ms,
              transform var(--duration-slow) var(--ease-out-expo) 350ms;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--aurora-500) 0%, var(--aurora-600) 100%);
  color: var(--night-950);
  box-shadow: 0 4px 14px rgba(212, 160, 53, 0.3);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--duration-slow) var(--ease-out-expo);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 53, 0.4);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--secondary {
  background: transparent;
  color: var(--frost-100);
  border: 1px solid var(--frost-400);
}

.btn--secondary:hover {
  background: var(--frost-100);
  color: var(--night-900);
  border-color: var(--frost-100);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--frost-100);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 0.9375rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--night-950);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 14, 0.7) 0%,
    rgba(8, 11, 14, 0.4) 50%,
    rgba(8, 11, 14, 0.9) 100%
  );
}

/* Aurora effect */
.hero__aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(20, 184, 166, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(212, 160, 53, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 50% 10%, rgba(45, 212, 191, 0.08), transparent);
  animation: aurora 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aurora {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-20px);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
}

.hero__overline {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__overline::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--aurora-500);
}

.hero__title {
  color: var(--frost-50);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--aurora-400) 0%, var(--fjord-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.25rem;
  color: var(--frost-300);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1s forwards;
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--aurora-400);
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--frost-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--frost-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--aurora-500), transparent);
  animation: scrollLine 2s var(--ease-in-out-expo) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

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

/* --------------------------------------------------------------------------
   Services Preview Section
   -------------------------------------------------------------------------- */
.services-preview {
  position: relative;
  padding: var(--space-5xl) 0;
  background-color: var(--frost-50);
}

.services-preview__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.services-preview__title {
  margin-bottom: var(--space-lg);
}

.services-preview__description {
  color: var(--frost-500);
  font-size: 1.125rem;
}

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

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

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

.service-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--fjord-500), var(--aurora-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--night-800), var(--night-700));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--aurora-400);
}

.service-card__title {
  margin-bottom: var(--space-md);
  color: var(--night-800);
}

.service-card__description {
  color: var(--frost-500);
  margin-bottom: var(--space-lg);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fjord-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service-card:hover .service-card__link {
  color: var(--aurora-600);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Feature service cards (larger, 2 column) */
.services-grid--featured {
  grid-template-columns: 1fr;
}

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

.service-card--featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: var(--space-2xl);
}

@media (min-width: 640px) {
  .service-card--featured {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-3xl);
  }
}

.service-card--featured .service-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-card--featured .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-card--featured:hover .service-card__image img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-us {
  position: relative;
  background-color: var(--night-900);
  color: var(--frost-100);
  overflow: hidden;
}

.why-us__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.1;
  background:
    radial-gradient(circle at 70% 30%, var(--fjord-500), transparent 50%),
    radial-gradient(circle at 30% 70%, var(--aurora-500), transparent 50%);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .why-us__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-us__content {
  position: relative;
  z-index: 1;
}

.why-us__subtitle {
  margin-bottom: var(--space-md);
}

.why-us__title {
  margin-bottom: var(--space-xl);
}

.why-us__description {
  color: var(--frost-300);
  margin-bottom: var(--space-2xl);
  font-size: 1.125rem;
}

.why-us__features {
  display: grid;
  gap: var(--space-xl);
}

.feature {
  display: flex;
  gap: var(--space-lg);
}

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  color: var(--aurora-400);
}

.feature__title {
  margin-bottom: var(--space-xs);
  color: var(--frost-50);
}

.feature__text {
  color: var(--frost-400);
  font-size: 0.9375rem;
}

.why-us__image {
  position: relative;
  z-index: 1;
}

.why-us__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us__image-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--aurora-500), var(--fjord-500));
  border-radius: inherit;
  z-index: -1;
}

.why-us__image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Badge floating */
.why-us__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--aurora-500);
  color: var(--night-950);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .why-us__badge {
    bottom: -10px;
    right: 10px;
  }
}

.why-us__badge-value {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.why-us__badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Service Area Section
   -------------------------------------------------------------------------- */
.service-area {
  position: relative;
  background: linear-gradient(180deg, var(--frost-100) 0%, var(--frost-50) 100%);
}

.service-area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .service-area__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-area__map {
  position: relative;
  background: var(--night-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-area__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.service-area__map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 17, 23, 0.8) 100%);
}

.service-area__map-label {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  color: var(--frost-50);
}

.service-area__map-label h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.service-area__map-label p {
  font-size: 0.875rem;
  color: var(--frost-300);
}

.service-area__content {
  position: relative;
}

.service-area__title {
  margin-bottom: var(--space-lg);
}

.service-area__description {
  color: var(--frost-500);
  margin-bottom: var(--space-2xl);
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.areas-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--night-700);
}

.areas-list__item svg {
  width: 18px;
  height: 18px;
  color: var(--fjord-500);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--night-900);
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(212, 160, 53, 0.1), transparent),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 184, 166, 0.08), transparent);
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-4xl) 0;
}

.cta__title {
  color: var(--frost-50);
  margin-bottom: var(--space-lg);
}

.cta__description {
  color: var(--frost-300);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.cta__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--frost-300);
}

.cta__contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--aurora-400);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--night-950);
  color: var(--frost-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

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

.footer__brand {
  max-width: 300px;
}

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

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.footer__social-link:hover {
  background: var(--aurora-500);
  color: var(--night-950);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__column h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--frost-50);
  margin-bottom: var(--space-lg);
}

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

.footer__link {
  font-size: 0.9375rem;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.footer__link:hover {
  color: var(--aurora-400);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--fjord-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.footer__legal a:hover {
  color: var(--aurora-400);
}

/* --------------------------------------------------------------------------
   Page Headers (for inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--night-900);
  color: var(--frost-50);
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 11, 14, 0.7) 0%, var(--night-900) 100%);
}

.page-header__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
  color: var(--frost-400);
}

.page-header__breadcrumb a {
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.page-header__breadcrumb a:hover {
  color: var(--aurora-400);
}

.page-header__breadcrumb svg {
  width: 16px;
  height: 16px;
}

.page-header__title {
  margin-bottom: var(--space-lg);
}

.page-header__description {
  color: var(--frost-300);
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Services Page - Detailed Services
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--space-5xl) 0;
}

.services-section:nth-child(even) {
  background: var(--frost-100);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail--reverse {
    direction: rtl;
  }

  .service-detail--reverse > * {
    direction: ltr;
  }
}

.service-detail__content {
  max-width: 540px;
}

.service-detail__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--night-800), var(--night-700));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.service-detail__icon svg {
  width: 32px;
  height: 32px;
  color: var(--aurora-400);
}

.service-detail__title {
  margin-bottom: var(--space-lg);
}

.service-detail__description {
  color: var(--frost-500);
  margin-bottom: var(--space-xl);
}

.service-detail__list {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

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

.service-detail__list-item svg {
  width: 20px;
  height: 20px;
  color: var(--fjord-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-detail__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
  }
}

.about-intro__image {
  position: relative;
}

.about-intro__image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-intro__image-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-intro__image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
}

@media (max-width: 1024px) {
  .about-intro__image-accent {
    display: none;
  }
}

.about-intro__image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__content {
  max-width: 540px;
}

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

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

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

.value-card {
  text-align: center;
  padding: var(--space-2xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

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

.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--fjord-500), var(--fjord-600));
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.value-card__title {
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: 0.9375rem;
  color: var(--frost-500);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--frost-300);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline__item {
  position: relative;
  padding-left: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .timeline__item {
    width: 50%;
    padding-left: 0;
    padding-right: var(--space-2xl);
  }

  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-2xl);
    padding-right: 0;
  }
}

.timeline__marker {
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--aurora-500);
  border-radius: var(--radius-full);
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .timeline__marker {
    left: auto;
    right: -7px;
  }

  .timeline__item:nth-child(even) .timeline__marker {
    right: auto;
    left: -7px;
  }
}

.timeline__date {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aurora-600);
  margin-bottom: var(--space-sm);
}

.timeline__title {
  margin-bottom: var(--space-sm);
}

.timeline__text {
  color: var(--frost-500);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Projects Page - Gallery
   -------------------------------------------------------------------------- */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--frost-500);
  background: transparent;
  border: 1px solid var(--frost-300);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--night-800);
  border-color: var(--night-800);
  color: var(--frost-50);
}

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

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

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

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 11, 14, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.project-card:hover .project-card__image {
  transform: scale(1.1);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aurora-400);
  margin-bottom: var(--space-xs);
}

.project-card__title {
  color: var(--frost-50);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.project-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--frost-400);
  font-size: 0.875rem;
}

.project-card__location svg {
  width: 14px;
  height: 14px;
}

/* Featured project (spans 2 columns) */
.project-card--featured {
  aspect-ratio: 16/9;
}

@media (min-width: 640px) {
  .project-card--featured {
    grid-column: span 2;
  }
}

/* Empty state */
.projects-empty {
  text-align: center;
  padding: var(--space-4xl);
  background: var(--frost-100);
  border-radius: var(--radius-lg);
}

.projects-empty__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frost-200);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-xl);
}

.projects-empty__icon svg {
  width: 40px;
  height: 40px;
  color: var(--frost-400);
}

.projects-empty__title {
  margin-bottom: var(--space-md);
}

.projects-empty__text {
  color: var(--frost-500);
  max-width: 400px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--night-800), var(--night-700));
  border-radius: var(--radius-md);
}

.contact-info__icon svg {
  width: 24px;
  height: 24px;
  color: var(--aurora-400);
}

.contact-info__label {
  font-size: 0.875rem;
  color: var(--frost-500);
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-weight: 500;
  color: var(--night-800);
}

.contact-info__value a {
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.contact-info__value a:hover {
  color: var(--fjord-600);
}

.contact-hours {
  background: var(--frost-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-hours__title {
  margin-bottom: var(--space-lg);
}

.contact-hours__list {
  display: grid;
  gap: var(--space-md);
}

.contact-hours__item {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--frost-200);
}

.contact-hours__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-hours__day {
  color: var(--night-700);
}

.contact-hours__time {
  font-weight: 500;
  color: var(--night-800);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form__title {
  margin-bottom: var(--space-xl);
}

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

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

  .form-grid--full {
    grid-column: span 2;
  }
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--night-700);
}

.form-label--required::after {
  content: ' *';
  color: var(--error);
}

.form-input,
.form-textarea,
.form-select {
  padding: var(--space-md) var(--space-lg);
  background: var(--frost-50);
  border: 1px solid var(--frost-300);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--fjord-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--frost-400);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C6672' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-2xl);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--fjord-500);
  cursor: pointer;
}

.form-checkbox__label {
  font-size: 0.9375rem;
  color: var(--frost-500);
}

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

/* Form states */
.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--error);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
}

.form-success {
  padding: var(--space-xl);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  text-align: center;
}

.form-success__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.form-success__title {
  color: var(--night-800);
  margin-bottom: var(--space-sm);
}

.form-success__text {
  color: var(--frost-500);
}

/* Map */
.contact-map {
  margin-top: var(--space-4xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mt-4xl { margin-top: var(--space-4xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

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

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 100ms; }
.fade-in-delay-2 { transition-delay: 200ms; }
.fade-in-delay-3 { transition-delay: 300ms; }
.fade-in-delay-4 { transition-delay: 400ms; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Scrollbar Styling
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--frost-100);
}

::-webkit-scrollbar-thumb {
  background: var(--frost-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--frost-500);
}

/* --------------------------------------------------------------------------
   Selection
   -------------------------------------------------------------------------- */
::selection {
  background: var(--aurora-500);
  color: var(--night-950);
}

::-moz-selection {
  background: var(--aurora-500);
  color: var(--night-950);
}
