:root {
  --bg: #0a0b0e;
  --bg-soft: #111319;
  --fg: #f9fafb;
  --muted: #9ca3af;
  --gold1: #facc15;
  --gold2: #fbbf24;
  --gold3: #f59e0b;
  --border: rgba(15, 23, 42, 0.4);
  --card-bg: rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.nav-links {
  display: none;
  gap: 1.8rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active {
  color: #111827;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #d97706;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Mobiilivalikon nappi (hamburger) */
.nav-toggle {
  display: none; /* näkyy vain mobiilissa */
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* Mobiilivalikko – kiinteänä navin alla */
.mobile-nav {
  display: none;
  position: fixed;
  top: 110px; /* navin korkeus */
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 35;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-nav a:hover {
  background: rgba(249, 250, 251, 0.8);
}

.mobile-nav.is-open {
  display: block;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-whatsapp,
.btn-light {
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, border 0.15s ease,
    color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, var(--gold3), var(--gold1));
  color: #000;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(249, 250, 251, 0.16);
  color: var(--fg);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  border-radius: var(--radius-md);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: #ecfdf5;
}

.btn-whatsapp:hover {
  background: rgba(16, 185, 129, 0.25);
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn-light:hover {
  background: #f9fafb;
}

.btn-primary.full,
.btn-light.full {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(250, 204, 21, 0.35), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(250, 204, 21, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 1rem 0 0.75rem;
}

.hero-highlight {
  display: block;
  background: linear-gradient(90deg, var(--gold1), #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.98rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  color: #fef9c3;
}

.pill-icon {
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: rgba(249, 250, 251, 0.7);
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.7);
  background: radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.2), transparent),
    rgba(15, 23, 42, 0.95);
  overflow: hidden;
  min-height: 260px;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 220px;
  background-image: url("https://images.pexels.com/photos/912050/pexels-photo-912050.jpeg");
  background-size: cover;
  background-position: center;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), transparent);
}

.hero-badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.9rem;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(249, 250, 251, 0.15);
  font-size: 0.78rem;
}

.hero-badge-right {
  color: rgba(249, 250, 251, 0.75);
}

/* TRUST */
.trust {
  border-block: 1px solid rgba(15, 23, 42, 0.6);
  background: rgba(15, 23, 42, 0.98);
  padding: 0.9rem 0;
  font-size: 0.8rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  text-align: center;
  color: rgba(249, 250, 251, 0.85);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.98);
}

/* Ankkurien offset sticky-naville */
#why,
#how,
#services,
#contact {
  scroll-margin-top: 130px;
}

.grid-2 {
  display: grid;
  gap: 2.5rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.section p {
  font-size: 0.96rem;
  color: var(--muted);
}

.center {
  text-align: center;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.7);
  padding: 1.1rem 1.1rem 1.25rem;
  font-size: 0.9rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.price {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: rgba(249, 250, 251, 0.85);
}

/* Lists */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.bullet-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.bullet-list li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--gold1);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.7);
  background: var(--card-bg);
}

.step-number {
  position: absolute;
  top: -10px;
  left: 1rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--gold3), var(--gold1));
  color: #000;
}

/* Services header */
.services-head {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-section {
  background: radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.18), transparent 55%),
    rgba(15, 23, 42, 1);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-card {
  border-radius: var(--radius-lg);
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.7);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.6rem 0.7rem;
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(250, 204, 21, 0.6);
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.85rem;
  color: rgba(249, 250, 251, 0.7);
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-title {
  font-weight: 600;
}

.footer-sub {
  color: rgba(148, 163, 184, 1);
  margin-top: 0.1rem;
}

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

.footer-links a:hover {
  color: #fff;
}

/* Spacing helpers */
.mt {
  margin-top: 0.9rem;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-inner {
    justify-content: space-between;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding-top: 3.5rem;
  }
}

