/* KT Rakennus & Maalaus – generoitu: node build/wp-assets.js. Älä muokkaa käsin. */
/* ===== fonts.css ===== */
/* Teeman omat fontit (SIL OFL 1.1, lisenssit assets/fonts/). Generoitu: node build/fonts.js */
/* Barlow 400 latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 400 latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow 500 latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 500 latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow 600 latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 600 latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow Condensed 600 latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow Condensed 600 latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow Condensed 700 latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow Condensed 700 latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== base.css ===== */
/* KT Rakennus & Maalaus – yhteiset perustyylit. Teemakohtaiset muuttujat ja poikkeamat theme.css:ssä. */
:root {
  --orange: #DF5910; --orange-dark: #c24d0d; --orange-soft: #fdeee5;
  --ink: #1a1a1a; --ink-2: #272727; --gray-1: #f5f5f5; --gray-2: #e4e4e4; --gray-3: #6b6b6b; --white: #fff;
  --font-body: 'Barlow', system-ui, sans-serif; --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --radius: 10px; --radius-sm: 6px; --shadow: 0 6px 24px rgba(0,0,0,.08); --shadow-lg: 0 16px 40px rgba(0,0,0,.14);
  --container: 1200px; --gutter: 20px; --section: clamp(48px, 7vw, 88px);
  --head-weight: 700; --head-tracking: 0; --head-transform: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--gray-3); } .small { font-size: .9rem; } .center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--gray { background: var(--gray-1); }
.section--dark { background: var(--ink); color: #e9e9e9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head .lead { margin-bottom: 0; }
.section-foot { text-align: center; margin-top: 36px; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; font-weight: 600; color: var(--orange); margin-bottom: .6em; }
.eyebrow--light { color: #ffb48a; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.3em; }
.icon--l { margin-right: .45em; } .icon--r { margin-left: .45em; }

/* Painikkeet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 13px 22px; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.1; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--orange-dark); border-color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--orange-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-weight: 600; color: var(--orange-dark); }
.link-more .icon { transition: transform .2s; }
a:hover .link-more .icon, .link-more:hover .icon { transform: translateX(3px); }

/* Ruudukot */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .grid--4, .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.two-col__media { position: relative; }
.two-col__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col__media-2 { position: absolute; right: -24px; bottom: -32px; width: 45%; border: 6px solid #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col__media-2 img { border-radius: 0; box-shadow: none; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .two-col__media-2 { right: 0; bottom: -20px; } .two-col__media { margin-bottom: 24px; } }
.with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .with-sidebar { grid-template-columns: 1fr; } }

/* Paljastus */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Otsake */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 200px; height: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: inline-block; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); border-radius: var(--radius-sm); }
.nav__list > li > a:hover { text-decoration: none; color: var(--orange-dark); background: var(--gray-1); }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { padding: 10px 18px; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--gray-2); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.has-sub { display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -8px; cursor: pointer; color: var(--ink); display: inline-flex; }
.sub-toggle .icon { transition: transform .2s; }
.has-sub.is-open > .sub-toggle .icon, .has-sub:hover > .sub-toggle .icon { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; }
.sub a:hover { background: var(--orange-soft); color: var(--orange-dark); text-decoration: none; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0; top: var(--header-h, 84px); background: #fff; padding: 16px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; z-index: 40; border-top: 1px solid var(--gray-2); }
  .nav.is-open { transform: none; }
  .site-header { z-index: 60; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a { display: block; padding: 14px 8px; font-size: 1.3rem; border-bottom: 1px solid var(--gray-2); }
  .has-sub { flex-wrap: wrap; } .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 12px; } .sub-toggle .icon { width: 1.5em; height: 1.5em; }
  .sub { position: static; width: 100%; box-shadow: none; padding: 0 0 8px 16px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; } .has-sub.is-open:hover > .sub { display: block; }
  .nav__cta { margin: 20px 0 0; } .nav__cta .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.25) 100%); }
