/* =====================================================
   Nordweb.fi – Site Styles
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:      #3B6CF4;
  --blue-dark: #2B4FBF;
  --navy:      #0B1D35;
  --navy-mid:  #142D4F;
  --green:     #10B981;
  --bg-light:  #EBF0FA;
  --bg-page:   #F4F6FB;
  --text:      #1a2a3a;
  --muted:     #5a7a96;
  --white:     #ffffff;
  --border:    #D0D9E8;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(11,29,53,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  line-height: 1.25;
  font-weight: 700;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ─────────────────────────────────────────── */

.site-nav {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-logo-img--footer {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a {
  background: rgba(255,255,255,.1);
  color: var(--white);
  text-decoration: none;
}

/* Highlighted nav item (Valmispaketti) */
.nav-link--highlight {
  color: var(--green) !important;
}
.nav-link--highlight:hover {
  color: #34d399 !important;
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  z-index: 1000;
}

.nav-links li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: background 0.12s;
}

.nav-dropdown a:hover {
  background: var(--bg-light);
  color: var(--blue-dark);
  text-decoration: none;
}

.nav-dropdown .dd-section {
  padding: 0.35rem 1.25rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-nav-outline {
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: border-color 0.15s, color 0.15s;
}

.btn-nav-outline:hover {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  text-decoration: none;
}

.btn-nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0.4rem 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 7px;
  transition: background .15s;
}
.btn-nav-cart:hover { background: rgba(255,255,255,.1); text-decoration: none; color: var(--white); }
.nav-cart-count {
  background: var(--blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 5px;
}

.btn-nav-primary {
  padding: 0.45rem 1.15rem;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s;
}

.btn-nav-primary:hover {
  background: #1E3D8F;
  text-decoration: none;
  color: var(--white);
}

/* Mobile nav panel — hidden on desktop */
.mn-panel { display: none; }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  z-index: 1010;
  position: relative;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Burger → X animation */
.site-nav.nav-open .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.nav-open .nav-burger span:nth-child(2) {
  opacity: 0;
}
.site-nav.nav-open .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Off-canvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,29,53,.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-nav.nav-open ~ .nav-overlay,
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4a6e 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

/* Subtle background glow */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(59,108,244,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(59,108,244,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Top/bottom fade for depth */
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,29,53,0.6) 0%, transparent 20%, transparent 80%, rgba(11,29,53,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Animated geometric shapes ───────────────── */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Outer: position + enter animation */
.hero-shape {
  position: absolute;
  animation: shapeEnter 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

/* Inner pill: visual + float */
.hero-shape-pill {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(59,108,244,0.12), transparent);
  backdrop-filter: blur(2px);
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(255,255,255,0.05);
  animation: shapeFloat 12s ease-in-out infinite;
  position: relative;
}

.hero-shape-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 70%);
}

/* Shape 1 — large, left */
.hero-shape--1 {
  width: 600px; height: 140px;
  left: -10%; top: 15%;
  transform: rotate(12deg);
  animation-delay: 0.3s;
}
.hero-shape--1 .hero-shape-pill {
  background: linear-gradient(to right, rgba(59,108,244,0.15), transparent);
}

/* Shape 2 — medium, right bottom */
.hero-shape--2 {
  width: 500px; height: 120px;
  right: -5%; top: 70%;
  transform: rotate(-15deg);
  animation-delay: 0.5s;
}
.hero-shape--2 .hero-shape-pill {
  background: linear-gradient(to right, rgba(99,138,255,0.12), transparent);
  animation-delay: 2s;
}

/* Shape 3 — small-medium, left bottom */
.hero-shape--3 {
  width: 300px; height: 80px;
  left: 5%; bottom: 5%;
  transform: rotate(-8deg);
  animation-delay: 0.4s;
}
.hero-shape--3 .hero-shape-pill {
  background: linear-gradient(to right, rgba(79,118,244,0.12), transparent);
  animation-delay: 4s;
}

/* Shape 4 — small, right top */
.hero-shape--4 {
  width: 200px; height: 60px;
  right: 15%; top: 10%;
  transform: rotate(20deg);
  animation-delay: 0.6s;
}
.hero-shape--4 .hero-shape-pill {
  background: linear-gradient(to right, rgba(147,180,244,0.1), transparent);
  animation-delay: 1s;
}

/* Shape 5 — tiny, left top */
.hero-shape--5 {
  width: 150px; height: 40px;
  left: 20%; top: 5%;
  transform: rotate(-25deg);
  animation-delay: 0.7s;
}
.hero-shape--5 .hero-shape-pill {
  background: linear-gradient(to right, rgba(59,108,244,0.1), transparent);
  animation-delay: 3s;
}

@keyframes shapeEnter {
  0%   { opacity: 0; translate: 0 -150px; }
  100% { opacity: 1; translate: 0 0; }
}

@keyframes shapeFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none; opacity: 0.6; }
  .hero-shape-pill { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 1.5rem 5rem;
}

.hero-inner > * {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.5s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.7s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.9s; }
.hero-inner > *:nth-child(4) { animation-delay: 1.1s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  max-width: 600px;
}

.hero h1 em {
  font-style: normal;
  color: #93B4F4;
}

.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ── Hero Primary Button ── */
.hero .btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #3B6CF4 0%, #2B5AE0 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(0,0,0,.2),
    0 4px 12px rgba(59,108,244,.25),
    inset 0 1px 0 rgba(255,255,255,.12);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
}

