/* ============================================================================
   POHJA: VANKKA (B) — MODERNI RAKENTAJA (v3)
   Tyyli: vaalea, ilmava, minimalistinen. Vaalean harmaa pohja + hiilenmusta otsikot
   + yksi varma oranssi aksentti (rakentaminen/trades, mutta monikäyttöinen).
   Pehmeästi pyöristetyt kortit, hillityt varjot, EI caps-lock-otsikoita, EI liukuväriä.
   Matala kuvabanneri-hero tummalla filtterillä. Samat osio-luokat kuin muissa demoissa.
   ----------------------------------------------------------------------------
   TEEMA VAIHDETAAN VAIN TÄSTÄ :root-lohkosta.
   ============================================================================ */

:root {
  --c-accent: var(--c-primary);   /* toissijainen aksentti — sama nimi kaikissa pohjissa */
  /* Lomakkeen tilaviestit — teemattavissa kuten muutkin värit */
  --c-ok:  #1f9d55;
  --c-err: #d64545;
  /* ---- VÄRIT: Maanrakennus Mäenpää (valkoinen + musta + tumma metsänvihreä, asiakkaan toive 9.10.2026) ---- */
  --c-bg:        #FFFFFF;
  --c-surface:   #FFFFFF;
  --c-surface-2: #F2F4F1;   /* vaalea vihertävä harmaa, vain UKK-osio */
  --c-text:      #2A2D2B;
  --c-heading:   #111312;   /* lähes musta */
  --c-muted:     #555B57;
  --c-border:    #DDE2DD;
  --c-primary:   #1E4D2F;   /* tumma metsänvihreä */
  --c-primary-2: #153A23;
  --c-on-primary:#FFFFFF;
  --c-dark:      #0E1711;   /* vihertävä musta */
  --c-on-dark:   #E8ECE9;

  /* ---- LIUKUVÄRI: vain pääpainikkeet, yritysosio ja footer ---- */
  --grad: linear-gradient(135deg, #2B6A41 0%, #1E4D2F 55%, #143421 100%);
  --grad-dark: linear-gradient(160deg, #1A3A26 0%, #0F2117 55%, #0A120D 100%);

  /* ---- MUODOT (terävät kulmat → arkkitehtoninen, erottuu demo1/demo3:sta) ---- */
  --r-sm: 0;
  --r:    0;
  --r-lg: 0;
  --r-pill: 0;

  /* ---- VARJOT (pehmeät, neutraalit) ---- */
  --shadow-sm: 0 1px 3px rgba(16,18,24,.06);
  --shadow:    0 14px 36px -16px rgba(16,18,24,.20);
  --shadow-lg: 0 28px 64px -22px rgba(16,18,24,.28);

  /* ---- TYPOGRAFIA (moderni, monikäyttöinen — ei kapea/maskuliininen, ei caps lock) ---- */
  /* Otsikot ja leipä samaa jämäkkää Archivoa. Cooper-tyyli vain logossa (Minna 12.10.2026). */
  --font-display: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, sans-serif;
  --font-body:    'Archivo', 'Archivo Fallback', system-ui, -apple-system, sans-serif;

  /* ---- MITAT ---- */
  --container: 1180px;
  --pad-x: clamp(18px, 5vw, 40px);
  --gap: clamp(18px, 2.4vw, 26px);
  --section-y: clamp(60px, 8vw, 108px);
}

/* =====================  VÄRI-PRESETIT  ============================
   TUMMA (arkkitehti):
     --c-bg:#14161B; --c-surface:#1C1F26; --c-surface-2:#0F1115;
     --c-text:#C7CAD2; --c-heading:#FFFFFF; --c-muted:#8B909B;
     --c-border:#2A2E37; --c-primary:#FF6A3D; --c-primary-2:#FF824F;
     --c-on-primary:#14161B; --c-dark:#0B0C10; --c-on-dark:#E6E9F0;

   SLATE-SININEN (aksentti):
     --c-primary:#2F6FED; --c-primary-2:#1E54C0; --c-dark:#141A24;

   VIHREÄ (kestävä rakentaminen):
     --c-primary:#2E9E6B; --c-primary-2:#1F7E53; --c-dark:#13201A;

   Toimialapaletit: ks. ../../CLAUDE.md
   ================================================================== */

/* ===========================  CLS-VARAUS  ============================ */
/* shared.js rakentaa navin vasta ajossaan. Ilman varausta koko sivu hyppää
   navin korkeuden verran alas, kun navi ilmestyy (mitattu CLS jopa 0,21).
   Kun kääre on täytetty, :empty ei enää päde eikä sääntö vaikuta mihinkään. */
#site-nav:empty { display: block; height: 73px; }

/* ===========================  RESET / BASE  ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; overflow-x: clip;
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-heading); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); font-weight: 700; }
p { margin: 0 0 1rem; max-width: 66ch; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--c-primary); color: var(--c-on-primary); padding: 10px 18px; font-weight: 700; border-radius: var(--r); }
.skip-link:focus { left: 14px; }

/* ===========================  LAYOUT  ============================ */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--c-primary); }
.section--dark .eyebrow { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--c-muted); }
.sec-head { max-width: 840px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head .lead { max-width: 60ch; }
.sec-head--center { margin-inline: auto; text-align: center; max-width: 880px; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ===========================  PAINIKKEET (pyöristetyt, solid aksentti)  ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  border: 1.5px solid transparent; transition: transform .16s ease, background .2s, box-shadow .2s, color .2s, border-color .2s;
  min-height: 50px;
}
.btn-primary {
  background: var(--grad); background-origin: border-box; background-repeat: no-repeat;
  color: var(--c-on-primary); border-color: transparent;
}
.btn-ghost { background: transparent; color: var(--c-heading); border-color: var(--c-border); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn .arr { transition: transform .2s; font-weight: 700; }
@media (hover: hover) {
  .btn-primary:hover { filter: brightness(1.15); transform: translateY(-2px); }
  .btn-ghost:hover { border-color: var(--c-heading); background: var(--c-heading); color: var(--c-surface); }
  .btn-ghost.on-dark:hover { background: #fff; color: var(--c-dark); border-color: #fff; }
  .btn:hover .arr { transform: translateX(4px); }
}
.btn-primary:active { transform: translateY(0); }
.tlink { color: var(--c-primary); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 7px; align-items: center; }
@media (hover: hover) { .tlink:hover .arr { transform: translateX(4px); } }

/* ===========================  HERO (matala kuvabanneri + tumma filtteri)  ============================ */
.hero { position: relative; min-height: clamp(460px, 66vh, 620px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* hidas, hienovarainen Ken Burns -zoomi */
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 45%; animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.01); } to { transform: scale(1.09); } }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,18,12,.64) 0%, rgba(8,18,12,.72) 45%, rgba(8,18,12,.90) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 84px); color: #fff; text-align: center; max-width: 880px; margin-inline: auto; }
.hero-inner .eyebrow { color: #fff; justify-content: center; }
.hero-inner h1 { color: #fff; max-width: 20ch; margin-inline: auto; letter-spacing: -.025em; }
.hero-inner h1 .accent { color: var(--c-primary); }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.36rem); color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: center; }
.hero-meta { display: flex; gap: 0; margin-top: 38px; flex-wrap: wrap; justify-content: center; border-top: 1px solid rgba(255,255,255,.22); }
.hero-meta .m { padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.22); }
.hero-meta .m:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-meta .m b { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: #fff; display: block; line-height: 1; letter-spacing: -.02em; }
.hero-meta .m span { font-size: .82rem; color: rgba(255,255,255,.72); }

/* ===========================  TRUST (vaalea, ilmava)  ============================ */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust-in { display: flex; align-items: center; gap: clamp(18px, 4vw, 50px); padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.trust-in .t { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 600; font-size: .95rem; }
.trust-in .t svg { color: var(--c-primary); flex: none; }

/* ===========================  PALVELUT (pehmeät kortit — 2×2, ei numeroita)  ============================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px 30px;
  transition: transform .2s ease, box-shadow .26s ease, border-color .2s; position: relative;
  display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--c-muted); margin-bottom: 18px; font-size: .97rem; }
.card .ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface)); color: var(--c-primary); }
.card .tlink { justify-content: flex-start; margin-top: auto; }
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ===========================  MEISTÄ + LUVUT  ============================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r-lg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stat { padding: 0; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--c-heading); display: block; line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: .86rem; color: var(--c-muted); }

/* ===========================  PROSESSI  ============================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--c-border); }
.step::before { content: counter(step); counter-increment: step;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--c-primary);
  width: 38px; height: 38px; display: grid; place-items: center; line-height: 1; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface)); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* ===========================  GALLERIA (yhtenäinen 3-grid, pyöristetty, staattinen)  ============================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .g { margin: 0; overflow: hidden; display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) { .gallery .g:hover img { transform: scale(1.05); } }
.gallery .g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(15,16,20,.8)); font-weight: 600; font-size: .92rem; }

/* ===========================  REFERENSSIT (ei tähtiä)  ============================ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; }
.quote p { font-size: 1.06rem; color: var(--c-heading); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r-pill); }
.quote .who b { display: block; font-size: .96rem; }
.quote .who span { font-size: .85rem; color: var(--c-muted); }

/* ===========================  HINNASTO  ============================ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: var(--gap); }
.plan { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); position: relative; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .tag { position: absolute; top: 18px; right: 18px; background: var(--c-primary); color: var(--c-on-primary); font-size: .72rem; font-weight: 700; padding: 6px 13px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--c-heading); line-height: 1; margin: 10px 0; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; color: var(--c-muted); font-family: var(--font-body); font-weight: 500; }
.plan.featured .price small { color: rgba(255,255,255,.6); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: .96rem; }
.plan.featured li { color: rgba(255,255,255,.85); }
.plan li svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ===========================  FAQ  ============================ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--r); margin-bottom: 12px; background: var(--c-surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 24px; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--c-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--c-primary); transition: rotate .2s; line-height: 1; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details[open] summary { color: var(--c-primary); }
.faq .a { padding: 0 24px 22px; color: var(--c-muted); }
.faq .a p { margin: 0; }

/* ===========================  CTA  ============================ */
.cta-band { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 76px); background: var(--c-dark); color: var(--c-on-dark); border-radius: var(--r-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 150% at 100% 0%, color-mix(in srgb, var(--c-primary) 24%, transparent), transparent 58%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .hero-cta { margin-top: 26px; }

/* ===========================  YHTEYS + LOMAKE  ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.contact-info .row svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.contact-info .row b { display: block; font-size: .95rem; }
.contact-info .row span { color: var(--c-muted); }
.contact-info .map { margin-top: 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-border); }
.contact-info .map iframe { width: 100%; height: 220px; border: 0; display: block; }

.form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 15px; border: 1.5px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); color: var(--c-text); font: inherit; font-size: 16px; transition: border-color .16s, box-shadow .16s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--c-muted); margin-top: 12px; }
.form-msg { margin-top: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; color: var(--c-ok); }
.form-msg.err { display: block; color: var(--c-err); }

/* ===========================  REVEAL POISTETTU  ============================
   Scroll-reveal pois — häiritsi lukemista. Sisältö staattisesti.
   Ainoa liike: hero-kuvan hienovarainen zoomi + kevyt galleria-hover. */
.reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }

/* ===========================  RESPONSIIVISUUS  ============================ */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 44px; }
  .stats { gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-meta .m { border-right: 0; padding-right: 0; margin-right: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-band .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}


/* Lomakkeen alasvetovalikko — samat mitat ja tila kuin muilla kentillä.
   Oma nuoli-ikoni, koska selaimen oletusnuoli ei noudata teemaa.
   (Lisätty pohjiin 26.8.2026: viisi asiakasta oli joutunut kirjoittamaan tämän itse.) */
.field select, .form-group select {
  width: 100%; font: inherit; font-size: 16px; color: inherit;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}


/* ============================================================================
   OSIOKIRJASTO — lisätty pohjiin 26.8.2026
   Nämä kolme rakennettiin aiemmin käsin lähes joka asiakkaalle (mm. A tape).
   Kaikki käyttävät pohjan omia muuttujia, joten ne teemautuvat itsestään.
   ============================================================================ */

/* --- Yhteyshenkilökortit: isot kasvokuvat, ei pikkuruisia nappikuvia ---------
   Rajaa kuvat KASVOIHIN ennen käyttöä. Koko vartalo 60 px ympyrässä tarkoittaa,
   ettei kasvoja erota — tämä oli A tapen ensimmäisen version virhe. */
.person-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 26px 0 8px; }
.person { display: flex; flex-direction: column; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.person > div { padding: 16px 18px 18px; }
.person b { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--c-heading); margin-bottom: 4px; }
.person a, .person span { display: block; font-size: .95rem; color: var(--c-muted); }
@media (hover: hover) { .person a:hover { color: var(--c-primary); } }

/* --- 2×2-korttiruudukko: neljä referenssiä tai palvelua ----------------------
   Palvelukorttien rivisääntö: 4 kpl EI KOSKAAN 3+1, vaan 2×2. */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards--2 { grid-template-columns: 1fr; } }