.hero__content { position: relative; padding-top: 80px; padding-bottom: 80px; max-width: 820px; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.hero h1 { color: #fff; max-width: 14em; }
.hero__lead { font-size: 1.2rem; max-width: 600px; color: #f1f1f1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.hero__points li { display: flex; align-items: center; gap: 6px; }
.hero__points .icon { color: var(--orange); background: #fff; border-radius: 50%; padding: 2px; }
.hero--landing { min-height: 600px; }
.hero__content > * { animation: heroIn .7s ease both; }
.hero__content > :nth-child(2) { animation-delay: .08s; } .hero__content > :nth-child(3) { animation-delay: .16s; } .hero__content > :nth-child(4) { animation-delay: .24s; } .hero__content > :nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__content > * { animation: none; } }
@media (max-width: 700px) { .hero { min-height: 0; } .hero__content { padding: 64px var(--gutter); } }

/* Numerot */
.stats { background: var(--white); border-bottom: 1px solid var(--gray-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 20px; text-align: center; border-left: 1px solid var(--gray-2); }
.stat:first-child { border-left: 0; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--orange); line-height: 1; }
.stat__label { margin-top: 8px; color: var(--ink-2); font-weight: 500; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat { border-left: 0; border-top: 1px solid var(--gray-2); } .stat:nth-child(-n+2) { border-top: 0; } }

/* Kortit */
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .25s, box-shadow .25s; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body p { margin: 0; color: var(--ink-2); flex: 1; }
.card__body h3, .card__body h2 { margin: 0; }
.card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); margin-bottom: 6px; }
.card__icon .icon { width: 24px; height: 24px; }
.card__tag { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 4px 10px; border-radius: 4px; }
.card--h { flex-direction: row; } .card--h .card__img { width: 42%; aspect-ratio: auto; } .card--h .card__body { width: 58%; }
@media (max-width: 700px) { .card--h { flex-direction: column; } .card--h .card__img, .card--h .card__body { width: 100%; } .card--h .card__img { aspect-ratio: 4/3; } }
.grid--wide .card--h .card__body { gap: 10px; }
.mini-list { margin: 4px 0 8px; padding-left: 1.1em; color: var(--ink-2); font-size: .95rem; }
.card .link-more { margin-top: 8px; }

/* Palvelutiilet (Demo B) */
.tile { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.tile:hover { text-decoration: none; border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.2rem; margin: 0; } .tile p { margin: 0; font-size: .95rem; color: var(--ink-2); flex: 1; }
.tile__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); }
.tile__icon .icon { width: 26px; height: 26px; }
.group-title { display: flex; align-items: center; gap: 10px; margin: 40px 0 20px; } .group-title:first-child { margin-top: 0; }
.group-title .icon { color: var(--orange); width: 1.1em; height: 1.1em; }

