/* ============================================================
   SUOMEN SUKITUSTALO OY - GLOBAL STYLES (DARK-FIRST REDESIGN)
   Suunta A: teollinen, dark-first. Brändimuoto: viisto/notch.
   Lukot: 03-planning/design-choices.md
   ============================================================ */

/* --- TOKENS ------------------------------------------------- */
:root {
  --primary:       #1a4f7a;
  --primary-dark:  #0f2f4a;
  --primary-light: #2169a5;
  --accent:        #1e7ec8;
  --accent-dark:   #1565a3;
  --accent-bright: #3f9ae0;

  --surface-dark:   #0f2f4a;   /* perustausta (dominoi) */
  --surface-dark-2: #16405f;   /* kortit / kohotetut pinnat navyllä */
  --surface-dark-3: #0a2437;   /* syvin: footer, hero-pohja */
  --surface-light:  #f4f8fc;   /* relief-osiot */
  --bg-white:       #ffffff;

  --text-on-dark:       rgba(255,255,255,0.90);
  --text-on-dark-muted: rgba(255,255,255,0.60);
  --text-dark:  #12212e;
  --text-body:  #46586b;
  --text-light: #6b7280;

  --line-dark:  rgba(255,255,255,0.10);
  --line-light: rgba(0,0,0,0.08);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.18);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.28);
  --shadow-lg:  0 14px 44px rgba(0,0,0,0.38);

  --radius: 4px;
  --notch: 16px;
  --nav-h: 74px;
}

/* --- RESET --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
ul { list-style: none; }

/* --- BASE (dark-first) -------------------------------------- */
body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-on-dark);
  background-color: var(--surface-dark);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 17px);
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }
p { max-width: 68ch; }
a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
strong { color: #fff; }

/* --- LAYOUT -------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; position: relative; }

/* dark on dark plain section is the body; alternate tone helper */
.sec-tone { background: var(--surface-dark-2); }

/* RELIEF (light) sections - text flips to dark */
.bg-light {
  background-color: var(--surface-light);
  background-image: repeating-linear-gradient(135deg, rgba(15,47,74,0.028) 0 1px, transparent 1px 17px);
  color: var(--text-body);
}
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4 { color: var(--text-dark); }
.bg-light strong { color: var(--text-dark); }
.bg-light a { color: var(--accent-dark); }
.bg-light a:hover { color: var(--primary); }

.bg-dark { background: var(--surface-dark-3); }

/* viisto section divider - light section rises diagonally into the dark hero above */
.diag-top {
  clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%);
  margin-top: -42px;
  position: relative;
  z-index: 3;
  padding-top: 130px;
}
@media (max-width: 768px) {
  .diag-top { clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; padding-top: 88px; }
}

/* SECTION LABEL (with viisto tick) */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  transform: skewX(-24deg);
}
.bg-light .section-label { color: var(--accent-dark); }

.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.col-2.top { align-items: start; }
.col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; }

/* --- HEADER (always navy - bugikorjaus) --------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-dark-3);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo img { height: 42px; width: auto; filter: brightness(0) invert(1); }
nav ul { display: flex; align-items: center; gap: 22px; }
nav a {
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.35); }
nav a.active { color: #fff; border-bottom-color: var(--accent-bright); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  border-bottom: none !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.28s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav { display: none; background: var(--surface-dark-3); border-top: 1px solid var(--line-dark); }
#mobile-nav.open { display: block; }
#mobile-nav ul { display: flex; flex-direction: column; padding: 8px 24px 16px; }
#mobile-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 16px; font-weight: 500; font-family: 'Inter', sans-serif;
  display: block; padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  transition: color 0.2s;
}
#mobile-nav li:last-child a { border-bottom: none; }
#mobile-nav a:hover, #mobile-nav a.active { color: #fff; }
#mobile-nav .nav-cta { margin-top: 12px; text-align: center; width: 100%; padding: 13px 24px; border-radius: var(--radius); display: block; }
.mobile-nav-contact { padding: 14px 24px 20px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-contact .mnc-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
#mobile-nav .mobile-nav-contact a { border-bottom: none; padding: 3px 0; font-size: 15px; color: rgba(255,255,255,0.7); }
#mobile-nav .mobile-nav-contact a:hover { color: #fff; }

/* --- BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 30px; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 2px solid transparent; line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn-outline { background: transparent; color: var(--accent-bright); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.bg-light .btn-outline { color: var(--accent-dark); }
.bg-light .btn-outline:hover { color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* --- HERO ---------------------------------------------------- */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--surface-dark-3); padding: 0; }
.hero-home { min-height: calc(100vh - var(--nav-h)); }
.hero-page { min-height: 60vh; min-height: 460px; }
.hero-bg-slides { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  filter: grayscale(0.55) brightness(0.72) contrast(1.05);
}
/* crossfade animation only applies when multiple slides are stacked (home hero) */
.hero-bg-slides .hero-bg { opacity: 0; animation-name: hero-crossfade; animation-duration: 21s; animation-iteration-count: infinite; }
.hero-bg-1 { object-position: 78% 22%; animation-delay: 0s; }
.hero-bg-2 { object-position: 50% 30%; animation-delay: 7s; }
.hero-bg-3 { object-position: 50% 62%; animation-delay: 14s; }

