:root {
  --ink: #2b2f33;
  --ink-2: #3c4248;
  --orange: #f26522;
  --orange-2: #ff7a32;
  --line: #e5e7eb;
  --soft: #f5f6f7;
  --soft-2: #eef1f3;
  --ok: #0f8a57;
  --warn: #b56b00;
  --bad: #bb2d2d;
  --blue: #1b5f9e;
  --radius: 8px;
  --shadow: 0 14px 36px rgba(43, 47, 51, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #f5f6f7 100%);
}

.site-shell.page-yhteystiedot {
  background: #f2f3f4;
}

.site-shell.page-heatwork {
  background:
    linear-gradient(180deg, #1b1413 0%, #1b1413 84px, #f6f2ef 84px, #ffffff 28%, #f1f3f5 100%);
}

.site-shell.page-tarjouspyynto .section {
  max-width: 1320px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(43, 47, 51, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.public-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.public-logo img {
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.public-logo-mark {
  width: 112px;
  height: 68px;
}

.public-logo-word {
  width: 168px;
  height: 27px;
}

.mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-weight: 950;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}

.mark::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  right: -16px;
  bottom: -20px;
  background: var(--orange);
  transform: rotate(45deg);
}

.mark span {
  position: relative;
  z-index: 1;
  font-size: 22px;
}

.brand-text strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: #68717a;
  font-weight: 700;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-link,
.lang-button,
.ghost-button,
.cart-button,
.admin-link,
.tab-button {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 12px;
}

.nav-link.active {
  background: var(--orange);
  color: #fff;
}

.tab-button.active {
  background: var(--ink);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.lang-button {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 13px;
}

.lang-button.active {
  background: var(--soft-2);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
}

.admin-link {
  border: 1px solid var(--line);
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -4px;
}

.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 50%, rgba(43, 47, 51, 0.95) 58%, rgba(43, 47, 51, 0.3) 75%, rgba(43, 47, 51, 0) 100%),
    url("./assets/hero/construction-site-aerial-worker.webp") right center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 24px 46px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.primary-button,
.secondary-button,
.small-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 11px 16px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
}

.small-button {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 13px;
}

.danger-button {
  background: var(--bad);
}

.hero-panel {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.hero-panel h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(16, 20, 24, 0.58);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat strong {
  display: block;
  font-size: 26px;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.3;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1.05;
}

.section-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: #5d6670;
  line-height: 1.55;
}

.section-head .eyebrow {
  color: var(--orange-2);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 101, 34, 0.4);
  box-shadow: var(--shadow);
}

.category-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.category-tile span {
  color: #66707a;
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 0.58fr);
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.person-card.featured {
  border-color: rgba(242, 101, 34, 0.45);
  box-shadow: 0 16px 38px rgba(43, 47, 51, 0.1);
}

.person-card img {
  width: 100%;
  height: 390px;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  background: #34373a;
}

.person-placeholder {
  position: relative;
  display: grid;
  place-items: end center;
  width: 100%;
  height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #272b2f 0%, #555c62 52%, #24282b 100%);
  color: #fff;
  isolation: isolate;
}

.person-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 17, 18, 0.88) 100%);
}

.person-silhouette {
  position: absolute;
  top: 58px;
  left: 50%;
  width: 132px;
  height: 260px;
  border-radius: 62px 62px 26px 26px;
  background: rgba(238, 240, 241, 0.46);
  filter: blur(12px);
  transform: translateX(-50%);
}

.person-silhouette::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 35px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: inherit;
}

.person-placeholder strong {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(20, 22, 24, 0.62);
  padding: 9px 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.65fr);
  min-height: 390px;
  margin-top: 20px;
  border: 1px solid rgba(242, 101, 34, 0.42);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  color: #fff;
}

.contact-map-copy h3 {
  margin: 0 0 18px;
  font-size: 25px;
}