/* Listat */
.list-check, .list-x, .list-note { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li, .list-x li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.list-check .icon { color: #fff; background: var(--orange); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: 2px; }
.list-check--light .icon { background: var(--orange); }
.list-x .icon { color: #fff; background: var(--gray-3); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: 2px; }
.list-note li { padding: 8px 0 8px 16px; border-left: 3px solid var(--orange); margin-bottom: 8px; color: var(--ink-2); }
.chips { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chip { background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 999px; padding: 5px 14px; font-size: .92rem; font-weight: 500; }
button.chip { cursor: pointer; font: inherit; font-size: .95rem; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* Rajaus (mitä teemme / emme) */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope__col { background: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.scope__col--no { border-top-color: var(--gray-3); }
.scope__col h3 { display: flex; align-items: center; gap: 8px; }
.scope__col h3 .icon { color: var(--orange); } .scope__col--no h3 .icon { color: var(--gray-3); }
.scope__note { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 1.05rem; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

/* Prosessi */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px 20px 20px; background: var(--gray-1); border-radius: var(--radius); }
.step__num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; } .step p { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Luottamus */
.trust__item { padding: 28px; border: 1px solid var(--gray-2); border-radius: var(--radius); }
.trust__item > .icon { width: 40px; height: 40px; color: var(--orange); margin-bottom: 12px; }
.trust__item p { margin: 0; color: var(--ink-2); }
.badge-float { position: absolute; left: -20px; bottom: 28px; background: var(--orange); color: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.1; }
.badge-float strong { font-family: var(--font-head); font-size: 2rem; }
@media (max-width: 900px) { .badge-float { left: 12px; bottom: 12px; } }
.badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 12px; }
.badge-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; height: 72px; padding: 0 20px; border: 2px dashed var(--gray-2); border-radius: var(--radius); color: var(--gray-3); font-family: var(--font-head); font-weight: 600; }

/* UKK */
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--orange); transition: transform .2s; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq__body { padding: 0 20px 18px; color: var(--ink-2); } .faq__body p { margin: 0; }

/* CTA-nauha */
.cta-band { background: var(--orange); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; } .cta-band p { margin: 0; max-width: 560px; color: #fff3ec; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Alasivun otsikkoalue */
.page-hero { background: var(--gray-1); padding: 40px 0 48px; }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }
.page-hero--img { position: relative; color: #fff; padding: 56px 0 64px; }
.page-hero__bg { position: absolute; inset: 0; } .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.85), rgba(10,10,10,.5)); }
.page-hero--img .container { position: relative; } .page-hero--img h1, .page-hero--img .lead { color: #fff; }
.page-hero--img .crumbs a, .page-hero--img .crumbs li { color: #ddd; }
.page-hero--split { padding-bottom: 0; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.page-hero__grid > div:first-child { padding-bottom: 48px; }
.page-hero__media { align-self: stretch; min-height: 320px; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; gap: 24px; } .page-hero__grid > div:first-child { padding-bottom: 0; } .page-hero__media { min-height: 220px; max-height: 320px; } }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--gray-3); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--gray-3); }
.anchor-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-list a { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 6px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; }
.anchor-list a:hover { background: #fff; color: var(--ink); text-decoration: none; }

/* Palvelulohkot */
.service-blocks { display: grid; gap: 56px; }
.service-block { scroll-margin-top: 110px; }
.service-block__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.service-block__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; position: sticky; top: 110px; }
.service-block__text h3 { font-size: 1.15rem; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-3); }
.service-block__text h3:first-child { margin-top: 0; }
.service-block + .service-block { padding-top: 48px; border-top: 1px solid var(--gray-2); }
@media (max-width: 760px) { .service-block__grid { grid-template-columns: 1fr; } }
.contact-card { position: sticky; top: 110px; background: var(--gray-1); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--orange); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card__name { margin: 0 0 12px; color: var(--gray-3); }
.contact-card__phone, .contact-card__mail { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.contact-card__phone { font-family: var(--font-head); font-size: 1.5rem; } .contact-card .icon { color: var(--orange); }
.contact-card .btn { margin-top: 8px; }
.prose h2 { margin-top: 1.4em; } .prose h2:first-child { margin-top: 0; }

/* Yhteystiedot */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-big { display: flex; align-items: center; gap: 16px; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; margin-bottom: 18px; line-height: 1.2; }
.contact-big small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: .06em; }
.contact-big .icon { width: 48px; height: 48px; padding: 12px; background: var(--orange-soft); color: var(--orange-dark); border-radius: 12px; }
.contact-big--static { font-size: 1.15rem; }
.social { display: flex; gap: 16px; margin: 12px 0; }
.social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: inherit; }
.social--big a { font-family: var(--font-head); font-size: 1.15rem; padding: 10px 16px; border: 2px solid var(--gray-2); border-radius: var(--radius-sm); color: var(--ink); }
.social--big a:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; }
.social--big.center { justify-content: center; }
.social .icon { width: 1.4em; height: 1.4em; }
.contact-form { background: var(--gray-1); padding: 32px; border-radius: var(--radius); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(.3); }

