/* ══════════════════════════════════════════════════════════════════
   Kuljetusliike V. Oksman & Knit Oy — index.css
   Design: Deep navy + amber/orange accent | Archivo Black + Source Sans 3
   ══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* OKLCH Color System */
  --brand:          oklch(0.38 0.12 250);
  --brand-light:    color-mix(in oklab, var(--brand) 25%, white);
  --brand-dark:     color-mix(in oklab, var(--brand) 80%, black);
  --accent:         oklch(0.68 0.18 55);
  --accent-dark:    color-mix(in oklab, var(--accent) 80%, black);
  --accent-light:   color-mix(in oklab, var(--accent) 25%, white);
  --surface-1:      oklch(0.99 0.004 250);
  --surface-2:      oklch(0.95 0.008 250);
  --surface-3:      oklch(0.22 0.04 250);
  --text-primary:   oklch(0.18 0.02 250);
  --text-secondary: oklch(0.48 0.03 250);
  --text-on-dark:   oklch(0.97 0.004 250);

  /* Spacing Scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  /* Shadows */
  --shadow-card: 0 4px 16px oklch(0.18 0.02 250 / 0.12), 0 1px 4px oklch(0.18 0.02 250 / 0.08);
  --shadow-card-hover: 0 12px 40px oklch(0.18 0.02 250 / 0.18), 0 4px 12px oklch(0.18 0.02 250 / 0.12);
  --shadow-nav: 0 2px 20px oklch(0.18 0.02 250 / 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-1);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: color-mix(in oklab, var(--accent) 30%, white);
  color: var(--text-primary);
}

/* ── Container ────────────────────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Navigation ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease-out, box-shadow 0.3s ease-out;
}

.site-header.scrolled {
  background: var(--surface-3);
  box-shadow: var(--shadow-nav);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: opacity 0.15s ease-out;

  &:hover { opacity: 0.85; }
}

.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--accent); }

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

.nav-link {
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.15s ease-out, color 0.15s ease-out;
  padding: var(--space-xs) 0;

  &:hover {
    opacity: 1;
    color: var(--accent);
  }

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

.nav-cta {
  background: var(--accent);
  color: var(--surface-3);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease-out, transform 0.15s ease-out;
  font-weight: 900;

  &:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
  }

  &:focus-visible {
    outline: 2px solid var(--text-on-dark);
    outline-offset: 2px;
  }

  &:active { transform: translateY(0); }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);

  span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  &[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  &[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  &[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: hero-parallax linear;
  animation-timeline: scroll();
}

@keyframes hero-parallax {
  to { transform: scale(1.05) translateY(-8%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.18 0.04 250 / 0.85) 0%,
    oklch(0.18 0.04 250 / 0.65) 60%,
    oklch(0.22 0.06 250 / 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--space-4xl) + 80px) var(--space-xl) var(--space-4xl);
  max-width: 720px;
  padding-inline-start: max(var(--space-xl), 5vw);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  animation: badge-entry 0.6s ease-out 0.2s both;
}

@keyframes badge-entry {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: var(--space-lg);
  clip-path: inset(0 100% 0 0);
  animation: headline-wipe 0.9s ease-out 0.4s both;
}

@keyframes headline-wipe {
  to { clip-path: inset(0 0 0 0); }
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: oklch(0.92 0.01 250);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  animation: fade-up 0.7s ease-out 0.8s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fade-up 0.7s ease-out 1s both;
}

@keyframes fade-up {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: oklch(0.85 0.01 250);
  font-size: 0.8rem;
  animation: fade-up 0.5s ease-out 1.5s both;
}

.scroll-arrow {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 1px;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 900;
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
  text-decoration: none;
  min-height: 44px;

  &:hover { transform: translateY(-2px); }
  &:active { transform: translateY(0); }
  &:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }
}

.btn-primary {
  background: var(--accent);
  color: var(--surface-3);

  &:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 24px oklch(0.68 0.18 55 / 0.4);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: oklch(0.85 0.01 250 / 0.4);

  &:hover {
    background: oklch(1 0 0 / 0.08);
    border-color: oklch(0.85 0.01 250 / 0.7);
  }
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);

  &:hover {
    background: var(--brand);
    color: var(--text-on-dark);
  }
}

.btn-accent {
  background: var(--accent);
  color: var(--surface-3);
  font-size: 1.1rem;

  &:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 32px oklch(0.68 0.18 55 / 0.45);
  }
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
}

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

/* ── Stats Strip ──────────────────────────────────────────────── */
.stats-strip {
  background: var(--surface-3);
  padding: var(--space-2xl) 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  color: oklch(0.78 0.01 250);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: oklch(0.4 0.02 250);
}

/* ── Section Shared ───────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header--light .section-label,
.section-header--light h2 { color: var(--text-on-dark); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-label--light {
  color: var(--accent);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-primary);
}

.text-light {
  color: var(--text-on-dark);
}

.section-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: var(--space-md) auto 0;
}

/* ── Services ─────────────────────────────────────────────────── */
.services {
  background: var(--surface-2);
  padding: var(--space-4xl) 0;
}

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

.service-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  display: flex;
  flex-direction: column;

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

.service-card--large {
  grid-row: span 1;
}