.cards--2 .card .num { display: inline-block; align-self: flex-start; font-size: .9rem;
  letter-spacing: .12em; font-weight: 700; color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  padding: 5px 13px; border-radius: var(--r-pill); }

/* --- Nostolainaus: asiakassitaatti omalla kaistallaan ------------------------
   Toimii sekä vaalealla että tummalla osiolla (peri väri isännältä). */
.pull { margin: 0; max-width: 900px; margin-inline: auto; text-align: center; }
.pull p { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.35;
  max-width: none; margin: 0 0 22px; letter-spacing: -.02em; }
.pull footer { font-size: .96rem; letter-spacing: .04em; opacity: .75; }
.pull::before { content: "”"; display: block; font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem); line-height: .6; opacity: .18; margin-bottom: 8px; }

/* Hallinta: tiedotepalkki (inertti ilman hallinnan tiedote-moduulia). Sijainti heti navin alla (A3). */
.site-tiedote { background: color-mix(in srgb, var(--c-primary) 10%, var(--c-surface)); color: var(--c-heading);
  border-bottom: 1px solid var(--c-border); font-family: var(--font-body); }
.site-tiedote[hidden] { display: none; }
.site-tiedote-in { max-width: var(--container); margin-inline: auto; padding: 10px var(--pad-x);
  font-size: .95rem; line-height: 1.45; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 640px) { .site-tiedote-in { font-size: .88rem; padding-block: 8px; } }