/* Lomake */
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; border: 1px solid #cfcfcf; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form .is-invalid { border-color: #c0392b; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin: 4px 0 0; }
.form__row--actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__hint { color: var(--gray-3); }
.form__error { color: #c0392b; font-weight: 600; margin: 12px 0 0; }
.form__success { background: #fff; border-left: 4px solid var(--orange); padding: 20px 24px; border-radius: var(--radius-sm); }
.form__success h3 { margin-bottom: 4px; } .form__success p { margin: 0; }
.demo-note { background: #fff8e1; border: 1px dashed #e0b400; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .92rem; color: #6d5400; max-width: 760px; }

/* Alatunniste */
.site-footer { background: var(--ink); color: #d6d6d6; padding: 56px 0 0; margin-top: 0; }
.site-footer h3 { color: #fff; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 170px; margin-bottom: 14px; background: #fff; padding: 8px 10px; border-radius: 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { color: #d6d6d6; } .footer-links a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .social a { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px var(--gutter); border-top: 1px solid #333; font-size: .9rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Demo B -otsakeosat (piilossa A:ssa) */
.topbar, .servicebar, .nav__services-label, .nav__list--services, .nav__list--mobile-extra { display: none; }

/* ---------- Lisäykset: valittu versio + peltikattosivusto ---------- */
.icon--sm { width: 1em; height: 1em; }
.nav__ext > a { color: var(--gray-3) !important; }
.service-block--featured { background: var(--ink); color: #e9e9e9; padding: 36px; border-radius: var(--radius); border-top: 0 !important; margin-top: 8px; }
.service-block + .service-block--featured { padding-top: 36px; }
.service-block--featured h2, .service-block--featured .service-block__text h3 { color: #fff; }
.service-block--featured .lead, .service-block--featured .list-note li { color: #d6d6d6; }
.service-block--featured .service-block__text h3 { color: #ffb48a; }
.service-block--featured .service-block__media img { box-shadow: none; }
.featured-box { background: var(--ink); color: #e9e9e9; padding: 36px; border-radius: var(--radius); }
.featured-box h2 { color: #fff; } .featured-box .btn { margin-top: 8px; }
.two-col--top { align-items: start; }
.promo-banner { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 20px 24px; background: var(--orange-soft); border: 1px solid #f6cdb3; border-radius: var(--radius); color: var(--ink); }
.promo-banner:hover { text-decoration: none; border-color: var(--orange); }
.promo-banner > .icon:first-child { width: 36px; height: 36px; color: var(--orange-dark); }
.promo-banner span { flex: 1; }
.promo-banner > .icon:last-child { color: var(--orange-dark); transition: transform .2s; }
.promo-banner:hover > .icon:last-child { transform: translateX(3px); }
.phase-list { list-style: none; counter-reset: ph; padding: 0; margin: 0 0 1em; }
.phase-list li { counter-increment: ph; position: relative; padding: 4px 0 16px 52px; display: flex; flex-direction: column; }
.phase-list li::before { content: counter(ph); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.phase-list li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 2px; background: var(--gray-2); }
.phase-list strong { font-family: var(--font-head); font-size: 1.15rem; }
.phase-list span { color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-weight: 600; }
@media (max-width: 800px) { .gallery, .gallery--2 { grid-template-columns: 1fr; } }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-card__photo { background: var(--gray-1); color: #b5b5b5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 1 / 1; font-size: .85rem; }
.team-card__photo .icon { width: 42%; height: 42%; stroke-width: 1.2; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 16px 18px 20px; }
.team-card__body h3 { margin: 0; font-size: 1.2rem; }
.team-card__role { color: var(--orange-dark); font-weight: 600; margin: 2px 0 8px; }
.team-card--boss { flex-direction: row; max-width: 820px; border-top: 4px solid var(--orange); }
.team-card--boss .team-card__photo { width: 280px; flex: none; }
.team-card--boss .team-card__body { padding: 28px 32px; }
.team-card--boss h3 { font-size: 1.8rem; }
@media (max-width: 640px) { .team-card--boss { flex-direction: column; } .team-card--boss .team-card__photo { width: 100%; } }
.team-title { margin: 48px 0 20px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-mini__item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; font-size: .85rem; }
.team-mini__item .team-card__photo { aspect-ratio: 1 / 1; }
.team-mini__item strong, .team-mini__item span { padding: 0 10px; }
.team-mini__item strong { padding-top: 8px; font-family: var(--font-head); font-size: .95rem; }
.team-mini__item span { padding-bottom: 10px; color: var(--gray-3); }
.team-mini__item:first-child { grid-column: span 2; }
.team-mini__item:first-child .team-card__photo { aspect-ratio: auto; flex: 1; }
.team-grid .team-card__photo { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .team-mini { grid-template-columns: repeat(2, 1fr); } }
.team-mini__item span, .team-mini__item strong { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) { .team-card--boss .team-card__photo { aspect-ratio: 16 / 9; } .team-card__photo .icon { width: 30%; height: 30%; } }

.badges { align-items: center; gap: 28px 44px; }
.badge-img { display: inline-flex; align-items: center; height: 96px; }
.badge-img img { max-height: 96px; max-width: 220px; width: auto; height: auto; }

/* ===== theme-a.css ===== */
/* Demo A – "Selkeä": vaalea, ilmava, neljä palvelualuetta, pyöristetyt kortit. */
:root { --font-body: 'Barlow', system-ui, sans-serif; --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif; --radius: 12px; }
h1, h2 { letter-spacing: -.01em; }
.site-header { border-bottom: 1px solid var(--gray-2); }
.hero__bg::after { background: linear-gradient(100deg, rgba(12,12,12,.86) 0%, rgba(12,12,12,.5) 60%, rgba(12,12,12,.2) 100%); }
.hero { border-bottom: 6px solid var(--orange); }
.stats { background: #fff; }
.card--service .card__img { aspect-ratio: 16 / 11; }
.intro { background: #fff; }
.trust { background: #fff; }
.section-head h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--orange); margin: 14px auto 0; border-radius: 2px; }
.section-head--left h2::after { margin-left: 0; }
.cta-band { background: linear-gradient(100deg, var(--orange), #e8712f); }

/* ===== wp-extra.css ===== */

/* ---------- WordPress-kohtaiset lisäykset ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 1180px) {
  .admin-bar .nav { top: calc(var(--header-h, 84px) + 32px); }
}
@media (max-width: 782px) { .admin-bar .nav { top: calc(var(--header-h, 84px) + 46px); } }
.logo .custom-logo-link, .logo .custom-logo-link img { display: block; }
.logo img, .logo .custom-logo { width: 200px; height: auto; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a, .nav__list > li.current-menu-parent > a { color: var(--orange-dark); }
.sub li.current-menu-item > a { color: var(--orange-dark); background: var(--orange-soft); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.empty-state { text-align: center; padding: 40px 24px; background: var(--gray-1); border-radius: var(--radius); }
.page-hero__media img { display: block; }
.card__img img, .team-card__photo img { display: block; }
.gallery figcaption .muted { font-weight: 400; }
.post-item + .post-item { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--gray-2); }

/* Blokkieditorin sisältö */
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry-content .wp-block-image { margin: 0 0 1.2em; }
.entry-content .wp-block-image figcaption { font-size: .9rem; color: var(--gray-3); }
.entry-content ul:not(.list-check):not(.is-style-check), .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .3em; }
.entry-content .wp-block-button__link { background: var(--orange); color: #fff; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; padding: 13px 22px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); font-size: 1.1rem; }
.has-orange-color { color: var(--orange) !important; } .has-orange-background-color { background-color: var(--orange) !important; }
.has-ink-color { color: var(--ink) !important; } .has-gray-background-color { background-color: var(--gray-1) !important; }

/* Rastilista-tyyli (Listablokki → Tyylit → Rastilista) */
.is-style-check { list-style: none; padding-left: 0 !important; margin: 0 0 1em; }
.is-style-check li { position: relative; padding: 6px 0 6px 34px; margin: 0; }
.is-style-check li::before { content: ''; position: absolute; left: 0; top: 8px; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 62% no-repeat; }
.featured-box .list-check .icon, .service-block--featured .list-check .icon { background: var(--orange); }

/* Kartta napin takana */
.map__placeholder { background: var(--gray-1); border-top: 1px solid var(--gray-2); border-bottom: 1px solid var(--gray-2); padding: 48px 20px; text-align: center; }
.map__placeholder > .icon { width: 44px; height: 44px; color: var(--orange); }
.map__placeholder p { margin: 8px 0; }
.map__placeholder .btn-row { justify-content: center; margin: 14px 0 10px; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--gray-2); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-dark); }

/* Tunnustusmerkit logoina */
.badges { align-items: center; gap: 28px 44px; }
.badge-img { display: inline-flex; align-items: center; justify-content: center; height: 96px; }
.badge-img img { max-height: 96px; max-width: 220px; width: auto; height: auto; display: block; }
.section--badges { padding: 40px 0; border-top: 1px solid var(--gray-2); }
.section--badges .badges { margin-bottom: 0; }

/* Referenssikortit ilman kuvaustekstiä */
.card--ref .card__body { gap: 2px; padding: 16px 20px 18px; }
.card--ref .card__body h3 { font-size: 1.15rem; }

/* Blogi */
.card--post .card__body h2 { font-size: 1.3rem; }
.card--post .card__body p { flex: 1; }
.post-meta { margin: 14px 0 0; }
.post-figure { margin: 0 0 32px; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.post-back { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--gray-2); }
.link-more--back .icon { transform: rotate(180deg); }
.link-more--back:hover .icon { transform: rotate(180deg) translateX(3px); }
.navigation.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--gray-2); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; }
.pagination .page-numbers.current { background: var(--orange); border-color: var(--orange); color: #fff; }
