/* ============================================================
   KONSULTAAT — CSS Foundation
   Visual Kit V3 specification compliance
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Palette */
  --primary: #3D2B1F;
  --surface: #EDE5D8;
  --accent: #7EB8D4;
  --text: #2C2218;
  --white: #FEFCF9;
  --error: #C0533A;
  --success: #5A8A5E;
  --oasis: #5A8A5E;

  /* Dark variant */
  --dark-text: #EDE5D8;
  --dark-accent: #7EB8D4;
  --dark-surface: #3D2B1F;

  /* Surfaces */
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 4px 24px rgba(61, 43, 31, 0.08);
  --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
  --focus-ring: 0 0 0 3px rgba(126, 184, 212, 0.45);

  /* Typography */
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Spacing scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-15: 120px;

  /* Layout */
  --container-max: 1200px;
  --gutter: 24px;

  /* Animation */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power3: cubic-bezier(0.33, 1, 0.68, 1);
  --duration-hero: 1200ms;
  --duration-section: 800ms;
  --duration-hover: 300ms;
  --duration-micro: 150ms;

  /* Nav */
  --nav-height: 80px;
  --nav-height-scrolled: 56px;
}

/* ===== BASE TYPOGRAPHY ===== */
body {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--surface);
}

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

h1 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
}

h4 {
  font-size: clamp(18px, 2vw, 24px);
}

p {
  max-width: 65ch;
}

.lead {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
  opacity: 0.85;
}

small, .caption {
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.02em;
}

.label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.section {
  padding: clamp(64px, 8vw, 120px) 0;
}

.section--dark {
  background-color: var(--primary);
  color: var(--dark-text);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--dark-text);
}

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

.section--dark .lead {
  color: var(--dark-text);
  opacity: 0.75;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--gutter);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--asymmetric {
  grid-template-columns: 7fr 5fr;
}

.grid--asymmetric-reverse {
  grid-template-columns: 5fr 7fr;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(61, 43, 31, 0.08);
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-power3);
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Primary */
.btn--primary {
  background-color: var(--oasis);
  color: var(--white);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90, 138, 94, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
  background-color: #4A7A4E;
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Secondary */
.btn--secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(61, 43, 31, 0.25);
}

.btn--secondary:hover {
  background-color: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

.btn--secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Ghost */
.btn--ghost {
  background: none;
  border: none;
  padding: 8px 0;
  color: var(--primary);
  position: relative;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--duration-hover) var(--ease-power3);
  transform-origin: left;
}

.btn--ghost:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

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

/* Service card */
.card--service {
  overflow: hidden;
  padding: 0;
}

.card--service .card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(61,43,31,0.08), rgba(61,43,31,0.03));
}

.card--service .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
}

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

.card--service .card__body {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.card--service .card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.card--service .card__desc {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.5;
}

/* Testimonial card */
.card--testimonial {
  border-left: 3px solid var(--accent);
  padding: var(--space-4);
}

.card--testimonial .card__quote {
  font-size: 18px;
  font-style: italic;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.card--testimonial .card__attribution {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.card--testimonial .card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(126, 184, 212, 0.3);
  flex-shrink: 0;
}

.card--testimonial .card__name {
  font-size: 14px;
  font-weight: 700;
}

.card--testimonial .card__role {
  font-size: 12px;
  opacity: 0.6;
}

/* ===== LINKS ===== */
.link {
  color: var(--accent);
  text-decoration: none;
  transition: all 200ms ease;
}

.link:hover {
  border-bottom: 1px solid currentColor;
}

.link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 2px;
}

.link:visited {
  color: #5A9AB8;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(61, 43, 31, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text);
  opacity: 0.4;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: rgba(61, 43, 31, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--error);
}

.form-input.is-error:focus {
  box-shadow: 0 0 0 3px rgba(192, 83, 58, 0.2);
}

.form-input.is-success {
  border-color: var(--success);
}

.form-input:disabled,
.form-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(61, 43, 31, 0.04);
}

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

.form-hint {
  font-size: 13px;
  opacity: 0.6;
}

.form-error {
  font-size: 13px;
  color: var(--error);
}

.form-success {
  font-size: 13px;
  color: var(--success);
}

/* Form on dark background */
.section--dark .form-input,
.section--dark .form-textarea,
.section--dark .form-select {
  background: rgba(237, 229, 216, 0.1);
  border-color: rgba(237, 229, 216, 0.25);
  color: var(--dark-text);
}

.section--dark .form-input::placeholder,
.section--dark .form-textarea::placeholder {
  color: var(--dark-text);
  opacity: 0.5;
}

.section--dark .form-input:hover,
.section--dark .form-textarea:hover,
.section--dark .form-select:hover {
  border-color: rgba(237, 229, 216, 0.45);
}

.section--dark .form-input:focus,
.section--dark .form-textarea:focus,
.section--dark .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(126, 184, 212, 0.3);
  background: rgba(237, 229, 216, 0.15);
}

.section--dark .form-label {
  color: var(--dark-text);
}

.section--dark .form-hint {
  color: var(--dark-text);
  opacity: 0.5;
}

.section--dark .form-select option {
  background: var(--primary);
  color: var(--dark-text);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(237, 229, 216, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  transition: height 300ms ease, padding 300ms ease;
}

.nav.is-scrolled {
  height: var(--nav-height-scrolled);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.nav__logo-icon {
  font-size: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  transition: color var(--duration-hover) ease;
  letter-spacing: 0.03em;
}

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

.nav__cta {
  font-size: 15px;
  padding: 10px 24px;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 300ms ease;
}

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--primary);
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  color: var(--dark-text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav__link {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-text);
  padding: var(--space-2) 0;
  text-decoration: none;
  opacity: 0;
  transform: translateX(30px);
}

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

.mobile-nav__cta {
  margin-top: var(--space-6);
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-nav.is-open .mobile-nav__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--dark-text);
  padding: var(--space-6) 0 var(--space-4);
}

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

