/* ============================================================
   KiiltoMaalaus Oy — Design System
   Warm craftsman palette, Fraunces + Figtree
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,300&family=Figtree:wght@400;500;600&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Brand — deep warm sienna */
  --brand:          oklch(0.52 0.14 46);
  --brand-light:    color-mix(in oklab, oklch(0.52 0.14 46) 25%, white);
  --brand-dark:     color-mix(in oklab, oklch(0.52 0.14 46) 80%, black);
  --accent:         oklch(0.72 0.12 80);

  /* Tinted neutrals */
  --surface-1:      oklch(0.98 0.008 70);
  --surface-2:      oklch(0.93 0.015 65);
  --surface-3:      oklch(0.22 0.02 46);

  /* Text */
  --text-primary:   oklch(0.18 0.02 46);
  --text-secondary: oklch(0.48 0.04 50);
  --text-on-dark:   oklch(0.97 0.005 70);

  /* Typography scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-2xl:  clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-3xl:  clamp(2.5rem, 1.8rem + 3.5vw, 4.2rem);

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

  /* Layout */
  --max-width: 1200px;
  --section-pad: clamp(var(--space-2xl), 8vw, var(--space-4xl));
  --border-radius: 12px;

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t-mid:  250ms ease-out;
  --t-slow: 400ms ease-out;

  /* Shadows */
  --shadow-sm: 0 2px 8px oklch(0.18 0.02 46 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.18 0.02 46 / 0.12);
  --shadow-lg: 0 16px 48px oklch(0.18 0.02 46 / 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface-1);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* ---- Utilities ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-md), 4vw, var(--space-2xl));
}

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

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Animate section titles on scroll */
.section-title {
  animation: title-wipe linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
@keyframes title-wipe {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0); opacity: 1; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: var(--text-base);
  font-weight: 600;
  font-family: 'Figtree', sans-serif;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--text-on-dark);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: oklch(0.97 0.005 70 / 0.35);
}
.btn-ghost:hover {
  background: oklch(0.97 0.005 70 / 0.12);
  border-color: oklch(0.97 0.005 70 / 0.6);
  transform: translateY(-2px);
}
.btn-ghost:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-ghost:active { transform: scale(0.97); }

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

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-3);
  border-bottom: 1px solid oklch(0.97 0.005 70 / 0.08);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) clamp(var(--space-md), 4vw, var(--space-2xl));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: var(--text-base);
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: var(--text-on-dark);
  border-radius: 8px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  color: oklch(0.85 0.01 70);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--text-on-dark); }
.nav-links a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.nav-cta {
  background: var(--brand) !important;
  color: var(--text-on-dark) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: 6px !important;
  transition: background var(--t-fast), transform var(--t-fast) !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  color: var(--text-on-dark);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-mid), opacity var(--t-mid);
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.nav-mobile {
  display: none;
  background: var(--surface-3);
  border-top: 1px solid oklch(0.97 0.005 70 / 0.1);
  padding: var(--space-md) clamp(var(--space-md), 4vw, var(--space-2xl)) var(--space-xl);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: var(--space-md); }
.nav-mobile a {
  color: oklch(0.85 0.01 70);
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--text-on-dark); }