/* ============================================================================
   MAANRAKENNUS MÄENPÄÄ: asiakaskohtaiset osiot (9.10.2026)
   ============================================================================ */

/* Kuusi palvelua: 3 + 3, tabletilla 2 + 2 + 2, puhelimella yksi sarake. */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3 { grid-template-columns: 1fr; } }
/* 5 korttia (purkutyöt pois 13.10.): viimeinen täyttää rivin 3 ja 2 sarakkeen näkymissä. */
@media (min-width: 601px) { .cards--3 > .card:nth-child(5):last-child { grid-column: span 2; } }
.card { border-top: 3px solid var(--c-primary); }
.card .ico { background: color-mix(in srgb, var(--c-primary) 10%, var(--c-surface)); }

/* Tumma liukuväriosio: yritys + merkit */
.section--grad { background: var(--grad-dark); }
.section--dark p { color: rgba(255,255,255,.86); }
.about-band { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-band p { font-size: clamp(1.05rem, 1.4vw, 1.18rem); margin: 0; }
.badges { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; }
.badges img { width: 180px; height: auto; border: 1px solid rgba(255,255,255,.18); }
@media (max-width: 860px) {
  .about-band { grid-template-columns: 1fr; }
  .badges { justify-content: flex-start; }
}
@media (max-width: 420px) { .badges img { width: calc(50% - 9px); } }

/* UKK: täydennettävät vastaukset näkyvät erottuvina, jotta asiakas tunnistaa ne demossa. */
.faq .a a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.tayd { color: #8a5a00; font-style: italic; }

/* Yhteystiedot: kolme klikattavaa numeroa korttina, alla osoite + sähköposti ja kartta. */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.ccard { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--c-surface);
  border: 1px solid var(--c-border); border-left: 4px solid var(--c-primary); transition: border-color .2s, transform .16s; }
.ccard .who { font-weight: 600; color: var(--c-muted); font-size: .95rem; }
.ccard .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--c-heading); letter-spacing: 0; white-space: nowrap; }
@media (hover: hover) { .ccard:hover { border-color: var(--c-primary); transform: translateY(-2px); } .ccard:hover .num { color: var(--c-primary); } }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
.contact-info .row:first-child { padding-top: 0; }
.contact-info .row span { color: var(--c-text); display: block; }
.contact-info .row .tlink { margin-top: 6px; }
.sposti { overflow-wrap: anywhere; }

