:root {
  /* Colors */
  --bg: #f8faf9;
  --surface: #ffffff;
  --text: #000000;
  --muted: #475569;
  --accent: #52a96a; /* brand green */
  --accent-2: #a9c7e2; /* soft blue */
  --ring: rgba(82, 169, 106, 0.35);
  --card: #ffffffcc;

  /* Typography – Consolidated Font System
     Arbutus Slab for headings, Public Sans for all body text */
  --font-family-heading: 'Arbutus Slab', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-body: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Typography Scale – modular 1.2 from 16px, stepped down */
  --font-size-100: 0.875rem;  /* small/meta */
  --font-size-200: 1rem;      /* body */
  --font-size-300: 1.2rem;    /* large body / small h */
  --font-size-400: 1.44rem;   /* section h */
  --font-size-500: 1.8rem;    /* hero sub */
  --font-size-600: 2.16rem;   /* hero main */
}

* { box-sizing: border-box; }
html { 
  font-size: 16px; 
  height: 100%; 
}
body {
  margin: 0;
  padding-top: 72px;
  font-family: var(--font-family-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #f4f7fb 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--font-size-200);
  line-height: 1.6;
  font-weight: 300;
  height: 100%;
}
p {
  font-size: var(--font-size-200);
  font-weight: 300;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); background: rgba(255, 255, 255, 0.8); border-bottom: 1px solid #e6ecf1; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 4%; height: 72px; max-width: 1120px; width: 92%; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .2px; flex-shrink: 0; }
.brand-logo { height: 68px; width: auto; display: block; object-fit: contain; flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b3b2f; border-radius: 8px; font-size: 16px; }
.brand-text { font-size: var(--font-size-300); font-weight: 700; font-family: var(--font-family-heading); color: var(--text); }

@media (max-width: 768px) {
  .brand-logo { height: 52px; }
  .brand-text { font-size: 16px; }
  .nav { padding: 0 12px; width: calc(100% - 24px); }
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  font-family: var(--font-family-body);
  padding: 0 8px;
  line-height: 1.5;
  display: inline-block;
}
.main-nav a:hover { color: var(--text); }
.main-nav .cta { 
  padding: 10px 14px; 
  border-radius: 12px; 
  background: #92e9a2; 
  color: #367145; 
  box-shadow: 0 6px 20px rgba(116,216,119,.35); 
  border: 1px solid transparent; 
  font-weight: 600; 
  font-size: 19px;
  font-family: var(--font-family-heading);
}
.main-nav .cta:hover { filter: brightness(0.98); }

.has-submenu { position: relative; }
.submenu-toggle {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  padding-right: 16px;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
}
.submenu-toggle::after { content: "▾"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); }
.submenu-toggle[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
.submenu-toggle:hover { color: var(--text); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid #e6ecf1; border-radius: 12px; padding: 12px; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.06); z-index: 60; }
.submenu li { list-style: none; }
.submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: var(--font-size-200);
}
.submenu a:hover { background: #f5faf6; color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  .has-submenu:hover > .submenu { display: block; }
  .has-submenu:focus-within > .submenu { display: block; }
  .submenu:hover { display: block; }
}

.nav-toggle { display: none; background: transparent; border: 1px solid #dbe5ea; padding: 8px 10px; border-radius: 10px; width: 44px; height: 38px; align-items: center; justify-content: center; gap: 4px; flex-direction: column; }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { height: 72px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: relative; }
  .main-nav > ul { position: absolute; right: 4%; top: 72px; width: min(280px, 92vw); flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid #e6ecf1; border-radius: 12px; padding: 12px; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.06); z-index: 80; align-items: flex-start; }
  .main-nav > ul.open { display: flex; }
  .has-submenu { width: 100%; }
  .main-nav > ul li > a, .main-nav > ul li > button.submenu-toggle { width: 100%; text-align: left; padding: 12px 12px; border-radius: 8px; }
  .submenu { position: static; display: none; border: none; box-shadow: none; padding: 6px 0 0 12px; max-height: 50vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .submenu a { text-align: left; padding: 8px 10px; font-size: 15px; }
  .submenu[data-open="true"] { display: block; }
}

/* Hero */
.hero { padding: 104px 0 0; background-color: var(--bg); background-image: radial-gradient(1200px 600px at 80% -10%, rgba(124, 198, 181, .18), transparent 60%), radial-gradient(800px 500px at -20% 10%, rgba(169, 199, 226, .18), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 0 0 18px; font-size: clamp(28px, 5vw, 42px); line-height: 1.12; letter-spacing: -0.01em; font-weight: 600; }
.hero-copy p { margin: 0 0 26px; color: var(--text); font-size: 1.1rem; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-family-heading);
}
.btn.primary { background: #92e9a2; color: #367145; box-shadow: 0 6px 20px rgba(146, 233, 162, .35); }
.btn.primary:hover { filter: brightness(0.98); }
.btn.ghost { background: transparent; border-color: #cfe3dc; color: var(--text); }

.btn .btn-label {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-family-body);
}
.btn .btn-detail {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-family-body);
}

.copy-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; font-family: var(--font-family-body); border: none; background: transparent; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 999px; }
.copy-btn:hover { background: #f6f9fb; color: var(--text); }
.copy-icon { font-size: 14px; }

.contact-stack { display: grid; gap: 10px; margin-top: 16px; }
.contact-box { background: #f6f9fb; border: 1px solid #e3ecf1; border-radius: 12px; padding: 16px 18px 16px 22px; text-align: center; box-sizing: border-box; }
.contact-box-label { margin: 0; font-size: 14px; font-weight: 700; font-family: var(--font-family-body); }
.contact-value {
  margin: 0;
  font-size: var(--font-size-300); /* slightly larger for phone & email */
  font-weight: 800;
  font-family: var(--font-family-body);
}
.contact-copy { margin-top: 2px; }
.contact-copy i { font-size: 13px; }

.hero-media { display: grid; justify-items: start; align-items: center; position: relative; }
.hero-photo-stack { position: relative; width: 100%; max-width: 520px; margin-left: 0; }
.hero-illustration { width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid #d6e7e1; box-shadow: 0 10px 40px rgba(20, 45, 40, .08) inset, 0 14px 40px rgba(0,0,0,.04); background: linear-gradient(135deg, rgba(124, 198, 181, .18), rgba(169, 199, 226, .18)); margin: 0; }
.hero-photo { background-size: cover; background-position: center; }
.hero-photo-main { position: relative; z-index: 2; width: 74%; top: -18px; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.hero-photo-secondary { 
  position: absolute; 
  top: 12px; 
  left: 48%; 
  width: 68%; 
  z-index: 3; 
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.hero-note { position: absolute; right: 12px; bottom: 60px; transform: none; text-align: left; width: auto; max-width: 70%; backdrop-filter: blur(6px); background: #ffffffee; border: 1px solid #e3ede8; box-shadow: 0 10px 30px rgba(0,0,0,.06); margin: 0; z-index: 4; }
.hero-illustration.empty { display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(45deg, #f2f6f4 0, #f2f6f4 10px, #e9f2ee 10px, #e9f2ee 20px); }
.hero-illustration.empty::after { content: "Lisää kuva: assets/images/kukkanen-kammenella.jpg"; font-size: 14px; padding: 10px 12px; background: #ffffffcc; border: 1px solid #dbe5ea; border-radius: 10px; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Tablet: single column, side-by-side images kept */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: 2; justify-self: start; width: 100%; }
  .hero-copy { order: 1; }
  .hero-photo-stack { max-width: 480px; }
  .hero-photo-main { width: 65%; top: -14px; }
  .hero-photo-secondary { width: 60%; left: 40%; top: 8px; }
}

/* Small tablet */
@media (max-width: 768px) {
  .hero-media { width: 88%; }
  .hero-photo-main { width: 68%; top: -12px; }
  .hero-photo-secondary { width: 62%; left: 44%; top: 8px; }
  .hero-note { font-size: 14px; padding: 14px; right: 0; bottom: 40px; max-width: 60%; }
}

/* Mobile */
@media (max-width: 640px) {
  .hero { padding: 80px 0 0; }
  .hero-inner { gap: 28px; }
  .hero-media {
    justify-self: start;
    width: 92%;
  }
  .hero-photo-stack {
    width: 100%;
    max-width: none;
  }
  .hero-photo-main {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
  }
  .hero-photo-secondary {
    position: relative;
    width: 90%;
    top: 0;
    left: 0;
    margin-top: -40px;
    margin-left: 10%;
  }
  .hero-note {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 16px;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .hero { padding: 72px 0 0; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-copy p { font-size: 1rem; }
  .hero-media { width: 96%; }
  .hero-photo-secondary { margin-top: -32px; }
}

/* Photo Gallery */
.photo-gallery { padding: 48px 0 24px; background: #f6f9fb; }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-gallery-item { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.photo-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .photo-gallery-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Sections */
.section { padding: 64px 0; scroll-margin-top: 80px; }
[id] { scroll-margin-top: 80px; }
.section.services {
  padding-top: 64px;  /* more breathing room before services heading */
  margin-top: 0;
}
.section.alt { background: #ffffff; border-top: 1px solid #e6ecf1; border-bottom: 1px solid #e6ecf1; }
.prefooter-contact { background: #f6f9fb; border-top: 1px solid #e6ecf1; padding-top: 40px; }
h1, h2, h3, h4 {
  color: #367145;
  font-family: var(--font-family-heading);
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
}
h3 {
  font-size: var(--font-size-300);
  font-weight: 700;
  line-height: 1.3;
}
.section-lead {
  color: var(--text);
  margin: 0 0 24px;
  font-size: var(--font-size-300);
  font-weight: 400;
}

/* Services */
.services { background: radial-gradient(800px 400px at 20% 0%, rgba(116,195,101,.10), transparent 60%), radial-gradient(900px 500px at 100% 20%, rgba(169,199,226,.12), transparent 60%); }
.service-intro { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 18px; }
.branch-decoration { padding: 0; margin-left: -40px; }
.branch-decoration img { max-width: 450px; height: auto; display: block; }
.service-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 40px 0 40px;
}
.quote-card.small {
  padding: 0;
}
.service-quotes .quote-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0; /* reset default figure margins so left edge aligns with heading */
}
.service-quotes blockquote {
  margin: 0;
  padding: 14px 0 20px 18px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-left: 3px solid var(--accent); /* subtle brand-colored rule */
}
.service-quotes .quote-card p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-family-body);
  font-style: italic;
  font-weight: 400;
}
.service-intro .note { color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card { background: #ffffff; border: 1px solid #e6ecf1; border-radius: 16px; padding: 22px 22px; box-shadow: 0 6px 20px rgba(8, 43, 33, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; cursor: pointer; height: 100%; display: flex; flex-direction: column; }
.card .icon { width: 56px; height: 56px; border-radius: 12px; display: inline-grid; place-items: center; background: #92e9a2; border: 1px solid #92e9a2; margin-bottom: 12px; }
.services .card .icon img, .services .card .icon svg { filter: brightness(0) invert(1); }
.card .icon img, .card .icon svg { width: 30px; height: 30px; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #0b3b2f; font-weight: 700; font-size: 1.05rem; padding-top: 8px; }
.card .more::after { content: "→"; transition: transform .18s ease; }
.services .card-link:hover .card { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(8,43,33,.08); border-color: #d2eadf; }
.services .card-link:hover .more::after { transform: translateX(2px); }
.services .card::after { content: none; }
.card h3 {
  margin: 0 0 6px;
  font-size: var(--font-size-300);
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  font-family: var(--font-family-body);
  font-size: var(--font-size-200);
}

@media (max-width: 960px) {
  .service-intro { grid-template-columns: 1fr; }
  .branch-decoration img { max-width: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

.notice { margin-top: 18px; padding: 14px 16px; background: #f0faf7; border: 1px dashed #b6e2d7; border-radius: 12px; color: #0b3b2f; text-align: center; }

/* Support */
.checklist { margin: 0; padding-left: 18px; color: var(--muted); }
.checklist li { margin: 8px 0; }

/* Testimonials */
.testimonials-long {
  background: #ffffff;
  border-top: 1px solid #e6ecf1;
  padding: 72px 0 72px;
}
.testimonials-long .container { display: grid; gap: 32px; }
.testimonials-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote-card { background: #f6f9fb; border-radius: 16px; border: 1px solid #e3ecf1; padding: 18px 20px; }
.quote-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-300);
  font-weight: 800;
}
.quote-card p {
  margin: 0 0 8px;
  font-size: var(--font-size-200);
}
.quote-card .quote-signature {
  margin-top: 6px;
  font-weight: 700;
  font-size: var(--font-size-200);
}
.quote-card.single { max-width: 760px; margin: 0 auto; }
.testimonials-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 900px) {
  .testimonials-columns { grid-template-columns: 1fr; }
  .testimonials-pair { grid-template-columns: 1fr; }
}

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.about-badge { display: grid; place-items: center; min-height: 120px; border-radius: 18px; border: 1px solid #dfe8ee; color: #0b3b2f; background: linear-gradient(135deg, rgba(124,198,181,.2), rgba(169,199,226,.2)); }

@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; }
}

/* Founder */
.founder { background: #f7faf8; border-top: 1px solid #e6ecf1; }
.founder-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; justify-items: center; }
.founder-photo { width: 100%; max-width: 360px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; margin: 0; border: 1px solid #dbe5ea; box-shadow: 0 12px 40px rgba(8,43,33,.06); background: #eef6f2; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-branch { position: absolute; bottom: -55px; left: 0; max-width: 360px; width: 100%; height: auto; pointer-events: none; transform: scaleX(-1); }
.founder-copy h3 { margin: 4px 0 8px; font-size: var(--font-size-400); font-weight: 700; }
.founder-copy p {
  margin: 0 0 10px;
  font-weight: 400; /* slightly stronger than default body (300), still 16px */
}
.founder-source { font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo { max-width: none; }
  .founder-inner { justify-items: start; }
}

/* Founder story */
.founder-story { background: #fff; }
.founder-story h3 { font-size: var(--font-size-400); font-weight: 700; margin: 0 0 8px; }
.founder-story p { margin: 0 0 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
label { font-weight: 700; font-size: 14px; font-family: var(--font-family-body); }
input, textarea { width: 100%; padding: 12px 12px; border: 1px solid #dbe5ea; border-radius: 12px; background: #fff; font: inherit; color: var(--text); font-weight: 600; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 6px var(--ring); }
.hint { color: var(--muted); font-size: 13px; }
.btn.full { width: 100%; text-align: center; }
.contact-details { font-family: var(--font-family-heading); }
.contact-details a { color: var(--text); text-decoration: none; }
.contact-details .phone a { font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }
.contact-details h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.contact-details h3:not(:first-child) { margin-top: 14px; }
.contact-details p { font-size: 14px; }
.contact-details .muted { color: var(--muted); }

.card.soft { background: #ffffff; border: 1px solid #e6ecf1; border-radius: 16px; padding: 18px; }

@media (max-width: 920px) {
  .contact { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { margin-top: 0; background: #f6f9fb; color: var(--text); position: relative; overflow: visible; padding-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 28px 0; align-items: start; justify-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-col h4 { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: .3px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.site-footer .cols > div:first-child ul { margin-top: 14px; }
.site-footer a { color: var(--accent); text-decoration: none; font-weight: 300; }
.site-footer .cols ul li,
.site-footer .cols ul li a { font-weight: 500; font-size: 15px; font-family: var(--font-family-body); }
.site-footer a:hover { text-decoration: underline; }
.legal { display: flex; gap: 14px; align-items: center; color: var(--text); justify-content: space-between; border-top: 1px solid #e6ecf1; padding-top: 16px; margin-top: 10px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col { width: 100%; }
}


/* Service page styles */
.service-hero { padding: 80px 0 64px; background: #f6f9fb; }
.service-hero-inner { display: grid; gap: 16px; }
.breadcrumb { font-size: 14px; color: var(--muted); font-weight: 500; font-family: var(--font-family-body); margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--text); }
.breadcrumb span { color: var(--text); font-weight: 600; }
.service-header { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 8px; }
.service-icon-large { width: 72px; height: 72px; border-radius: 14px; display: grid; place-items: center; background: #92e9a2; border: 1px solid #92e9a2; }
.service-icon-large img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.service-header h1 { margin: 0; font-size: clamp(30px, 3.2vw, 38px); font-weight: 600; }
.service-lead {
  margin: 6px 0 0;
  font-size: var(--font-size-200);
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-family-body);
}
.service-branch-decoration { margin-left: -20px; margin-bottom: 8px; }
.service-branch-decoration img { max-width: 240px; height: auto; display: block; }
.service-content { padding: 64px 0; background: #ffffff; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.main-content h2 { margin: 0 0 16px; font-size: clamp(26px, 2.6vw, 30px); font-weight: 600; }
.main-content h3 { margin: 32px 0 12px; font-size: 21px; font-weight: 600; }
.main-content h3:first-of-type { margin-top: 24px; }
.main-content p {
  margin: 0 0 16px;
  font-family: var(--font-family-body);
  font-weight: 400;
  /* Match global body size so service pages don't feel "smaller" than home */
  font-size: var(--font-size-200);
}
.service-list {
  margin: 0 0 24px;
  padding-left: 22px;
  font-family: var(--font-family-body);
}
.service-list li {
  margin: 10px 0;
  line-height: 1.6;
  font-weight: 400;
  font-size: var(--font-size-200);
}
.service-list strong { font-weight: 700; color: var(--text); }
.info-box { background: #f6f9fb; border: 1px solid #e6ecf1; border-radius: 14px; padding: 20px; margin: 28px 0; }
.info-box h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.info-box p {
  margin: 0 0 10px;
  font-family: var(--font-family-body);
  font-weight: 400;
}
.info-box ul {
  margin: 10px 0;
  padding-left: 20px;
  font-family: var(--font-family-body);
}
.info-box li {
  margin: 6px 0;
  font-weight: 400;
  font-size: var(--font-size-200);
}
.cta-section { background: #ffffff; border: 1px solid #e6ecf1; border-radius: 14px; padding: 24px; margin: 36px 0 0; text-align: center; }
.cta-section h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.cta-section p { margin: 0 0 16px; font-family: var(--font-family-body); font-weight: 500; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sidebar { position: sticky; top: 88px; }
.sidebar-card { margin-bottom: 18px; }
.sidebar-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.related-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related-services a { color: var(--text); text-decoration: none; font-weight: 600; display: block; padding: 8px 10px; border-radius: 8px; transition: background .15s ease; font-family: var(--font-family-body); }
.related-services a:hover { background: #f6f9fb; color: var(--accent); }
.sidebar-card.highlight { background: linear-gradient(135deg, rgba(116,216,119,.08), rgba(169,199,226,.08)); border-color: #d2eadf; }
.sidebar-card .small { font-size: 14px; color: var(--muted); margin: 10px 0 0; font-family: var(--font-family-body); font-weight: 400; }
.sidebar-card p { margin: 0 0 8px; font-family: var(--font-family-body); font-weight: 400; }
.sidebar-card a { color: var(--text); text-decoration: none; font-weight: 600; }
.sidebar-card a:hover { text-decoration: underline; color: var(--accent); }

.prefooter-contact .cta-section {
  max-width: 720px;
  margin: 36px auto 0;
  border-width: 2px;
}

@media (max-width: 640px) {
  .prefooter-contact .container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .prefooter-contact .cta-section { 
    padding: 20px 12px; 
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-stack { margin-top: 12px; gap: 8px; width: 100%; }
  .contact-box { padding: 14px 10px; width: 100%; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; }
  .contact-value { word-break: break-word; overflow-wrap: break-word; }
}

@media (max-width: 920px) {
  .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; }
  .service-header { grid-template-columns: 1fr; }
  .service-icon-large { width: 64px; height: 64px; }
  .service-icon-large img { width: 32px; height: 32px; }
}

/* Ornamental divider */
.ornamental-divider { height: 64px; margin: 52px 0 20px; display: none; opacity: .7; background: #ffffff; }
.ornamental-divider {
  background-image: url('assets/images/köynnös.png');
  background-repeat: round repeat-x; /* tiles touch with slight uniform scaling */
  background-position: center bottom;
  background-size: auto 100%; /* scale by height, keep full image height */
}

/* Footer variant 2 */
.site-footer.v2 { padding-top: 18px; color: #000; }
.footer-v2 { display: grid; gap: 12px; padding: 18px 0; text-align: center; color: #000; }
.footer-v2 .brandline { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font-weight: 800; font-size: 18px; color: #000; }
.footer-v2 .links { display: inline-flex; gap: 18px; justify-content: center; }
.footer-v2 .links a { color: #000; font-weight: 600; font-size: 15px; text-decoration: none; }
.footer-v2 .links a:hover { text-decoration: underline; }
.footer-v2 .meta { display: inline-flex; gap: 18px; justify-content: center; color: #000; font-size: 14px; font-weight: 500; }
.footer-v2 .meta a { color: #000; text-decoration: none; }
.footer-v2 .meta a:hover { text-decoration: underline; }
.footer-v2 .legalline { display: inline-flex; gap: 14px; justify-content: center; color: #000; font-size: 13px; border-top: 1px solid #e6ecf1; padding-top: 12px; }

/* Footer variant 3 */
.site-footer.v3 { padding: 32px 0; color: #000; }
.v3-inner { display: grid; gap: 20px; color: #000; }
.v3-inner .cta-card { background: #ffffff; border: 1px solid #e6ecf1; border-radius: 14px; padding: 18px; display: grid; gap: 8px; color: #000; }
.v3-inner .cta-card h3 { margin: 0; font-size: 18px; font-weight: 800; color: #000; }
.v3-inner .cta-card p { margin: 0; font-size: 15px; font-weight: 500; color: #000; }
.v3-inner .cols { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.v3-inner .brandline { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.brand-logo-footer { height: 72px; width: auto; display: block; object-fit: contain; }

@media (max-width: 768px) {
  .v3-inner .cols { grid-template-columns: 1fr; gap: 24px; }
  .brand-logo-footer { height: 50px; }
}
.v3-inner h4 {
  margin: 0 0 8px;
  font-size: var(--font-size-100);
  font-weight: 800;
  color: #000;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.v3-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: var(--font-size-200);
}
.v3-inner a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}
.v3-inner a:hover { text-decoration: underline; }
.v3-inner small {
  color: #000;
  font-size: var(--font-size-100);
}

/* Footer variant 4 */
.site-footer.v4 { padding: 16px 0; color: #000; }
.v4-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #000; }
.v4-inner .brandline { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #000; }
.v4-inner .right { display: inline-flex; gap: 16px; }
.v4-inner .right a { color: #000; text-decoration: none; font-weight: 600; font-size: 15px; }
.v4-inner .right a:hover { text-decoration: underline; }

/* Footer top vine: show only upper half emerging from footer */
.site-footer::after { content: none; }
.site-footer::before { content: ""; position: absolute; top: -52px; left: 0; right: 0; height: 52px; 
  background-image: url('assets/images/köynnös.png'), url('assets/images/köynnös.png'), url('assets/images/köynnös.png');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center bottom, calc(50% - 220px) bottom, calc(50% + 220px) bottom;
  background-size: 300px auto, 300px auto, 300px auto; 
  opacity: .65; pointer-events: none; }