@keyframes hero-crossfade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  28%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slides .hero-bg { animation: none; opacity: 0; }
  .hero-bg-slides .hero-bg-1 { opacity: 1; }
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-home .hero-overlay {
  background: linear-gradient(105deg, rgba(10,36,55,0.94) 0%, rgba(15,47,74,0.80) 46%, rgba(15,47,74,0.42) 100%);
}
.hero-page .hero-overlay { background: linear-gradient(100deg, rgba(10,36,55,0.90) 0%, rgba(15,47,74,0.72) 70%, rgba(15,47,74,0.55) 100%); }
.hero-navy { background: var(--surface-dark-3); }
.hero-navy .hero-overlay { background: radial-gradient(120% 120% at 0% 0%, rgba(30,126,200,0.14), transparent 55%); }

.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: rgba(255,255,255,0.86); font-size: 1.12em; max-width: 54ch; margin-bottom: 34px; }

/* trust eyebrow above H1 */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ''; width: 30px; height: 3px; background: var(--accent);
  transform: skewX(-24deg); flex-shrink: 0;
}

/* viisto accent-slash under hero H1 */
.hero-slash { width: 64px; height: 6px; background: var(--accent); margin-bottom: 26px; transform: skewX(-24deg); }

/* friction-reducing microcopy under CTAs */
.hero-microcopy {
  margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.58);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-microcopy::before {
  content: ''; width: 7px; height: 7px; background: var(--accent-bright);
  transform: skewX(-24deg); flex-shrink: 0;
}

/* floating credential card (home hero) */
.hero-proof {
  position: relative; z-index: 2; margin-left: auto; align-self: center;
  width: 268px; background: var(--bg-white);
  border-top: 4px solid var(--accent);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  filter: drop-shadow(0 18px 42px rgba(0,0,0,0.42));
}
.hero-proof-item { padding: 26px 30px; }
.hero-proof-item + .hero-proof-item { border-top: 1px solid var(--line-light); }
.hero-proof-num { display: block; font-family: 'Montserrat', sans-serif; font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-proof-lbl { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); margin-top: 9px; line-height: 1.4; }
.hero-flex { display: flex; align-items: center; gap: 48px; width: 100%; }
.hero-flex .hero-content { flex: 1; }