.map { position: relative; border: 1px solid var(--c-border); background: var(--c-surface-2); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.map iframe[hidden] { display: none; }
@media (max-width: 640px) { .map iframe { height: 300px; } }

/* Hero: "Maanrakennustyöt" on pitkä sana, joten kapealla näytöllä otsikko pienenee eikä vuoda yli. */
.hero-inner h1 { font-size: clamp(2rem, 7vw, 4.1rem); max-width: none; }
@media (max-width: 400px) { .hero-inner h1 { font-size: 1.85rem; } }

/* Painikkeet: teksti aina keskellä ja väljemmät sivut (Valtteri 9.10.2026). */
.btn { justify-content: center; text-align: center; padding-inline: 32px; }
.eva .btn { padding-inline: 24px; }

/* Palveluiden johdanto yhdelle riville leveällä näytöllä (Valtteri 9.10.2026). */
#palvelut .sec-head, #palvelut .sec-head .lead { max-width: none; }

/* Yhteystiedot: selkeämmät numerokortit ja ilmaa korttien, tietojen ja kartan väliin (Valtteri 9.10.2026). */
.contact-cards { gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
.ccard { flex-direction: row; align-items: center; gap: 18px; padding: 26px 26px; border-left-width: 5px; box-shadow: var(--shadow-sm); }
.ccard .ctxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccard .cico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ccard .who { font-size: 1rem; font-weight: 700; color: var(--c-heading); }
.contact-split { gap: clamp(36px, 6vw, 80px); }
.contact-info .row { padding: 20px 0; }
@media (max-width: 860px) { .contact-cards { gap: 14px; } }

/* Tietosuojaseloste: kapea lukupalsta. */
.seloste { max-width: 760px; }
.seloste h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.seloste h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 34px 0 10px; }
.seloste a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.seloste-pvm { margin-top: 34px; color: var(--c-muted); font-size: .92rem; }
