/* ==========================================================================
   Yrityksen nimi – yrityssivujen tyylit
   Värit ja mitat on koottu CSS-muuttujiksi alle (:root). Vaihda brändivärit
   muuttamalla vain näitä arvoja.
   ========================================================================== */

:root {
  /* Väripaletti: kuusimetsä, puu ja hiili */
  --c-forest-900: #12261c;
  --c-forest-800: #1b3a2b;
  --c-forest-700: #24503a;
  --c-forest-600: #2f6549;
  --c-forest-100: #e3ece5;
  --c-wood-500: #b98a5a;
  --c-wood-300: #dcc3a1;
  --c-sand-100: #f6f1e9;
  --c-sand-50: #fbf8f3;
  --c-charcoal-900: #1f2326;
  --c-charcoal-700: #3b4247;
  --c-charcoal-500: #5d666c;
  --c-white: #ffffff;
  --c-accent: #c8561d;        /* lämmin korostus CTA:lle */
  --c-accent-dark: #a5450f;
  --c-error: #b42318;
  --c-success: #1f6b3e;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 38, 28, .06), 0 2px 6px rgba(18, 38, 28, .05);
  --shadow: 0 6px 18px rgba(18, 38, 28, .08), 0 2px 4px rgba(18, 38, 28, .05);
  --shadow-lg: 0 18px 40px rgba(18, 38, 28, .14);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  --section-pad: clamp(64px, 9vw, 112px);
}

/* ---------- Perusasetukset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-charcoal-900);
  background: var(--c-sand-50);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-forest-700); text-underline-offset: 3px; }
a:hover { color: var(--c-forest-900); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--c-forest-900); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-forest-900); color: var(--c-white);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 12px; color: var(--c-white); }

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

/* Paikkamerkit: korostetaan, jotta täydennettävät kohdat näkyvät selvästi */
.ph {
  background: rgba(200, 86, 29, .12);
  border-bottom: 1px dashed var(--c-accent);
  padding: 0 .2em;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.on-dark .ph { background: rgba(255, 255, 255, .12); border-bottom-color: var(--c-wood-300); }

/* ---------- Napit ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: var(--c-white); box-shadow: 0 6px 16px rgba(200, 86, 29, .28); }
.btn-primary:hover { background: var(--c-accent-dark); color: var(--c-white); }
.btn-outline { border-color: currentColor; color: var(--c-forest-800); background: transparent; }
.btn-outline:hover { background: var(--c-forest-800); color: var(--c-white); border-color: var(--c-forest-800); }
.btn-light { border-color: rgba(255,255,255,.75); color: var(--c-white); background: rgba(255,255,255,.06); }
.btn-light:hover { background: var(--c-white); color: var(--c-forest-900); border-color: var(--c-white); }
.btn-block { width: 100%; }

/* ---------- Header / navigaatio ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: rgba(18, 38, 28, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-forest-900); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; }
.logo-text small { font-family: var(--font-sans); font-size: .7rem; font-weight: 600; color: var(--c-charcoal-500); margin-left: 4px; letter-spacing: .08em; text-transform: uppercase; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(18, 38, 28, .15); background: var(--c-white); cursor: pointer; color: var(--c-forest-900);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--c-sand-50);
  border-bottom: 1px solid rgba(18, 38, 28, .1);
  box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a:not(.btn) {
  display: block; padding: 14px 4px; font-weight: 600; color: var(--c-charcoal-900); text-decoration: none;
  border-bottom: 1px solid rgba(18, 38, 28, .08);
}
.site-nav li a:not(.btn):hover, .site-nav li a[aria-current="page"] { color: var(--c-forest-700); }
.site-nav .nav-cta { margin-top: 18px; }
.site-nav .nav-cta .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; align-items: center; gap: 6px; }
  .site-nav li a:not(.btn) { border: 0; padding: 8px 14px; border-radius: 999px; }
  .site-nav li a:not(.btn):hover { background: var(--c-forest-100); }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta .btn { width: auto; min-height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--c-white);
  background: var(--c-forest-900);
  padding: clamp(64px, 11vw, 132px) 0 clamp(72px, 9vw, 112px);
}
.hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-art svg { width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(18, 38, 28, .96) 0%, rgba(18, 38, 28, .82) 45%, rgba(18, 38, 28, .35) 100%);
}
.hero-content { max-width: 680px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-forest-600); margin-bottom: 14px;
}
.hero .eyebrow { color: var(--c-wood-300); }
.hero h1 { color: var(--c-white); font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--c-wood-300); }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--c-wood-300); flex: none; }

/* ---------- Osiot ---------- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--c-sand-100); }
.section-dark { background: var(--c-forest-800); color: rgba(255, 255, 255, .9); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-dark .eyebrow { color: var(--c-wood-300); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--c-charcoal-700); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .8); }

.grid { display: grid; gap: 22px; }
.grid > *, .why > *, .about > *, .contact > *, .form-grid > *, .footer-grid > *, .gallery > * { min-width: 0; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Palvelukortit ---------- */
.card {
  background: var(--c-white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(18, 38, 28, .06);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--c-charcoal-700); margin-bottom: 1.2em; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-forest-100); color: var(--c-forest-700); margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.card-list { list-style: none; padding: 0; margin: 0 0 1.4em; font-size: .95rem; color: var(--c-charcoal-700); }
.card-list li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.card-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 2px;
  background: var(--c-wood-500); transform: rotate(45deg);
}
.card-link { margin-top: auto; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- Miksi me ---------- */
.why { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .why { grid-template-columns: 5fr 7fr; gap: 64px; } }
.why-intro p { color: var(--c-charcoal-700); }
.feature { display: flex; gap: 18px; padding: 22px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c-forest-700); color: var(--c-white); display: grid; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--c-charcoal-700); font-size: .98rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius-lg); overflow: hidden; margin-top: 8px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--c-forest-800); padding: 30px 22px; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--c-wood-300); line-height: 1.1; margin-bottom: 6px; }
.stat-label { font-size: .95rem; color: rgba(255,255,255,.85); }
.stats-note { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,.65); text-align: center; }