/* Subtle shimmer sweep */
.hero .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.08) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #4478FF 0%, #3264F0 100%);
  box-shadow:
    0 2px 4px rgba(0,0,0,.2),
    0 8px 24px rgba(59,108,244,.35),
    inset 0 1px 0 rgba(255,255,255,.15);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero .btn-primary:hover::before {
  left: 100%;
}

.hero .btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0,0,0,.25),
    0 2px 8px rgba(59,108,244,.2),
    inset 0 1px 3px rgba(0,0,0,.1);
}

/* ── Hero Outline Button ── */
.hero .btn-outline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero .btn-outline:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero .btn-outline:hover::before {
  opacity: 1;
}

.hero .btn-outline:active {
  transform: translateY(0);
  background: rgba(255,255,255,.06);
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.85rem;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  padding: 0.8rem 1.85rem;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  text-decoration: none;
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
  margin-top: 0.15rem;
}

/* ── SECTION COMMONS ─────────────────────────────── */

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-dark);
  background: var(--bg-light);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
}

/* ── WHY US ──────────────────────────────────────── */

.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.why-detail {
  display: block;
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  opacity: 0.7;
}

.why-cta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.why-cta-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── 100% KOTIMAINEN ────────────────────────────── */

.kotimainen-section {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4a6e 100%);
  padding: 5rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.kotimainen-section .section-label {
  background: rgba(59,108,244,.22);
  color: #93B4F4;
}

.kotimainen-section .section-heading {
  color: #fff;
}

.kotimainen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.kotimainen-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

.kotimainen-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kotimainen-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.kotimainen-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.kotimainen-list li strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  display: block;
  margin-bottom: 0.15rem;
}