.contact-map-copy a {
  width: fit-content;
  color: #fff;
  font-weight: 850;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-map iframe {
  width: 100%;
  height: 390px;
  border: 0;
  filter: grayscale(1) contrast(1.08) sepia(0.12);
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 390px;
  padding: 22px 18px;
}

.person-copy .eyebrow {
  min-height: 18px;
  margin-bottom: 12px;
}

.person-copy h3 {
  min-height: 26px;
  margin-bottom: 8px;
  font-size: clamp(21px, 1.55vw, 24px);
  line-height: 1.05;
  white-space: nowrap;
}

.person-copy p:not(.eyebrow) {
  min-height: 42px;
  color: #5d6670;
  font-weight: 750;
  line-height: 1.45;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.contact-links a {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-bottom: 2px solid rgba(242, 101, 34, 0.4);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: normal;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -8px 0 22px;
}

.filter-row span {
  margin-right: 4px;
  color: #68717a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  padding: 9px 12px;
  text-decoration: none;
}

.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  min-height: 590px;
  grid-template-rows: 270px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(43, 47, 51, 0.03);
}

.worksite-grid {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  min-height: 570px;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(244, 246, 247, 0.98) 0%, rgba(244, 246, 247, 0.86) 34%, rgba(244, 246, 247, 0.18) 100%),
    url("assets/products/tyomaatilat-bg.jpg") center / cover no-repeat;
  padding: 18px;
  overflow: hidden;
}

.worksite-card {
  min-height: auto;
  grid-template-rows: 270px auto;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(20, 24, 28, 0.18);
}

.worksite-card .product-image {
  background: #eef2f4;
}

.worksite-summary {
  border-radius: var(--radius);
  background: var(--soft);
  color: #33404a;
  font-weight: 720;
  line-height: 1.45;
  padding: 14px;
  margin: 0 0 18px;
}

.worksite-summary p {
  margin: 0;
}

.single-action {
  grid-template-columns: 1fr;
}

.product-image {
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, #f7f8f9 100%);
  position: relative;
}

.product-image img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 236px;
  object-fit: contain;
}

.placeholder-product > div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(72%, 240px);
  min-height: 132px;
  border: 2px dashed #cfd5db;
  border-radius: var(--radius);
  color: #4f5963;
  text-align: center;
  padding: 18px;
}

.placeholder-product strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.placeholder-product span {
  display: block;
  margin-top: 8px;
  color: #7a838c;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.product-body h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.1;
}

.product-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-bottom: 14px;
}

.product-type {
  color: #5f6872;
  font-weight: 750;
}

.power-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border: 1px solid rgba(43, 47, 51, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 9px;
  text-transform: uppercase;
}

.power-badge.diesel {
  border-color: rgba(242, 101, 34, 0.42);
  color: var(--orange);
}

.power-badge.sahko {
  border-color: rgba(43, 47, 51, 0.24);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.card-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec {
  min-height: 56px;
  border-radius: var(--radius);
  background: var(--soft);
  padding: 9px;
}

.spec span {
  display: block;
  color: #68717a;
  font-size: 12px;
  font-weight: 800;
}

.spec strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.25;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
}

.support-equipment {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  margin-top: 28px;
  border: 1px solid rgba(43, 47, 51, 0.12);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 24px;
}

.support-equipment h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.support-equipment p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.support-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 850;
  color: rgba(255, 255, 255, 0.88);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.product-detail .product-image {
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-detail .product-image img {
  max-height: 410px;
}

.product-detail-copy {
  padding: 12px 0;
}

.product-detail-copy h1 {
  color: var(--ink);
}

.detail-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -8px 0 14px;
  color: #5f6872;
  font-weight: 850;
}

.category-back-link {
  display: inline-block;
  text-decoration: none;
}

.category-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-light {
  max-width: 680px;
  color: #56616c;
  font-size: 18px;
  line-height: 1.55;
}

.product-facts {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.product-facts h2 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #f7f8f9;
  font-size: 22px;
  line-height: 1.2;
  padding: 12px 18px;
}

.product-facts dl {
  margin: 0;
}

.fact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
  gap: 18px;
  align-items: center;
  min-height: 34px;
  padding: 7px 18px;
}

.fact-row + .fact-row {
  border-top: 1px solid var(--line);
}

.fact-row dt,
.fact-row dd {
  margin: 0;
}

.fact-row dt {
  color: #59636d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.fact-row dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  padding: 10px 13px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.service-list div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  font-weight: 850;
}

.heatwork-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 3%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.38) 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(90deg, #210c0b 0%, #61110f 18%, #b10f0c 42%, #ee1f1b 68%, #ff7f82 84%, #ffd9df 100%);
}

.heatwork-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.28) 12%, rgba(0, 0, 0, 0) 22%);
  pointer-events: none;
}

.heatwork-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 30px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 42px;
}

.heatwork-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
}

.heatwork-brand-chip,
.heatwork-brand-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 900;
  padding: 7px 14px;
}

.heatwork-brand-chip {
  background: #dc4f1f;
  color: #fff;
}

