:root {
  --navy: #0b1f3a;
  --cta: #1769e0;
  --cta-hover: #1257ba;
  --bg: #f4f8fc;
  --mint: #0f9f6e;
  --amber: #c47b0a;
  --white: #ffffff;
  --text: #152238;
  --muted: #5a6b7f;
  --border: #d7e2ee;
  --shadow: 0 4px 14px rgba(11, 31, 58, 0.05);
  --radius: 14px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cta);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--cta-hover);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: var(--navy);
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
}

.nav a:not(.btn):hover {
  color: var(--cta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--cta);
  color: var(--cta);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 31, 58, 0.15);
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.04);
}

.hero h1 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.action-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.action-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-row span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mint);
}

.section {
  padding: 2rem 0;
}

.section h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 1.55rem;
}

.section p,
.section li {
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--cta);
  box-shadow: 0 4px 16px rgba(23, 105, 224, 0.1);
}

.price-card h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.price {
  font-size: 1.8rem;
  font-weight: 750;
  color: var(--navy);
  margin: 0.35rem 0;
}

.price small {
  display: block;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
}

.price-total {
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.breadcrumbs {
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--cta);
}

.page-hero {
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.2;
}

.muted {
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
}

.steps .step-num {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.partner-fallback {
  margin-bottom: 1rem;
}

.partner-fallback .btn {
  margin-top: 0.35rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
}

.iframe-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0 0.75rem;
  min-height: 480px;
}

.iframe-wrap iframe {
  width: 100%;
  border: 0;
  min-height: 2250px;
  display: block;
}

.note {
  background: #eef8f3;
  border: 1px solid #cdeadf;
  color: #0d5f45;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

#hakemuslomake {
  scroll-margin-top: 5.5rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
}

.cta-band .btn-primary {
  background: var(--cta);
}

.site-footer {
  margin-top: 3rem;
  background: var(--navy);
  color: #d7e2ee;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: #c5d4e5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #9db0c6;
}

.prose h2,
.prose h3 {
  color: var(--navy);
}

.prose ul {
  padding-left: 1.2rem;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.blog-item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .action-grid,
  .card-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
