/* ═══════════════════════════════════════════════════════════
   KORTSCHAK SCHRIFTEN GMBH — Onepager Stylesheet
   Art Direction: Bold, precise, craftsmanlike-professional
   Dark base with strong red/orange accent
   ═══════════════════════════════════════════════════════════ */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection { background: oklch(from var(--color-accent) l c h / 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }

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

a, button, [role='button'], [role='link'], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              opacity var(--transition-interactive),
              transform var(--transition-interactive);
}

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

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


/* ── DESIGN TOKENS ── */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

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

  /* Fonts */
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}


/* ── DARK MODE (DEFAULT) ── */
:root, [data-theme='dark'] {
  --color-bg: #0e0d0c;
  --color-surface: #161514;
  --color-surface-2: #1e1d1b;
  --color-surface-offset: #1a1918;
  --color-border: #2e2c2a;
  --color-divider: #232221;

  --color-text: #e8e6e3;
  --color-text-muted: #8a8784;
  --color-text-faint: #5a5856;

  /* Accent: Fiery Red-Orange */
  --color-accent: #e63b2e;
  --color-accent-hover: #ff5246;
  --color-accent-active: #c22e22;
  --color-accent-glow: oklch(0.58 0.22 25 / 0.15);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.5);
}


/* ── LIGHT MODE ── */
[data-theme='light'] {
  --color-bg: #f5f3f0;
  --color-surface: #ffffff;
  --color-surface-2: #faf9f7;
  --color-surface-offset: #edeae6;
  --color-border: #d4d1cb;
  --color-divider: #e0ddd8;

  --color-text: #1a1816;
  --color-text-muted: #6b6966;
  --color-text-faint: #a09e9b;

  --color-accent: #c9291d;
  --color-accent-hover: #e63b2e;
  --color-accent-active: #a21f14;
  --color-accent-glow: oklch(0.55 0.2 25 / 0.08);

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.1);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.15);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f5f3f0;
    --color-surface: #ffffff;
    --color-surface-2: #faf9f7;
    --color-surface-offset: #edeae6;
    --color-border: #d4d1cb;
    --color-divider: #e0ddd8;
    --color-text: #1a1816;
    --color-text-muted: #6b6966;
    --color-text-faint: #a09e9b;
    --color-accent: #c9291d;
    --color-accent-hover: #e63b2e;
    --color-accent-active: #a21f14;
    --color-accent-glow: oklch(0.55 0.2 25 / 0.08);
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
    --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.1);
    --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.15);
  }
}


/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}


/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-inline: auto;
}


/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}


/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--color-divider);
  transition: background 0.3s, box-shadow 0.3s;
}

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.logo svg { display: block; }
.site-logo-img {
  display: block;
  width: 320px;
  height: auto;
  max-width: min(56vw, 320px);
}
.logo-dark { display: none; }
[data-theme='dark'] .logo-light { display: none; }
[data-theme='dark'] .logo-dark { display: block; }
.footer-logo-img {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
}

.main-nav ul {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: var(--space-2) var(--space-4) !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-accent-hover) !important; }

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

.theme-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-2); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.08 0.01 40 / 0.7) 0%,
    oklch(0.06 0.01 40 / 0.85) 50%,
    oklch(0.04 0.01 40 / 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-24) var(--space-6) var(--space-16);
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  line-height: 1.05;
}
.hero-title .accent {
  color: var(--color-accent);
  display: block;
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.hero-actions .btn-outline:hover {
  border-color: var(--color-accent);
  color: #fff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.35);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}


/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.section-services {
  background: var(--color-bg);
}

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-5);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════ */
.section-portfolio {
  background: var(--color-surface-offset);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: transparent;
}
.filter-btn:hover { color: var(--color-text); border-color: var(--color-text-muted); }
.filter-btn.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-surface);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, oklch(0.08 0 0 / 0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.portfolio-item:hover figcaption { transform: translateY(0); }

.caption-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}
.caption-client {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Hide filtered items */
.portfolio-item[data-hidden='true'] {
  display: none;
}


/* ═══════════════════════════════════════════════════════════
   PROCESS / ABLAUF
   ═══════════════════════════════════════════════════════════ */
.section-process {
  background: var(--color-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-inline: auto;
}


/* ═══════════════════════════════════════════════════════════
   CONTACT CTA
   ═══════════════════════════════════════════════════════════ */
.section-contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}

.contact-text {
  flex: 1;
}
.contact-text .section-title {
  text-align: left;
  margin-bottom: var(--space-4);
}

.contact-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-bg);
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand { max-width: 340px; }
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.6;
}
.footer-brand a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-brand a:hover {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}


/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.05 0 0 / 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox[hidden] { display: flex; }
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 2rem;
  color: #fff;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  z-index: 201;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  margin-top: var(--space-4);
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .site-logo-img {
    width: 220px;
    max-width: calc(100vw - 136px);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.38);
    background: oklch(from var(--color-bg) l c h / 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: var(--space-4);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-panel {
    margin-left: auto;
    width: min(88vw, 360px);
    height: calc(100dvh - var(--space-8));
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.28s ease;
  }

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

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-divider);
  }

  .mobile-nav-label {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
  }

  .mobile-nav-close {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-surface-2);
  }

  .mobile-nav-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
  }

  .mobile-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: var(--space-2);
  }

  .mobile-menu-btn { display: flex; z-index: 101; }

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

  .contact-inner {
    flex-direction: column;
    text-align: center;
  }
  .contact-text .section-title { text-align: center; }
  .contact-desc { margin-inline: auto; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { justify-content: center; width: 100%; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .hero-title { font-size: var(--text-3xl); }
}

@media (max-width: 480px) {
  .site-logo-img {
    width: 184px;
    max-width: calc(100vw - 128px);
  }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding-inline: var(--space-4); }
}