/* --- ICON POINTS -------------------------------------------- */
.icon-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icon-point {
  padding: 38px 26px; text-align: center;
  background: var(--surface-dark-2);
  border-top: 3px solid var(--accent);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  transition: transform 0.25s ease, background 0.25s ease;
}
.icon-point:hover { transform: translateY(-5px); background: #1b4d72; }
.icon-point-icon { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--accent-bright); }
.icon-point-title { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.icon-point-text { font-size: 14.5px; color: var(--text-on-dark-muted); line-height: 1.6; max-width: none; }
.bg-light .icon-point { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.bg-light .icon-point-title { color: var(--text-dark); }
.bg-light .icon-point-text { color: var(--text-body); }

/* --- CARDS --------------------------------------------------- */
.cards-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cards-grid-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.card {
  background: var(--surface-dark-2);
  padding: 40px 36px;
  border-top: 3px solid var(--accent);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  transition: transform 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-4px); background: #1b4d72; }
.card-featured { background: var(--accent); border-top-color: #fff; }
.card-featured:hover { background: var(--accent-dark); }
.card-featured h3, .card-featured .card-link { color: #fff; }
.card-featured p { color: rgba(255,255,255,0.85); }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 16px; margin-bottom: 20px; max-width: none; color: var(--text-on-dark-muted); }
.card-link { color: var(--accent-bright); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s, color 0.2s; }
.card-link:hover { gap: 8px; color: #fff; }
.bg-light .card { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.bg-light .card p { color: var(--text-body); }
.bg-light .card-link { color: var(--accent-dark); }

/* --- PROCESS STEPS (homepage teaser) ------------------------ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { position: relative; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--accent); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  margin-bottom: 20px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 15px; color: var(--text-body); max-width: none; }
/* dashed accent connector between step numbers (desktop only) */
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 23px; left: 62px; right: -30px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 11px);
  opacity: 0.45;
}

/* --- PROOF BAR ---------------------------------------------- */
.proof-bar { background: var(--surface-dark-3); padding: 96px 0; border-top: 3px solid var(--accent); }
.proof-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.proof-item { padding: 12px 28px; position: relative; }
.proof-item + .proof-item::before { content: ''; position: absolute; left: 0; top: 8%; height: 84%; width: 1px; background: var(--line-dark); }
.proof-num {
  font-family: 'Montserrat', sans-serif; font-size: clamp(38px, 5vw, 64px); font-weight: 800;
  color: #fff; line-height: 1.05; display: inline-block; padding-bottom: 16px;
  border-bottom: 3px solid var(--accent); margin-bottom: 18px; max-width: none;
}
.proof-label { font-size: 11px; color: var(--text-on-dark-muted); font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; max-width: none; }

/* --- TEAM CARDS (always on relief) -------------------------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.team-card { text-align: center; }
.team-card img {
  width: 100%; max-width: 240px; aspect-ratio: 3/4; object-fit: cover; object-position: center top;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  margin: 0 auto 16px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
}
.team-card-name { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-card-role { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.team-card-contact a { display: block; font-size: 14px; color: var(--accent-dark); font-weight: 500; margin-bottom: 2px; }
.team-card-contact a:hover { color: var(--primary); }

/* --- CTA SECTION -------------------------------------------- */
.cta-section { padding: 84px 0; text-align: center; }
.cta-home {
  background: var(--accent);
  clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%);
  padding-top: 108px;
}
.cta-home .btn-primary { background: #fff; color: var(--accent-dark); border-color: #fff; }
.cta-home .btn-primary:hover { background: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.9); color: var(--accent-dark); }
.cta-home .btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.cta-home .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.86); margin: 0 auto 36px; max-width: 52ch; font-size: 17px; }
.cta-section.bg-dark { border-top: 3px solid var(--accent); }

/* --- PRESS ARTICLE FAINT BACKGROUND ------------------------- */
.press-bg { position: relative; overflow: hidden; }
.press-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('img/lehtiartikkeli.jpg');
  background-repeat: no-repeat; background-position: right center; background-size: cover;
  filter: grayscale(1) brightness(1.15) contrast(1.05);
  opacity: 0.10;
}
.press-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--surface-dark) 6%, rgba(15,47,74,0.62) 42%, rgba(15,47,74,0) 88%);
}
.press-bg > .container { position: relative; z-index: 1; }