/* ---- Hero (Split-screen B) ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 80vh, 720px);
  background: var(--surface-3);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) clamp(var(--space-xl), 6vw, var(--space-4xl));
}
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-on-dark);
  margin-bottom: var(--space-lg);
  animation: hero-title-in 0.7s 0.1s ease-out both;
}
@keyframes hero-title-in {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}
.hero-sub {
  font-size: var(--text-lg);
  color: oklch(0.75 0.02 70);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 46ch;
  animation: hero-title-in 0.7s 0.25s ease-out both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  animation: hero-title-in 0.7s 0.4s ease-out both;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: hero-title-in 0.7s 0.55s ease-out both;
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  background: oklch(0.97 0.005 70 / 0.1);
  border: 1px solid oklch(0.97 0.005 70 / 0.2);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: oklch(0.85 0.01 70);
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-parallax linear;
  animation-timeline: scroll();
}
@keyframes hero-parallax { to { translate: 0 -15%; } }

.hero-image-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: var(--surface-3);
  border: 1px solid oklch(0.97 0.005 70 / 0.15);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}
.hero-image-badge strong {
  font-family: 'Fraunces', serif;
  font-size: var(--text-2xl);
  color: var(--accent);
  line-height: 1;
}
.hero-image-badge span {
  font-size: var(--text-xs);
  color: oklch(0.75 0.02 70);
  margin-top: 4px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--brand);
  padding: var(--space-xl) 0;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-md), 4vw, var(--space-2xl));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: center;
}
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: oklch(0.9 0.02 70);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: oklch(0.97 0.005 70 / 0.3);
}

/* ---- Services ---- */
.services { background: var(--surface-1); }
.services-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  border: 1px solid color-mix(in oklab, var(--brand) 12%, transparent);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  animation: card-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 75%;
}
.service-card:nth-child(1) { }
.service-card:nth-child(2) { animation-delay: 100ms; }
.service-card:nth-child(3) { animation-delay: 200ms; }
@keyframes card-rise {
  from { opacity: 0; translate: 0 48px; }
  to   { opacity: 1; translate: 0 0; }
}

.service-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--brand);
  transition: width var(--t-mid);
}
.service-card:hover::before { width: 4px; }

.service-card--featured {
  background: color-mix(in oklab, var(--brand) 6%, white);
}

.service-icon {
  color: var(--brand);
  margin-bottom: var(--space-lg);
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.service-price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: var(--space-lg);
  padding: 6px 12px;
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  border-radius: 6px;
  display: inline-block;
}
.service-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand);
  transition: gap var(--t-fast), color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover { color: var(--brand-dark); gap: 8px; }
.service-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- Why Us ---- */
.why-us { background: var(--surface-2); }
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.why-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid color-mix(in oklab, var(--brand) 15%, transparent);
  animation: why-slide linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}
