/* ---------- Pohjola-kaistale FI-palvelusivuille (toimisto, hallitus) ---------- */
/* Vaalea palvelu-teema säilyy; tämä lisää sivun loppuun saman tumman
   yömeri-kaistalan kuin /en-sivulla + hienovaraiset reveal-animaatiot. */

.nordics {
  position: relative; margin: 72px 0 8px; border-radius: 14px; overflow: hidden;
  background: #050e1a; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .45);
}
.nordics canvas { display: block; width: 100%; height: 320px; }
.nordics-cap {
  position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center;
  color: #9fb3b8; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.nordics-title {
  position: absolute; left: 28px; top: 22px; margin: 0;
  color: #e8c987; font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.nordics-badge {
  position: absolute; right: 24px; top: 20px;
  border: 1px solid rgba(232, 201, 135, .45); border-radius: 999px;
  padding: 5px 13px; color: #e8c987; font-size: 11px; letter-spacing: .14em;
  background: rgba(5, 14, 26, .5); backdrop-filter: blur(3px);
}

@media (prefers-reduced-motion: no-preference) {
  /* Reveal-osiot — palvelu.css:n globaali animaatiokielto voitetaan !importantilla */
  .rv { opacity: 0; transform: translateY(22px); }
  .rv.on { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1) !important; }
  .rv.on .feature, .rv.on .crosslink, .rv.on details { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both !important; }
  .rv.on .feature:nth-child(2), .rv.on .crosslink:nth-child(2), .rv.on details:nth-child(2) { animation-delay: .1s !important; }
  .rv.on .feature:nth-child(3), .rv.on .crosslink:nth-child(3), .rv.on details:nth-child(3) { animation-delay: .2s !important; }
  .rv.on .feature:nth-child(4) { animation-delay: .3s !important; }

  /* Hinnastokortin henkäys */
  .price-card { transition: box-shadow .3s ease, border-color .3s ease !important; }
  .price-card:hover { box-shadow: 0 18px 40px -24px rgba(0, 36, 125, .35) !important; border-color: var(--blue) !important; }
  .price-amount { transition: color .3s ease !important; }
  .price-card:hover .price-amount { color: var(--blue) !important; }

  .nordics-cap { animation: capFloat 5s ease-in-out infinite !important; }

  /* Napit — pehmeä painallus */
  button, .button { transition: transform .15s ease, background .2s ease, border-color .2s ease !important; }
  button:active, .button:active { transform: scale(.97) !important; }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes capFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- Palveluosio (etusivu + palvelusivut) ---------- */
.svc { margin: 72px 0 0; width: 100%; }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.svc-title { font-weight: 700; letter-spacing: -.02em; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.svc-lead { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 0 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.svc-card {
  display: flex; flex-direction: column; gap: 8px; position: relative;
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 20px;
  background: #fff; text-decoration: none; color: var(--ink);
  border-top: 3px solid var(--ink);
}
.svc-card strong { font-size: 15px; font-weight: 700; }
.svc-price { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.svc-go { font-size: 13px; font-weight: 700; margin-top: 4px; }
.svc-go::after { content: " →"; }
.svc-card:hover { border-color: var(--ink); }
.svc-card:hover .svc-go { text-decoration: underline; text-underline-offset: 3px; }
.svc-en { border-top-color: #d9b36a; }
.svc-en .svc-price { color: #8a6d33; }
.svc-note { margin: 18px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .svc-grid { transition: none; }
  .svc-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important; }
  .svc-card:hover { transform: translateY(-4px) !important; box-shadow: 0 18px 38px -24px rgba(20, 40, 30, .4) !important; }
  .rv.on .svc-card { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both !important; }
  .rv.on .svc-card:nth-child(2) { animation-delay: .08s !important; }
  .rv.on .svc-card:nth-child(3) { animation-delay: .16s !important; }
  .rv.on .svc-card:nth-child(4) { animation-delay: .24s !important; }
  .rv.on .svc-card:nth-child(5) { animation-delay: .32s !important; }
}

@media (max-width: 600px) {
  .nordics canvas { height: 230px; }
  .nordics-title { left: 18px; top: 16px; }
  .nordics-badge { display: none; }
  .svc { margin-top: 56px; }
  .nordics--full canvas { height: 240px; }
}

/* ---------- Täysleveä yömeri (etusivu) ---------- */
.nordics--full {
  width: 100vw;
  position: relative; left: 50%; transform: translateX(-50%);
  border-radius: 0; margin-top: 0;
}
.nordics--full canvas { height: 400px; }
.nordics--full .nordics-title { left: 5%; }
.nordics--full .nordics-badge { right: 5%; }
body { overflow-x: hidden; }

/* ---------- Kultainen aalto — johdanto yömereen ---------- */
.goldwave {
  width: 100vw; height: 54px;
  position: relative; left: 50%; transform: translateX(-50%);
  margin-top: 80px;
  background-color: #07121d;
  background-image:
    repeating-linear-gradient(100deg, rgba(217, 179, 106, .34) 0 3px, transparent 3px 30px),
    repeating-linear-gradient(80deg, rgba(217, 179, 106, .18) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #0a1c2a 0%, #07121d 100%);
  background-size: 260px 100%, 180px 100%, 100% 100%;
  background-repeat: repeat-x, repeat-x, no-repeat;
  overflow: hidden;
}
.goldwave::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(217, 179, 106, .10), transparent 45%);
}
@media (prefers-reduced-motion: no-preference) {
  .goldwave { animation: waveDrift 11s linear infinite !important; }
}
@keyframes waveDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 260px 0, -180px 0, 0 0; }
}
@media (max-width: 600px) {
  .goldwave { height: 40px; margin-top: 56px; }
  .nordics--full canvas { height: 240px; }
}