.service-image {
  position: relative;
  overflow: hidden;
  height: 220px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
  }

  &:hover img { transform: scale(1.05); }
}

.service-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--accent);
  color: var(--surface-3);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 100px;
}

.service-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;

  h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-primary);
  }

  p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-light);
  padding: 2px var(--space-sm);
  border-radius: 100px;
}

.service-price {
  font-size: 0.9rem;
  color: var(--text-secondary);

  strong {
    color: var(--brand);
    font-size: 1rem;
  }
}

/* ── About ────────────────────────────────────────────────────── */
.about {
  background: var(--surface-1);
  padding: var(--space-4xl) 0;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;

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

.about-image-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--accent);
  color: var(--surface-3);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-heading);
}

.badge-year {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content {
  h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin: var(--space-md) 0 var(--space-lg);
  }

  p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
  }
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Process ──────────────────────────────────────────────────── */
.process {
  background: var(--surface-3);
  padding: var(--space-4xl) 0;
}

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

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-2xl);
  background: oklch(0.28 0.04 250);
  border-radius: var(--radius-md);
  border: 1px solid oklch(0.32 0.04 250);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  display: block;
}

.step-content {
  h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
  }

  p {
    color: oklch(0.72 0.02 250);
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.process-connector {
  font-size: 2rem;
  color: var(--accent);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials {
  background: var(--surface-2);
  padding: var(--space-4xl) 0;
}

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

.testimonial-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
  }

  .stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
  }

  p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
  }

  footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .testimonial-author {
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    font-size: 0.95rem;
  }

  .testimonial-location {
    color: var(--text-secondary);
    font-size: 0.85rem;
  }
}

/* ── CTA Section ──────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.65 0.18 55 / 0.92) 0%,
    oklch(0.50 0.16 50 / 0.88) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);

  h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--surface-3);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
  }

  p {
    color: oklch(0.22 0.04 250 / 0.85);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
  }
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.btn-accent {
  background: var(--surface-3);
  color: var(--accent);
  border-color: transparent;

  &:hover {
    background: color-mix(in oklab, var(--surface-3) 90%, var(--accent));
    box-shadow: 0 8px 32px oklch(0.18 0.04 250 / 0.4);
  }
}

.cta-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--surface-3);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid oklch(0.22 0.04 250 / 0.3);
  transition: border-color 0.15s ease-out;

  &:hover { border-color: var(--surface-3); }
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface-3);
  padding: var(--space-3xl) 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-3xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-brand {
  .logo-icon { font-size: 2rem; margin-bottom: var(--space-sm); }
}

.footer-company {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: oklch(0.65 0.02 250);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  h3, & > ul li { margin-bottom: var(--space-sm); }

  ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  a {
    color: oklch(0.72 0.02 250);
    font-size: 0.95rem;
    transition: color 0.15s ease-out;

    &:hover { color: var(--accent); }
  }
}

.footer-contact {
  h3 {
    font-family: var(--font-heading);
    color: var(--text-on-dark);
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  p, a {
    color: oklch(0.72 0.02 250);
    font-size: 0.95rem;
    display: block;
    margin-bottom: var(--space-sm);
    text-decoration: none;
    transition: color 0.15s ease-out;
  }

  a:hover { color: var(--accent); }
}

.footer-bottom {
  border-top: 1px solid oklch(0.30 0.03 250);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;

  p {
    color: oklch(0.5 0.02 250);
    font-size: 0.85rem;
  }
}

/* ── Scroll-Driven Reveal Animations ─────────────────────────── */
.reveal-card {
  animation: card-reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 80%;
}

@keyframes card-reveal {
  from {
    opacity: 0;
    translate: 0 40px;
    clip-path: inset(100% 0 0 0);
  }
  to {
    opacity: 1;
    translate: 0 0;
    clip-path: inset(0 0 0 0);
  }
}

.reveal-left {
  animation: reveal-from-left linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 75%;
}

@keyframes reveal-from-left {
  from { opacity: 0; translate: -60px 0; }
  to   { opacity: 1; translate: 0 0; }
}

.reveal-right {
  animation: reveal-from-right linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 75%;
}

@keyframes reveal-from-right {
  from { opacity: 0; translate: 60px 0; }
  to   { opacity: 1; translate: 0 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-card,
  .reveal-left,
  .reveal-right,
  .hero-bg,
  .hero-headline,
  .hero-badge,
  .hero-sub,
  .hero-actions,
  .hero-scroll-hint {
    animation: none;
    opacity: 1;
    translate: none;
    clip-path: none;
  }

  .btn:hover { transform: none; }
  .service-card:hover, .testimonial-card:hover { transform: none; }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--surface-3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;

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

  .nav-link {
    font-size: 1.5rem;
  }

  .nav-hamburger {
    display: flex;
    z-index: 100;
  }

  .hero-content {
    text-align: center;
    padding-inline: var(--space-lg);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .stats-container {
    gap: var(--space-lg);
  }

  .stat-divider { display: none; }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-connector { transform: rotate(90deg); }

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

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

@media (max-width: 480px) {
  .section-container { padding: 0 var(--space-lg); }

  .hero-headline { font-size: 2rem; }

  .service-image { height: 180px; }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
}

/* Touch-friendly adjustments */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
}

/* Safe area for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
  }
}