.heatwork-brand-note {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.heatwork-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.heatwork-highlight {
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.heatwork-highlight strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.heatwork-highlight span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.heatwork-stage {
  position: relative;
  min-height: 460px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: #0f0b0a;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.heatwork-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(15, 11, 10, 0) 0%, rgba(15, 11, 10, 0.78) 100%);
  pointer-events: none;
}

.heatwork-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heatwork-stage figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.heatwork-overview {
  position: relative;
  z-index: 1;
  margin-top: -26px;
}

.heatwork-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 24px;
  border: 1px solid rgba(43, 47, 51, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(43, 47, 51, 0.08);
  padding: 24px;
}

.heatwork-overview-copy h2 {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 34px;
  line-height: 1.08;
}

.heatwork-overview-copy .eyebrow {
  padding-top: 8px;
}

.heatwork-overview-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: #58636e;
  line-height: 1.6;
}

.heatwork-service-list {
  align-content: center;
  margin-top: 0;
}

.heatwork-service-list div {
  border-color: rgba(242, 101, 34, 0.18);
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
  color: var(--ink);
}

.heatwork-value-list {
  display: grid;
  gap: 10px;
}

.heatwork-value-card {
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
  padding: 16px;
}

.heatwork-value-card strong,
.heatwork-segment strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.heatwork-value-card p,
.heatwork-segment p {
  margin: 8px 0 0;
  color: #58616b;
  line-height: 1.55;
}

.heatwork-cases {
  padding-top: 38px;
}

.heatwork-cases-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}

.heatwork-cases-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.heatwork-cases-head > p {
  margin: 0;
  color: #58636e;
  line-height: 1.65;
}

.heatwork-featured-cases {
  display: grid;
  gap: 22px;
}

.heatwork-case {
  overflow: hidden;
  border: 1px solid rgba(43, 47, 51, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(43, 47, 51, 0.08);
}

.heatwork-case-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  min-height: 540px;
}

.heatwork-case-featured:nth-child(even) {
  grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.08fr);
}

.heatwork-case-featured:nth-child(even) .heatwork-case-gallery {
  order: 2;
}

.heatwork-case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 4px;
  height: 540px;
  min-width: 0;
  overflow: hidden;
  background: #2b2f33;
}

.heatwork-case-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}

.heatwork-case-gallery .heatwork-case-main-image {
  grid-column: 1 / -1;
}

.heatwork-case-gallery-bridge .heatwork-case-main-image {
  object-position: center 44%;
}

.heatwork-case-gallery-school .heatwork-case-main-image {
  object-position: center 66%;
}

.heatwork-case-gallery-hall .heatwork-case-main-image {
  object-position: center 62%;
}

.heatwork-case-gallery-foundation .heatwork-case-main-image {
  object-position: center 58%;
}

.heatwork-case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 64px);
}

.heatwork-case-label,
.heatwork-compact-case span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heatwork-case-copy h3 {
  margin: 12px 0 18px;
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.04;
}

.heatwork-case-copy > p {
  margin: 0;
  color: #58636e;
  font-size: 17px;
  line-height: 1.65;
}

.heatwork-case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.heatwork-case-results div {
  border: 1px solid rgba(242, 101, 34, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
  padding: 14px;
}

.heatwork-case-results strong,
.heatwork-case-results span {
  display: block;
}

.heatwork-case-results strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.heatwork-case-results span {
  margin-top: 7px;
  color: #66717c;
  font-size: 12px;
  line-height: 1.35;
}

.heatwork-more-cases-head {
  margin: 58px 0 20px;
}

.heatwork-more-cases-head h3 {
  max-width: 720px;
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.heatwork-compact-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.heatwork-compact-case {
  display: grid;
  grid-template-columns: minmax(150px, 0.76fr) minmax(0, 1.24fr);
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.heatwork-compact-case.heatwork-compact-case-landscape {
  grid-template-columns: minmax(235px, 1.05fr) minmax(0, 0.95fr);
}

.heatwork-compact-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heatwork-compact-case img.heatwork-compact-case-routa {
  object-position: 68% center;
}

.heatwork-compact-case > div {
  align-self: center;
  min-width: 0;
  padding: 24px;
}

.heatwork-compact-case h4 {
  margin: 9px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.heatwork-compact-case p {
  margin: 0;
  color: #58636e;
  line-height: 1.5;
}

@media (max-width: 1180px) and (min-width: 621px) {
  .heatwork-compact-cases {
    grid-template-columns: 1fr;
  }
}

.heatwork-segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.heatwork-segment {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 244, 0.94) 100%);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(43, 47, 51, 0.03);
}

.heatwork-segment::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
  margin-bottom: 14px;
}

.heatwork-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.heatwork-product-card {
  display: grid;
  grid-template-rows: 270px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(43, 47, 51, 0.06);
}

.heatwork-product-image {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
}

.heatwork-product-image img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 256px;
  object-fit: contain;
}