.footer__brand p {
  font-size: 14px;
  opacity: 0.75;
  max-width: 280px;
  margin-top: var(--space-2);
  line-height: 1.5;
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--dark-text);
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--dark-text);
  opacity: 0.75;
  padding: 4px 0;
  text-decoration: none;
  transition: opacity 200ms ease;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(237, 229, 216, 0.1);
  font-size: 13px;
  opacity: 0.6;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(64px, 10vw, 120px);
  padding-top: calc(var(--nav-height) + var(--space-8));
  position: relative;
  overflow: hidden;
}

.hero__image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(61, 43, 31, 0.55) 0%,
    rgba(61, 43, 31, 0.25) 40%,
    transparent 65%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-bottom: var(--space-3);
  font-size: clamp(36px, 5vw, 72px);
  max-width: 700px;
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
  max-width: 540px;
  opacity: 0;
  color: rgba(254, 252, 249, 0.85);
  font-weight: 400;
}

.hero__cta {
  margin-top: var(--space-6);
  opacity: 0;
}

/* Hero — smaller variant for sub-pages */
.hero--small {
  min-height: 50vh;
  padding-bottom: var(--space-8);
}

/* ===== SECTION SPECIFICS ===== */

/* Problem section */
.section--problem .section__content {
  max-width: 720px;
}

/* Approach section */
.section--approach {
  position: relative;
}

.section--approach .section__content {
  max-width: 720px;
}

.metaphor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
  margin-top: var(--space-6);
}

.metaphor-card__title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: var(--space-3);
}

.metaphor-card__text {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  opacity: 0.8;
}

/* Stat hero — big number */
.stat-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: baseline;
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-hero__number {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800;
  color: var(--oasis);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-hero__context {
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.4;
  opacity: 0.6;
  max-width: 400px;
  align-self: center;
}

/* Split layout — foto + tekst */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.split__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(237, 229, 216, 0.08);
}

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

/* Pull quote — large typographic heading */
.pull-quote {
  font-size: clamp(36px, 5vw, 72px) !important;
  letter-spacing: -0.02em;
}

/* Prose block */
.prose-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 640px;
}

.prose-block p {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.6;
  opacity: 0.85;
}

.prose-block__anchor {
  opacity: 0.7 !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
}

/* Prose on dark background */
.prose-block--dark p {
  color: var(--dark-text);
  opacity: 0.8;
}

.prose-block--dark strong {
  color: var(--white);
  opacity: 1;
}

.prose-block--dark .prose-block__anchor {
  opacity: 0.55 !important;
}

/* Process steps — "Kuidas see käib" */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
  max-width: 720px;
}

.process-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 43, 31, 0.2);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.process-step__content h4 {
  margin-bottom: 6px;
}

.process-step__content p {
  font-size: clamp(16px, 1.3vw, 20px);
  opacity: 0.75;
  line-height: 1.6;
}

/* Footnote references */
.footnote-ref {
  color: var(--oasis);
  text-decoration: none;
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  transition: opacity var(--duration-hover) ease;
}

.footnote-ref:hover {
  opacity: 0.7;
}

/* Dark section footnote refs */
.section--dark .footnote-ref {
  color: var(--accent);
}

/* Footnotes section */
.footnotes {
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(61, 43, 31, 0.08);
}

.footnotes__list {
  list-style: none;
  counter-reset: footnote;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footnotes__list li {
  counter-increment: footnote;
  font-size: 13px;
  color: var(--text);
  opacity: 0.5;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.footnotes__list li::before {
  content: counter(footnote) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  opacity: 0.7;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gutter);
  margin-top: var(--space-6);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--gutter);
  margin-top: var(--space-6);
}

/* CTA section */
.section--cta {
  text-align: center;
}

.section--cta h2 {
  margin-bottom: var(--space-3);
}

.section--cta .lead {
  margin: 0 auto var(--space-6);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* ===== SCROLL REVEAL (JS will set initial state) ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GRAIN TEXTURE ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

/* ===== REDUCED MOTION ===== */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__badge,
  .hero__subtitle,
  .hero__cta {
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .grid--asymmetric,
  .grid--asymmetric-reverse {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 48px;
  }

  .hero__content {
    margin-top: 0;
    padding-bottom: 0;
  }

  .hero__title {
    font-size: clamp(22px, 6vw, 30px) !important;
    max-width: 70%;
    line-height: 1.66;
  }

  .hero__subtitle {
    margin-bottom: var(--space-6);
  }

  .hero__cta {
    text-align: center;
  }

  .hero__cta .btn {
    width: auto;
    padding: 14px 48px;
  }

  .hero__image {
    object-position: 65% center;
  }

  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(61, 43, 31, 0.7) 0%,
      rgba(61, 43, 31, 0.35) 50%,
      rgba(61, 43, 31, 0.1) 100%
    );
  }

  .stat-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: var(--space-6);
  }

  .stat-hero__number {
    font-size: clamp(56px, 14vw, 96px);
  }

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

  .split__image {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .process-step {
    gap: var(--space-3);
  }

  .process-step__number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

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

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

}

/* Small mobile */
@media (max-width: 480px) {
  h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

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