/* ---------- Työn eteneminen ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.step {
  position: relative; background: var(--c-white); border-radius: var(--radius); padding: 26px 22px 24px;
  box-shadow: var(--shadow-sm); counter-increment: step; border-top: 4px solid var(--c-forest-600);
}
.step:last-child { border-top-color: var(--c-accent); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--c-wood-500); line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; font-size: .95rem; color: var(--c-charcoal-700); }

/* ---------- Referenssit ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 16px; min-height: 40px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(18, 38, 28, .18); background: var(--c-white); color: var(--c-charcoal-700);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--c-forest-700); color: var(--c-forest-800); }
.filter-btn[aria-pressed="true"] { background: var(--c-forest-800); color: var(--c-white); border-color: var(--c-forest-800); }

.gallery { display: grid; gap: 22px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.project {
  margin: 0; background: var(--c-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project[hidden] { display: none; }
.project-media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--c-forest-100); }
.project-media img, .project-media svg { width: 100%; height: 100%; object-fit: cover; }
.project-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(18, 38, 28, .85); color: var(--c-white);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px;
}
.project figcaption { padding: 20px 22px 22px; }
.project h3 { font-size: 1.1rem; margin-bottom: .25em; }
.project p { margin: 0; font-size: .95rem; color: var(--c-charcoal-500); }
.placeholder-note {
  margin-top: 24px; font-size: .9rem; color: var(--c-charcoal-500); background: var(--c-white);
  border: 1px dashed var(--c-wood-500); border-radius: var(--radius-sm); padding: 12px 16px;
}

/* ---------- Asiakaspalautteet (mallit) ---------- */
.quote {
  position: relative; margin: 0; background: var(--c-white); border-radius: var(--radius); padding: 30px 26px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote-badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--c-sand-100); color: var(--c-accent-dark); border: 1px dashed var(--c-accent); padding: 3px 9px; border-radius: 999px; margin-bottom: 16px;
}
.quote blockquote { margin: 0 0 18px; font-size: 1.04rem; color: var(--c-charcoal-700); font-style: italic; }
.quote figcaption { margin-top: auto; font-weight: 650; color: var(--c-forest-900); font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 400; color: var(--c-charcoal-500); font-size: .88rem; }