/* --- COMPACT REFS (etusivu) --------------------------------- */
.compact-refs { display: flex; flex-direction: column; gap: 12px; }
.compact-ref {
  padding: 16px 20px; background: var(--surface-dark-2);
  border-left: 3px solid var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.compact-ref strong { display: block; font-size: 14.5px; color: #fff; font-weight: 600; margin-bottom: 2px; }
.compact-ref span { font-size: 12.5px; color: var(--text-on-dark-muted); }
.compact-ref-more { font-size: 14px; color: var(--text-on-dark-muted); margin-top: 6px; padding-left: 4px; }

/* --- FULL REF LIST ------------------------------------------ */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ref-item { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.ref-item strong { display: block; font-size: 15px; color: #fff; font-weight: 600; }
.ref-item span { font-size: 13px; color: var(--text-on-dark-muted); }
.ref-item.highlight {
  padding: 15px 18px; background: rgba(30,126,200,0.10);
  border-left: 3px solid var(--accent); border-bottom: none; margin-bottom: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.ref-item.highlight strong { color: #fff; }
.ref-item.highlight span { color: var(--accent-bright); }
.bg-light .ref-item { border-bottom-color: var(--line-light); }
.bg-light .ref-item strong { color: var(--text-dark); }
.bg-light .ref-item span { color: var(--text-light); }
.bg-light .ref-item.highlight { background: rgba(30,126,200,0.07); border-bottom: none; }
.bg-light .ref-item.highlight strong { color: var(--text-dark); }
.bg-light .ref-item.highlight span { color: var(--accent-dark); }

/* --- STEPS -------------------------------------------------- */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.step:last-child { border-bottom: none; }
.step-num {
  width: 46px; height: 46px; background: var(--accent); color: #fff;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; flex-shrink: 0; margin-top: 3px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15.5px; max-width: none; color: var(--text-on-dark-muted); }
.bg-light .step { border-bottom-color: var(--line-light); }
.bg-light .step p { color: var(--text-body); }

/* --- COMPARISON TABLE --------------------------------------- */
.comparison-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; }
.comparison-table thead th {
  background: var(--accent-dark); color: #fff; padding: 16px 20px; text-align: left;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14.5px;
}
.comparison-table th:first-child { width: 38%; }
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); vertical-align: top; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) td { background: var(--surface-dark-2); }
.cell-sukitus { color: var(--accent-bright); font-weight: 600; }
.bg-light .comparison-table td { color: var(--text-body); border-bottom-color: var(--line-light); }
.bg-light .comparison-table tbody tr:nth-child(even) td { background: rgba(15,47,74,0.04); }
.bg-light .cell-sukitus { color: var(--accent-dark); }

/* --- FAQ ACCORDION ------------------------------------------ */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item:first-child { border-top: 1px solid var(--line-dark); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 24px 48px 24px 0;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px;
  color: #fff; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 6px; top: 22px;
  font-size: 28px; font-weight: 400; line-height: 1; color: var(--accent-bright);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--accent-bright); }
.faq-answer { padding: 0 48px 26px 0; }
.faq-answer p { color: var(--text-on-dark-muted); font-size: 16px; }
.bg-light .faq-item, .bg-light .faq-item:first-child { border-color: var(--line-light); }
.bg-light .faq-item summary { color: var(--text-dark); }
.bg-light .faq-item summary:hover { color: var(--accent-dark); }
.bg-light .faq-answer p { color: var(--text-body); }

/* --- INFO BLOCK --------------------------------------------- */
.info-block {
  background: var(--surface-dark-2); border-left: 3px solid var(--accent);
  padding: 32px 30px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.info-block-icon { width: 46px; height: 46px; color: var(--accent-bright); margin-bottom: 16px; }
.info-block h3 { font-size: 18px; margin-bottom: 10px; }
.info-block p { font-size: 15px; max-width: none; color: var(--text-on-dark-muted); }
.bg-light .info-block { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.bg-light .info-block p { color: var(--text-body); }

/* --- DUOTONE IMAGE FRAME ------------------------------------ */
.duotone { position: relative; overflow: hidden; background: var(--surface-dark-3); clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }
.duotone > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.05); }
.duotone::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: color; opacity: 0.88; }
.duotone::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(30,126,200,0.10), rgba(10,36,55,0.35)); }
.duotone-tall { aspect-ratio: 4/3; }