.heatwork-product-image.wide {
  padding: 0;
  background: #16110f;
}

.heatwork-product-image.cliwi-wide,
.heatwork-product-image.cliwi-photo {
  background: #eef2f4;
}

.heatwork-product-image.cliwi-wide img,
.heatwork-product-image.cliwi-photo img {
  object-fit: contain;
}

.heatwork-product-image.wide::after {
  display: none;
}

.heatwork-product-image.wide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.heatwork-product-copy {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
}

.heatwork-product-copy h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.05;
}

.heatwork-product-copy p {
  color: #58616b;
  line-height: 1.58;
}

.heatwork-bullet-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 18px;
  color: #2f353b;
  line-height: 1.5;
}

.heatwork-bullet-list li::marker {
  color: var(--orange);
}

.heatwork-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 3%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.38) 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(90deg, #210c0b 0%, #61110f 18%, #b10f0c 42%, #ee1f1b 68%, #ff7f82 84%, #ffd9df 100%);
  color: #fff;
}

.heatwork-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.28) 12%, rgba(0, 0, 0, 0) 22%);
  pointer-events: none;
}

.heatwork-delivery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 24px;
  align-items: start;
}

.heatwork-delivery-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.heatwork-delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.heatwork-step {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.heatwork-step strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.heatwork-step p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #4f5963;
  font-weight: 850;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd5db;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.field textarea {
  min-height: 114px;
  resize: vertical;
}

.quote-form .field.full textarea {
  min-height: 190px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.request-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.panel h2,
.panel h3 {
  margin-bottom: 14px;
}

.cart-list,
.request-list,
.asset-list,
.timeline {
  display: grid;
  gap: 10px;
}

.cart-item,
.request-item,
.asset-item,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item img {
  width: 64px;
  height: 54px;
  object-fit: contain;
}

.cart-placeholder {
  display: grid;
  place-items: center;
  width: 64px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--soft);
  color: #68717a;
  font-weight: 900;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 44px 36px;
  align-items: center;
}

.qty-control button {
  height: 36px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 900;
}

.qty-control span {
  display: grid;
  place-items: center;
  height: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.summary-box {
  position: sticky;
  top: 88px;
}

.empty {
  border: 1px dashed #c9d0d7;
  border-radius: var(--radius);
  background: var(--soft);
  color: #66707a;
  padding: 22px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: 360px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-weight: 850;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 272px minmax(0, 1fr);
  background: #f4f5f6;
}

.admin-sidebar {
  background: var(--ink);
  color: #fff;
  padding: 20px;
}

.admin-sidebar .brand {
  color: #fff;
  margin-bottom: 28px;
}

.role-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  margin-bottom: 18px;
}

.role-card label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 850;
}

.role-card select {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  padding: 9px;
}

.admin-menu {
  display: grid;
  gap: 6px;
}

.admin-menu button,
.admin-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  text-decoration: none;
  font-weight: 850;
  padding: 10px;
}

.admin-menu button.active {
  background: #fff;
  color: var(--ink);
}

.admin-main {
  padding: 26px;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.kpi span {
  display: block;
  color: #68717a;
  font-size: 13px;
  font-weight: 850;
}

.kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--ink);
  font-weight: 850;
  font-size: 12px;
  padding: 5px 9px;
}

.status.vapaa,
.status.kunnossa {
  background: #e7f7ef;
  color: var(--ok);
}

.status.vuokralla,
.status.varattu {
  background: #eaf3ff;
  color: var(--blue);
}

.status.kuljetuksessa,
.status.palautettu,
.status.tarkastuksessa {
  background: #fff4df;
  color: var(--warn);
}

.status.huollossa,
.status.pois-kaytosta,
.status.vaurioitunut {
  background: #ffe9e9;
  color: var(--bad);
}

.request-item {
  display: grid;
  gap: 8px;
}

.request-item header,
.asset-item header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #68717a;
  font-size: 13px;
  font-weight: 760;
}

.asset-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 10px;
  margin-bottom: 12px;
}