.why-item:last-child { border-bottom: none; }
@keyframes why-slide {
  from { opacity: 0; translate: -32px 0; }
  to   { opacity: 1; translate: 0 0; }
}
.why-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: color-mix(in oklab, var(--brand) 20%, transparent);
  line-height: 1;
  padding-top: 4px;
}
.why-content h3 {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.why-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonials { background: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.testimonial {
  padding: var(--space-2xl);
  background: var(--surface-1);
  border-radius: var(--border-radius);
  border: 1px solid var(--surface-2);
  position: relative;
  animation: card-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 75%;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.testimonial:nth-child(2) { animation-delay: 100ms; }
.testimonial:nth-child(3) { animation-delay: 200ms; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial::before {
  content: '"';
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
  top: 20px;
  left: 24px;
}
.testimonial-stars {
  color: oklch(0.72 0.15 80);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}
.testimonial p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
  font-style: italic;
}
.testimonial footer {
  display: flex;
  flex-direction: column;
}
.testimonial footer strong {
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}
.testimonial footer span {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-style: normal;
  margin-top: 2px;
}

/* ---- About ---- */
.about { background: var(--surface-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.about-content .section-eyebrow { text-align: left; }
.about-content .section-title { text-align: left; }
.about-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}
.about-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.about-contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--brand);
  font-weight: 600;
  font-size: var(--text-base);
  transition: color var(--t-fast), gap var(--t-fast);
}
.about-contact-item:hover { color: var(--brand-dark); gap: var(--space-md); }
.about-contact-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.about-image-wrap {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: about-img linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}
@keyframes about-img {
  from { opacity: 0; clip-path: inset(0 0 30% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CTA Section ---- */
.cta-section { background: var(--surface-3); }
.cta-inner {
  text-align: center;
}
.cta-title {
  font-family: 'Fraunces', serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-sub {
  font-size: var(--text-lg);
  color: oklch(0.75 0.02 70);
  margin-bottom: var(--space-3xl);
}
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  text-align: left;
  align-items: start;
  margin-top: var(--space-2xl);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: oklch(0.97 0.005 70 / 0.05);
  border: 1px solid oklch(0.97 0.005 70 / 0.1);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(0.85 0.01 70);
}
.form-group input,
.form-group textarea {
  background: oklch(0.22 0.02 46 / 0.5);
  border: 1.5px solid oklch(0.97 0.005 70 / 0.15);
  border-radius: 8px;
  padding: var(--space-md);
  font-size: var(--text-base);
  font-family: 'Figtree', sans-serif;
  color: var(--text-on-dark);
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 48px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: oklch(0.55 0.02 65);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: oklch(0.25 0.02 46 / 0.7);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.form-group input:invalid:not(:placeholder-shown) {
  border-color: oklch(0.55 0.18 25);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: var(--text-xs);
  color: oklch(0.6 0.02 65);
  text-align: center;
  margin-top: calc(-1 * var(--space-sm));
}

/* CTA Contact Info */
.cta-contact-info {
  padding: var(--space-2xl);
}
.cta-contact-info h3 {
  font-family: 'Fraunces', serif;
  font-size: var(--text-lg);
  color: oklch(0.75 0.02 70);
  font-weight: 300;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.cta-phone {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
  transition: color var(--t-fast);
}
.cta-phone:hover { color: var(--accent); }
.cta-phone:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.cta-hours {
  font-size: var(--text-sm);
  color: oklch(0.6 0.02 65);
  margin-bottom: var(--space-xl);
}
.cta-divider {
  height: 1px;
  background: oklch(0.97 0.005 70 / 0.12);
  margin: var(--space-xl) 0;
}
.cta-address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: oklch(0.65 0.02 65);
}
.cta-address svg { flex-shrink: 0; margin-top: 2px; }
.cta-address div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cta-address strong { color: var(--text-on-dark); font-weight: 600; }
.cta-address span { font-size: var(--text-sm); }

/* ---- Footer ---- */
.footer {
  background: oklch(0.14 0.02 46);
  padding: var(--space-2xl) 0;
  border-top: 1px solid oklch(0.97 0.005 70 / 0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid oklch(0.97 0.005 70 / 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-on-dark);
}
.footer-brand div {
  display: flex;
  flex-direction: column;
}
.footer-brand strong { font-weight: 700; font-size: var(--text-base); }
.footer-brand span { font-size: var(--text-xs); color: oklch(0.6 0.02 65); }
.footer-nav {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: var(--text-sm);
  color: oklch(0.65 0.02 65);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-end;
}
.footer-contact a {
  font-size: var(--text-sm);
  color: oklch(0.65 0.02 65);
  transition: color var(--t-fast);
}
.footer-contact a:hover { color: var(--text-on-dark); }
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: oklch(0.5 0.02 65);
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .section-title,
  .service-card,
  .testimonial,
  .why-item,
  .about-image-wrap,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-badges,
  .hero-image {
    animation: none !important;
    opacity: 1 !important;
    translate: none !important;
    clip-path: none !important;
  }
  * { transition-duration: 100ms !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    grid-column: 1 / -1;
  }
  .cta-split {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-contact-info {
    text-align: center;
    padding: 0;
  }
  .cta-address { justify-content: center; text-align: left; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image-wrap {
    height: 300px;
    order: -1;
  }
  .hero-content {
    padding: var(--space-2xl) clamp(var(--space-md), 4vw, var(--space-xl));
  }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  .stats-inner { gap: var(--space-xl); }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-column: auto; }

  .why-item { grid-template-columns: 60px 1fr; gap: var(--space-md); }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { height: 260px; }

  .cta-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-phone { font-size: clamp(1.8rem, 8vw, 3rem); }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-badges .badge { font-size: 0.65rem; }
}

/* ---- Touch targets ---- */
@media (pointer: coarse) {
  .btn { min-height: 52px; }
  .nav-links a, .footer-nav a { min-height: 44px; display: flex; align-items: center; }
}