/* --- FORM ---------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.span-2 { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 500; color: var(--text-on-dark); font-family: 'Inter', sans-serif; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 1.5px solid rgba(255,255,255,0.18); border-radius: 0;
  padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 16px;
  color: #fff; background: rgba(255,255,255,0.05);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.4); }
input:focus, textarea:focus { outline: none; border-color: var(--accent-bright); background: rgba(255,255,255,0.09); box-shadow: 0 0 0 3px rgba(30,126,200,0.18); }
textarea { resize: vertical; min-height: 130px; }
.honeypot { display: none !important; visibility: hidden !important; position: absolute; }

/* --- CONTACT INFO ------------------------------------------- */
.contact-info h2 { margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--accent-bright); flex-shrink: 0; margin-top: 3px; }
.contact-item p { max-width: none; color: var(--text-on-dark-muted); }
.contact-item a { color: #fff; font-weight: 500; }
.contact-item a:hover { color: var(--accent-bright); }

/* --- INVOICE BOX -------------------------------------------- */
.invoice-box { background: var(--surface-dark-2); padding: 32px 36px; border-left: 3px solid var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch))); }
.invoice-box h3 { font-size: 18px; margin-bottom: 16px; }
.invoice-row { font-size: 15px; color: var(--text-on-dark-muted); margin-bottom: 4px; max-width: none; }

/* --- TRUST LOGOS (real credential images on white chips) ---- */
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-logo {
  background: #fff; border-radius: var(--radius);
  height: 56px; padding: 9px 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.trust-logo img { max-height: 100%; max-width: 118px; width: auto; display: block; }
/* Luotettava Kumppani is a white-on-transparent logo → render dark on the white chip */
.trust-logo--lk img { filter: brightness(0) opacity(0.82); }

/* larger variant for the dedicated certifications section */
.trust-logos-lg { gap: 16px; }
.trust-logos-lg .trust-logo { height: 78px; padding: 12px 24px; }
.trust-logos-lg .trust-logo img { max-width: 150px; }

/* compact, subtler variant inside the footer */
footer .trust-logos { gap: 10px; max-width: 320px; }
footer .trust-logo { height: 44px; padding: 6px 12px; box-shadow: none; }
footer .trust-logo img { max-width: 92px; }

/* --- FEATURE LIST ------------------------------------------- */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-item::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex-shrink: 0; margin-top: 10px; transform: skewX(-24deg); }
.feature-item p { font-size: 16px; max-width: none; color: var(--text-on-dark); }
.bg-light .feature-item p { color: var(--text-body); }

/* --- FOOTER ------------------------------------------------- */
footer {
  background-color: var(--surface-dark-3);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 15px);
  color: rgba(255,255,255,0.62); padding: 64px 0 32px; border-top: 3px solid var(--accent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 26ch; margin-bottom: 24px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.62); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; max-width: none; margin-bottom: 5px; color: rgba(255,255,255,0.62); }
.footer-col p a { color: rgba(255,255,255,0.62); }
.footer-col p a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); max-width: none; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-social a:hover { color: #fff; }

/* --- SKIP LINK (a11y) --------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff !important;
  padding: 12px 20px; border-radius: 0 0 var(--radius) var(--radius);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* --- ANIMATIONS --------------------------------------------- */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* respect reduced-motion for fade-ups too */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 1024px) {
  .icon-points { grid-template-columns: repeat(2, 1fr); }
  .proof-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .col-3-2 { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 30px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 980px) {
  nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  section { padding: 68px 0; }
  .col-2, .col-3-2 { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: 1; }
  .comparison-table { font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 10px 14px; }
  .cta-section { padding: 64px 0; }
  .cta-home { padding-top: 84px; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); }
  .proof-bar { padding: 60px 0; }
  .hero-flex { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-proof { margin-left: 0; width: 100%; max-width: 340px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .icon-points { grid-template-columns: 1fr; }
  .proof-bar-inner { grid-template-columns: 1fr; gap: 28px 0; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero h1 { font-size: 34px; }
}

/* --- PRINT -------------------------------------------------- */
@media print {
  *, *::before, *::after { background: #fff !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  body { background-image: none !important; font-size: 12pt; }
  #site-header, #mobile-nav, .hamburger, .hero-bg-slides, .hero-bg, .hero-overlay, .skip-link, .btn, .cta-section, .press-bg::before, .press-bg::after, footer .footer-social { display: none !important; }
  section { padding: 16px 0 !important; clip-path: none !important; margin: 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after, a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  h1, h2, h3, h4 { color: #000 !important; }
  .hero { min-height: 0 !important; }
  .card, .icon-point, .info-block, .invoice-box, .compact-ref { border: 1px solid #ccc !important; clip-path: none !important; page-break-inside: avoid; }
  .trust-logo img { filter: none !important; }
}