/* ---------- Yritys ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; background: var(--c-forest-100); }
.about-media svg, .about-media img { width: 100%; height: 100%; object-fit: cover; }
.about p { color: var(--c-charcoal-700); }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--c-forest-600); margin-top: 2px; }

/* ---------- CTA-palkki ---------- */
.cta-band { background: linear-gradient(120deg, var(--c-forest-800), var(--c-forest-700)); color: var(--c-white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; align-items: center; box-shadow: var(--shadow-lg); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--c-white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-band .hero-actions { justify-content: flex-start; }

/* ---------- Yhteydenotto ja lomake ---------- */
.contact { display: grid; gap: 36px; }
@media (min-width: 980px) { .contact { grid-template-columns: 5fr 7fr; gap: 56px; } }
.contact-info p { color: var(--c-charcoal-700); }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c-forest-100); color: var(--c-forest-700); display: grid; place-items: center; }
.contact-list .ci-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-charcoal-500); }
.contact-list a, .contact-list span { word-break: break-word; }

.form-card { background: var(--c-white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid rgba(18, 38, 28, .06); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; color: var(--c-charcoal-900); }
.field .req { color: var(--c-accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--c-charcoal-900);
  padding: 12px 14px; min-height: 48px; border-radius: var(--radius-sm);
  border: 1.5px solid #c9cfcb; background: var(--c-sand-50);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f2326' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-forest-600); box-shadow: 0 0 0 4px rgba(47, 101, 73, .18); background: var(--c-white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); background: #fff7f6; }
.field-error { display: block; min-height: 0; color: var(--c-error); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { display: block; color: var(--c-charcoal-500); font-size: .85rem; margin-top: 6px; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--c-charcoal-700); }
.field .check-field { display: flex; font-weight: 400; font-size: .95rem; margin: 0; color: var(--c-charcoal-700); }
.check-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-forest-700); flex: none; }
.form-actions { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.form-note { font-size: .85rem; color: var(--c-charcoal-500); margin: 0; }
.form-status { border-radius: var(--radius-sm); padding: 0; }
.form-status:not(:empty) { padding: 14px 16px; margin-top: 4px; }
.form-status.is-error { background: #fdecea; color: var(--c-error); border: 1px solid #f5c2bd; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--c-success); }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--c-charcoal-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-forest-900); color: rgba(255, 255, 255, .8); padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.site-footer a:hover { color: var(--c-white); }
.site-footer h2 { font-family: var(--font-sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-wood-300); margin-bottom: 14px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .logo { color: var(--c-white); margin-bottom: 14px; }
.site-footer .logo-text small { color: rgba(255,255,255,.6); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.hours dt { color: rgba(255,255,255,.65); }
.hours dd { margin: 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Alasivut ---------- */
.page-hero { background: var(--c-forest-800); color: var(--c-white); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { color: var(--c-white); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.12rem; margin: 0; }
.breadcrumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.breadcrumbs a { color: var(--c-wood-300); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--c-charcoal-700); }
.service-detail { display: grid; gap: 28px; padding: 40px 0; border-bottom: 1px solid rgba(18, 38, 28, .1); }
.service-detail:last-child { border-bottom: 0; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 80px 1fr 1fr; gap: 40px; } }
.service-detail .card-icon { margin: 0; }
.service-detail p { color: var(--c-charcoal-700); }

/* ---------- Scroll-animaatiot ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .project:hover, .btn:hover { transform: none; }
}