.asset-toolbar input,
.asset-toolbar select {
  min-height: 42px;
  border: 1px solid #cfd5db;
  border-radius: var(--radius);
  padding: 9px 11px;
}

.asset-item {
  display: grid;
  gap: 10px;
}

.asset-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.asset-controls select,
.asset-controls input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid #cfd5db;
  border-radius: var(--radius);
  padding: 8px;
}

.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.note {
  border-radius: var(--radius);
  background: var(--soft);
  padding: 10px;
  color: #4f5963;
  font-size: 14px;
  line-height: 1.42;
}

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.billing-list {
  display: grid;
  gap: 10px;
}

.billing-item {
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: var(--ink);
  padding: 24px;
}

.login-box {
  width: min(460px, 100%);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-box .brand {
  margin-bottom: 20px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  margin-top: 38px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px;
}

.footer a {
  color: var(--ink);
  font-weight: 850;
  text-decoration-color: rgba(242, 101, 34, 0.45);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  display: block;
  width: 143px;
  height: auto;
}

.footer-brand p {
  margin: 0;
  color: #525b65;
  font-size: 19px;
  font-weight: 850;
}

.footer-contact {
  text-align: right;
  line-height: 1.75;
}

.footer-policy-link {
  color: #68717a !important;
  font-size: 14px;
  font-weight: 750 !important;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(680px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid rgba(43, 47, 51, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 55px rgba(20, 25, 30, 0.2);
  backdrop-filter: blur(14px);
}

.cookie-banner-copy .eyebrow {
  margin-bottom: 6px;
}

.cookie-banner h2,
.cookie-policy-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.cookie-banner p {
  margin: 8px 0 10px;
  color: #55606b;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a,
.cookie-policy-page a {
  color: var(--ink);
  font-weight: 850;
  text-decoration-color: rgba(242, 101, 34, 0.55);
  text-underline-offset: 3px;
}

.cookie-banner-actions,
.cookie-policy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cookie-banner-actions {
  align-content: end;
  justify-content: flex-end;
  flex-direction: column;
}

.cookie-banner-actions .primary-button,
.cookie-banner-actions .cookie-reject {
  width: 100%;
  white-space: nowrap;
}

.cookie-reject {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.cookie-policy-page {
  max-width: 960px;
}

.policy-intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.policy-intro h1 {
  margin-bottom: 12px;
}

.cookie-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cookie-policy-card {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.cookie-policy-card.full {
  grid-column: 1 / -1;
  min-height: 0;
}

.cookie-policy-card p {
  margin: 12px 0 18px;
  color: #59636d;
  line-height: 1.55;
}

.cookie-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.cookie-status.required {
  background: #e5f4ed;
  color: #0d6b43;
}

.cookie-status.optional {
  background: #f0f2f4;
  color: #59636d;
}

.cookie-policy-meta {
  max-width: 720px;
  margin: 24px 0 0;
  color: #68717a;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .public-logo-mark {
    width: 106px;
    height: 64px;
  }

  .public-logo-word {
    width: 150px;
    height: 24px;
  }

  .hero-inner,
  .heatwork-hero-grid,
  .heatwork-overview-card,
  .heatwork-cases-head,
  .heatwork-case-featured,
  .heatwork-case-featured:nth-child(even),
  .heatwork-delivery-grid,
  .request-layout,
  .support-equipment,
  .product-detail,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .heatwork-case-featured:nth-child(even) .heatwork-case-gallery {
    order: 0;
  }

  .heatwork-case-gallery {
    height: 500px;
  }

  .category-grid,
  .contact-grid,
  .product-grid,
  .kpi-grid,
  .heatwork-product-grid,
  .heatwork-compact-cases,
  .heatwork-delivery-steps,
  .heatwork-highlight-grid,
  .heatwork-segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heatwork-compact-cases {
    grid-template-columns: 1fr;
  }

  .person-card img {
    max-height: none;
  }

  .person-placeholder {
    width: min(100%, 260px);
    height: 390px;
    justify-self: center;
  }

  .contact-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-map iframe {
    height: 280px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section,
  .hero-inner,
  .nav,
  .admin-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-grid,
  .contact-grid,
  .form-grid,
  .kpi-grid,
  .service-list,
  .support-list,
  .note-grid,
  .heatwork-product-grid,
  .heatwork-compact-cases,
  .heatwork-delivery-steps,
  .heatwork-highlight-grid,
  .heatwork-segment-grid {
    grid-template-columns: 1fr;
  }

  .heatwork-cases {
    padding-top: 24px;
  }

  .heatwork-cases-head {
    gap: 14px;
  }

  .heatwork-case-gallery {
    height: 360px;
    grid-template-rows: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .heatwork-case-copy {
    padding: 26px 20px;
  }

  .heatwork-case-results {
    grid-template-columns: 1fr;
  }

  .heatwork-compact-case {
    grid-template-columns: 1fr;
  }

  .heatwork-compact-case img {
    height: 210px;
  }

  .topbar {
    border-bottom-color: rgba(43, 47, 51, 0.06);
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    margin-top: 10px;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    align-items: center;
    gap: 8px 10px;
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav-links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .nav-link {
    min-height: 34px;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    padding: 8px 6px;
    border: 1px solid rgba(43, 47, 51, 0.06);
    background: rgba(43, 47, 51, 0.05);
    color: var(--ink-2);
  }

  .nav-link.active {
    border-color: transparent;
    background: var(--orange);
    color: #fff;
  }

  .nav-actions {
    grid-area: actions;
    width: auto;
    justify-content: flex-end;
    align-self: start;
  }

  .cart-button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 14px;
    white-space: nowrap;
  }

  .public-logo {
    gap: 8px;
  }

  .public-logo-mark {
    width: 82px;
    height: 50px;
  }

  .public-logo-word {
    width: 116px;
    height: 18px;
  }

  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-inner {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(28px, 9vw, 44px);
  }

  .lead {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions,
  .row-actions {
    margin-top: 20px;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero-panel h2 {
    font-size: 19px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 12px;
  }

  .stat strong {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .worksite-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 12px;
    background:
      linear-gradient(180deg, rgba(244, 246, 247, 0.96) 0%, rgba(244, 246, 247, 0.84) 48%, rgba(244, 246, 247, 0.18) 100%),
      url("assets/products/tyomaatilat-bg.jpg") center / cover no-repeat;
  }

  .worksite-card {
    grid-template-rows: 178px auto;
    box-shadow: 0 12px 34px rgba(20, 24, 28, 0.16);
  }

  .worksite-summary {
    margin-bottom: 12px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.38;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    margin: 0 0 14px;
  }

  .filter-row span {
    grid-column: 1 / -1;
    margin-right: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .filter-button {
    min-height: 36px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .power-filter {
    padding: 8px 6px;
    font-size: 13px;
  }

  .person-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .person-card img {
    width: min(100%, 260px);
    height: 390px;
    min-height: 0;
    justify-self: center;
  }

  .person-copy {
    min-height: 0;
  }

  .contact-links a {
    white-space: normal;
  }

  .product-card {
    min-height: auto;
    grid-template-rows: 178px auto;
    border-radius: 10px;
  }

  .product-image {
    padding: 12px 10px 8px;
  }

  .product-image img {
    max-height: 150px;
  }

  .product-body {
    padding: 14px 12px 12px;
  }

  .product-body h3 {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.12;
  }

  .product-meta-line {
    gap: 6px;
    min-height: 0;
    margin-bottom: 10px;
  }

  .product-type {
    font-size: 14px;
  }

  .power-badge {
    min-height: 22px;
    font-size: 11px;
    padding: 4px 8px;
  }

  .spec-list {
    gap: 6px;
    margin-bottom: 12px;
  }

  .spec {
    min-height: 48px;
    padding: 8px;
  }

  .spec span {
    font-size: 11px;
  }

  .spec strong {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.2;
  }

  .product-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .primary-button,
  .secondary-button,
  .link-button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .product-detail .product-image {
    min-height: 320px;
  }

  .heatwork-hero-grid {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .heatwork-stage {
    min-height: 300px;
  }

  .heatwork-overview {
    margin-top: 0;
  }

  .heatwork-product-card {
    grid-template-rows: 250px auto;
  }

  .heatwork-product-copy h3 {
    font-size: 25px;
  }

  .cart-item {
    grid-template-columns: 52px 1fr;
  }

  .cart-item .qty-control {
    grid-column: 2;
  }

  .asset-toolbar,
  .asset-controls {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-brand img {
    width: 128px;
  }

  .footer-contact {
    text-align: left;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .cookie-banner-actions .primary-button,
  .cookie-banner-actions .cookie-reject {
    width: auto;
    min-height: 40px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .cookie-policy-grid {
    grid-template-columns: 1fr;
  }

  .cookie-policy-card.full {
    grid-column: auto;
  }

  .cookie-policy-card {
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 390px) {
  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .filters,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-row span {
    grid-column: auto;
  }
}
