:root {
  --teal: #2bb5c0;
  --teal-dark: #1d8b94;
  --ink: #2d3748;
  --muted: #4a5568;
  --line: #d7eef0;
  --paper: #f3fbfb;
  --card: #ffffff;
  --deep: #14383c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 20px;
}
.brand img {
  height: 58px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  margin-left: auto;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--teal-dark);
}
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 999px;
}
.site-nav a[aria-current="page"] { background: #e7f7f8; color: var(--teal-dark); }
.site-nav .cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 16px;
  box-shadow: 0 8px 18px rgba(43,181,192,.28);
}

.crumbs { max-width: 1120px; margin: 0 auto; padding: 16px 20px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aabb0; }
.crumbs a { text-decoration: none; }

.hero {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
.hero-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 34px;
  box-shadow: 0 16px 40px rgba(20,56,60,.06);
}
.kicker {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.hero .lead, .page-hero .lead { font-size: 18px; color: var(--muted); }
.hero-photo {
  border-radius: 28px;
  min-height: 380px;
  background: #d7eef0 url("/uploads/photo-hero.jpg") center/cover no-repeat;
  box-shadow: 0 18px 44px rgba(43,181,192,.22);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn, main a[href="https://justlaundry.fi/yhteystiedot/"] {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 10px 22px rgba(43,181,192,.28);
}
.btn.ghost {
  background: #fff;
  color: var(--teal-dark) !important;
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.hero-rest { display: flow-root; }
.promo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 16px 0 8px;
}
.campaign {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1;
  margin: 0;
  padding: 22px 16px;
  background: var(--teal);
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(43,181,192,.35);
}
.campaign:hover, .campaign:focus-visible { background: var(--teal-dark); }
.store-lead {
  margin: 0;
  color: var(--deep);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
}
.page-hero .store-lead { color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; }
.stores { justify-content: center; gap: 48px; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 150px;
  min-width: 0;
  min-height: 52px;
  padding: 7px 14px 7px 12px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  border-radius: 12px;
}
.store svg { width: 26px; height: 26px; flex: none; display: block; }
.store-copy { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.store-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.store-name { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.store:hover, .store:focus-visible { background: #000; }
.store:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (min-width: 861px) {
  .hero {
    grid-template-rows: auto auto minmax(220px, 1fr);
    column-gap: 28px;
    row-gap: 0;
    align-items: stretch;
  }
  .hero::before {
    content: "";
    grid-column: 1;
    grid-row: 1 / -1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(20,56,60,.06);
  }
  .hero-copy { display: contents; }
  .hero .kicker {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    padding: 36px 34px 0;
  }
  .hero h1 {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 1;
    padding: 0 34px;
  }
  .promo {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    margin: 0 0 18px;
  }
  .campaign {
    width: auto;
    font-size: clamp(28px, 3vw, 44px);
    padding: 20px 16px;
  }
  .hero-rest {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    z-index: 1;
    padding: 0 34px 36px;
  }
  .hero-photo {
    grid-column: 2;
    grid-row: 3;
    min-height: 240px;
    z-index: 1;
  }
}

.photos {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.3fr .7fr .9fr;
  gap: 14px;
}
.photos figure { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; }
.photos img { display: block; width: 100%; height: 230px; object-fit: cover; }
.photos figcaption { padding: 10px 14px 14px; color: var(--muted); font-size: 14px; }

main.sheet {
  max-width: 860px;
  margin: 8px auto 0;
  padding: 8px 20px 72px;
}
.page-hero {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 0 20px;
}
.page-hero-inner {
  background:
    linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 58%, rgba(255,255,255,.45) 100%),
    url("/uploads/photo-fold.jpg") center/cover no-repeat;
  border-radius: 28px;
  padding: 42px 40px;
  border: 1px solid var(--line);
}
main h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
main h2 { margin: 34px 0 10px; font-size: 28px; letter-spacing: -0.03em; }
main h3 {
  margin: 18px 0 6px;
  padding: 14px 16px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}
main h3 + p {
  margin-top: 0;
  padding: 8px 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}
main ul, main ol {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px 14px 36px;
}
main li { margin: 8px 0; }
main table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
main th, main td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
main th { background: #e7f7f8; }
main p > img { background: #fff; border-radius: 16px; padding: 12px; }

form.offer {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
form.offer > label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  font-weight: 700;
}
form.offer input[type="text"],
form.offer input[type="tel"],
form.offer input[type="email"],
form.offer input:not([type]),
form.offer textarea {
  display: block;
  font: inherit;
  font-weight: 450;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
  max-width: 100%;
}
form.offer textarea { min-height: 120px; resize: vertical; }
form.offer .consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 650;
}
form.offer .consent input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
}
form.offer .consent label { font-weight: 650; }
form.offer button {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer { background: var(--deep); color: #d7eef0; margin-top: 20px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 36px 20px 28px; display: grid; grid-template-columns: 1.3fr .8fr auto; gap: 24px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 6px 0; }
.footer-brand { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.eco { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.also { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; }

.sj-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;padding:10px 16px;background:var(--teal);color:#fff;text-align:center}
.sj-bar img{height:44px;width:auto;flex:none}
.sj-bar p{margin:0;font-weight:800;font-size:clamp(16px,4vw,20px);letter-spacing:-.02em;line-height:1.2}
.sj-bar a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;background:#fff;color:var(--teal-dark)!important;text-decoration:none;font-weight:800;border-radius:999px}
@media (max-width:600px){
  .sj-bar{flex-direction:column}
  .sj-bar a{width:100%;max-width:320px}
}
@media (max-width: 860px) {
  .nav-burger { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 78px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .hero, .photos, .footer-inner { grid-template-columns: 1fr; }
  .hero-photo { min-height: 220px; }
  .photos img { height: 180px; }
}