.kotimainen-list li span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Visual — hand-drawn circle */
.kotimainen-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kotimainen-svg-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kotimainen-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kotimainen-draw {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.kotimainen-draw.animate {
  animation: kotimainenDraw 2.5s cubic-bezier(0.43, 0.13, 0.23, 0.96) forwards;
}

@keyframes kotimainenDraw {
  to { stroke-dashoffset: 0; }
}

.kotimainen-label {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.kotimainen-label.animate {
  opacity: 1;
  transform: translateY(0);
}

.kotimainen-pct {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.kotimainen-word {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #7BA3FF;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .kotimainen-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .kotimainen-list li { text-align: left; }
  .kotimainen-svg-wrap { width: 260px; height: 260px; }
  .kotimainen-pct { font-size: 2.8rem; }
  .kotimainen-word { font-size: 1.15rem; }
  .kotimainen-visual { order: -1; }
}

/* ── SERVICES ────────────────────────────────────── */

.services-section { background: var(--bg-page); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card,
.service-card:hover,
.service-card:focus,
.service-card:active,
.service-card:visited {
  text-decoration: none;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--blue);
}

.service-card:hover .service-link {
  color: var(--blue);
  gap: 6px;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.service-price {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.service-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.service-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(5px);
}

/* ── INFRA ───────────────────────────────────────── */

.infra-section { background: var(--navy); color: var(--white); }

.infra-section .section-heading { color: var(--white); }
.infra-section .section-sub { color: rgba(255,255,255,.72); }
.infra-section .section-label { background: rgba(59,108,244,.22); color: #93B4F4; }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.infra-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 2rem 1.75rem;
}

.infra-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.infra-card p {
  color: rgba(255,255,255,.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.infra-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #93B4F4;
  background: rgba(59,108,244,.18);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.75rem;
}

/* ── DOMAIN SEARCH ───────────────────────────────── */

.domain-section { background: var(--bg-light); }
.domain-section-inner { text-align: center; }
.domain-section-inner .section-sub { margin: 0 auto; }
.domain-transfer-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--muted); }
.faq-header { text-align: center; }

.domain-search-box {
  display: flex;
  gap: 0.5rem;
  max-width: 640px;
  margin: 2.5rem auto 0;
}

.domain-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 9px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
}

.domain-input:focus { border-color: var(--blue); }

.btn-search {
  padding: 0.85rem 1.75rem;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-search:hover { background: var(--navy); }

.domain-tlds {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.tld-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.tld-price {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ── TESTIMONIALS ────────────────────────────────── */

.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}

.testimonial-stars {
  color: #f5c518;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── FAQ ─────────────────────────────────────────── */

.faq-section { background: var(--bg-page); }

.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ── CONTACT ─────────────────────────────────────── */

.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  background: var(--bg-page);
}

.form-input:focus,
.form-textarea:focus { border-color: var(--blue); background: var(--white); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.form-check input { accent-color: var(--blue-dark); }

.btn-submit {
  padding: 0.85rem 2rem;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}

.btn-submit:hover { background: var(--navy); }

/* ── BREADCRUMBS ────────────────────────────────── */

.breadcrumbs {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}
.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumbs-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumbs-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumbs-item a:hover { color: var(--blue); }
.breadcrumbs-item--current span {
  color: var(--navy);
  font-weight: 600;
}
.breadcrumbs-sep {
  color: var(--muted);
  opacity: 0.4;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

/* ── HTML SITEMAP ───────────────────────────────── */

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.sitemap-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.sitemap-heading:not(:first-child) {
  margin-top: 2rem;
}
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sitemap-list li a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  transition: color .15s;
}
.sitemap-list li a:hover {
  color: var(--blue);
}
@media (max-width: 768px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── COOKIE CONSENT BANNER ───────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transition: transform .3s ease;
}
.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-banner-text {
  color: rgba(255,255,255,.85);
  font-size: 0.85rem;
  line-height: 1.5;
}
.cookie-banner-text strong {
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.cookie-banner-text p {
  margin: 0;
}
.cookie-banner-text a {
  color: var(--blue);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.cookie-btn--accept {
  background: var(--green);
  color: #fff;
}
.cookie-btn--accept:hover { filter: brightness(1.1); }
.cookie-btn--necessary {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
}
.cookie-btn--necessary:hover { border-color: rgba(255,255,255,.5); color: #fff; }

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    padding: 1rem 1.2rem;
    gap: 1rem;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── FOOTER ──────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: #8bafc8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.55rem; }

.footer-col a {
  font-size: 0.88rem;
  color: #8bafc8;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a { color: #8bafc8; font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── TRUST BAR ───────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-icon {
  color: var(--green);
  font-size: 1rem;
}

/* ── FEATURE CARDS (palvelusivut) ────────────────── */
.features-grid-2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-card-v2 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}

.feature-card-v2:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--blue);
}

.feature-card-v2 .fc-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card-v2 h4 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.feature-card-v2 p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── STEPS SECTION ───────────────────────────────── */
.steps-section {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0;
}

.steps-section .section-heading { color: var(--white); margin-bottom: 2.5rem; }
.steps-section .section-label { background: rgba(59,108,244,.22); color: #93B4F4; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

/* ── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--navy) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-lg {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--green);
  color: var(--navy);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn-cta-lg:hover {
  transform: translateY(-2px);
  background: #0D9668;
  color: #fff;
  text-decoration: none;
}

/* ── PRICE HIGHLIGHTS ────────────────────────────── */
.price-highlight-section {
  background: var(--bg-page);
  padding: 4.5rem 0;
}

.price-card-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.price-card-main {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(59,108,244,.18);
}

.price-card-main .badge-popular {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.price-card-main .price-big {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-card-main .price-big small {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card-main .price-vat {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
  margin-bottom: 2rem;
}

.price-feats {
  list-style: none;
  text-align: left;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-feats li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
}

.price-feats .pf-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .features-grid-2col { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .features-grid-2col { grid-template-columns: 1fr; }
  .price-card-main { padding: 2rem 1.5rem; }
  .trust-bar-inner { gap: 1.25rem; }
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 900px) {
  .why-grid,
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 767px) {
  .nav-burger { display: flex; }
  .nav-links, .nav-cta { display: none !important; }

  /* ── Multi-screen mobile panel ─────────── */
  .mn-panel {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100dvh;
    background: var(--navy);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  .mn-panel.mn-open {
    transform: translateX(0);
  }

  .mn-screens {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* ── Screens ───────────────────────────── */
  .mn-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mn-screen.mn-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Enter/exit animations */
  .mn-screen.mn-enter-forward  { transform: translateX(100%);  opacity: 0; }
  .mn-screen.mn-enter-back     { transform: translateX(-40%);  opacity: 0; }
  .mn-screen.mn-exit-forward   { transform: translateX(-40%);  opacity: 0; pointer-events: none; }
  .mn-screen.mn-exit-back      { transform: translateX(100%);  opacity: 0; pointer-events: none; }

  /* ── Header ────────────────────────────── */
  .mn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    min-height: 64px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
  }

  .mn-header .nav-logo-img {
    height: 28px;
  }

  .mn-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.15s;
  }
  .mn-close:hover { color: #fff; }

  /* ── Back button ───────────────────────── */
  .mn-back {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
  }
  .mn-back:hover { color: #fff; }
  .mn-back svg { width: 6px; height: 10px; flex-shrink: 0; }

  /* ── Body ──────────────────────────────── */
  .mn-body {
    flex: 1;
    padding: 0.75rem 0;
    overflow-y: auto;
  }

  .mn-title {
    padding: 0.5rem 1.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
  }

  /* ── Menu items ────────────────────────── */
  .mn-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s, color 0.12s;
  }

  .mn-item:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
    text-decoration: none;
  }

  .mn-item:active {
    background: rgba(255,255,255,.08);
  }

  .mn-chevron {
    color: rgba(255,255,255,.25);
    flex-shrink: 0;
    transition: transform 0.2s;
  }

  .mn-item--parent:hover .mn-chevron {
    color: rgba(255,255,255,.5);
    transform: translateX(2px);
  }

  /* Highlighted mobile item (Valmispaketti) */
  .mn-item--highlight {
    color: var(--green) !important;
  }
  .mn-item--highlight:hover {
    color: #34d399 !important;
  }

  /* ── Footer / CTA area ─────────────────── */
  .mn-footer {
    flex-shrink: 0;
    padding: 1rem 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
  }

  .mn-footer-link {
    display: block;
    padding: 0.6rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color 0.15s;
  }
  .mn-footer-link:hover { color: rgba(255,255,255,.75); text-decoration: none; }

  .mn-footer-link--badge {
    color: var(--blue);
    font-weight: 600;
  }

  .mn-footer-cta {
    display: block;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--blue);
    color: #fff;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s;
  }
  .mn-footer-cta:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
}

@media (max-width: 640px) {
  .why-grid,
  .services-grid,
  .testimonials-grid,
  .infra-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-checkboxes { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .domain-search-box { flex-direction: column; }
}

/* ── DOMAIN RESULTS ─────────────────────────────── */
#domain-results {
  display: none;
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,42,67,.14);
  background: #fff;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.domain-checking {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}
.domain-spinner {
  width: 18px; height: 18px;
  border: 2px solid #c5ddf0;
  border-top-color: var(--blue);
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.domain-result-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.domain-result-row:last-child { border-bottom: none; }
.domain-result-row:hover { background: #f0f7fc; }

.domain-result-name {
  flex: 1;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.domain-result-status {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  min-width: 90px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: #22c55e; }
.dot-red   { background: #ef4444; }
.dot-gray  { background: #94a3b8; }

.domain-result-row.available .domain-result-status { color: #16a34a; }
.domain-result-row.taken     .domain-result-status { color: #dc2626; }
.domain-result-row.unknown   .domain-result-status { color: var(--muted); }

.domain-result-price {
  font-size: .85rem;
  color: var(--muted);
  min-width: 65px;
  text-align: right;
}
.btn-order {
  background: var(--green);
  color: var(--navy);
  border: none;
  padding: .38rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.btn-order:hover { opacity: .82; }
.btn-order--added {
  background: var(--blue);
  color: #fff;
  cursor: default;
  opacity: .9;
}
.btn-order--added:hover { opacity: .9; }
.btn-order:disabled { opacity: .6; cursor: wait; }
.domain-cart-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  gap: 1rem;
}
.domain-cart-bar-btn {
  background: var(--green);
  color: var(--navy);
  padding: .45rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  white-space: nowrap;
}
.domain-cart-bar-btn:hover { opacity: .85; }

@media (max-width: 480px) {
  .domain-result-row { flex-wrap: wrap; gap: .5rem; }
  .domain-result-price { min-width: auto; }
  .domain-cart-bar { flex-direction: column; text-align: center; }
}

/* ── AI TOOL SECTION ─────────────────────────────── */

.ai-section {
  background: linear-gradient(135deg, var(--navy) 0%, #071830 60%, #040f20 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(59,108,244,.22) 0%, transparent 70%);
  pointer-events: none;
}

.ai-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Label */
.ai-label {
  background: rgba(59,108,244,.2);
  color: #93B4F4;
  border: 1px solid rgba(59,108,244,.4);
}

.ai-heading {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  color: #fff;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.ai-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ai-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.ai-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,.85);
  font-size: 0.97rem;
}

.ai-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.ai-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ai-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.97rem;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.btn-ai-primary:hover {
  background: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ai-ghost {
  display: inline-block;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.97rem;
  border: 1px solid rgba(255,255,255,.2);
  transition: color .2s, border-color .2s;
  text-decoration: none;
}
.btn-ai-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  text-decoration: none;
}

/* Demo chat window */
.ai-demo-wrap {
  position: relative;
}

.ai-demo-window {
  background: #0d1e33;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,42,67,.55), 0 0 0 1px rgba(255,255,255,.07);
}

.ai-demo-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: #07111e;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ai-demo-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.ai-demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.ai-demo-dots span:nth-child(1) { background: #ff5f57; }
.ai-demo-dots span:nth-child(2) { background: #febc2e; }
.ai-demo-dots span:nth-child(3) { background: #28c840; }

.ai-demo-title {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: center;
}

.ai-demo-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
}

.ai-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.ai-demo-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 260px;
}

.ai-demo-msg { display: flex; gap: 0.6rem; align-items: flex-end; }

.ai-demo-msg--user {
  justify-content: flex-end;
}
.ai-demo-msg--user > * {
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.88rem;
  max-width: 82%;
  line-height: 1.5;
}

.ai-demo-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-demo-bubble {
  background: #1a3a5c;
  color: rgba(255,255,255,.88);
  padding: 0.65rem 1rem;
  border-radius: 4px 16px 16px 16px;
  font-size: 0.88rem;
  max-width: 82%;
  line-height: 1.55;
}

/* Typing dots animation */
.ai-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.2rem 0;
}
.ai-typing-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: ai-bounce 1.4s ease-in-out infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: .2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes ai-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.ai-demo-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #07111e;
  border-top: 1px solid rgba(255,255,255,.07);
}

.ai-demo-input-text {
  font-size: 0.83rem;
  color: rgba(255,255,255,.3);
  font-style: italic;
}

.ai-demo-send {
  color: var(--blue);
  font-size: 1.1rem;
  opacity: 0.7;
}

.ai-demo-badge {
  text-align: right;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,.28);
  letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 900px) {
  .ai-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ai-demo-wrap { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .ai-section { padding: 4rem 0; }
  .ai-cta-row { flex-direction: column; }
  .btn-ai-primary, .btn-ai-ghost { text-align: center; }
}

/* ═══ Shared CTA Banner ═══ */
.nw-cta-wrap {
  padding: 4rem 0 5rem;
  background: var(--bg-page);
}
.nw-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0B1D35 100%);
  border-radius: 24px;
  padding: 4.5rem 3rem;
  overflow: hidden;
  text-align: center;
}
.nw-cta-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,108,244,.35) 0%, rgba(59,108,244,.12) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.nw-cta-glow::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -80%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,180,244,.2) 0%, transparent 65%);
  filter: blur(50px);
}
.nw-cta-content {
  position: relative;
  z-index: 1;
}
.nw-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #93B4F4;
  margin-bottom: 1.25rem;
}
.nw-cta-badge svg { stroke: #93B4F4; }
.nw-cta-content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.nw-cta-content p {
  color: rgba(255,255,255,.45);
  font-size: 0.95rem;
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.nw-cta-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nw-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.85rem;
  background: #fff;
  color: var(--navy);
  border: 2px solid #fff;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.nw-cta-btn-primary:hover {
  background: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.88);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-1px);
}
.nw-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.85rem;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.nw-cta-btn-outline:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 640px) {
  .nw-cta-wrap { padding: 3rem 0 3.5rem; }
  .nw-cta-banner { padding: 3rem 1.5rem; border-radius: 18px; }
  .nw-cta-glow { width: 280px; height: 280px; right: -15%; top: -30%; }
}

/* =====================================================
   Team Sections
   ===================================================== */

/* ── Team Grid (3 cards) ─────────────────────────── */
.nw-team {
  padding: 5rem 0;
  background: var(--bg-page);
}
.nw-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.nw-team-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nw-team-card:hover {
  border-color: rgba(59,108,244,.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11,29,53,.08);
}
.nw-team-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-page);
}
.nw-team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.nw-team-card:hover .nw-team-img img {
  transform: scale(1.03);
}
.nw-team-info {
  padding: 1.5rem 1.5rem 1.75rem;
}
.nw-team-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.nw-team-role {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(59,108,244,.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin: 0 0 0.65rem;
}
.nw-team-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Support Hero (wide banner with person) ──────── */
.nw-support-hero {
  padding: 0;
  background: linear-gradient(135deg, #070e1a 0%, var(--navy) 50%, #0f2847 100%);
  overflow: hidden;
  position: relative;
}
.nw-support-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,108,244,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.nw-support-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nw-support-text {
  flex: 1;
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}
.nw-support-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(59,108,244,0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.nw-support-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.nw-support-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.nw-support-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nw-support-btns a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nw-support-btns a:hover { transform: translateY(-1px); }
.nw-support-btn-primary {
  background: #fff;
  color: var(--navy);
}
.nw-support-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.nw-support-btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.nw-support-photo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 320px;
  height: auto;
  align-self: flex-end;
}
.nw-support-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.4));
}

/* ── Person CTA (compact, for referenssit/ohjeet) ── */
.nw-person-cta {
  padding: 4rem 0;
  background: var(--bg-page);
}
.nw-person-cta-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 0 3rem 0 0;
}
.nw-person-cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59,108,244,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.nw-person-cta-photo {
  flex-shrink: 0;
  width: 200px;
  align-self: flex-end;
  position: relative;
  z-index: 2;
}
.nw-person-cta-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}
.nw-person-cta-body {
  flex: 1;
  padding: 2.5rem 0;
  position: relative;
  z-index: 2;
}
.nw-person-cta-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.nw-person-cta-body p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.nw-person-cta-body .nw-support-btns a { font-size: 0.85rem; padding: 0.6rem 1.2rem; }
.nw-person-cta-name {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .nw-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nw-team { padding: 3rem 0; }
  .nw-team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }

  .nw-support-inner { flex-direction: column; gap: 0; }
  .nw-support-text { padding: 3rem 0 1.5rem; }
  .nw-support-text h2 { font-size: 1.5rem; }
  .nw-support-photo { width: 220px; margin: 0 auto; }

  .nw-person-cta-inner { flex-direction: column; padding: 0; }
  .nw-person-cta-photo { width: 160px; margin: 0 auto; order: -1; padding-top: 1.5rem; }
  .nw-person-cta-body { padding: 1.5rem 1.5rem 2rem; text-align: center; }
  .nw-person-cta-body .nw-support-btns { justify-content: center; }
}

/* ── Scroll reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.4, 0.25, 1),
              transform 0.5s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Related services section */
.related-services { padding: 60px 0; background: var(--bg-alt, #f8f9fa); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 32px; }
.related-card { display: block; padding: 28px; background: #fff; border-radius: 12px; text-decoration: none; color: inherit; border: 1px solid #e8e8e8; transition: transform 0.2s, box-shadow 0.2s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.related-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--text-primary, #1a1a2e); }
.related-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary, #666); }

/* ── Trust bar ───────────────────────────── */
.trust-bar { padding: 40px 0; background: #fff; border-bottom: 1px solid #eee; }
.trust-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.trust-stat { text-align: center; }
.trust-number { display: block; font-size: 2rem; font-weight: 700; color: var(--accent, #0066cc); }
.trust-label { font-size: 0.85rem; color: var(--text-secondary, #666); }

/* ── Payment methods ─────────────────────── */
.payment-methods { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 0; flex-wrap: wrap; }
.payment-label { font-size: 0.85rem; color: #999; margin-right: 8px; }
.payment-badge { display: inline-block; padding: 6px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: #555; background: #fff; }
